Simone Tiraboschi has submitted this change and it was merged.
Change subject: upgrade: migrate file based lockspace and metadata
......................................................................
upgrade: migrate file based lockspace and metadata
On oVirt 3.4, metadata and lockspace area were based
on files directly saved in the NFS storage.
This would not work with iSCSI and so with 3.5 we
moved to regular VDSM volumes also on NFS. This
is a procedure to upgrade system started with 3.4
to use VDSM volumes.
The upgrade procedure will scan for the metadata
and the lockspace area, if they aren't on the
storage domain it will trigger the volume creation.
Volume creation will also remove the previous file
and it will replace it with a symlink pointing to the
new volume.
Upon restart, all the hosts will point to the new
volume since they'll simply consume the symlink.
Change-Id: If64a1325dc4187b61bff9eb1d2763995c8387e46
Bug-Url:
https://bugzilla.redhat.com/1313917
Signed-off-by: Simone Tiraboschi <stirabos(a)redhat.com>
---
M configure.ac
M po/POTFILES.in
M src/ovirt_hosted_engine_setup/constants.py
M src/plugins/gr-he-common/Makefile.am
M src/plugins/gr-he-common/core/misc.py
R src/plugins/gr-he-common/sanlock/Makefile.am
R src/plugins/gr-he-common/sanlock/__init__.py
R src/plugins/gr-he-common/sanlock/lockspace.py
M src/plugins/gr-he-setup/Makefile.am
M src/plugins/gr-he-setup/engine/add_host.py
M src/plugins/gr-he-upgradeappliance/core/misc.py
11 files changed, 231 insertions(+), 14 deletions(-)
Approvals:
Martin Sivák: Looks good to me, but someone else must approve
Simone Tiraboschi: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
Rafael Martins: Looks good to me, but someone else must approve
--
To view, visit
https://gerrit.ovirt.org/60369
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If64a1325dc4187b61bff9eb1d2763995c8387e46
Gerrit-PatchSet: 15
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: master
Gerrit-Owner: Simone Tiraboschi <stirabos(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer(a)redhat.com>
Gerrit-Reviewer: Rafael Martins <rmartins(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos(a)redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>