Use node UUIDs for locking instead of node names
authorThomas Thrainer <thomasth@google.com>
Mon, 19 Aug 2013 13:51:23 +0000 (15:51 +0200)
committerThomas Thrainer <thomasth@google.com>
Tue, 20 Aug 2013 11:46:45 +0000 (13:46 +0200)
commit6869f673b058cc58cf4b7a023f0220d0d047de55
tree0a3e7c5df64f5d4c0c157964ef7bf363848add67
parent5eae613c2e1e65101c5d5f7d2e8ffd7cc6edc7d5
Use node UUIDs for locking instead of node names

LUInstanceMultiAlloc used node names instead of node UUIDs to lock
required nodes. This patch fixes this bug.

Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/cmdlib/instance.py