Red Hat Bugzilla – Bug 878002
AIO setup should fail immediately if adding host fails
Last modified: 2013-06-11 05:53:47 EDT
Currently, the AIO setup will wait for 10 minutes to add a host, even if it fails on a 3rd minute. This should not happen, and the setup should stop immediately if host addition fails.
Fix posted for review: http://gerrit.ovirt.org/#/c/10578/
Already part of rhev-3.2
Verified in rhevm-3.2.0-10.26.rc.el6ev.noarch (sf17).
Note: Host state faked by setting it manually to 'failed' in the isHostUp() function in /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py file.
During the phase "AIO: Adding Local host..." the setup immediately failed with message "Error: Host was found in a 'Failed' state. Please check engine and bootstrap installation logs.".
$ yum install rhevm-setup rhevm-setup-plugin-allinone
AIO: Validating CPU Compatibility... [ DONE ]
AIO: Adding firewall rules... [ DONE ]
Configuring RHEV Manager... [ DONE ]
Configuring JVM... [ DONE ]
Creating CA... [ DONE ]
Updating ovirt-engine service... [ DONE ]
Setting Database Configuration... [ DONE ]
Setting Database Security... [ DONE ]
Creating Database... [ DONE ]
Updating the Default Data Center Storage Type... [ 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... [ DONE ]
AIO: Creating storage directory... [ DONE ]
AIO: Adding Local Datacenter and cluster... [ DONE ]
AIO: Adding Local host (This may take several minutes)... [ ERROR ]
Error: Host was found in a 'Failed' state. Please check engine and bootstrap installation logs.
Please check log file ... for more information
3.2 has been released