Revision da803ff1 lib/masterd/iallocator.py
b/lib/masterd/iallocator.py | ||
---|---|---|
413 | 413 |
@return: the result of the node info RPC call |
414 | 414 |
|
415 | 415 |
""" |
416 |
es_flags = rpc.GetExclusiveStorageForNodes(self.cfg, node_list) |
|
417 |
storage_units = utils.storage.GetStorageUnitsOfCluster( |
|
416 |
storage_units_raw = utils.storage.GetStorageUnitsOfCluster( |
|
418 | 417 |
self.cfg, include_spindles=True) |
418 |
storage_units = rpc.PrepareStorageUnitsForNodes(self.cfg, storage_units_raw, |
|
419 |
node_list) |
|
419 | 420 |
hvspecs = [(hypervisor_name, cluster_info.hvparams[hypervisor_name])] |
420 |
return self.rpc.call_node_info(node_list, storage_units, hvspecs, es_flags)
|
|
421 |
return self.rpc.call_node_info(node_list, storage_units, hvspecs) |
|
421 | 422 |
|
422 | 423 |
def _ComputeClusterData(self): |
423 | 424 |
"""Compute the generic allocator input data. |
Also available in: Unified diff