Creation of router fails in devstack

Bug #1816771 reported by Slawek Kaplonski
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Critical
Slawek Kaplonski
tags: added: l3-ha
removed: l3
Revision history for this message
Slawek Kaplonski (slaweq) wrote :

I found out that the issue happens when port_forwarding service plugin is enabled. Without it, all works fine

Changed in neutron:
assignee: nobody → Slawek Kaplonski (slaweq)
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Slawek Kaplonski (slaweq) wrote :

git bisect told me that culprit commit is e8b7e768a2545621ee98511b8dd271c5117f76bd which is https://review.openstack.org/#/c/626561/

I will try to debug a bit how we can fix it. But in case is it would be hard, I will propose revert also

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

Fix proposed to branch: master
Review: https://review.openstack.org/638359

Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/638380

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

Change abandoned by Slawek Kaplonski (<email address hidden>) on branch: master
Review: https://review.openstack.org/638359
Reason: Better fix in https://review.openstack.org/#/c/638380/

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

Related fix proposed to branch: master
Review: https://review.openstack.org/638391

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Related fix proposed to branch: master
Review: https://review.openstack.org/638447

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

Reviewed: https://review.openstack.org/638380
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=d802fad8a92625005597ebda4931b0bbe13418e9
Submitter: Zuul
Branch: master

commit d802fad8a92625005597ebda4931b0bbe13418e9
Author: Slawek Kaplonski <email address hidden>
Date: Thu Feb 21 11:16:03 2019 +0100

    Avoid loading same service plugin more than once

    In patch [1] requirement that only each service plugin
    can be loaded only once was removed.
    Unfortunatelly it is not possible that same service plugin
    will be instantiate more than once because it may reqister some
    callbacks or other things which can't be duplicated.

    So this patch adds mechanism which will ensure that each service
    plugin class is instantiate only once and reused if necessary.

    [1] https://review.openstack.org/#/c/626561/

    Closes-Bug: #1816771

    Change-Id: Ie6e6cc1bbbe50ff7cfad4e8033e48711569ea020

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.openstack.org/638391
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=3f38c58cffddf7f2763455cce9d0ebf875230994
Submitter: Zuul
Branch: master

commit 3f38c58cffddf7f2763455cce9d0ebf875230994
Author: Jens Harbott <email address hidden>
Date: Thu Feb 21 10:48:15 2019 +0000

    Add job from openstacksdk to avoid regressing

    As seen in [0], openstacksdk uses a scenario for testing that isn't
    currently covered by Neutron's own testing. Add a job from their stack
    to be run on all patches, but make it non-voting to start with.

    [0] https://bugs.launchpad.net/neutron/+bug/1816771

    Change-Id: I35ba7664335026ca2a4d361d93fbf784bf0ffe5c
    Related-Bug: 1816771
    Related-Bug: 1817045

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 14.0.0.0b2

This issue was fixed in the openstack/neutron 14.0.0.0b2 development milestone.

tags: added: neutron-proactive-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.openstack.org/638447
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=a77cbd926018a904212f2cac0420534a5b5d2191
Submitter: Zuul
Branch: master

commit a77cbd926018a904212f2cac0420534a5b5d2191
Author: LIU Yulong <email address hidden>
Date: Thu Feb 21 23:51:06 2019 +0800

    Add test case to duplicated service plugin

    Functional test case for [1] to prevent agressive on L3 provider service.
    Related DB error: ProviderResourceAssociation.

    [1] https://review.openstack.org/#/c/638380/

    Change-Id: I95792ad6cf63d13dc790a1ec636860dde82a23c6
    Related-Bug: #1816771

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

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/649043

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

Reviewed: https://review.openstack.org/649043
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=fb0c062899032288091df50a18f7f30a594bcc14
Submitter: Zuul
Branch: stable/rocky

commit fb0c062899032288091df50a18f7f30a594bcc14
Author: Slawek Kaplonski <email address hidden>
Date: Thu Feb 21 11:16:03 2019 +0100

    Avoid loading same service plugin more than once

    In patch [1] requirement that only each service plugin
    can be loaded only once was removed.
    Unfortunatelly it is not possible that same service plugin
    will be instantiate more than once because it may reqister some
    callbacks or other things which can't be duplicated.

    So this patch adds mechanism which will ensure that each service
    plugin class is instantiate only once and reused if necessary.

    [1] https://review.openstack.org/#/c/626561/

    Closes-Bug: #1816771

    Change-Id: Ie6e6cc1bbbe50ff7cfad4e8033e48711569ea020
    (cherry picked from commit d802fad8a92625005597ebda4931b0bbe13418e9)

tags: added: in-stable-rocky
tags: added: neutron-easy-proactive-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 13.0.4

This issue was fixed in the openstack/neutron 13.0.4 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.