Martin Sivák has submitted this change and it was merged.
Change subject: storage: always pass a blank SP UUID in image.py
......................................................................
storage: always pass a blank SP UUID in image.py
If we are upgrading from 3.5 in the config file spuuid
still point to the bootstrap storage pool so we must ignore it.
On normal flow we don't realize it since all the images are
already prepared by the previous 3.5 run but, it the user
reboots the host just after yum update, the prepareImage
will fail after the reboot and since the images are not prepared
nothing else happens.
Always forcing spuuid = blank there. This would not affect
host that are already at 3.6 since in that case we will have
for sure spUUID=00000000-0000-0000-0000-000000000000
under /etc/ovirt-hosted-engine/hosted-engine.conf
Change-Id: I7bed963c8bbc4aca82185cdd7072dda4f3f2286c
Bug-Url:
https://bugzilla.redhat.com/1297457
Signed-off-by: Simone Tiraboschi <stirabos(a)redhat.com>
---
M ovirt_hosted_engine_ha/lib/image.py
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
Sandro Bonazzola: Looks good to me, but someone else must approve
Martin Sivák: Looks good to me, approved
Simone Tiraboschi: Verified
Jenkins CI: Passed CI tests
Artyom Lukianov: Looks good to me, but someone else must approve
--
To view, visit
https://gerrit.ovirt.org/53927
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7bed963c8bbc4aca82185cdd7072dda4f3f2286c
Gerrit-PatchSet: 2
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>