Commit 68c6f21c authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix gnt-cluster modify -H and offline nodes

Reviewed-by: ultrotter
parent d34b16d7
......@@ -4083,6 +4083,8 @@ def _CheckHVParams(lu, nodenames, hvname, hvparams):
hvparams)
for node in nodenames:
info = hvinfo[node]
if info.offline:
continue
info.Raise()
if not info.data or not isinstance(info.data, (tuple, list)):
raise errors.OpPrereqError("Cannot get current information"
......
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