Revision 06fb92cf lib/cmdlib/node.py

b/lib/cmdlib/node.py
1173 1173
      es_flags = rpc.GetExclusiveStorageForNodeNames(lu.cfg, toquery_nodes)
1174 1174
      # FIXME: This currently maps everything to lvm, this should be more
1175 1175
      # flexible
1176
      storage_units = [(constants.ST_LVM_VG, lu.cfg.GetVGName())]
1177
      node_data = lu.rpc.call_node_info(toquery_nodes, storage_units,
1176
      vg_req = rpc.BuildVgInfoQuery(lu.cfg)
1177
      node_data = lu.rpc.call_node_info(toquery_nodes, vg_req,
1178 1178
                                        [lu.cfg.GetHypervisorType()], es_flags)
1179 1179
      live_data = dict((name, rpc.MakeLegacyNodeInfo(nresult.payload))
1180 1180
                       for (name, nresult) in node_data.items()

Also available in: Unified diff