Revision 319322a7 lib/cmdlib.py

b/lib/cmdlib.py
5288 5288
      # filter out non-vm_capable nodes
5289 5289
      toquery_nodes = [name for name in nodenames if all_info[name].vm_capable]
5290 5290

  
5291
      es_flags = rpc.GetExclusiveStorageForNodeNames(lu.cfg, toquery_nodes)
5291 5292
      node_data = lu.rpc.call_node_info(toquery_nodes, [lu.cfg.GetVGName()],
5292
                                        [lu.cfg.GetHypervisorType()], False)
5293
                                        [lu.cfg.GetHypervisorType()], es_flags)
5293 5294
      live_data = dict((name, rpc.MakeLegacyNodeInfo(nresult.payload))
5294 5295
                       for (name, nresult) in node_data.items()
5295 5296
                       if not nresult.fail_msg and nresult.payload)
......
6888 6889
      or we cannot check the node
6889 6890

  
6890 6891
  """
6891
  nodeinfo = lu.rpc.call_node_info(nodenames, [vg], None, False)
6892
  es_flags = rpc.GetExclusiveStorageForNodeNames(lu.cfg, nodenames)
6893
  nodeinfo = lu.rpc.call_node_info(nodenames, [vg], None, es_flags)
6892 6894
  for node in nodenames:
6893 6895
    info = nodeinfo[node]
6894 6896
    info.Raise("Cannot get current information from node %s" % node,

Also available in: Unified diff