Martin Sivák has submitted this change and it was merged.
Change subject: upgrade: fixing for iSCSI additional hosts
......................................................................
upgrade: fixing for iSCSI additional hosts
On 3.5 -> 3.6 we need to call getVolumesList to
scan all the available volumes and check if some other
host already created the configuration volume.
After a reboot ovirt-ha-agent calls prepareImage
only on metadata, lockspace and if available on
the configuration image but not on the engine image.
So, only after a reboot and only on iSCSI, getVolumesList
will report an error regarding the engine image.
filtering out know images from the scan,
using metadata image to check the images path,
avoid breaking on getVolumesList errors
Change-Id: I724835de6498fc7098d03499b246fa69b5bf09fe
Bug-Url:
https://bugzilla.redhat.com/1297457
Signed-off-by: Simone Tiraboschi <stirabos(a)redhat.com>
---
M ovirt_hosted_engine_ha/lib/upgrade.py
1 file changed, 57 insertions(+), 26 deletions(-)
Approvals:
Martin Sivák: Looks good to me, approved; Passed CI tests
Simone Tiraboschi: Verified
--
To view, visit
https://gerrit.ovirt.org/51658
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I724835de6498fc7098d03499b246fa69b5bf09fe
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Simone Tiraboschi <stirabos(a)redhat.com>
Gerrit-Reviewer: Artyom Lukianov <alukiano(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>