Resume action appears to fail with 'tuple.index(x): x not in tuple'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron API Charm |
Expired
|
Undecided
|
Unassigned |
Bug Description
This occurred with v281.
How to reproduce:
$ juju run-action --wait neutron-api/0 pause
unit-neutron-api-0:
id: 16235bb4-
status: completed
timing:
completed: 2019-11-21 11:16:06 +0000 UTC
enqueued: 2019-11-21 11:15:54 +0000 UTC
started: 2019-11-21 11:15:55 +0000 UTC
unit: neutron-api/0
$ juju run-action --wait neutron-api/0 resume
unit-neutron-api-0:
id: eed41740-
message: 'tuple.index(x): x not in tuple'
status: failed
timing:
completed: 2019-11-21 11:17:13 +0000 UTC
enqueued: 2019-11-21 11:17:00 +0000 UTC
started: 2019-11-21 11:17:02 +0000 UTC
unit: neutron-api/0
Excerpt from the debug logs:
2019-11-21 11:17:04 DEBUG resume Removed /etc/systemd/
2019-11-21 11:17:04 DEBUG resume Synchronizing state of apache2.service with SysV service script with /lib/systemd/
2019-11-21 11:17:04 DEBUG resume Executing: /lib/systemd/
2019-11-21 11:17:04 DEBUG resume inactive
2019-11-21 11:17:04 DEBUG resume Removed /etc/systemd/
2019-11-21 11:17:04 DEBUG resume Synchronizing state of haproxy.service with SysV service script with /lib/systemd/
2019-11-21 11:17:04 DEBUG resume Executing: /lib/systemd/
2019-11-21 11:17:05 DEBUG resume failed
2019-11-21 11:17:05 DEBUG resume Removed /etc/systemd/
2019-11-21 11:17:05 DEBUG resume Synchronizing state of neutron-
2019-11-21 11:17:05 DEBUG resume Executing: /lib/systemd/
2019-11-21 11:17:06 DEBUG resume inactive
2019-11-21 11:17:06 DEBUG resume Removed /etc/systemd/
2019-11-21 11:17:06 DEBUG resume Synchronizing state of memcached.service with SysV service script with /lib/systemd/
2019-11-21 11:17:06 DEBUG resume Executing: /lib/systemd/
2019-11-21 11:17:06 DEBUG resume inactive
2019-11-21 11:17:11 DEBUG juju-log Generating template context for amqp
2019-11-21 11:17:12 DEBUG resume ERROR no relation id specified
2019-11-21 11:17:12 DEBUG juju-log Generating template context for identity-service
Since haproxy appears to actually have been unmasked and started, this seems to be only cosmetic. Although the juju status output keeps reporting the unit to be paused, this will be corrected as soon as the update-status hook runs.
Hi Andrea
I've note been able to reproduce this bug. Please could provide a bundle which can be used to reproduce it? Thanks.