Fix loading of Storm on Centos8 / Python 3
In the Centos8 images, Storm fails to start since it cannot find Python. This patch ensures that it can by setting the PYTHON env var. Change-Id: If6663b2f6dfadfd6a6db5e4aaca4eb782b87161f Closes-Bug: #1876461
This commit is contained in:
parent
039a6d431a
commit
dcde7ffdd0
@ -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
|
||||
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes an issue with loading Storm and Monasca Thresh when using
|
||||
Centos8 containers.
|
Loading…
x
Reference in New Issue
Block a user