Change in ovirt-hosted-engine-ha[master]: upgrade: trying reconstructMaster as a recovery action
msivak at redhat.com
msivak at redhat.com
Tue Mar 29 08:08:44 UTC 2016
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 at 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 at redhat.com>
Gerrit-Reviewer: Artyom Lukianov <alukiano at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo 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