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
2020-06-22 18:16:42 DEBUG hanode- relation- changed Traceback (most recent call last): relation- changed File "/var/lib/ juju/agents/ unit-hacluster- masakari- 1/charm/ hooks/hanode- relation- changed" , line 660, in <module> relation- changed hooks.execute( sys.argv) relation- changed File "/var/lib/ juju/agents/ unit-hacluster- masakari- 1/charm/ charmhelpers/ core/hookenv. py", line 943, in execute relation- changed self._hooks[ hook_name] () relation- changed File "/var/lib/ juju/agents/ unit-hacluster- masakari- 1/charm/ hooks/hanode- relation- changed" , line 270, in hanode_ relation_ changed relation- changed ha_relation_ changed( ) relation- changed File "/var/lib/ juju/agents/ unit-hacluster- masakari- 1/charm/ hooks/hanode- relation- changed" , line 367, in ha_relation_changed relation- changed configure_stonith() relation- changed File "/var/lib/ juju/agents/ unit-hacluster- masakari- 1/charm/ hooks/utils. py", line 509, in configure_stonith relation- changed if configure_ pacemaker_ remote_ stonith_ resource( ): relation- changed File "/var/lib/ juju/agents/ unit-hacluster- masakari- 1/charm/ hooks/utils. py", line 799, in configure_ pacemaker_ remote_ stonith_ resource relation- changed stonith_resource = configure_ maas_stonith_ resource( hostnames) relation- changed File "/var/lib/ juju/agents/ unit-hacluster- masakari- 1/charm/ hooks/utils. py", line 653, in configure_ maas_stonith_ resource relation- changed pcmk.commit(cmd, failure_ is_fatal= True) relation- changed File "/var/lib/ juju/agents/ unit-hacluster- masakari- 1/charm/ hooks/pcmk. py", line 68, in commit relation- changed return subprocess. check_call( cmd.split( )) relation- changed File "/usr/lib/ python3. 6/subprocess. py", line 311, in check_call relation- changed raise CalledProcessEr ror(retcode, cmd) relation- changed subprocess. CalledProcessEr ror: 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. uniter. operation runhook.go:132 hook "hanode- relation- changed" failed: exit status 1
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 DEBUG hanode-
2020-06-22 18:16:42 ERROR juju.worker.