Dan Kenigsberg has submitted this change and it was merged.
Change subject: upgrade: force upgrade to v2 before upgrading to v3 ......................................................................
upgrade: force upgrade to v2 before upgrading to v3
During the upgrade of a domain to version 3 vdsm reallocates the metadata slots that are higher than 1947 (given a leases LV of 2Gb) in order to use the same offsets for the volume leases (BZ#882276 and git commit hash 2ba76e3). This has no effect when the domain is version 0 since the metadata slots offsets are fixed (the first physical extent of the LV) and they can't be reallocated. In such case the domain must be upgraded to version 2 first.
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=893184 Change-Id: I2bd424ad29e76d1368ff2959bb8fe45afc595cdb Signed-off-by: Federico Simoncelli fsimonce@redhat.com --- M vdsm/storage/imageRepository/formatConverter.py M vdsm/storage/volume.py 2 files changed, 21 insertions(+), 9 deletions(-)
Approvals: Ayal Baron: Looks good to me, approved Haim Ateya: Verified Dan Kenigsberg:
-- To view, visit http://gerrit.ovirt.org/10792 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged Gerrit-Change-Id: I2bd424ad29e76d1368ff2959bb8fe45afc595cdb Gerrit-PatchSet: 3 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Federico Simoncelli fsimonce@redhat.com Gerrit-Reviewer: Ayal Baron abaron@redhat.com Gerrit-Reviewer: Dan Kenigsberg danken@redhat.com Gerrit-Reviewer: Federico Simoncelli fsimonce@redhat.com Gerrit-Reviewer: Haim Ateya hateya@redhat.com Gerrit-Reviewer: Lee Yarwood lyarwood@redhat.com Gerrit-Reviewer: oVirt Jenkins CI Server