openstack-upgrade fails on leader unit during action-managed-upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard Charm |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Neutron Gateway Charm |
Triaged
|
Medium
|
Unassigned |
Bug Description
When performing bionic-
2019-11-09 16:04:32 DEBUG openstack-upgrade Traceback (most recent call last):
2019-11-09 16:04:32 DEBUG openstack-upgrade File "/var/lib/
2019-11-09 16:04:32 DEBUG openstack-upgrade openstack_upgrade()
2019-11-09 16:04:32 DEBUG openstack-upgrade File "/var/lib/
2019-11-09 16:04:32 DEBUG openstack-upgrade config_changed()
2019-11-09 16:04:32 DEBUG openstack-upgrade File "/var/lib/
2019-11-09 16:04:32 DEBUG openstack-upgrade stopstart, restart_functions)
2019-11-09 16:04:32 DEBUG openstack-upgrade File "/var/lib/
2019-11-09 16:04:32 DEBUG openstack-upgrade r = lambda_f()
2019-11-09 16:04:32 DEBUG openstack-upgrade File "/var/lib/
2019-11-09 16:04:32 DEBUG openstack-upgrade (lambda: f(*args, **kwargs)), __restart_
2019-11-09 16:04:32 DEBUG openstack-upgrade File "/var/lib/
2019-11-09 16:04:32 DEBUG openstack-upgrade return f(*args, **kwargs)
2019-11-09 16:04:32 DEBUG openstack-upgrade File "/var/lib/
2019-11-09 16:04:32 DEBUG openstack-upgrade CONFIGS.write_all()
2019-11-09 16:04:32 DEBUG openstack-upgrade AttributeError: 'NoneType' object has no attribute 'write_all'
2019-11-09 16:04:33 DEBUG juju.worker.
$ juju show-action-output b6c0bf8d-
message: exit status 1
results:
outcome: success, upgrade completed.
status: failed
timing:
completed: 2019-11-09 16:04:33 +0000 UTC
enqueued: 2019-11-09 15:58:43 +0000 UTC
started: 2019-11-09 15:58:45 +0000 UTC
It appears there may be an issue with the wrapper around the action not setting the proper CONFIGS context. No apparent negative side-effects. Agents running, charm/unit status in good health, packages upgraded.
tags: | added: openstack-upgrade |
Changed in charm-openstack-dashboard: | |
milestone: | none → 20.02 |
Changed in charm-openstack-dashboard: | |
status: | Fix Committed → Fix Released |
Changed in charm-neutron-gateway: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Subscribed field-medium
Issue is present in 19.10 charms when upgrading from bionic-queens to rocky.