openstack-upgrade from Queens to Rocky fails when using keystone-ldap

Bug #1851938 reported by Drew Freiberger
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Keystone Charm
Triaged
Medium
Unassigned

Bug Description

The keystone openstack-upgrade action fails from bionic:distro/queens to bionic-rocky upgrade if you have the keystone-ldap subordinate installed due to issue noted here of using py2 packages for py3 keystone version.

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://review.opendev.org/#/c/621275/
but doesn't work in an action-managed upgrade process for keystone.

This was found with charms 19.10 during an openstack series upgrade.

Revision history for this message
Drew Freiberger (afreiberger) wrote :

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.

Revision history for this message
Drew Freiberger (afreiberger) wrote :

subscribed field-medium as this breaks queens to rocky 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
Revision history for this message
Felipe Reyes (freyes) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.