Revision 030ab01a lib/cmdlib/instance_storage.py

b/lib/cmdlib/instance_storage.py
891 891
  es_flags = rpc.GetExclusiveStorageForNodeNames(lu.cfg, nodenames)
892 892
  # FIXME: This maps everything to storage type 'lvm-vg' to maintain
893 893
  # the current functionality. Refactor to make it more flexible.
894
  nodeinfo = lu.rpc.call_node_info(nodenames, [(constants.ST_LVM_VG, vg)], None,
895
                                   es_flags)
894
  hvname = lu.cfg.GetHypervisorType()
895
  hvparams = lu.cfg.GetClusterInfo().hvparams
896
  nodeinfo = lu.rpc.call_node_info(nodenames, [(constants.ST_LVM_VG, vg)],
897
                                   [(hvname, hvparams[hvname])], es_flags)
896 898
  for node in nodenames:
897 899
    info = nodeinfo[node]
898 900
    info.Raise("Cannot get current information from node %s" % node,

Also available in: Unified diff