mod_wsgi incorrectly configured to use the python2 version always

Bug #1813053 reported by Alex Schultz on 2019-01-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Alex Schultz

Bug Description

When using python3 containers with python3-mod_wsgi, the default mod_wsgi loaded via the apache configuration is instead of This causes container failures

2019-01-23T12:31:33.190839506-05:00 Running command: '/usr/sbin/httpd -DFOREGROUND -DFOREGROUND'
2019-01-23T12:31:33.190852797-05:00 ++ [[ -n '' ]]
2019-01-23T12:31:33.190852797-05:00 ++ [[ -n '' ]]
2019-01-23T12:31:33.190852797-05:00 ++ ARGS=-DFOREGROUND
2019-01-23T12:31:33.190852797-05:00 + echo 'Running command: '\''/usr/sbin/httpd -DFOREGROUND -DFOREGROUND'\'''
2019-01-23T12:31:33.190852797-05:00 + exec /usr/sbin/httpd -DFOREGROUND -DFOREGROUND
2019-01-23T12:31:33.226417347-05:00 httpd: Syntax error on line 39 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf.d/wsgi.load: Cannot load modules/ into server: /etc/httpd/modules/ cannot open shared object file: No such file or directory

Changed in tripleo:
assignee: Alex Schultz (alex-schultz) → Emilien Macchi (emilienm)
status: Triaged → In Progress
Changed in tripleo:
assignee: Emilien Macchi (emilienm) → Alex Schultz (alex-schultz)

Submitter: Zuul
Branch: master

commit 1eedba81fd989f3485834037ebfe1f4012d068b3
Author: Alex Schultz <email address hidden>
Date: Wed Jan 23 12:22:01 2019 -0700

    Load python3 mod_wsgi for fedora/rhel8

    The python3 containers/systems will have the python3 mod_wsgi and not
    the python2 version. For now we can manage this in our apache base until
    a newer puppetlabs-apache supports the newer packages.

    Change-Id: Id17539959454f2846a432a03c497de52a0f07798
    Closes-Bug: #1813053

Changed in tripleo:
status: In Progress → Fix Released

This issue was fixed in the openstack/puppet-tripleo 10.3.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers