Change in ovirt-hosted-engine-ha[master]: upgrade: trying reconstructMaster as a recovery action

Martin Sivák has submitted this change and it was merged. Change subject: upgrade: trying reconstructMaster as a recovery action ...................................................................... upgrade: trying reconstructMaster as a recovery action In the upgrade procedure from 3.5 we call reconstructMaster to set the temporary fake storage domain on PosixFS as the master storage domain in order to be able to call detachStorageDomain for the hosted-engine storage domain. The upgrade procedure is not transactional and the temporary fake storage domain on PosixFS will not survive a reboot. So, if the user reboots the host just after the reconstructMaster but before the detachStorageDomain, we end with a storage pool that cannot be connected since its master storage domain doesn't exist anymore. reconstructMaster can be used to try to revert to 3.5 status (bootstrap storage pool with just the hosted-engine storage domain as its master storage domain) before trying the upgrade procedure again. Change-Id: I9bfc3461694348de78750a5d0eea0dc65a36d15e Bug-Url: https://bugzilla.redhat.com/1292652 Signed-off-by: Simone Tiraboschi <stirabos@redhat.com> --- M ovirt_hosted_engine_ha/lib/upgrade.py 1 file changed, 35 insertions(+), 15 deletions(-) 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 -- To view, visit https://gerrit.ovirt.org/54049 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I9bfc3461694348de78750a5d0eea0dc65a36d15e Gerrit-PatchSet: 5 Gerrit-Project: ovirt-hosted-engine-ha Gerrit-Branch: master Gerrit-Owner: Simone Tiraboschi <stirabos@redhat.com> Gerrit-Reviewer: Artyom Lukianov <alukiano@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Martin Sivák <msivak@redhat.com> Gerrit-Reviewer: Nir Soffer <nsoffer@redhat.com> Gerrit-Reviewer: Sandro Bonazzola <sbonazzo@redhat.com> Gerrit-Reviewer: Simone Tiraboschi <stirabos@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
msivak@redhat.com