update-status ERROR connection is shut down during upgrade from 2.7 to 2.8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
During a 2.7 -> 2.8 controller upgrade (`juju upgrade-juju --model controller`), hooks may fail. In this case, the update-status hook of designate/0 failed. Retrying resolved it (`juju resolved designate/0`).
Note that in this scenario, only the controller was upgraded to 2.8. The user's model ("zaza-
I used the https:/
https:/
...
ubuntu@
(deployed & tested ok)
ubuntu@
Use --refresh option with this command to see the latest information.
Controller Model User Access Cloud/Region Models Nodes HA Version
beisner-
ubuntu@
Controller: beisner-serverstack
Model Cloud/Region Type Status Machines Cores Units Access Last connection
beisner serverstack/
controller serverstack/
default serverstack/
leftbrain serverstack/
rightbrain serverstack/
zaza-589c39c6cb60* serverstack/
ubuntu@
Model Controller Cloud/Region Version SLA Timestamp
zaza-589c39c6cb60 beisner-serverstack serverstack/
App Version Status Scale Charm Store Rev OS Notes
designate 9.0.1 active 1 designate local 0 ubuntu
designate-bind 9.11.3+dfsg active 1 designate-bind jujucharms 29 ubuntu
keystone 16.0.1 active 1 keystone jujucharms 316 ubuntu
memcached active 1 memcached jujucharms 10 ubuntu
neutron-api 15.1.0 active 1 neutron-api jujucharms 286 ubuntu
percona-cluster 5.7.20 active 1 percona-cluster jujucharms 290 ubuntu
rabbitmq-server 3.6.10 active 1 rabbitmq-server jujucharms 272 ubuntu
Unit Workload Agent Machine Public address Ports Message
designate-bind/0* active idle 3 10.5.0.20 Unit is ready
designate/0* active idle 5 10.5.0.12 9001/tcp Unit is ready
keystone/0* active idle 1 10.5.0.17 5000/tcp Unit is ready
memcached/0* active idle 4 10.5.0.7 11211/tcp Unit is ready
neutron-api/0* active idle 6 10.5.0.11 9696/tcp Unit is ready
percona-cluster/0* active idle 0 10.5.0.8 3306/tcp Unit is ready
rabbitmq-server/0* active idle 2 10.5.0.3 5672/tcp Unit is ready
Machine State DNS Inst id Series AZ Message
0 started 10.5.0.8 41040305-
1 started 10.5.0.17 290536b0-
2 started 10.5.0.3 95cb6f6b-
3 started 10.5.0.20 66947fdf-
4 started 10.5.0.7 af35a79a-
5 started 10.5.0.12 404b790a-
6 started 10.5.0.11 98e8156f-
ubuntu@
ubuntu@
Name Version Rev Tracking Publisher Notes
charm 2.3.1 212 latest/stable canonical✓ -
core 16-2.45.3.1 9804 latest/stable canonical✓ core
core18 20200724 1885 latest/stable canonical✓ base
juju 2.8.1 13324 2.8/stable canonical✓ classic
juju-crashdump 1.0.2+git69.048c306 193 latest/stable jason-hobbs classic
ubuntu@
best version:
2.8.2
started upgrade to 2.8.2
#### Error state after controller upgrade:
ubuntu@
Model Controller Cloud/Region Version SLA Timestamp
zaza-589c39c6cb60 beisner-serverstack serverstack/
App Version Status Scale Charm Store Rev OS Notes
designate 9.0.1 error 1 designate local 0 ubuntu
designate-bind 9.11.3+dfsg active 1 designate-bind jujucharms 29 ubuntu
keystone 16.0.1 active 1 keystone jujucharms 316 ubuntu
memcached active 1 memcached jujucharms 10 ubuntu
neutron-api 15.1.0 active 1 neutron-api jujucharms 286 ubuntu
percona-cluster 5.7.20 active 1 percona-cluster jujucharms 290 ubuntu
rabbitmq-server 3.6.10 active 1 rabbitmq-server jujucharms 272 ubuntu
Unit Workload Agent Machine Public address Ports Message
designate-bind/0* active idle 3 10.5.0.20 Unit is ready
designate/0* error idle 5 10.5.0.12 9001/tcp hook failed: "update-status"
keystone/0* active idle 1 10.5.0.17 5000/tcp Unit is ready
memcached/0* active idle 4 10.5.0.7 11211/tcp Unit is ready
neutron-api/0* active idle 6 10.5.0.11 9696/tcp Unit is ready
percona-cluster/0* active idle 0 10.5.0.8 3306/tcp Unit is ready
rabbitmq-server/0* active idle 2 10.5.0.3 5672/tcp Unit is ready
Machine State DNS Inst id Series AZ Message
0 started 10.5.0.8 41040305-
1 started 10.5.0.17 290536b0-
2 started 10.5.0.3 95cb6f6b-
3 started 10.5.0.20 66947fdf-
4 started 10.5.0.7 af35a79a-
5 started 10.5.0.12 404b790a-
6 started 10.5.0.11 98e8156f-
#### Unit log error:
2020-08-11 20:08:37 DEBUG update-status
2020-08-11 20:08:37 INFO juju-log Invoking reactive handler: reactive/
2020-08-11 20:08:38 INFO juju-log Invoking reactive handler: reactive/
2020-08-11 20:08:38 INFO juju-log Invoking reactive handler: hooks/relations
2020-08-11 20:08:38 DEBUG juju-log Running _assess_status()
2020-08-11 20:08:39 ERROR juju.worker.
2020-08-11 20:08:39 DEBUG update-status ERROR connection is shut down
2020-08-11 20:08:39 DEBUG update-status ERROR connection is shut down
2020-08-11 20:08:39 DEBUG update-status active
2020-08-11 20:08:39 DEBUG update-status active
2020-08-11 20:08:39 DEBUG update-status active
2020-08-11 20:08:39 DEBUG update-status active
2020-08-11 20:08:39 DEBUG update-status active
2020-08-11 20:08:39 DEBUG update-status active
2020-08-11 20:08:39 DEBUG update-status active
2020-08-11 20:08:39 DEBUG update-status ERROR connection is shut down
2020-08-11 20:08:39 INFO juju-log status-set failed: active Unit is ready
2020-08-11 20:08:40 ERROR juju.worker.
2020-08-11 20:08:40 ERROR juju.worker.
2020-08-11 20:08:40 ERROR juju.worker.
2020-08-11 20:08:40 ERROR juju.worker.
2020-08-11 20:08:40 ERROR juju.worker.
2020-08-11 20:08:40 ERROR juju.worker.
2020-08-11 20:08:40 ERROR juju.worker.
2020-08-11 20:08:40 ERROR juju.worker.
2020-08-11 20:08:42 ERROR juju.worker.
2020-08-11 20:08:46 ERROR juju.worker.
2020-08-11 20:08:50 ERROR juju.worker.
2020-08-11 20:08:56 ERROR juju.worker.
"unit-designate
#### Unit status history:
ubuntu@
Time Type Status Message
11 Aug 2020 19:46:40Z juju-unit allocating
11 Aug 2020 19:46:40Z workload waiting waiting for machine
11 Aug 2020 19:48:30Z workload waiting installing agent
11 Aug 2020 19:48:33Z workload waiting agent initializing
11 Aug 2020 19:48:34Z workload maintenance installing charm software
11 Aug 2020 19:48:34Z juju-unit executing running install hook
11 Aug 2020 19:49:54Z workload maintenance Installing packages
11 Aug 2020 19:51:05Z workload maintenance Installation complete - awaiting next status
11 Aug 2020 19:51:09Z juju-unit executing running leader-elected hook
11 Aug 2020 19:51:15Z juju-unit executing running config-changed hook
11 Aug 2020 19:51:22Z juju-unit executing running start hook
11 Aug 2020 19:51:29Z juju-unit executing running amqp-relation-
11 Aug 2020 19:51:38Z juju-unit executing running coordinator-
11 Aug 2020 19:51:48Z juju-unit executing running dns-backend-
11 Aug 2020 19:51:58Z workload blocked Need either a dns-backend relation or config(dns-slaves) or both.
11 Aug 2020 19:51:58Z juju-unit executing running dns-backend-
11 Aug 2020 19:52:09Z juju-unit executing running coordinator-
11 Aug 2020 19:52:18Z workload blocked 'shared-db' missing, 'amqp' incomplete, 'identity-service' missing
11 Aug 2020 19:52:19Z juju-unit executing running identity-
11 Aug 2020 19:52:32Z workload blocked 'shared-db' missing, 'amqp' incomplete, 'identity-service' incomplete
11 Aug 2020 19:52:32Z juju-unit executing running amqp-relation-
11 Aug 2020 19:52:44Z workload blocked 'shared-db' missing, 'identity-service' incomplete
11 Aug 2020 19:52:45Z juju-unit executing running shared-
11 Aug 2020 19:52:59Z juju-unit executing running dnsaas-
11 Aug 2020 19:53:13Z workload waiting 'shared-db' incomplete, 'identity-service' incomplete
11 Aug 2020 19:53:13Z juju-unit executing running shared-
11 Aug 2020 19:53:29Z workload waiting 'identity-service' incomplete
11 Aug 2020 19:53:29Z juju-unit executing running identity-
11 Aug 2020 19:55:50Z juju-unit executing running dnsaas-
11 Aug 2020 19:56:06Z juju-unit executing running identity-
11 Aug 2020 19:56:23Z juju-unit idle
11 Aug 2020 20:03:59Z workload active Unit is ready
11 Aug 2020 20:09:03Z juju-unit error hook failed: "update-status"
Changed in juju: | |
milestone: | none → 2.9-beta1 |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in juju: | |
milestone: | 2.9-beta1 → 2.9-rc1 |
Changed in juju: | |
milestone: | 2.9-rc1 → none |
This may be entirely expected, given that this is a non-HA, single-controller scenario. Documenting, nonetheless. :-)