Bug 1034321

Summary: missing maintenance information when running hosted-engine --vm-status
Product: Red Hat Enterprise Virtualization Manager Reporter: Leonid Natapov <lnatapov>
Component: ovirt-hosted-engine-haAssignee: Martin Sivák <msivak>
Status: CLOSED ERRATA QA Contact: Artyom <alukiano>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, dfediuck, iheim, mavital, msivak, pablo.iranzo, sbonazzo
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sla
Fixed In Version: ovirt-hosted-engine-ha-0.1.0-0.8.rc.el6ev Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1034323 (view as bug list) Environment:
Last Closed: 2014-01-21 16:51:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1034323    

Description Leonid Natapov 2013-11-25 15:34:31 UTC
missing maintenance information when running hosted-engine --vm-status
Maintenance information should be presented when user runs hosted-engine --vm-status

Comment 2 Artyom 2013-12-08 08:03:40 UTC
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?

Comment 3 Martin Sivák 2013-12-09 09:46:49 UTC
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.

Comment 4 Artyom 2013-12-09 10:33:17 UTC
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.

Comment 5 Artyom 2013-12-09 10:47:37 UTC
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

Comment 6 errata-xmlrpc 2014-01-21 16:51:37 UTC
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