Commit 5b442704 authored by Iustin Pop's avatar Iustin Pop
Browse files

Correctly fill the beparams too over RPC

As for the hvparams, we need to replace the sent instance beparams.

Reviewed-by: ultrotter
parent a604f165
......@@ -172,7 +172,9 @@ class RpcRunner(object):
idict = instance.ToDict()
idict["hvparams"] = self._cfg.GetClusterInfo().FillHV(instance)
cluster = self._cfg.GetClusterInfo()
idict["hvparams"] = cluster.FillHV(instance)
idict["beparams"] = cluster.FillBE(instance)
return idict
def call_volume_list(self, node_list, vg_name):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment