When I right-click on a node and click Migrate All Resources Away, all resources immediately migrate away from the node and are restarted on the other node as excpected. If I then select all resources and click Remove Migration Constraints, the location constraint is cleared from all resources except ms_drbd_1 resource. Interestingly, running the command crm res clear ms_drbd_1 (which I believe is what the UI is calling) doesn't remove the constraint either.
The only way I've managed to remove the constraint is via the CLI where I edit the configuration (crm conf edit) and manually delete the 2 lines referencing the constraint. Committing the change then clears the constraint from the UI as well.
When I right-click on a node and click Migrate All Resources Away, all resources immediately migrate away from the node and are restarted on the other node as excpected. If I then select all resources and click Remove Migration Constraints, the location constraint is cleared from all resources except
ms_drbd_1
resource. Interestingly, running the commandcrm res clear ms_drbd_1
(which I believe is what the UI is calling) doesn't remove the constraint either.The only way I've managed to remove the constraint is via the CLI where I edit the configuration (
crm conf edit
) and manually delete the 2 lines referencing the constraint. Committing the change then clears the constraint from the UI as well.