Sandro Bonazzola has submitted this change and it was merged.
Change subject: upgrade: avoid upgrading if not in maintenance from the engine
......................................................................
upgrade: avoid upgrading if not in maintenance from the engine
Avoid upgrading if not in maintenance from the engine perspective,
since we cannot directly query the engine we can infer it
checking for other VMs and for other SPs.
Change-Id: I3a9ad13815f71793e88ef2ece676b2e871dd30dd
Bug-Url:
https://bugzilla.redhat.com/1277646
Signed-off-by: Simone Tiraboschi <stirabos(a)redhat.com>
---
M ovirt_hosted_engine_ha/lib/upgrade.py
1 file changed, 45 insertions(+), 0 deletions(-)
Approvals:
Sandro Bonazzola: Looks good to me, approved
Simone Tiraboschi: Verified
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/49151
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3a9ad13815f71793e88ef2ece676b2e871dd30dd
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: ovirt-hosted-engine-ha-1.3
Gerrit-Owner: Simone Tiraboschi <stirabos(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>