The way this error is exposed in the hacluster is when running the `stop` hook:
unit-hacluster-1: 16:53:41 DEBUG juju.worker.uniter.runner starting jujuc server {unix @/var/lib/juju/agents/unit-hacluster-1/agent.socket <nil>} unit-hacluster-1: 16:53:41 INFO unit.hacluster/1.juju-log Setting node juju-0c8f53-zaza-723eab24403d-4 to maintenance unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop Traceback (most recent call last): unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop File "/var/lib/juju/agents/unit-hacluster-1/charm/hooks/stop", line 767, in <module> unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop hooks.execute(sys.argv) unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop File "/var/lib/juju/agents/unit-hacluster-1/charm/charmhelpers/core/hookenv.py", line 962, in execute unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop self._hooks[hook_name]() unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop File "/var/lib/juju/agents/unit-hacluster-1/charm/hooks/stop", line 617, in stop unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop pcmk.set_node_status_to_maintenance(node) unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop File "/var/lib/juju/agents/unit-hacluster-1/charm/hooks/pcmk.py", line 201, in set_node_status_to_maintenance unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop commit('crm -w -F node maintenance {}'.format(node_name), unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop File "/var/lib/juju/agents/unit-hacluster-1/charm/hooks/pcmk.py", line 90, in commit unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop return subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT) unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop File "/usr/lib/python3.10/subprocess.py", line 420, in check_output unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop File "/usr/lib/python3.10/subprocess.py", line 524, in run unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop raise CalledProcessError(retcode, process.args, unit-hacluster-1: 16:53:43 WARNING unit.hacluster/1.stop subprocess.CalledProcessError: Command '['crm', '-w', '-F', 'node', 'maintenance', 'juju-0c8f53-zaza-723eab24403d-4']' returned non-zero exit status 1. unit-hacluster-1: 16:53:43 ERROR juju.worker.uniter.operation hook "stop" (via explicit, bespoke hook script) failed: exit status 1 -- 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