rasto / lcmc

Pacemaker/DRBD/KVM/LVM Cluster GUI
Other
102 stars 21 forks source link

Unable to remove migration constraint on DRBD #80

Open ak2766 opened 1 year ago

ak2766 commented 1 year ago

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.