
This update modifies the Horizon image file to track the latest commit of stable/2024.1, enabling the build of the stx-horizon Docker image. It also updates the static overrides for MariaDB to upgrade it, as Django 4.2 of Horizon requirements for 2024.1 mandate MariaDB 10.4 or higher. Additionally, this change includes pymemcache in the image and aligns various components, including Horizon static overrides, to ensure compatibility with pymemcache and the new version of Django. These updates align with the stable/2024.1 branch of Horizon. Test Plan: - PASS: Successfully build the stx-horizon Docker image - PASS: Apply the new tarball containing static override changes - PASS: Override stx-horizon image tags - PASS: Apply stx-openstack with Horizon and MariaDB image overrides Story: 2011303 Task: 51502 Depends-on: https://review.opendev.org/c/starlingx/root/+/940525 Change-Id: I7be859eda41c0a22cb3b1cb6f0fe3180c7e2f492 Signed-off-by: Mateus Nascimento <mateus.soaresdonascimento@windriver.com>
27 lines
1011 B
Plaintext
27 lines
1011 B
Plaintext
BUILDER=loci
|
|
LABEL=stx-horizon
|
|
PROJECT=horizon
|
|
PROJECT_REPO=https://opendev.org/openstack/horizon.git
|
|
PROJECT_REF=a8b3b4621f342742bac3a11708df869a6a9a5b15
|
|
UPGRADE_PIP_PACKAGES=pip
|
|
DIST_REPOS="OS"
|
|
PROJECT_UID=42425
|
|
PROJECT_GID=42425
|
|
PIP_PACKAGES="\
|
|
coverage \
|
|
ldap \
|
|
pycryptodomex \
|
|
python-ceilometerclient \
|
|
pyudev \
|
|
pymemcache
|
|
"
|
|
PROFILES="fluent horizon apache"
|
|
CUSTOMIZATION="\
|
|
ln -s /etc/apache2/mods-available/wsgi.load /etc/apache2/mods-enabled/wsgi.load && \
|
|
ln -s /etc/apache2/mods-available/wsgi.conf /etc/apache2/mods-enabled/wsgi.conf && \
|
|
ln -s /bin/true /usr/bin/a2enmod && \
|
|
sed -i -e 's/raise ImproperlyConfigured..mysqlclient 1.3.13 or newer is required.*/pass/' /var/lib/openstack/lib/python3.9/site-packages/django/db/backends/mysql/base.py && \
|
|
sed -i -e '/query.decode.errors=.replace../s/decode/encode/' /var/lib/openstack/lib/python3.9/site-packages/django/db/backends/mysql/operations.py && \
|
|
sed -i 's/Listen 80/# Listen 80/' /etc/apache2/ports.conf
|
|
"
|