Change in vdsm[ovirt-3.2]: upgrade: force upgrade to v2 before upgrading to v3

fsimonce at redhat.com fsimonce at redhat.com
Mon Jan 28 14:19:06 UTC 2013


Federico Simoncelli 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 at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/10792
Reviewed-by: Ayal Baron <abaron at redhat.com>
Tested-by: Haim Ateya <hateya at redhat.com>
---
M vdsm/storage/imageRepository/formatConverter.py
M vdsm/storage/volume.py
2 files changed, 21 insertions(+), 9 deletions(-)

Approvals:
  Federico Simoncelli: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/11462
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2bd424ad29e76d1368ff2959bb8fe45afc595cdb
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.2
Gerrit-Owner: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Haim Ateya <hateya at redhat.com>


More information about the vdsm-patches mailing list