[ClusterLabs] Is reverse order for "promote" supposed to be "demote"?

Andrei Borzenkov arvidjaar at gmail.com
Tue May 11 11:27:33 EDT 2021

While testing drbd cluster I found errors (drbd device busy) when
stopping drbd master with mounted filesystem. I do have

order o_fs_drbd0_after_ms_drbd0 Mandatory: ms_drbd0:promote fs_drbd0

and I assumed pacemaker automatically does reverse as "first stop then
demote". It does not - umount and demote are initiated concurrently.

Adding explicit

order o_stop_fs_drbd0_before_demote_ms_drbd0 Mandatory: fs_drbd0:stop

fixed it, but should not this be automatic?

The versions is pacemaker-2.0.5+20210310.83e765df6-1.1.x86_64.

More information about the Users mailing list