linstor-server icon indicating copy to clipboard operation
linstor-server copied to clipboard

Problem with quorum saving (no TieBreakers added for resources)

Open duckhawk opened this issue 1 year ago • 1 comments

In version 1.29.2, I am observing a problem with preserving the number of replicas. Previously, we were using version 1.24. In it, we added a controller that monitored the number of replicas and added a TieBreaker if there were fewer than 3 replicas.

According to the changelog in version 1.29.2, the number of replicas should increase automatically. But I see from my tests that this is not the case.

  • I add a resource with 2 replicas.
  • I delete the diskless replica, if it exists.
  • I expect a TieBreaker to be added, but this does not happen. If our custom controller attempts to add a TieBreaker, it immediately goes into the Deleting state and gets stuck there until the resource definition is completely removed or the node with the TieBreaker is rebooted.

Manipulations with the DrbdOptions/auto-add-quorum-tiebreaker parameter do not change the situation, and the controller forcefully sets it to true after the restart.

Is this expected behavior?

duckhawk avatar Nov 11 '24 05:11 duckhawk

What properties do the resource-group or resource-definition have?

If you say you deleted the diskless, do you mean you deleted a resource with the State Diskless or was it by any chance a Tiebreaker?

rp- avatar Nov 12 '24 16:11 rp-