diff --git a/horizon/Chart.yaml b/horizon/Chart.yaml index 47b633bb21..8f8d4f9e9e 100644 --- a/horizon/Chart.yaml +++ b/horizon/Chart.yaml @@ -14,7 +14,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Horizon name: horizon -version: 0.1.1 +version: 0.1.2 home: https://docs.openstack.org/horizon/latest/ icon: https://www.openstack.org/themes/openstack/images/project-mascots/Horizon/OpenStack_Project_Horizon_vertical.png sources: diff --git a/horizon/templates/bin/_django.wsgi.tpl b/horizon/templates/bin/_django.wsgi.tpl index e3be455ae1..578ab50ffb 100644 --- a/horizon/templates/bin/_django.wsgi.tpl +++ b/horizon/templates/bin/_django.wsgi.tpl @@ -23,6 +23,7 @@ import sys import pymysql +pymysql.version_info = (1, 3, 13, "final", 0) pymysql.install_as_MySQLdb() from django.core.wsgi import get_wsgi_application diff --git a/horizon/templates/bin/_horizon.sh.tpl b/horizon/templates/bin/_horizon.sh.tpl index 34df3914ed..f9bc77d158 100644 --- a/horizon/templates/bin/_horizon.sh.tpl +++ b/horizon/templates/bin/_horizon.sh.tpl @@ -78,7 +78,7 @@ function start () { /tmp/manage.py collectstatic --noinput /tmp/manage.py compress --force rm -rf /tmp/_tmp_.secret_key_store.lock /tmp/.secret_key_store - + chmod +x ${SITE_PACKAGES_ROOT}/django/core/wsgi.py exec {{ .Values.conf.software.apache2.binary }} {{ .Values.conf.software.apache2.start_parameters }} } diff --git a/horizon/templates/bin/_manage.py.tpl b/horizon/templates/bin/_manage.py.tpl index 3fc0b34415..a49cffe3f4 100644 --- a/horizon/templates/bin/_manage.py.tpl +++ b/horizon/templates/bin/_manage.py.tpl @@ -23,7 +23,7 @@ import os import sys import pymysql - +pymysql.version_info = (1, 3, 13, "final", 0) pymysql.install_as_MySQLdb() from django.core.management import execute_from_command_line