broken out-of-tree modules due to the movement of wsgi module

Bug #2069689 reported by Artem Goncharov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
In Progress
Critical
Unassigned

Bug Description

Change https://review.opendev.org/c/openstack/neutron/+/916406 moved wsgi module from `neutron` to `neutron.api`. While the change was complete in itself it broke out-of-tree plugins (i.e. vpnaas, dynamic-routing) which still do `from neutron import wsgi`.

https://opendev.org/explore/code?q=from+neutron+import+wsgi&t= helps to see occurrences of such import on opendev.

It has an effect, that OpenAPI codegenerator is now not able to produce spec for Neutron since it installs latest Neutron with latest released vpnaas extension. Manila seems to be also affected (as commented in https://review.opendev.org/c/openstack/neutron/+/916406)

Revision history for this message
Artem Goncharov (gtema) wrote :
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Checking the query and filtering by active projects, these are the affected ones:
* openstack/neutron-dynamic-routing
* openstack/neutron-vpnaas

Changed in neutron:
status: New → In Progress
Changed in neutron:
importance: Undecided → Critical
Revision history for this message
Lajos Katona (lajos-katona) wrote :
Revision history for this message
Lajos Katona (lajos-katona) wrote :
Revision history for this message
Brian Haley (brian-haley) wrote :

https://review.opendev.org/c/openstack/neutron/+/922185 was the other patch proposed, unclear if it's still necessary after above changes merged.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by "Artem Goncharov <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/922185

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron-dynamic-routing (master)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron-vpnaas (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron-vpnaas/+/922785

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron-dynamic-routing (master)

Reviewed: https://review.opendev.org/c/openstack/neutron-dynamic-routing/+/922784
Committed: https://opendev.org/openstack/neutron-dynamic-routing/commit/f844863a8e55b7ef0120ffd74e585ee89695cf5c
Submitter: "Zuul (22348)"
Branch: master

commit f844863a8e55b7ef0120ffd74e585ee89695cf5c
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Jun 25 16:56:44 2024 +0000

    Bump Neutron to 25.0.0.0b1

    This patch bumps the needed version of Neutron. This version
    contains [1], that moves the WSGI module to ``neutron.api.wsgi``;
    this change was implemented in this project in [2].

    The release patch is [3].

    [1]https://review.opendev.org/c/openstack/neutron/+/916406
    [2]https://review.opendev.org/c/openstack/neutron-dynamic-routing/+/922190
    [3]https://review.opendev.org/c/openstack/releases/+/922742

    Related-Bug: #2069689
    Change-Id: I39909b21313c95a65c9c8e2db535d219b1132c87

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron-vpnaas (master)

Reviewed: https://review.opendev.org/c/openstack/neutron-vpnaas/+/922785
Committed: https://opendev.org/openstack/neutron-vpnaas/commit/f2fcd4586c96e7ff4fa5ca368fbe89cffa55fe7a
Submitter: "Zuul (22348)"
Branch: master

commit f2fcd4586c96e7ff4fa5ca368fbe89cffa55fe7a
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Jun 25 17:02:50 2024 +0000

    Bump Neutron to 25.0.0.0b1

    This patch bumps the needed version of Neutron. This version
    contains [1], that moves the WSGI module to ``neutron.api.wsgi``;
    this change was implemented in this project in [2].

    The release patch is [3].

    [1]https://review.opendev.org/c/openstack/neutron/+/916406
    [2]https://review.opendev.org/c/openstack/neutron-vpnaas/+/922189
    [3]https://review.opendev.org/c/openstack/releases/+/922742

    Related-Bug: #2069689
    Change-Id: Ied0304cb1df807e3c9d6922f812d45f53a264f1f

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.