Change in ovirt-hosted-engine-ha[ovirt-hosted-engine-ha-1.3]: upgrade: fixing for iSCSI additional hosts

msivak at redhat.com msivak at redhat.com
Tue Jan 12 13:22:30 UTC 2016


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 at 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/51722
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I724835de6498fc7098d03499b246fa69b5bf09fe
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: ovirt-hosted-engine-ha-1.3
Gerrit-Owner: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list