Manila API fails to initialize uwsgi

Bug #1883715 reported by Douglas Viroel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Critical
Douglas Viroel

Bug Description

Description
===========
Many CI jobs start to fail since [1] merged.
By installing uwsgi using a package manager, the application now resides in a different path and Manila API can't initialize it.

Logs & Configs
==============

Jun 16 03:04:12.574906 ubuntu-bionic-ovh-bhs1-0017153926 systemd[1]: Starting Devstack <email address hidden>...
Jun 16 03:04:12.578507 ubuntu-bionic-ovh-bhs1-0017153926 systemd[7174]: <email address hidden>: Failed to execute command: No such file or directory
Jun 16 03:04:12.578602 ubuntu-bionic-ovh-bhs1-0017153926 systemd[7174]: <email address hidden>: Failed at step EXEC spawning /usr/local/bin/uwsgi: No such file or directory

https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_16e/734735/3/check/manila-tempest-dsvm-postgres-container/16e2958/logs/screen-m-api.txt

[1] https://review.opendev.org/#/c/577955/

Changed in manila:
status: New → In Progress
Changed in manila:
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/735895
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=fbcabd2c03985000bd9b4d4d9a4478bc0b784efa
Submitter: Zuul
Branch: master

commit fbcabd2c03985000bd9b4d4d9a4478bc0b784efa
Author: Douglas Viroel <email address hidden>
Date: Tue Jun 16 09:15:58 2020 -0300

    Fix uwsgi path location

    After fixing the uwsgi installation from source that was broken[1][2],
    Manila jobs started to fail since no uwsgi wasn't found in the
    expected path. This fix now uses 'which' command to search for
    uwsgi pathnames in the system.

    [1] https://bugs.launchpad.net/devstack/+bug/1883468
    [2] https://review.opendev.org/#/c/577955/

    Related-Bug: #1883468
    Closes-Bug: #1883715
    Change-Id: I8d8b2fe07d86899c694cb73a81087d25311d30a5

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

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/736066

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

Fix proposed to branch: stable/train
Review: https://review.opendev.org/736296

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

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/736298

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

Reviewed: https://review.opendev.org/736066
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=09cb988f014d3d4ffde1d6e820c28e1655d46396
Submitter: Zuul
Branch: stable/ussuri

commit 09cb988f014d3d4ffde1d6e820c28e1655d46396
Author: Douglas Viroel <email address hidden>
Date: Tue Jun 16 09:15:58 2020 -0300

    Fix uwsgi path location

    After fixing the uwsgi installation from source that was broken[1][2],
    Manila jobs started to fail since no uwsgi wasn't found in the
    expected path. This fix now uses 'which' command to search for
    uwsgi pathnames in the system.

    [1] https://bugs.launchpad.net/devstack/+bug/1883468
    [2] https://review.opendev.org/#/c/577955/

    Related-Bug: #1883468
    Closes-Bug: #1883715
    Change-Id: I8d8b2fe07d86899c694cb73a81087d25311d30a5
    (cherry picked from commit fbcabd2c03985000bd9b4d4d9a4478bc0b784efa)

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/train)

Reviewed: https://review.opendev.org/736296
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=f91102402094b30c68ed3e469dfbfc0c52e74331
Submitter: Zuul
Branch: stable/train

commit f91102402094b30c68ed3e469dfbfc0c52e74331
Author: Douglas Viroel <email address hidden>
Date: Tue Jun 16 09:15:58 2020 -0300

    Fix uwsgi path location

    After fixing the uwsgi installation from source that was broken[1][2],
    Manila jobs started to fail since no uwsgi wasn't found in the
    expected path. This fix now uses 'which' command to search for
    uwsgi pathnames in the system.

    [1] https://bugs.launchpad.net/devstack/+bug/1883468
    [2] https://review.opendev.org/#/c/577955/

    Related-Bug: #1883468
    Closes-Bug: #1883715
    Change-Id: I8d8b2fe07d86899c694cb73a81087d25311d30a5
    (cherry picked from commit fbcabd2c03985000bd9b4d4d9a4478bc0b784efa)
    (cherry picked from commit 09cb988f014d3d4ffde1d6e820c28e1655d46396)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/stein)

Reviewed: https://review.opendev.org/736298
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=913ef96e11ef19a30e612b6e1eaf320d2ade078f
Submitter: Zuul
Branch: stable/stein

commit 913ef96e11ef19a30e612b6e1eaf320d2ade078f
Author: Douglas Viroel <email address hidden>
Date: Tue Jun 16 09:15:58 2020 -0300

    Fix uwsgi path location

    After fixing the uwsgi installation from source that was broken[1][2],
    Manila jobs started to fail since no uwsgi wasn't found in the
    expected path. This fix now uses 'which' command to search for
    uwsgi pathnames in the system.

    [1] https://bugs.launchpad.net/devstack/+bug/1883468
    [2] https://review.opendev.org/#/c/577955/

    Related-Bug: #1883468
    Closes-Bug: #1883715
    Change-Id: I8d8b2fe07d86899c694cb73a81087d25311d30a5
    (cherry picked from commit fbcabd2c03985000bd9b4d4d9a4478bc0b784efa)
    (cherry picked from commit 09cb988f014d3d4ffde1d6e820c28e1655d46396)
    (cherry picked from commit f91102402094b30c68ed3e469dfbfc0c52e74331)

tags: added: in-stable-stein
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.