Change in ovirt-engine[ovirt-engine-4.1]: core: Update QCOW volumes in 4.0 DC to the default QCOW vers...

Code Review gerrit at ovirt.org
Sun Jan 29 10:21:03 UTC 2017


>From Tal Nisan <tnisan at redhat.com>:

Tal Nisan has submitted this change and it was merged.

Change subject: core: Update QCOW volumes in 4.0 DC to the default QCOW version.
......................................................................


core: Update QCOW volumes in 4.0 DC to the default QCOW version.

After upgrade of oVirt 4.1 if there were any added disks in a 4.0 DC
those disks will not be initiailzed with the default QCOW version since
the update could be done only if VDSM reported the QCOW version of the
new volume which was only introduced in 4.1 DCs.

Therefore any added QCOW volumes in DC 4.0 should be initialized with
the default QCOW version which is 0.10.

Also added an upgrade script that updates all the QCOW volumes
that were added to a 4.0 DC after the oVirt upgrade, to the default
QCOW version.

Change-Id: Ibddd5a8bcac7e13aa98cc2c0bb9f8a48d4ac40f0
Bug-Url: https://bugzilla.redhat.com/1416809
Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/image/BaseImagesCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/image/TransferImageCommand.java
A packaging/dbscripts/upgrade/04_01_0740_fix_default_qcow_version.sql
3 files changed, 30 insertions(+), 19 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Daniel Erez: Looks good to me, approved
  Maor Lipchuk: Verified



-- 
To view, visit https://gerrit.ovirt.org/71337
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibddd5a8bcac7e13aa98cc2c0bb9f8a48d4ac40f0
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.1
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list