Revision b6e82a65
ID | b6e82a65b184b4e2fd065821d3ff29cddb90950e |
Parent | 5e767b34 |
Child | b4de68a9 |
Implement replace secondary via the iallocator
This patch implements secondary replace via the iallocator. The new
opcode parameter 'iallocator' behaves like this: if passed, it will
always compute and assign a new secondary, behaving in effect as if the
secondary node has been passed. It conflicts with actually giving the
secondary too.
[Note: not tested with remote_raid1, but the code should behave the
same, we only touch CheckPrereq and we assign a node.]
The patch also adds burnin support for the replace secondary operation;
with this in place, burnin can fully work with auto-assigned nodes.
Reviewed-by: ultrotter
Files
- added
- modified
- copied
- renamed
- deleted