stein -> train upgrade: upgrade action fails due to missing cinder_policy.d directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard Charm |
Fix Released
|
High
|
Billy Olsen |
Bug Description
When using action-
The stderr of the action contains this traceback:
Traceback (most recent call last):
File "/var/lib/
openstack_
File "/var/lib/
config_
File "/var/lib/
return f(*args, **kwargs)
File "/var/lib/
return f(*args, **kwargs)
File "/var/lib/
CONFIGS.
File "/var/lib/
return super(HorizonOS
File "/var/lib/
[self.write(k) for k in six.iterkeys(
File "/var/lib/
[self.write(k) for k in six.iterkeys(
File "/var/lib/
with open(config_file, 'wb') as out:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/
Upon examining the code, it seems that /usr/share/
I'm wondering if the upgrade process removes the /usr/share/
(Context: the openstack-upgrade action calls do_action_
The workaround here seems simple: run "juju exec -u <unit> hooks/config-
Changed in charm-openstack-dashboard: | |
status: | Incomplete → New |
Changed in charm-openstack-dashboard: | |
importance: | Undecided → High |
assignee: | nobody → Billy Olsen (billy-olsen) |
milestone: | none → 22.04 |
Changed in charm-openstack-dashboard: | |
status: | Fix Committed → Fix Released |
Thanks for the bug report, Paul.
Please could you add the versions of the charms that you are using or the bundle for the deployment? This helps us narrow down where to look for the bug.
Many thanks.