Maor Lipchuk has uploaded a new change for review.

Change subject: core:(WIP) VM pool snapshot should not be stateless.
......................................................................

core:(WIP) VM pool snapshot should not be stateless.

After upgrade RHEVM from 3.0 to 3.1, the snapshots of VM's which are
part of a pool are marked as stateless although they don't.

There is not need to save the image_vm_pool_map data in the
stateless_vm_image_map since snapshots which are created for stateless
VM should already be saved in this table already

Change-Id: I9aaccd3c624c2ab6bcc6f4a0510b26d37f2c1eee
Bug-Url: https://bugzilla.redhat.com/882621
Signed-off-by: Maor Lipchuk <[email protected]>
---
M backend/manager/dbscripts/upgrade/03_01_0530_migrate_image_vm_pool_map.sql
1 file changed, 0 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/94/9794/1

diff --git 
a/backend/manager/dbscripts/upgrade/03_01_0530_migrate_image_vm_pool_map.sql 
b/backend/manager/dbscripts/upgrade/03_01_0530_migrate_image_vm_pool_map.sql
index db05595..f9bac02 100644
--- a/backend/manager/dbscripts/upgrade/03_01_0530_migrate_image_vm_pool_map.sql
+++ b/backend/manager/dbscripts/upgrade/03_01_0530_migrate_image_vm_pool_map.sql
@@ -1,4 +1 @@
-INSERT INTO stateless_vm_image_map (vm_guid, image_guid, 
internal_drive_mapping)
-(SELECT vm_guid, image_guid, internal_drive_mapping from image_vm_pool_map);
-
 DROP table image_vm_pool_map;


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9aaccd3c624c2ab6bcc6f4a0510b26d37f2c1eee
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to