Bug 879916
| Summary: | setup fails on fedora18: Error: failed updating configuration field CAEngineKey to /etc/pki/ovirt-engine/private/ca.pem | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Ohad Basan <obasan> | ||||
| Component: | ovirt-engine-installer | Assignee: | Yair Zaslavsky <yzaslavs> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 3.1 RC | CC: | acathrow, alourie, bazulay, dyasny, eedri, iheim, mgoldboi, oourfali, ykaul | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.2 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | infra | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-02-15 06:47:34 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
This happens as a result of upgrade of apache-commons-configuration from 1.6 (fc17) to 1.8 (fc18). I verified this claim by simply replacing the jar. I tried to pin point the issue - seems like the setup script is using a configuration properties file which performs include directive to engine-config.properties. PropertiesConfiguration.getKeys() returns an interator that returns only partial list of the keys and then returns an empty string - as a result the transformation to HierarchicalConfiguration fails. Possible workaround that should be checked is to manually include the engine-config.properties content in the properties file used by the installation In reply to comment #1 - Manage to run engine-config on fc18 - I fixed the file - /usr/share/ovirt-engine/conf/engine-config-install.properties to be in format of: key1= key2= key3= instead of key1 key2 key3 and it did the trick Looks like apache-commons-configuration 1.8 does not recognize the previous format. is the reverse true? is the new format supported by a-c-c 1.6? Yes, it's a private case of the properties format, so I did not mention it (but I verified it of course). Suggested patch upstream: http://gerrit.ovirt.org/9504 Suggested patch upstream: http://gerrit.ovirt.org/9504 Clearing needinfo that was set by mistake 3.2 beta built, moving to ON_QA status to allow testing |
Created attachment 651510 [details] engine-setup.log Description of problem: setup on fedora18 quits when trying to update configuration parameters. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1.install fedora 18 2.install ovirt nightly. 3.run engine-setup , answer all the questions until installation begings Actual results: setup quits 2012-11-25 14:17:05::DEBUG::setup_sequences::62::root:: Traceback (most recent call last): File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run function() File "/bin/engine-setup", line 1113, in _updateVDCOptions raise Exception(output_messages.ERR_FAILED_UPD_VDC_OPTIONS%(sys.exc_info()[1])) Exception: Failed updating configuration parameter: Error: failed updating configuration field CAEngineKey to /etc/pki/ovirt-engine/private/ca.pem Expected results: setup should finish successfully. Additional info: