set-temp-url-secret action fails with UnboundLocalError: local variable 'keystone_session' referenced before assignment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Ironic Conductor Charm |
Fix Released
|
Undecided
|
Corey Bryant | ||
2023.1 |
Fix Committed
|
Undecided
|
Unassigned | ||
Yoga |
New
|
Undecided
|
Unassigned | ||
Zed |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Przemyslaw Hausman reported:
When I run `set-temp-
```
$ juju debug-log -i ironic-conductor/0
[...]
unit-ironic-
File "/var/lib/
action(args)
File "/var/lib/
os_cli = api_utils.
UnboundLocalError: local variable 'keystone_session' referenced before assignment
Changed in charm-ironic-conductor: | |
assignee: | nobody → Corey Bryant (corey.bryant) |
Changed in charm-ironic-conductor: | |
status: | Fix Committed → Fix Released |
In a debug session with Natalia we were able to find a little more details:
Failed to create keystone session ("'PathDistribu tion' object has no attribute '_normalized_ name'")
https:/ /github. com/pypa/ setuptools/ issues/ 3452 which says to update to importlib_metadata 4.3 or later.
The version of importlib_metadata in the wheelhouse.txt is 2.1.3.