Commit c5a8b0eb authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Fix parameters to RPC "os_validate"

All other RPC wrappers take the node name(s) as the first parameter.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent 5fe4a65b
......@@ -8244,7 +8244,7 @@ def _CheckOSParams(lu, required, nodenames, osname, osparams):
nodenames = _FilterVmNodes(lu, nodenames)
result = lu.rpc.call_os_validate(required, nodenames, osname,
result = lu.rpc.call_os_validate(nodenames, required, osname,
for node, nres in result.items():
......@@ -1240,7 +1240,7 @@ class RpcRunner(object):
return result
def call_os_validate(self, required, nodes, name, checks, params):
def call_os_validate(self, nodes, required, name, checks, params):
"""Run a validation routine for a given OS.
This is a multi-node call.
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