Martin Peřina has posted comments on this change.

Change subject: engine: Add support for multiple IDs in unlock_entity.sh
......................................................................


Patch Set 2: Verified

Current version of unlock_entity.sh:
====================================
$ ./share/ovirt-engine/dbscripts/unlock_entity.sh -t vm -i 1
Caution, this operation may lead to data corruption and should be used with 
care. Please contact support prior to running this command
Are you sure you want to proceed? [y/n]
y
select fn_db_unlock_entity('vm', '1', false);
 

INSERT 178342 1
unlock vm 1 completed successfully.

$ ./share/ovirt-engine/dbscripts/unlock_entity.sh -t vm -i 2
Caution, this operation may lead to data corruption and should be used with 
care. Please contact support prior to running this command
Are you sure you want to proceed? [y/n]
y
select fn_db_unlock_entity('vm', '2', false);
 

INSERT 178343 1
unlock vm 2 completed successfully.

$ ./share/ovirt-engine/dbscripts/unlock_entity.sh -t vm -i 3
Caution, this operation may lead to data corruption and should be used with 
care. Please contact support prior to running this command
Are you sure you want to proceed? [y/n]
y
select fn_db_unlock_entity('vm', '3', false);
 

INSERT 178344 1
unlock vm 3 completed successfully.



New version of unlock_entity.sh:
================================
$ ./share/ovirt-engine/dbscripts/unlock_entity.sh -t vm 1 2 3
Caution, this operation may lead to data corruption and should be used with 
care. Please contact support prior to running this command
Are you sure you want to proceed? [y/n]
y
select fn_db_unlock_entity('vm', '1', false);
 

INSERT 178353 1
unlock vm 1 completed successfully.
select fn_db_unlock_entity('vm', '2', false);
 

INSERT 178354 1
unlock vm 2 completed successfully.
select fn_db_unlock_entity('vm', '3', false);
 

INSERT 178355 1
unlock vm 3 completed successfully.

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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ic1f9807eef92b9d4cf6f0c020e059ffe549badf2
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Peřina <[email protected]>
Gerrit-Reviewer: Martin Peřina <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to