Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1353537 - hosted-engine --vm-status --json does not show global maintenance mode
hosted-engine --vm-status --json does not show global maintenance mode
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup (Show other bugs)
4.0.0
Unspecified Unspecified
unspecified Severity medium
: ovirt-4.0.1
: 4.0.1
Assigned To: Ryan Barry
Artyom
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-07-07 08:07 EDT by Ryan Barry
Modified: 2016-08-23 17:02 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
With this update, hosted-engine --vm-status --json now shows global maintenance mode.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-08-23 17:02:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Integration
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 59950 master MERGED vm_status: add global maintenance to --json output 2016-07-11 10:25 EDT
oVirt gerrit 60517 ovirt-hosted-engine-setup-2.0 MERGED vm_status: add global maintenance to --json output 2016-07-11 11:06 EDT
Red Hat Product Errata RHEA-2016:1744 normal SHIPPED_LIVE ovirt-hosted-engine-setup bug fix and enhancement update for RHV 4.0 2016-09-02 17:30:53 EDT

  None (edit)
Description Ryan Barry 2016-07-07 08:07:31 EDT
Version-Release number of selected component (if applicable):
ovirt-hosted-engine-setup-2.0.0-1.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
1. Put the cluster in global maintenance mode
2. Run "hosted-engine --vm-status --json"

Actual results:
No global maintenance field

Expected results:
Global maintenance should be shown
Comment 4 Artyom 2016-07-21 06:39:22 EDT
Verified on ovirt-hosted-engine-setup-2.0.1-1.el7ev.noarch

Global maintenance disabled:
# hosted-engine --vm-status --json
{"1": {"live-data": true, "extra": "metadata_parse_version=1\nmetadata_feature_version=1\ntimestamp=6336 (Thu Jul 21 13:37:32 2016)\nhost-id=1\nscore=3400\nmaintenance=False\nstate=EngineUp\nstopped=False\n", "hostname": "rose05.qa.lab.tlv.redhat.com", "host-id": 1, "engine-status": {"health": "good", "vm": "up", "detail": "up"}, "score": 3400, "stopped": false, "maintenance": false, "crc32": "d0d04c62", "host-ts": 6336}, "global_maintenance": false}

# hosted-engine --set-maintenance --mode=global
# hosted-engine --vm-status --json
{"1": {"live-data": true, "extra": "metadata_parse_version=1\nmetadata_feature_version=1\ntimestamp=6399 (Thu Jul 21 13:38:35 2016)\nhost-id=1\nscore=3400\nmaintenance=False\nstate=EngineUp\nstopped=False\n", "hostname": "rose05.qa.lab.tlv.redhat.com", "host-id": 1, "engine-status": {"health": "good", "vm": "up", "detail": "up"}, "score": 3400, "stopped": false, "maintenance": false, "crc32": "6da399ca", "host-ts": 6399}, "global_maintenance": true}
Comment 6 errata-xmlrpc 2016-08-23 17:02:44 EDT
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.

https://rhn.redhat.com/errata/RHEA-2016-1744.html

Note You need to log in before you can comment on or make changes to this bug.