Bug 979763
Summary: | [engine-setup] setup fails when selinux is disabled | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Elad <ebenahar> | ||||
Component: | ovirt-engine-setup | Assignee: | Sandro Bonazzola <sbonazzo> | ||||
Status: | CLOSED ERRATA | QA Contact: | Lukas Svaty <lsvaty> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.3.0 | CC: | acathrow, bazulay, iheim, jkt, lpeer, lsvaty, Rhev-m-bugs, sbonazzo, ssekidde, yeylon | ||||
Target Milestone: | --- | Keywords: | Regression | ||||
Target Release: | 3.3.0 | ||||||
Hardware: | x86_64 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | integration | ||||||
Fixed In Version: | is7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-01-21 17:32:40 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: |
|
merged on master for 3.3.0: http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=7026baa5b98a75dc3d6572fc27fa892354d86484 *** Bug 902410 has been marked as a duplicate of this bug. *** verified in is12 rhevm-setup-3.3.0-0.18.master.el6ev.noarch This bug is currently attached to errata RHEA-2013:15231. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag. Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information: * Cause: What actions or circumstances cause this bug to present. * Consequence: What happens when the bug presents. * Fix: What was done to fix the bug. * Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore') Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug. For further details on the Cause, Consequence, Fix, Result format please refer to: https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes Thanks in advance. this bug appeared while developing 3.3, didn't affect customers, no need to mention in errata. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2014-0038.html |
Created attachment 767036 [details] engine-setup log Description of problem: When selinux is disabled, engines-setup fails with: 2013-06-30 14:01:09::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 "/usr/bin/engine-setup", line 733, in _redirectUrl if controller.CONF["OVERRIDE_HTTPD_ROOT"] == "yes": KeyError: 'OVERRIDE_HTTPD_ROOT' 2013-06-30 14:01:09::DEBUG::engine-setup::2005::root:: *** The following params were used as user input: 2013-06-30 14:01:09::DEBUG::engine-setup::2010::root:: random-passwords: no 2013-06-30 14:01:09::DEBUG::engine-setup::2010::root:: mac-range: 00:1A:4A:23:A1:00-00:1A:4A:23:A1:FF 2013-06-30 14:01:09::DEBUG::engine-setup::2010::root:: host-fqdn: vm-161-52.scl.lab.tlv.redhat.com 2013-06-30 14:01:09::DEBUG::engine-setup::2010::root:: auth-pass: ******** 2013-06-30 14:01:09::DEBUG::engine-setup::2010::root:: org-name: qa.lab.tlv.redhat.com 2013-06-30 14:01:09::DEBUG::engine-setup::2010::root:: application-mode: both 2013-06-30 14:01:09::DEBUG::engine-setup::2010::root:: default-dc-type: NFS 2013-06-30 14:01:09::DEBUG::engine-setup::2010::root:: db-remote-install: local 2013-06-30 14:01:09::DEBUG::engine-setup::2010::root:: db-host: localhost 2013-06-30 14:01:09::DEBUG::engine-setup::2010::root:: db-local-pass: ******** 2013-06-30 14:01:09::DEBUG::engine-setup::2010::root:: nfs-mp: /var/lib/exports/iso_2013_06_30_13_59_00 2013-06-30 14:01:09::DEBUG::engine-setup::2010::root:: iso-domain-name: ISO_DOMAIN 2013-06-30 14:01:09::DEBUG::engine-setup::2010::root:: config-nfs: yes 2013-06-30 14:01:09::DEBUG::engine-setup::2010::root:: firewall-manager: iptables 2013-06-30 14:01:09::ERROR::engine-setup::2471::root:: Traceback (most recent call last): File "/usr/bin/engine-setup", line 2465, in <module> main(confFile) File "/usr/bin/engine-setup", line 2225, in main runSequences() File "/usr/bin/engine-setup", line 2141, in runSequences controller.runAllSequences() File "/usr/share/ovirt-engine/scripts/setup_controller.py", line 54, in runAllSequences sequence.run() File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 154, in run step.run() File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run function() File "/usr/bin/engine-setup", line 733, in _redirectUrl if controller.CONF["OVERRIDE_HTTPD_ROOT"] == "yes": KeyError: 'OVERRIDE_HTTPD_ROOT' Version-Release number of selected component (if applicable): rhevm-3.3.0-0.5.master.el6ev.noarch How reproducible: 100% Steps to Reproduce: 1.disable selinux 2.run engine-setup (rhevm-setup) Actual results: engine is failing to configure HTTPD: Installing: Configuring RHEV Manager... [ DONE ] Configuring JVM... [ DONE ] Creating CA... [ DONE ] Updating ovirt-engine service... [ DONE ] Setting Database Configuration... [ DONE ] Setting Database Security... [ DONE ] Upgrading Database Schema... [ DONE ] Editing RHEV Manager Configuration... [ DONE ] Editing Postgresql Configuration... [ DONE ] Configuring the Default ISO Domain... [ DONE ] Configuring Firewall... [ DONE ] Starting ovirt-engine Service... [ DONE ] Configuring HTTPD... [ ERROR ] 'OVERRIDE_HTTPD_ROOT' Please check log file /var/log/ovirt-engine/engine-setup_2013_06_30_13_58_59.log for more information Expected results: engine-setup should be successful with selinux in disabled Additional info: engine-setup log