Browse Source

Use Python 3 for mod_wsgi in cyborg and monasca on Debian/Ubuntu

In Train kolla switched to Python 3 in Debian and Ubuntu source images.
For services running under httpd with mod_wsgi, they should install
libapache2-mod-wsgi-py3 rather than libapache2-mod-wsgi. This was done
for most images, but cyborg and monasca were omitted.  This change fixes
that.

Change-Id: I25cfa62dbf20490685617b4a4185bf95ab91725e
Closes-Bug: #1873421
(cherry picked from commit f5d31da12f)
changes/60/726460/1
Mark Goddard 12 months ago
committed by Radosław Piliszek
parent
commit
f221b4f7ab
3 changed files with 8 additions and 2 deletions
  1. +1
    -1
      docker/cyborg/cyborg-api/Dockerfile.j2
  2. +1
    -1
      docker/monasca/monasca-base/Dockerfile.j2
  3. +6
    -0
      releasenotes/notes/fix-monasca-cyborg-ubuntu-source-832a978a3ac5cd3e.yaml

+ 1
- 1
docker/cyborg/cyborg-api/Dockerfile.j2 View File

@ -18,7 +18,7 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
{% elif base_package_type == 'deb' %}
{% set cyborg_api_packages = [
'apache2',
'libapache2-mod-wsgi'
'libapache2-mod-wsgi-py3'
] %}
{% endif %}


+ 1
- 1
docker/monasca/monasca-base/Dockerfile.j2 View File

@ -32,7 +32,7 @@ RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
{% set monasca_base_packages = [
'apache2',
'libapache2-mod-wsgi',
'libapache2-mod-wsgi-py3',
'librdkafka-dev'
] %}


+ 6
- 0
releasenotes/notes/fix-monasca-cyborg-ubuntu-source-832a978a3ac5cd3e.yaml View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes an issue with Cyborg and Monasca APIs in Debian and Ubuntu source
type images.
`LP#1873421 <https://bugs.launchpad.net/kolla-ansible/+bug/1873421>`__

Loading…
Cancel
Save