Closed meilihao closed 2 years ago
That crm config looks about right. What drbd/drbd-utils versions are you running? Maybe they don't support promotion scores yet. drbdadm --version
should give you that information.
crm status
would also be helpful.
Can you try again with the latest master? I'm reasonably certain this should be fixed with 0d257a998be276f3ce281fc69237320444f6ba9c.
Thanks for the report!
@chrboe I updated and tried, but it does't work. crm resources is still stopped after linstor-iscsi start
.
Yes, that is expected. linstor-gateway
only generates the CIB once (on the linstor-iscsi create ...
command), and does not touch it again afterwards.
Maybe we need a linstor-iscsi adjust ...
command which re-writes the CIB.
In the meantime, you'll either have to re-create your target or manually edit the constraints (crm conf edit
and change all inf
to Mandatory
for the order
constraints)
@chrboe I created a new target and checked CIB, but the new linstor-iscsi didn't work.
Can you post your /var/log/pacemaker.log
somewhere? (e.g. pastebin)
I'am sorry, my env is secure network, and no sending files to the public network.
tail -f /var/log/pacemaker/pacemaker.log
+ linstor-iscsi start
:
This is stale anyways, but closing because we now no longer use pacemaker.
env:
linstor-iscsi start
does not work with no error.linstor-iscsi:
crm configure: