missing maintenance information when running hosted-engine --vm-status Maintenance information should be presented when user runs hosted-engine --vm-status
I checked it on is26, when maintenance state is "none" or "global", maintenance in vm-status is False and for "local" is True, if for "global" maintenance state in vm-status maintenance not must be also True?
No, because the host in question is not in maintenance state. Local maintenance causes the host to kill/migrate the VM elsewhere and somebody else will start it instead. Global maintenance means "disable all automatic actions in the whole cluster". That is why global maintenance info is printed at the beginning of the --vm-status output. It allows you to see the last known state of all hosts.
Checked on ovirt-hosted-engine-ha-0.1.0-0.8.rc.el6ev.noarch, still no information about global maintenance state, bug moved to modified, because that patch already merged, but wasn't included in this build.
After discussion with Martin, revealed that -ha package responsible for internal logic, so flag for local maintenance work fine and -setup package responsible for global flag and we have another bug for this package: https://bugzilla.redhat.com/show_bug.cgi?id=1034323 Verified on ovirt-hosted-engine-ha-0.1.0-0.8.rc.el6ev.noarch
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/RHEA-2014-0080.html