Unable to reset the admin password in rhev manager 3.2 system.
Issue
- While trying to reset the password of admin@internal user in rhevm 3.2, its giving the following error message:
# rhevm-config -s AdminPassword=interactive
Please enter a password
Please reenter password
Failed to encrypt the current value
java.lang.RuntimeException: java.io.FileNotFoundException: /etc/pki/ovirt-engine /keys/engine.p12 (No such file or directory)
at org.ovirt.engine.core.engineencryptutils.EncryptionUtils.getKeyStore( EncryptionUtils.java:135)
at org.ovirt.engine.core.engineencryptutils.EncryptionUtils.encrypt(Encr yptionUtils.java:70)
at org.ovirt.engine.core.config.entity.helper.PasswordValueHelper.encryp t(PasswordValueHelper.java:45)
at org.ovirt.engine.core.config.entity.helper.PasswordValueHelper.setVal ue(PasswordValueHelper.java:93)
at org.ovirt.engine.core.config.entity.ConfigKey.safeSetValue(ConfigKey. java:115)
at org.ovirt.engine.core.config.EngineConfigLogic.persist(EngineConfigLo gic.java:440)
at org.ovirt.engine.core.config.EngineConfigLogic.persistValue(EngineCon figLogic.java:377)
at org.ovirt.engine.core.config.EngineConfigLogic.execute(EngineConfigLo gic.java:104)
at org.ovirt.engine.core.config.EngineConfig.setUpAndExecute(EngineConfi g.java:37)
at org.ovirt.engine.core.config.EngineConfig.main(EngineConfig.java:50)
Caused by: java.io.FileNotFoundException: /etc/pki/ovirt-engine/keys/engine.p12 (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at org.ovirt.engine.core.engineencryptutils.EncryptionUtils.getKeyStore( EncryptionUtils.java:126)
... 9 more
Error setting AdminPassword's value. Failed to encrypt the current value
Environment
- Red Hat Enterprise Virtualization 3.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
