Ubuntu binary deploys are failing on master and stable/stein

Bug #1823989 reported by Mark Goddard on 2019-04-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
High
Mark Goddard
Stein
High
Mark Goddard
kolla-ansible
High
Mark Goddard
Stein
High
Mark Goddard

Bug Description

These jobs have been failing for some time.

Mark Goddard (mgoddard) wrote :

First issue: keystone container apache config references WSGI scripts with a python3- prefix, but this is incorrect.

Second issue: ModuleNotFoundError: No module named 'pymysql' in 'Running placement bootstrap container'. Probably a kolla issue.

Mark Goddard (mgoddard) wrote :

Placement-api restarting:

+ echo 'Running command: '\''/usr/sbin/apache2 -DFOREGROUND'\'''
+ exec /usr/sbin/apache2 -DFOREGROUND
Running command: '/usr/sbin/apache2 -DFOREGROUND'
AH00526: Syntax error on line 5 of /etc/apache2/sites-enabled/placement-api.conf:
Name duplicates previous WSGI daemon definition.

Mark Goddard (mgoddard) wrote :

Target WSGI script not found or unable to stat: /usr/bin/python3-placement-api

Mark Goddard (mgoddard) wrote :

Horizon container fails in CI:

++ /usr/bin/manage.py collectstatic --noinput --clear
Traceback (most recent call last):
  File "/usr/bin/manage.py", line 18, in <module>
    from django.core.management import execute_from_command_line
ImportError: No module named django.core.management

http://logs.openstack.org/17/651317/4/check/kolla-ansible-ubuntu-binary/b29235f/primary/logs/docker_logs/horizon.txt.gz

Reviewed: https://review.openstack.org/651327
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=6c0065185943355851308ae4df23b73918fab7be
Submitter: Zuul
Branch: master

commit 6c0065185943355851308ae4df23b73918fab7be
Author: Mark Goddard <email address hidden>
Date: Tue Apr 9 17:43:54 2019 +0100

    Fix ubuntu binary deploys

    1. Install python3-pymysql in placement-base image.
    2. Remove default placement WSGI config.
    3. Use python3 for manage.py in horizon

    Change-Id: Ibb620af2241e39fe99bc48757f90296c0d77d438
    Partial-Bug: #1823989

Reviewed: https://review.openstack.org/652003
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=0cfe0d74f6b83bd6ddc83bc1d0cb71fcf13f4739
Submitter: Zuul
Branch: stable/stein

commit 0cfe0d74f6b83bd6ddc83bc1d0cb71fcf13f4739
Author: Mark Goddard <email address hidden>
Date: Tue Apr 9 17:43:54 2019 +0100

    Fix ubuntu binary deploys

    1. Install python3-pymysql in placement-base image.
    2. Remove default placement WSGI config.
    3. Use python3 for manage.py in horizon

    Change-Id: Ibb620af2241e39fe99bc48757f90296c0d77d438
    Partial-Bug: #1823989
    (cherry picked from commit 6c0065185943355851308ae4df23b73918fab7be)

tags: added: in-stable-stein

Reviewed: https://review.openstack.org/651317
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=d62ccca3e03013c0728c4a20b3930cde540b513a
Submitter: Zuul
Branch: master

commit d62ccca3e03013c0728c4a20b3930cde540b513a
Author: Mark Goddard <email address hidden>
Date: Tue Apr 9 15:52:08 2019 +0000

    Fix ubuntu binary deploys

    1. The Keystone WSGI scripts don't have a python3- prefix, although they
       are using python 3.

    2. The Placement WSGI script doesn't have a python3- prefix, although it
       is using python 3.

    Depends-On: https://review.openstack.org/651327
    Change-Id: I805df8f85634edea8322495ca73897d44967cfe6
    Closes-Bug: #1823989

Changed in kolla-ansible:
status: In Progress → Fix Released

Reviewed: https://review.opendev.org/652958
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=87febca7935e85112cd2210946d298ec2c739882
Submitter: Zuul
Branch: stable/stein

commit 87febca7935e85112cd2210946d298ec2c739882
Author: Mark Goddard <email address hidden>
Date: Tue Apr 9 15:52:08 2019 +0000

    Fix ubuntu binary deploys

    1. The Keystone WSGI scripts don't have a python3- prefix, although they
       are using python 3.

    2. The Placement WSGI script doesn't have a python3- prefix, although it
       is using python 3.

    Depends-On: https://review.openstack.org/651327
    Change-Id: I805df8f85634edea8322495ca73897d44967cfe6
    Closes-Bug: #1823989

This issue was fixed in the openstack/kolla-ansible 8.0.0.0rc2 release candidate.

Mark Goddard (mgoddard) on 2019-08-07
Changed in kolla:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers