projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a604f16
)
Correctly fill the beparams too over RPC
author
Iustin Pop
<iustin@google.com>
Tue, 14 Oct 2008 11:29:28 +0000
(11:29 +0000)
committer
Iustin Pop
<iustin@google.com>
Tue, 14 Oct 2008 11:29:28 +0000
(11:29 +0000)
As for the hvparams, we need to replace the sent instance beparams.
Reviewed-by: ultrotter
lib/rpc.py
patch
|
blob
|
history
diff --git
a/lib/rpc.py
b/lib/rpc.py
index
d840846
..
05b0331
100644
(file)
--- a/
lib/rpc.py
+++ b/
lib/rpc.py
@@
-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):