Change in ovirt-hosted-engine-ha[ovirt-hosted-engine-ha-1.3]: storage: always pass a blank SP UUID in image.py

msivak at redhat.com msivak at redhat.com
Tue Feb 23 16:31:39 UTC 2016


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 at redhat.com>
(cherry picked from commit d93fceca78c78bb625ba98069d6eee13d8e25e92)
---
M ovirt_hosted_engine_ha/lib/image.py
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Martin Sivák: Looks good to me, approved
  Simone Tiraboschi: Verified
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/53928
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: ovirt-hosted-engine-ha-1.3
Gerrit-Owner: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Jenkins CI
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