Public bug reported: Pacemaker changed the output string of "crmadmin -S <HOST>" in 2.1.0 with the commit https://github.com/ClusterLabs/pacemaker/commit/c26c9951d863e83126f811ee5b91a174fe0cc991 , this is different from the ouput that wait4dc() expects https://github.com/ClusterLabs/crmsh/blob/master/crmsh/utils.py#L898 .
Example output of `crm -w -F node maintenance <HOST>` of a cluster running on Ubuntu 22.04 ``` root@juju-0c8f53-zaza-723eab24403d-4:~# crm -w -F node maintenance juju-0c8f53-zaza-723eab24403d-4 WARNING: crmadmin -S juju-0c8f53-zaza-723eab24403d-5 unexpected output: Controller on juju-0c8f53-zaza-723eab24403d-5 in state S_IDLE: ok (exit code: 0) root@juju-0c8f53-zaza-723eab24403d-4:~# echo $? 1 root@juju-0c8f53-zaza-723eab24403d-4:~# crmadmin -S juju-0c8f53-zaza-723eab24403d-5 Controller on juju-0c8f53-zaza-723eab24403d-5 in state S_IDLE: ok root@juju-0c8f53-zaza-723eab24403d-4:~# dpkg -l pacemaker crmsh | cat Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-==============-============-=========================================== ii crmsh 4.3.1-1ubuntu2 all CRM shell for the pacemaker cluster manager ii pacemaker 2.1.2-1ubuntu3 amd64 cluster resource manager ``` Upstream bug filed: https://github.com/ClusterLabs/crmsh/issues/970 ** Affects: charm-hacluster Importance: Undecided Status: New ** Affects: crmsh (Ubuntu) Importance: Undecided Status: New ** Affects: crmsh (Ubuntu Jammy) Importance: Undecided Status: New ** Also affects: crmsh (Ubuntu Jammy) Importance: Undecided Status: New ** Also affects: charm-hacluster Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1972730 Title: WARNING: crmadmin -S <HOST> unexpected output To manage notifications about this bug go to: https://bugs.launchpad.net/charm-hacluster/+bug/1972730/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs