Bug 1913180

Summary: Add back the mysql driver to the RHOSP 17.1 horizon container
Product: Red Hat OpenStack Reporter: Randy Rubins <rrubins>
Component: openstack-tripleo-commonAssignee: Radomir Dopieralski <rdopiera>
Status: CLOSED ERRATA QA Contact: Jan Jasek <jjasek>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: jjasek, lsvaty, ltamagno, mburns, mrunge, rdopiera, slinaber
Target Milestone: gaKeywords: Triaged
Target Release: 17.1   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-tripleo-common-15.4.1-1.20230518211051.cbb03c0.el9ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2134066 (view as bug list) Environment:
Last Closed: 2023-08-16 01:09:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2134066    

Description Randy Rubins 2021-01-06 08:16:54 UTC
Description of problem:
RHOSP 16.1 horizon container is missing mysql driver, which some customers rely on for django session storage.  It appears the mysql driver was there in OSP13 horizon image, but got removed in RHOSP 16.1.  This causes issues for the customers during the upgrade from RHOSP 13 to 16.1.

Version-Release number of selected component (if applicable):
rhosp-rhel8/openstack-horizon:16.1

How reproducible:
Configure local_settings to include:
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
along with DB connection info.

Actual results:
This fails due to the lack of mysql driver in the horizon container image.

Expected results:
The db backend option for django session storage continues to work.

Additional info:

Comment 1 Radomir Dopieralski 2021-01-07 15:56:44 UTC
If there driver was there previously, I think this is a regression, not an RFE.

Comment 7 Matthias Runge 2021-07-08 06:45:02 UTC
This is apparently a side-effect of https://github.com/openstack/kolla/commit/0e2fc8a3b18c3d31b0ecdbfd3ac353d3643b1f5f#diff-8ca905493838c7cf8226d6d359915e973ec22fb23a45427eb49aec714aedcc77

It affects all releases based on train or later.
I agree with the change itself, but also understand the desire to use database backed sessions. IMHO it'd make sense to add a package to support mariadb/mysql.

Comment 13 Lukas Svaty 2023-06-08 11:06:36 UTC
Raising severity due to the Regression keyword

Comment 26 errata-xmlrpc 2023-08-16 01:09:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2023:4577