openstack-upgrade from Queens to Rocky fails when using keystone-ldap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Keystone Charm |
Triaged
|
Medium
|
Unassigned |
Bug Description
The keystone openstack-upgrade action fails from bionic:
Since the keystone-ldap charm doesn't track UCA changes from keystone, we need the openstack-upgrade action to check for keystone-ldap relation and add the python3-ldappool package which is missing and causing 500 errors for keystone after the apache wsgi API is restarted which causes the keystone-manager calls to fail during openstack-upgrade.
After resolving, I installed the python3-ldappool package and then tried re-running the openstack-upgrade action, but it doesn't detect a upgrade to complete.
Workaround is to install python3-ldappool package before keystone upgrade.
This was fixed in keystone-ldap package here:
https:/
but doesn't work in an action-managed upgrade process for keystone.
This was found with charms 19.10 during an openstack series upgrade.
tags: | added: openstack-upgrade |
tags: | added: series-upgade |
summary: |
- series-upgrade from Queens to Rocky fails when using keystone-ldap + openstack-upgrade from Queens to Rocky fails when using keystone-ldap |
Changed in charm-keystone: | |
importance: | Undecided → Medium |
status: | New → Triaged |
It should be noted, this site upgraded charms directly from 18.11 to 19.10 before this openstack upgrade. Not sure if this would be something affected by missing a stepped charm upgrade.