juju show-unit is clustered, but relation-get returns null
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Expired
|
Undecided
|
Unassigned | ||
OpenStack RabbitMQ Server Charm |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi we're seeing rabbitmq relations failing to complete on the current deployment
$ juju show-unit rabbitmq-server/0 | grep rabbitmq -C 50
related-units:
rabbitmq-
in-scope: true
data:
hostname: juju-f152b1-7-lxd-7
rabbitmq-
in-scope: true
data:
cookie: VBRPFEYFNUGBRFZ
hostname: juju-f152b1-8-lxd-7
We can see that the units are showing as clustered, but looking at the relation from the leader unit:
$ relation-get --format=json -r 39 clustered rabbitmq-server/2
null
Other unit outputs:
$ juju show-unit rabbitmq-server/0 | grep rabbitmq -C 50
related-units:
rabbitmq-
in-scope: true
data:
hostname: juju-f152b1-7-lxd-7
rabbitmq-
in-scope: true
data:
cookie: VBRPFEYFNUGBRFZ
hostname: juju-f152b1-8-lxd-7
$ juju show-unit rabbitmq-server/2 | grep rabbitmq -C 50
related-units:
rabbitmq-
in-scope: true
data:
cookie: VBRPFEYFNUGBRFZ
hostname: juju-f152b1-6-lxd-7
rabbitmq-
in-scope: true
data:
hostname: juju-f152b1-7-lxd-7
This is how it looks from the leader unit for all 3 units:
root@juju-
null
root@juju-
"juju-f152b1-
root@juju-
"juju-f152b1-
Workaround: reboot the node
Thanks,
Natalia
Changed in juju: | |
status: | New → Incomplete |
Subscribing field-high as control-plane is not working as expected