A known deficit for hroller is that the master node is not scheduled at a distinguished poisition in the rolling reboot. This patch series updates hroller to schedule the master node as last node of the last group, whenever the master node is known form the cluster description. It also sets the master node correctly in the cluster description for the backends RAPI and LUXI. So, if either of those backends is used, the master node will correctly be scheduled last.
Klaus Aehlig (7): update hroller man page: node group filtering is implemented Extend the node description by isMaster Make Hroller present master node last Utility function to set the master node in a node list In Luxi, set the master correctly In Rapi, set master correctly Update hroller man page: master node is last man/hroller.rst | 16 ++++++++-------- src/Ganeti/HTools/Backend/Luxi.hs | 10 ++++++---- src/Ganeti/HTools/Backend/Rapi.hs | 17 ++++++++++------- src/Ganeti/HTools/Loader.hs | 9 +++++++++ src/Ganeti/HTools/Node.hs | 7 +++++++ src/Ganeti/HTools/Program/Hroller.hs | 16 ++++++++++++++-- 6 files changed, 54 insertions(+), 21 deletions(-) -- 1.8.1.3
