Red Hat Bugzilla – Bug 1280180
Failed to switch Hosted Engine maintenance level to global via Hosted Engine TUI
Last modified: 2016-02-10 14:18:14 EST
Failed to switch Hosted Engine maintenance to Local and None via Hosted Engine TUI
Red Hat Enterprise Virtualization Hypervisor release 7.2 (20151104.0.el7ev)
1. RHEV-H installed successful.
2. Login RHEV-H, change to Hosted Engine page, Deploy Hosted Engine.
3. Click <Set Hosted Engine maintenance> on Hosted Engine page
4. Choose and enable Local level, click < Set >, and click <Set Hosted Engine maintenance> to check.
5. Choose and enable None level, click < Set >, and click <Set Hosted Engine maintenance> to check.
After step4, set Local Maintenance Level failed, it is still Global Maintenance Level.
After step5, set None Maintenance Level failed, it is still Global Maintenance Level.
After step4, set Local Maintenance Level successful, it should be Local Maintenance Level.
After step5, set None Maintenance Level successful, it should be None Maintenance Level.
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
The TUI does not reflect the current state of maintenance -- the "Set Hosted Engine Maintenance" dialog defaults to selecting "global", but dropping to a shell and checking "hosted-engine --vm-status" or the "Hosted Engine VM Status" in the TUI will reflect the maintenance level.
At present, the bug description reflects the opposite case. I forgot that the TUI will not consider the default selection unless it's changed off of, so setting to "global" will not work unless another option is selected, then global re-selected, but "local" and "none" work normally (as can be verified on the console or the TUI)
I submitted a patch which turns this into an RFE, and the dialog will now default to whatever the current setting is.
Note for verification that it takes ovirt-hosted-engine-ha a couple of seconds to reflect the change, even after the TUI returns.
*** Bug 1280183 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 1280183 ***