Debian/Ubungu: The path to wsgi script is wrong

Bug #2011384 reported by Takashi Kajinami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-vitrage
Fix Released
Critical
Takashi Kajinami

Bug Description

This module now expects the wsgi script is located at /usr/share/vitrage-common/app.wsgi in Debian and Ubuntu, but this is wrong and the script is actually installed in /usr/lib/python3/dist-packages/vitrage/api/app.wsgi .

Now deployment is consistently failing with the error below when httpd+mod_wsgi is used.

```
2023-03-13 05:47:21 +0000 /Stage[main]/Vitrage::Wsgi::Apache/Openstacklib::Wsgi::Apache[vitrage_wsgi]/File[vitrage_wsgi] (err): Could not evaluate: Could not retrieve information from environment production source(s) file:///usr/share/vitrage-common/app.wsgi
```

Changed in puppet-vitrage:
importance: Undecided → Critical
assignee: nobody → Takashi Kajinami (kajinamit)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-vitrage (master)
Changed in puppet-vitrage:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-vitrage (master)

Reviewed: https://review.opendev.org/c/openstack/puppet-vitrage/+/877219
Committed: https://opendev.org/openstack/puppet-vitrage/commit/c453511c44aa53afe92a4077e554f732d2a98d8c
Submitter: "Zuul (22348)"
Branch: master

commit c453511c44aa53afe92a4077e554f732d2a98d8c
Author: Takashi Kajinami <email address hidden>
Date: Mon Mar 13 15:36:21 2023 +0900

    Debian/Ubuntu: Fix wrong wsgi script path

    Closes-Bug: #2011384
    Change-Id: Ib7a087825cf012f28c5347f2de62d3bc5dd89622

Changed in puppet-vitrage:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-vitrage (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/puppet-vitrage/+/877264

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-vitrage (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/puppet-vitrage/+/877264
Committed: https://opendev.org/openstack/puppet-vitrage/commit/90a24d7dc0115a39dce933029e32c49c3754a838
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 90a24d7dc0115a39dce933029e32c49c3754a838
Author: Takashi Kajinami <email address hidden>
Date: Mon Mar 13 15:36:21 2023 +0900

    Debian/Ubuntu: Fix wrong wsgi script path

    Closes-Bug: #2011384
    Change-Id: Ib7a087825cf012f28c5347f2de62d3bc5dd89622
    (cherry picked from commit c453511c44aa53afe92a4077e554f732d2a98d8c)

tags: added: in-stable-zed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-vitrage (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/puppet-vitrage/+/877751

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-vitrage (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/puppet-vitrage/+/877751
Committed: https://opendev.org/openstack/puppet-vitrage/commit/b65a806ff71ae64d9e59c73b776b6055f7888ad7
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit b65a806ff71ae64d9e59c73b776b6055f7888ad7
Author: Takashi Kajinami <email address hidden>
Date: Mon Mar 13 15:36:21 2023 +0900

    Debian/Ubuntu: Fix wrong wsgi script path

    Closes-Bug: #2011384
    Change-Id: Ib7a087825cf012f28c5347f2de62d3bc5dd89622
    (cherry picked from commit c453511c44aa53afe92a4077e554f732d2a98d8c)
    (cherry picked from commit 90a24d7dc0115a39dce933029e32c49c3754a838)

tags: added: in-stable-yoga
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-vitrage (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/puppet-vitrage/+/877756

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-vitrage (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/puppet-vitrage/+/877756
Committed: https://opendev.org/openstack/puppet-vitrage/commit/0710aa1c2d3f1396e269cbaf44fc56389ad21e51
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 0710aa1c2d3f1396e269cbaf44fc56389ad21e51
Author: Takashi Kajinami <email address hidden>
Date: Mon Mar 13 15:36:21 2023 +0900

    Debian/Ubuntu: Fix wrong wsgi script path

    Closes-Bug: #2011384
    Change-Id: Ib7a087825cf012f28c5347f2de62d3bc5dd89622
    (cherry picked from commit c453511c44aa53afe92a4077e554f732d2a98d8c)
    (cherry picked from commit 90a24d7dc0115a39dce933029e32c49c3754a838)
    (cherry picked from commit b65a806ff71ae64d9e59c73b776b6055f7888ad7)

tags: added: in-stable-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-vitrage 12.0.0

This issue was fixed in the openstack/puppet-vitrage 12.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-vitrage 9.4.1

This issue was fixed in the openstack/puppet-vitrage 9.4.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-vitrage 10.3.1

This issue was fixed in the openstack/puppet-vitrage 10.3.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-vitrage 11.0.1

This issue was fixed in the openstack/puppet-vitrage 11.0.1 release.

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.