Change in ovirt-engine[master]: core: fix vm devices upgrade in 3.1

ofrenkel at redhat.com ofrenkel at redhat.com
Mon Jun 3 14:47:28 UTC 2013


Omer Frenkel has submitted this change and it was merged.

Change subject: core: fix vm devices upgrade in 3.1
......................................................................


core: fix vm devices upgrade in 3.1

when upgrading from 3.0 to 3.1 vm devices are created,
and boot order is set to new devices,
currenly upgrade code doesn't take into consideration the old boot
order, in case there are more than one disks.

this patch use 'boot' column from images table to order the boot disk to
be first device handled, and then it will have the right boot order.

Change-Id: Ic83725ad44363c75cb6b4230c983383dcbd24d0f
Bug-Url: https://bugzilla.redhat.com/967268
Signed-off-by: Omer Frenkel <ofrenkel at redhat.com>
---
M backend/manager/dbscripts/upgrade/03_01_0440_vm_device_upgrade_data.sql
M backend/manager/dbscripts/upgrade/03_01_0560_vm_device_upgrade_data.sql
2 files changed, 5 insertions(+), 2 deletions(-)

Approvals:
  Omer Frenkel: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic83725ad44363c75cb6b4230c983383dcbd24d0f
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>



More information about the Engine-commits mailing list