Eli Mesika has uploaded a new change for review. Change subject: core: unlock_entity should unlock unattached disks ......................................................................
core: unlock_entity should unlock unattached disks unlock_entity.sh script does not unlock locked images that are not attached to any VM. The script should unlock any disks, even such that were created and are not attached to a VM. Change-Id: I8346f0ae34a7b2ea9d4ce4281dbebdb67a554ac0 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1032910 Signed-off-by: Eli Mesika <[email protected]> --- M packaging/dbscripts/common_sp.sql 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/56/22156/1 diff --git a/packaging/dbscripts/common_sp.sql b/packaging/dbscripts/common_sp.sql index 41f99dc..c09c19b 100644 --- a/packaging/dbscripts/common_sp.sql +++ b/packaging/dbscripts/common_sp.sql @@ -481,7 +481,7 @@ OK:=1; LOCKED:=2; update images set imagestatus = OK where imagestatus = LOCKED and - image_group_id in (select device_id from vm_device where device_id = v_id and is_plugged); + image_group_id = v_id; END; $procedure$ LANGUAGE plpgsql; -- To view, visit http://gerrit.ovirt.org/22156 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8346f0ae34a7b2ea9d4ce4281dbebdb67a554ac0 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Eli Mesika <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
