Note: I'll add tests for this on the master branch, but not here.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
*(unreleased)*
+Behaviour change: hbal won't rebalance anymore instances which have the
+'auto_balance' attribute set to false. This was the intention all along,
+but until now it only skipped those from the N+1 memory reservation
+(DRBD-specific).
+
+Besides that, a number of bugfixes:
+
- Disk adoption interaction with ipolicy checks has been fixed.
- Tap device's MAC prefix is now forcibly set to "fe" (issue 217).
- Option to force master-failover without voting added (issue 282).
in filter (any (`elem` bad_nodes) .
Instance.allNodes) all_inst
else all_inst
- reloc_inst = filter Instance.movable all_inst'
+ reloc_inst = filter (\i -> Instance.movable i &&
+ Instance.autoBalance i) all_inst'
node_idx = map Node.idx online_nodes
fin_tbl = checkMove node_idx disk_moves inst_moves ini_tbl reloc_inst
(Table _ _ fin_cv _) = fin_tbl