Bug 994454 - [engine-backend] LocalAdminPassword exception after RHEVM host reboot
Summary: [engine-backend] LocalAdminPassword exception after RHEVM host reboot
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: x86_64
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.3.0
Assignee: Ravi Nori
QA Contact: Tareq Alayan
URL:
Whiteboard: infra
: 1012831 (view as bug list)
Depends On:
Blocks: 3.3snap1
TreeView+ depends on / blocked
 
Reported: 2013-08-07 10:27 UTC by Elad
Modified: 2016-02-10 19:07 UTC (History)
10 users (show)

Fixed In Version: is20.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-21 22:11:46 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine.log (119.93 KB, application/x-gzip)
2013-08-07 10:27 UTC, Elad
no flags Details
engine log (5.22 KB, application/x-compressed-tar)
2013-09-01 13:31 UTC, Barak Dagan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 17934 0 None None None Never
oVirt gerrit 18065 0 None None None Never
oVirt gerrit 18261 0 None None None Never
oVirt gerrit 20041 0 None None None Never

Description Elad 2013-08-07 10:27:16 UTC
Created attachment 783795 [details]
engine.log

Description of problem:
After RHEVM host comes up from reboot, we see this exception on engine.log:

2013-08-07 13:14:10,062 ERROR [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (ajp-/127.0.0.1:8702-9) Failed to decrypt value for property LocalAdminPassword will be used encr
ypted value: javax.crypto.BadPaddingException: Data must start with zero
        at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:325) [rt.jar:1.7.0_25]
        at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:272) [rt.jar:1.7.0_25]
        at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:356) [sunjce_provider.jar:1.7.0_25]
        at com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:382) [sunjce_provider.jar:1.7.0_25]
        at javax.crypto.Cipher.doFinal(Cipher.java:1922) [jce.jar:1.7.0_25]
        at org.ovirt.engine.core.utils.crypt.EngineEncryptionUtils.decrypt(EngineEncryptionUtils.java:169) [utils.jar:]
        at org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.GetValue(DBConfigUtils.java:109) [dal.jar:]
        at org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.GetValue(DBConfigUtils.java:231) [dal.jar:]
        at org.ovirt.engine.core.common.config.Config.GetValue(Config.java:22) [common.jar:]
        at org.ovirt.engine.core.bll.GetConfigurationValuesQuery.executeQueryCommand(GetConfigurationValuesQuery.java:48) [bll.jar:]
        at org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommandBase.java:65) [bll.jar:]
        at org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:28) [dal.jar:]
        at org.ovirt.engine.core.bll.Backend.runQueryImpl(Backend.java:471) [bll.jar:]
        at org.ovirt.engine.core.bll.Backend.RunQuery(Backend.java:448) [bll.jar:]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_25]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_25]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_25]
        at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_25]


Version-Release number of selected component (if applicable):
rhevm-3.3.0-0.13.master.el6ev.noarch

How reproducible:
always







Additional info: engine.log

Comment 3 Barak Dagan 2013-09-01 13:31:36 UTC
Created attachment 792594 [details]
engine log

Verification failed on is12.

rhevm was rebooted, after the machine was up, similar error appears in the attached log.

Comment 4 Yair Zaslavsky 2013-09-29 10:51:32 UTC
*** Bug 1012831 has been marked as a duplicate of this bug. ***

Comment 5 Elad 2013-10-30 08:43:01 UTC
Encountered it on is20:

2013-10-30 10:32:08,805 ERROR [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (ajp-/127.0.0.1:8702-16) Failed to decrypt value for property LocalAdminPassword will be used encrypted value: javax.crypto.
BadPaddingException: doFinal() failed


RHEVM:
rhevm-3.3.0-0.28.beta1.el6ev.noarch

Comment 6 Tareq Alayan 2013-10-31 14:56:21 UTC
verified on 
rhevm-3.3.0-0.30.beta1.el6ev.noarch

Comment 7 Itamar Heim 2014-01-21 22:11:46 UTC
Closing - RHEV 3.3 Released


Note You need to log in before you can comment on or make changes to this bug.