Bug 1913180 - Add back the mysql driver to the RHOSP 17.1 horizon container
Summary: Add back the mysql driver to the RHOSP 17.1 horizon container
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 16.1 (Train)
Hardware: All
OS: Linux
medium
medium
Target Milestone: ga
: 17.1
Assignee: Radomir Dopieralski
QA Contact: Jan Jasek
URL:
Whiteboard:
Depends On:
Blocks: 2134066
TreeView+ depends on / blocked
 
Reported: 2021-01-06 08:16 UTC by Randy Rubins
Modified: 2023-12-15 09:40 UTC (History)
7 users (show)

Fixed In Version: openstack-tripleo-common-15.4.1-1.20230518211051.cbb03c0.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2134066 (view as bug list)
Environment:
Last Closed: 2023-08-16 01:09:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker DFGUI-1674 0 None None None 2021-10-13 09:48:36 UTC
Red Hat Issue Tracker OSP-12025 0 None None None 2022-01-05 09:41:40 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:10:31 UTC

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


Note You need to log in before you can comment on or make changes to this bug.