Horizon wsgi should select python_path for python3

Bug #1838719 reported by Yang Youseok
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
High
Chason Chan
Train
Fix Released
High
Chason Chan

Bug Description

Currently, pytohn path is hard-coded in

https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/horizon/templates/horizon.conf.j2#L1

I found kolla assume that python3 for ubuntu, so it makes wsgi does not find right python path.

Log below

[Fri Aug 02 10:54:32.836159 2019] [wsgi:error] [pid 44:tid 140719563368192] [client 10.195.23.131:33400] Target WSGI script not found or unable to stat: /var/lib/kolla/venv/lib/python2.7

Thanks

Chason Chan (chen-xing)
Changed in kolla-ansible:
status: New → Triaged
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.opendev.org/674241

Changed in kolla-ansible:
assignee: nobody → Chason Chan (chen-xing)
status: Triaged → In Progress
Changed in kolla-ansible:
assignee: Chason Chan (chen-xing) → Mark Goddard (mgoddard)
Mark Goddard (mgoddard)
Changed in kolla-ansible:
assignee: Mark Goddard (mgoddard) → Chason Chan (chen-xing)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/674241
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=673bbd5678522031a5af8d2fade05b26f0e64a41
Submitter: Zuul
Branch: master

commit 673bbd5678522031a5af8d2fade05b26f0e64a41
Author: chenxing <email address hidden>
Date: Fri Aug 2 17:33:04 2019 +0800

    update horizon configuration for python3 migrating

    Depends-On: https://review.opendev.org/675581
    Closes-Bug: #1838719
    Partially Implements: blueprint python3-support

    Change-Id: Ib8bfb130b8490b583539cc264c2d2a2a034b270c

Changed in kolla-ansible:
status: In Progress → 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.