Hook requires manual interaction because ip violates uniqueness
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack HA Cluster Charm |
New
|
Undecided
|
Unassigned |
Bug Description
I've seen this happen multiple times with hacluster as a subordinate to multiple charms.
cs:~openstack-
juju 2.4.0
ubuntu 18.04.1
crmsh 3.0.1-3ubuntu1
The hacluster charm will be in an error state saying:
hook failed: "ha-relation-
When manually running the hook with debug-hooks I get an interactive prompt:
<gents/
active
WARNING: Resources res_cephrg_
Do you still want to commit (y/n)? y
Cleaned up res_cephrg_
Cleaned up res_cephrg_
Cleaned up res_cephrg_
Waiting for 3 replies from the CRMd..No messages received in 60 seconds.. aborting
Cleaned up res_cephrg_eth2_vip on juju-68b9ab-3-lxd-0
Cleaned up res_cephrg_eth2_vip on juju-68b9ab-1-lxd-1
Cleaned up res_cephrg_eth2_vip on juju-68b9ab-2-lxd-1
Cleaned up res_cephrg_eth0_vip on juju-68b9ab-3-lxd-0
Cleaned up res_cephrg_eth0_vip on juju-68b9ab-1-lxd-1
Cleaned up res_cephrg_eth0_vip on juju-68b9ab-2-lxd-1
Waiting for 6 replies from the CRMd....No messages received in 60 seconds.. aborting
root@
After answering "y" to the question, it completes without error and the charm transitions to active/idle.
This is due to inconsistent interface ordering across the units in the cluster; this is a dupe of bug 1727824