Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 915596

Summary: General Error messgae when wrongly configuring host's power management
Product: Red Hat Enterprise Virtualization Manager Reporter: Vered Volansky <vered>
Component: ovirt-engineAssignee: Eli Mesika <emesika>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: acathrow, amureini, dyasny, iheim, lpeer, Rhev-m-bugs, yeylon, ykaul, yzaslavs
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-03 11:46:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine.log none

Description Vered Volansky 2013-02-26 08:14:31 UTC
Created attachment 702662 [details]
engine.log

Description of problem:
When trying to configure power management on a host with wrong parameters, there's an error message saying:
------------------------------------------------------------------------
Error while executing action Edit Host properties: Internal Engine Error
------------------------------------------------------------------------

Version-Release number of selected component (if applicable):
3.1 NFS DC

How reproducible:
100%

Steps to Reproduce:
1.configure power management on a host with wrong parameters
  
Actual results:
Error message (popup):
------------------------------------------------------------------------
Error while executing action Edit Host properties: Internal Engine Error
------------------------------------------------------------------------

Expected results:
Error message should state the problem, Internal Engine Error is not informative to the user.


Additional info:

Comment 2 Eli Mesika 2013-03-03 11:46:06 UTC
This is not related to wrong or correct parameters, the EncryptionUtils fails because it has invalid values in your configuration.
So, you will get the same exception also with valid values

See this in log
013-02-26 10:01:28,643 ERROR [org.ovirt.engine.core.utils.crypt.EncryptionUtils] (http--0.0.0.0-8700-1) Can't load keystore from file "/etc/engine/ca/keys/engine.p12". FileNotFoundException: /etc/engine/ca/keys/engine.p12 (No such file or directory)
2013-02-26 10:01:28,644 ERROR [org.ovirt.engine.core.utils.crypt.EncryptionUtils] (http--0.0.0.0-8700-1) Error doing the encryption: java.lang.RuntimeException: java.io.FileNotFoundException: /etc/engine/ca/keys/engine.p12 (No such file or directory)
	at org.ovirt.engine.core.utils.crypt.EncryptionUtils.getKeyStore(EncryptionUtils.java:135) [utils.jar:]
	at org.ovirt.engine.core.utils.crypt.EncryptionUtils.encrypt(EncryptionUtils.java:70) [utils.jar:]