$ cat events2-may-promote-peer-role.msgs | drbdsetup_events2_instrumented; echo $?
exists -
create resource name:some-resource role:Secondary suspended:no force-io-failures:no may_promote:no promotion_score:0
create device name:some-resource volume:0 minor:1000 backing_dev:none disk:Diskless client:no quorum:yes
create connection name:some-resource peer-node-id:1 conn-name:some-peer connection:StandAlone role:Unknown
create peer-device name:some-resource peer-node-id:1 conn-name:some-peer volume:0 replication:Off peer-disk:DUnknown peer-client:no resync-suspended:no
change resource name:some-resource may_promote:yes promotion_score:10101
change device name:some-resource volume:0 minor:1000 backing_dev:/dev/sda disk:UpToDate client:no quorum:yes
change connection name:some-resource peer-node-id:1 conn-name:some-peer connection:Connected role:Secondary
change resource name:some-resource may_promote:no promotion_score:10101
change connection name:some-resource peer-node-id:1 conn-name:some-peer role:Primary
0
