MH: router delete might return a 500 error

Bug #1481346 reported by Salvatore Orlando
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Invalid
Undecided
Unassigned
Juno
Fix Released
Undecided
Salvatore Orlando
vmware-nsx
Invalid
Undecided
Salvatore Orlando

Bug Description

If a logical router has been removed from the backend, and the DB is an inconsistent state where no NSX mapping is stored for the neutron logical router, the backend will fail when attempting eletion of the router, causing the neutron operation to return a 500.

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

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/209070

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to vmware-nsx (stable/kilo)

Reviewed: https://review.openstack.org/208853
Committed: https://git.openstack.org/cgit/openstack/vmware-nsx/commit/?id=1b52d64c372f80dcde3127abfc1e8073ab9ec1b4
Submitter: Jenkins
Branch: stable/kilo

commit 1b52d64c372f80dcde3127abfc1e8073ab9ec1b4
Author: Salvatore Orlando <email address hidden>
Date: Thu Jul 30 03:26:40 2015 -0700

    Prevent failures on router delete

    If a logical router has been removed from the backend, and the DB
    is an inconsistent state where no NSX mapping is stored for the
    neutron logical router, the backend will fail when attempting
    deletion of the router, causing the neutron operation to return a
    500.

    This patch ensures the neutron operation completes successfully,
    thus reconciling Neutron's DB with the NSX backend.

    Cherry-picked from commit: 77d75885532fcf72c5610278fd4b8cab842a1f91
    Closes-Bug: #1481346

    Change-Id: Ieb86faa9a71317fe82da4ea2f473164d01a36910

tags: added: in-stable-kilo
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/juno)

Reviewed: https://review.openstack.org/209070
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=0e258b01c4ab7644254ddeef34f7c2fa2c1ac944
Submitter: Jenkins
Branch: stable/juno

commit 0e258b01c4ab7644254ddeef34f7c2fa2c1ac944
Author: Salvatore Orlando <email address hidden>
Date: Tue Aug 4 06:38:42 2015 -0700

    NSX-mh: Prevent failures on router delete

    If a logical router has been removed from the backend, and the DB
    is an inconsistent state where no NSX mapping is stored for the
    neutron logical router, the backend will fail when attempting
    deletion of the router, causing the neutron operation to return a
    500 error.

    This patch ensures the neutron operation completes successfully,
    thus reconciling Neutron's DB with the NSX backend.

    Closes-Bug: #1481346
    Applied from commit: 77d75885532fcf72c5610278fd4b8cab842a1f91

    Change-Id: If484c09e48465c27d493bf640882bb5024567b11

Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

This bug is > 240 days without activity. We are unsetting assignee and milestone and setting status to Incomplete in order to allow its expiry in 60 days.

If the bug is still valid, then update the bug status.

Changed in neutron:
status: New → Incomplete
Changed in neutron:
status: Incomplete → Invalid
Adit Sarfaty (asarfaty)
Changed in vmware-nsx:
status: New → Invalid
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.