Revision 0d853843

b/doc/iallocator.rst
176 176

  
177 177
nodes
178 178
  dictionary with the data for the nodes in the cluster, indexed by
179
  the node name; the dict contains:
179
  the node name; the dict contains [*]_ :
180 180

  
181 181
  total_disk
182 182
    the total disk size of this node (mebibytes)
......
225 225
  or ``offline`` flags set. More details about these of node status
226 226
  flags is available in the manpage *ganeti(7)*.
227 227

  
228
.. [*] Note that no run-time data is present for offline or drained nodes;
229
   this means the tags total_memory, reserved_memory, free_memory, total_disk,
230
   free_disk, total_cpus, i_pri_memory and i_pri_up memory will be absent
228 231

  
229
Respone message
230
~~~~~~~~~~~~~~~
232

  
233
Response message
234
~~~~~~~~~~~~~~~~
231 235

  
232 236
The response message is much more simple than the input one. It is
233 237
also a dict having three keys:
b/lib/cmdlib.py
6907 6907
        "master_candidate": ninfo.master_candidate,
6908 6908
        }
6909 6909

  
6910
      if not ninfo.offline:
6910
      if not (ninfo.offline or ninfo.drained):
6911 6911
        nresult.Raise()
6912 6912
        if not isinstance(nresult.data, dict):
6913 6913
          raise errors.OpExecError("Can't get data for node %s" % nname)

Also available in: Unified diff