Commit 1116c3b2 authored by Iustin Pop's avatar Iustin Pop
Browse files

Export a node's group information in iallocator

Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarMichael Hanselmann <>
parent f936c153
......@@ -239,6 +239,9 @@ nodes
total memory required by running primary instances
the node group that this node belongs to
No allocations should be made on nodes having either the ``drained``
or ``offline`` flags set. More details about these of node status
flags is available in the manpage :manpage:`ganeti(7)`.
......@@ -10234,6 +10234,7 @@ class IAllocator(object):
"offline": ninfo.offline,
"drained": ninfo.drained,
"master_candidate": ninfo.master_candidate,
if not (ninfo.offline or ninfo.drained):
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