Revision da803ff1 lib/cmdlib/instance_storage.py
b/lib/cmdlib/instance_storage.py | ||
---|---|---|
892 | 892 |
or we cannot check the node |
893 | 893 |
|
894 | 894 |
""" |
895 |
es_flags = rpc.GetExclusiveStorageForNodes(lu.cfg, node_uuids) |
|
895 |
lvm_storage_units = [(constants.ST_LVM_VG, vg)] |
|
896 |
storage_units = rpc.PrepareStorageUnitsForNodes(lu.cfg, lvm_storage_units, |
|
897 |
node_uuids) |
|
896 | 898 |
hvname = lu.cfg.GetHypervisorType() |
897 | 899 |
hvparams = lu.cfg.GetClusterInfo().hvparams |
898 |
nodeinfo = lu.rpc.call_node_info(node_uuids, [(constants.ST_LVM_VG, vg)],
|
|
899 |
[(hvname, hvparams[hvname])], es_flags)
|
|
900 |
nodeinfo = lu.rpc.call_node_info(node_uuids, storage_units,
|
|
901 |
[(hvname, hvparams[hvname])]) |
|
900 | 902 |
for node in node_uuids: |
901 | 903 |
node_name = lu.cfg.GetNodeName(node) |
902 | 904 |
|
Also available in: Unified diff