Browse Source

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
changes/56/738056/1
Doug Szumski 1 month ago
parent
commit
11903c8336
2 changed files with 12 additions and 0 deletions
  1. +7
    -0
      docker/storm/Dockerfile.j2
  2. +5
    -0
      releasenotes/notes/fix-loading-of-storm-in-centos8-containers-86b38c9166ceb0dd.yaml

+ 7
- 0
docker/storm/Dockerfile.j2 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



+ 5
- 0
releasenotes/notes/fix-loading-of-storm-in-centos8-containers-86b38c9166ceb0dd.yaml View File

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

Loading…
Cancel
Save