Bug 821457

Summary: [rhevm-config] - Missing engine-config.properties file gives incorrect error message [TEXT]
Product: Red Hat Enterprise Virtualization Manager Reporter: David Botzer <dbotzer>
Component: ovirt-engine-configAssignee: Doron Fediuck <dfediuck>
Status: CLOSED WONTFIX QA Contact: yeylon <yeylon>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: dyasny, iheim, pstehlik, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-09 21:25:51 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:

Description David Botzer 2012-05-14 14:43:46 UTC
Description of problem:
When the engine-config.properties file is missing I get the following error message:
---
Files /usr/share/ovirt-engine/engine-config/engine-config.properties,
/usr/share/ovirt-engine/engine-config/engine-config_en_US.properties,
/etc/ovirt-engine/engine-config/engine-config.properties,
/etc/ovirt-engine/engine-config/engine-config_en_US.properties
---

Version-Release number of selected component (if applicable):
rhevm 3.1, SI3

How reproducible:
always

Steps to Reproduce:
1.Move or delete the engine-config.properties from /etc/ovirt-engine/engine-config
2.run any command, e.x - engine-config --get VdsRefreshRate
  
Actual results:
Improper error message

Expected results:
Should display the message 
"properties file couldn't be found in any of the locations"
And following the locations of the files in each line per file

Additional info:

rhevm-config --get RDPLoginWithFQN
Files /usr/share/ovirt-engine/engine-config/engine-config.properties,    -< Only the script engine-config is located here
/usr/share/ovirt-engine/engine-config/engine-config_en_US.properties, < what is this ?
/etc/ovirt-engine/engine-config/engine-config.properties,
/etc/ovirt-engine/engine-config/engine-config_en_US.properties does not exist

Comment 2 Itamar Heim 2013-01-09 21:25:51 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.