LUClusterRepairDiskSizes: Use node resource locks
authorMichael Hanselmann <hansmi@google.com>
Thu, 3 Nov 2011 15:40:06 +0000 (16:40 +0100)
committerMichael Hanselmann <hansmi@google.com>
Tue, 15 Nov 2011 09:51:55 +0000 (10:51 +0100)
commita4e588b712528bd3bea501019ed329bc40c1c573
tree026362ddade42568cc0268efe49408146f1623d9
parent0c3c965aed9546c60c44200a175f04fcc77fbdb9
LUClusterRepairDiskSizes: Use node resource locks

Since this doesn't really touch the node, but it conflicts with e.g.
growing a disk, the resource lock must be acquired.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/cmdlib.py