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

From Maor Lipchuk <mlipchuk@redhat.com>:
Maor Lipchuk 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 Signed-off-by: Maor Lipchuk <mlipchuk@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_02_0120_fix_default_qcow_version.sql 3 files changed, 30 insertions(+), 19 deletions(-) Approvals: Jenkins CI: Passed CI tests Maor Lipchuk: Verified; Looks good to me, approved -- To view, visit https://gerrit.ovirt.org/71236 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ibddd5a8bcac7e13aa98cc2c0bb9f8a48d4ac40f0 Gerrit-PatchSet: 8 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Maor Lipchuk <mlipchuk@redhat.com> Gerrit-Reviewer: Daniel Erez <derez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Maor Lipchuk <mlipchuk@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
Code Review