Change in ovirt-engine[master]: core: Force remove storage leaves VM permissions.

mlipchuk at redhat.com mlipchuk at redhat.com
Wed Aug 21 08:41:45 UTC 2013


Maor Lipchuk has submitted this change and it was merged.

Change subject: core: Force remove storage leaves VM permissions.
......................................................................


core: Force remove storage leaves VM permissions.

Remove of VM will not remove its permissions, since before the remove of
the permissions we remove the image from image_storage_domain_map which
vm_images_view is based on, and therefore it will not fetch this image.

The proposed fix is to create a temporary table which will contains the
vm ids and will not influenced by former operations.

Change-Id: I7445f9ba7c08936e66cab0b043f4dbaaa483e482
Bug-Url: https://bugzilla.redhat.com/999048
Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
---
M packaging/dbscripts/storages_sp.sql
1 file changed, 24 insertions(+), 18 deletions(-)

Approvals:
  Maor Lipchuk: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7445f9ba7c08936e66cab0b043f4dbaaa483e482
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Liron Ar <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Sergey Gotliv <sgotliv at redhat.com>



More information about the Engine-commits mailing list