Ubuntu binary deploys are failing on master and stable/stein

Bug #1823989 reported by Mark Goddard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Mark Goddard
Stein
Fix Released
High
Mark Goddard
Train
Fix Released
High
Mark Goddard
kolla-ansible
Fix Released
High
Mark Goddard
Stein
Fix Released
High
Mark Goddard
Train
Fix Released
High
Mark Goddard

Bug Description

These jobs have been failing for some time.

Revision history for this message
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.

Revision history for this message
Mark Goddard (mgoddard) wrote :
Revision history for this message
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.

Revision history for this message
Mark Goddard (mgoddard) wrote :

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

Revision history for this message
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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.openstack.org/652003

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/stein)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.openstack.org/652958

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/stein)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 8.0.0.0rc2

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

Mark Goddard (mgoddard)
Changed in kolla:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 9.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 9.0.0.0rc1 release candidate.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.