hook amqp-relation-changed fails but succeeds on retry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Installing 3 units of Landscape with landscape-server charm rev 35 and rabbitmq-server charm rev 97 sometimes fails on one unit with the following:
28 Jan 2020 14:15:32Z juju-unit error hook failed: "amqp-relation-
The charm retries a few times and eventually succeeds:
$ juju show-status-log landscape-server/2
Time Type Status Message
28 Jan 2020 14:14:15Z juju-unit executing running db-relation-changed hook
28 Jan 2020 14:14:19Z juju-unit idle
28 Jan 2020 14:15:19Z juju-unit executing running amqp-relation-
28 Jan 2020 14:15:32Z juju-unit error hook failed: "amqp-relation-
28 Jan 2020 14:15:37Z juju-unit executing running amqp-relation-
28 Jan 2020 14:15:48Z juju-unit error hook failed: "amqp-relation-
28 Jan 2020 14:15:58Z juju-unit executing running amqp-relation-
28 Jan 2020 14:16:08Z juju-unit error hook failed: "amqp-relation-
28 Jan 2020 14:16:32Z juju-unit executing running amqp-relation-
28 Jan 2020 14:16:51Z workload maintenance Starting services.
28 Jan 2020 14:17:12Z workload active
28 Jan 2020 14:17:19Z juju-unit executing running db-relation-changed hook
28 Jan 2020 14:17:29Z workload maintenance Restarting services.
28 Jan 2020 14:17:51Z workload active
28 Jan 2020 14:18:11Z juju-unit executing running amqp-relation-
28 Jan 2020 14:18:23Z workload maintenance Restarting services.
28 Jan 2020 14:18:45Z workload active
28 Jan 2020 14:19:01Z workload maintenance Restarting services.
28 Jan 2020 14:19:24Z workload active
28 Jan 2020 14:19:25Z juju-unit idle
The /var/log/
[...]
2020-01-28 14:15:45 DEBUG amqp-relation-
2020-01-28 14:15:46 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
ostgres", SSL on
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 DEBUG amqp-relation-
2020-01-28 14:15:48 ERROR juju.worker.
[...]
The rabbitmq-server charm is set to min-cluster-size 3:
landscape-
charm: cs:rabbitmq-server
bindings:
"": *oam-space
cluster: *oam-space
amqp: *oam-space
options:
min-
num_units: 3