This is the set of events that were executed, so when ha-relation-joined runs we need to update the relation data:
$ juju show-status-log nova-cloud-controller/0 --days 3 Time Type Status Message 20 Apr 2023 20:37:13Z juju-unit executing running config-changed hook 20 Apr 2023 20:37:39Z juju-unit idle 20 Apr 2023 20:37:52Z workload active Unit is ready 20 Apr 2023 20:38:36Z juju-unit executing running ha-relation-created hook 20 Apr 2023 20:38:37Z juju-unit idle 20 Apr 2023 20:39:46Z juju-unit executing running ha-relation-joined hook for nova-cloud-controller-hacluster/0 20 Apr 2023 20:39:53Z juju-unit executing running ha-relation-changed hook for nova-cloud-controller-hacluster/0 20 Apr 2023 20:39:59Z juju-unit idle 20 Apr 2023 20:45:18Z juju-unit executing running cluster-relation-joined hook for nova-cloud-controller/4 20 Apr 2023 20:45:24Z juju-unit executing running cluster-relation-changed hook for nova-cloud-controller/4 20 Apr 2023 20:45:40Z juju-unit executing running cluster-relation-joined hook for nova-cloud-controller/3 20 Apr 2023 20:45:47Z juju-unit executing running cluster-relation-changed hook for nova-cloud-controller/3 20 Apr 2023 20:46:02Z juju-unit idle 20 Apr 2023 20:48:04Z workload blocked Missing relations: memcache 20 Apr 2023 20:50:29Z juju-unit executing running memcache-relation-created hook 20 Apr 2023 20:51:09Z juju-unit executing running cluster-relation-changed hook for nova-cloud-controller/4 20 Apr 2023 20:52:02Z juju-unit executing running ha-relation-changed hook for nova-cloud-controller-hacluster/0 20 Apr 2023 20:52:09Z juju-unit executing running cluster-relation-changed hook for nova-cloud-controller/3 20 Apr 2023 20:52:24Z workload waiting Incomplete relations: memcache 20 Apr 2023 20:52:25Z juju-unit idle 20 Apr 2023 20:52:28Z juju-unit executing running memcache-relation-joined hook for memcached/0 20 Apr 2023 20:52:38Z juju-unit executing running memcache-relation-changed hook for memcached/0 20 Apr 2023 20:52:45Z juju-unit idle
This is the set of events that were executed, so when ha-relation-joined runs we need to update the relation data:
$ juju show-status-log nova-cloud- controller/ 0 --days 3 controller- hacluster/ 0 controller- hacluster/ 0 relation- joined hook for nova-cloud- controller/ 4 relation- changed hook for nova-cloud- controller/ 4 relation- joined hook for nova-cloud- controller/ 3 relation- changed hook for nova-cloud- controller/ 3 relation- created hook relation- changed hook for nova-cloud- controller/ 4 controller- hacluster/ 0 relation- changed hook for nova-cloud- controller/ 3 relation- joined hook for memcached/0 relation- changed hook for memcached/0
Time Type Status Message
20 Apr 2023 20:37:13Z juju-unit executing running config-changed hook
20 Apr 2023 20:37:39Z juju-unit idle
20 Apr 2023 20:37:52Z workload active Unit is ready
20 Apr 2023 20:38:36Z juju-unit executing running ha-relation-created hook
20 Apr 2023 20:38:37Z juju-unit idle
20 Apr 2023 20:39:46Z juju-unit executing running ha-relation-joined hook for nova-cloud-
20 Apr 2023 20:39:53Z juju-unit executing running ha-relation-changed hook for nova-cloud-
20 Apr 2023 20:39:59Z juju-unit idle
20 Apr 2023 20:45:18Z juju-unit executing running cluster-
20 Apr 2023 20:45:24Z juju-unit executing running cluster-
20 Apr 2023 20:45:40Z juju-unit executing running cluster-
20 Apr 2023 20:45:47Z juju-unit executing running cluster-
20 Apr 2023 20:46:02Z juju-unit idle
20 Apr 2023 20:48:04Z workload blocked Missing relations: memcache
20 Apr 2023 20:50:29Z juju-unit executing running memcache-
20 Apr 2023 20:51:09Z juju-unit executing running cluster-
20 Apr 2023 20:52:02Z juju-unit executing running ha-relation-changed hook for nova-cloud-
20 Apr 2023 20:52:09Z juju-unit executing running cluster-
20 Apr 2023 20:52:24Z workload waiting Incomplete relations: memcache
20 Apr 2023 20:52:25Z juju-unit idle
20 Apr 2023 20:52:28Z juju-unit executing running memcache-
20 Apr 2023 20:52:38Z juju-unit executing running memcache-
20 Apr 2023 20:52:45Z juju-unit idle