Comment 1 for bug 1884797

Revision history for this message
Marian Gasparovic (marosg) wrote :

2020-06-22 18:16:42 DEBUG hanode-relation-changed Traceback (most recent call last):
2020-06-22 18:16:42 DEBUG hanode-relation-changed File "/var/lib/juju/agents/unit-hacluster-masakari-1/charm/hooks/hanode-relation-changed", line 660, in <module>
2020-06-22 18:16:42 DEBUG hanode-relation-changed hooks.execute(sys.argv)
2020-06-22 18:16:42 DEBUG hanode-relation-changed File "/var/lib/juju/agents/unit-hacluster-masakari-1/charm/charmhelpers/core/hookenv.py", line 943, in execute
2020-06-22 18:16:42 DEBUG hanode-relation-changed self._hooks[hook_name]()
2020-06-22 18:16:42 DEBUG hanode-relation-changed File "/var/lib/juju/agents/unit-hacluster-masakari-1/charm/hooks/hanode-relation-changed", line 270, in hanode_relation_changed
2020-06-22 18:16:42 DEBUG hanode-relation-changed ha_relation_changed()
2020-06-22 18:16:42 DEBUG hanode-relation-changed File "/var/lib/juju/agents/unit-hacluster-masakari-1/charm/hooks/hanode-relation-changed", line 367, in ha_relation_changed
2020-06-22 18:16:42 DEBUG hanode-relation-changed configure_stonith()
2020-06-22 18:16:42 DEBUG hanode-relation-changed File "/var/lib/juju/agents/unit-hacluster-masakari-1/charm/hooks/utils.py", line 509, in configure_stonith
2020-06-22 18:16:42 DEBUG hanode-relation-changed if configure_pacemaker_remote_stonith_resource():
2020-06-22 18:16:42 DEBUG hanode-relation-changed File "/var/lib/juju/agents/unit-hacluster-masakari-1/charm/hooks/utils.py", line 799, in configure_pacemaker_remote_stonith_resource
2020-06-22 18:16:42 DEBUG hanode-relation-changed stonith_resource = configure_maas_stonith_resource(hostnames)
2020-06-22 18:16:42 DEBUG hanode-relation-changed File "/var/lib/juju/agents/unit-hacluster-masakari-1/charm/hooks/utils.py", line 653, in configure_maas_stonith_resource
2020-06-22 18:16:42 DEBUG hanode-relation-changed pcmk.commit(cmd, failure_is_fatal=True)
2020-06-22 18:16:42 DEBUG hanode-relation-changed File "/var/lib/juju/agents/unit-hacluster-masakari-1/charm/hooks/pcmk.py", line 68, in commit
2020-06-22 18:16:42 DEBUG hanode-relation-changed return subprocess.check_call(cmd.split())
2020-06-22 18:16:42 DEBUG hanode-relation-changed File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
2020-06-22 18:16:42 DEBUG hanode-relation-changed raise CalledProcessError(retcode, cmd)
2020-06-22 18:16:42 DEBUG hanode-relation-changed subprocess.CalledProcessError: Command '['crm', 'configure', 'primitive', 'st-maas-a2282ef', 'stonith:external/maas', 'params', "url='http://10.244.40.33/MAAS/'", "apikey='*censored*'", "hostnames='armaldo", 'armaldo.production.solutionsqa', 'elgyem', 'elgyem.production.solutionsqa', 'quilava', 'quilava.production.solutionsqa', 'spearow', "spearow.production.solutionsqa'", 'op', 'monitor', 'interval=25', 'start-delay=25', 'timeout=25']' returned non-zero exit status 1.
2020-06-22 18:16:42 ERROR juju.worker.uniter.operation runhook.go:132 hook "hanode-relation-changed" failed: exit status 1