Merge "Fix loading of Storm on Centos8 / Python 3"

This commit is contained in:
Zuul 2020-06-25 16:48:22 +00:00 committed by Gerrit Code Review
commit 9b85ac9ca3
2 changed files with 12 additions and 0 deletions

View File

@ -42,6 +42,13 @@ RUN curl -sSL -o /tmp/storm.tgz ${storm_url} \
{% endblock %}
{% block storm_python_version %}
# NOTE(dszumski): Storm needs to be told where the Py3 interpreter lives
{% if distro_python_version.startswith('3') %}
ENV PYTHON={{ '/usr/bin/python' ~ distro_python_version }}
{% endif %}
{% endblock %}
COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes an issue with loading Storm and Monasca Thresh when using
Centos8 containers.