Bug 991350

Summary: [RHEVM][backend] error message on egine start/restart -> Failed to decrypt value for property AttestationTruststorePass will be used encrypted value: javax.crypto.BadPaddingException: Data must start with zero
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Pavlik <mpavlik>
Component: ovirt-engineAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: high    
Version: 3.3.0CC: acathrow, dfediuck, eedri, gklein, iheim, lpeer, mavital, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: sla
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-05 13:13:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
log_collector none

Description Martin Pavlik 2013-08-02 08:15:33 UTC
Created attachment 781878 [details]
log_collector

Description of problem:
following error message appears in log on each start/restart of ovirt engine service

2013-08-02 10:03:27,898 ERROR [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (ServerService Thread Pool -- 37) Failed to decrypt value for property AttestationTruststorePass will be used encrypted value: javax.crypto.BadPaddingException: Data must start with zero


Version-Release number of selected component (if applicable):
Red Hat Enterprise Virtualization Manager Version: 3.3.0-0.13.master.el6ev 

How reproducible:
100%

Steps to Reproduce:
1. service ovirt-engine restart
2. check /var/log/ovirt-engine/engine.log
3.

Actual results:
error message appears -> engine starts fine

Expected results:
engine starts w/o error message

Additional info:

Comment 1 Doron Fediuck 2013-08-05 13:13:34 UTC
This is not a bug.
DBConfigUtils was designed to fallback to using the current value if decryption fails. So it will issue an error and use the existing value.