router-gateway-clear fails when out of sync with nvp

Bug #1192392 reported by Aaron Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Salvatore Orlando

Bug Description

arosen@arosen-desktop:~/devstack$ quantum router-gateway-clear router1
While retrieving NAT rules, 0 were found whereas rules in the (1,1) interval were expected

Tags: nicira
Revision history for this message
Salvatore Orlando (salvatore-orlando) wrote :

The current code complains it does not find the expected number of NAT rules to delete.
The constraint should be relaxed.

Changed in quantum:
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → Salvatore Orlando (salvatore-orlando)
milestone: none → havana-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

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

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

Reviewed: https://review.openstack.org/33733
Committed: http://github.com/openstack/quantum/commit/0d5dccfd3223da59c446e4a8c2e34d8f250a28af
Submitter: Jenkins
Branch: master

commit 0d5dccfd3223da59c446e4a8c2e34d8f250a28af
Author: Salvatore Orlando <email address hidden>
Date: Thu Jun 20 00:51:29 2013 +0200

    Nicira plugin: Do not expect a minimum number of SNAT rules

    Bug 1192392

    The code was assuming a SNAT rule for each subnet was always present
    when clearing a gateway. If the SNAT rule was removed for some other
    reason from the NVP backend, this would have led to the failure of
    the whole operation; however, a failure won't have been necessary
    in this case, as the final effect of the operation is to remove
    the rules anyway.

    Also, this patch ensures a quantum router is put in ERROR state if
    it is not found on the NVP backend.

    Change-Id: Iac1a61342b490d0d971b884e1aa8d9567b15cac0

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-2 → 2013.2
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.