« Previous | Next » 

Revision 27579978

Parent b91bde14
Child eb0994e7

Added by Iustin Pop about 16 years ago

Send required_nodes field to the iallocator scripts

This patch adds the 'required_nodes' field in the request dict for the

This means that the handmade-checks in the create instance can be
simplified, and that the dumb allocator can be made simple. Therefore
the patch also modifies it.

The patch also sends the disk_space_total to the script in realocate
mode and a small fix for showing errors (include stderr too).

Reviewed-by: ultrotter


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences