Failure might be expected when disabling takeover runs on banned
nodes, since they might be suffering from performance problems or
similar. More broadly, administrators who reconfigure a cluster that
isn't in a happy state aren't necessarily doing something sensible.
However, allowing takeover runs to be disabled on inactive nodes stops
reconfiguration of stopped nodes. This is probaby an unreasonable
limitation, so drop it.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(Imported from commit
e77d5f99e396d71c1d354b3f8dc5ddf9ba5c5ee9)
goto done;
}
- if (rec->node_flags & NODE_FLAGS_INACTIVE) {
- DEBUG(DEBUG_ERR,
- ("Refusing to disable takeover runs on inactive node\n"));
- ret = -EHOSTDOWN;
- goto done;
- }
-
if (rec->takeover_run_in_progress) {
DEBUG(DEBUG_ERR,
("Unable to disable takeover runs - in progress\n"));