Closed dragon299 closed 2 years ago
Thanks for the report, we did not check with pcmk 2.1 yet.
Any change will need to be backward compatible, though.
Would this work for you?
[[ $out = *@(: ok|(ok)) ]]; then
Thanks, that did fix the issue. Unfortunately I found additional issues with pcmk 2.1 during testing. I guess there is still more work to do for a stable pcmk 2.1 with drbd. My current setup works "sometimes". I still try to reproduce the errors.
supposedly fixed by 8a28be74bc6efa93931c957e54c01abb18b984fe released with v9.20.0
The function _check_peer_node_reachable does not work with pacemaker-2.1.0-8.
Line 1082:
The script uses crmadmin to find out the reachable node. But it expects (ok) in the stdout if it is.
Old stdout of crmadmin was:
Status of crmd@testclust7-02: S_NOT_DC (ok)
Now, with new pacemaker version the output is:Controller on testclust7-02 in state S_NOT_DC: ok
The () need to be removed to make the script work again.