No check for ports in subnet on openstack before deleting it from Nuage VSD

Bug #1351522 reported by Prinika
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Ronak Shah

Bug Description

Steps to recreate:

1. Create a net + subnet
neutron net-create n
neutron subnet-create n 10.10.10.0/24 --name n

2. Create a port
neutron port-create --fixed-ip subnet_id=n --name port1 n

3. Delete the subnet n.
This gives the following error on openstack and does not delete the subnet on openstack but deletes it from the Nuage VSD
 (Unable to complete operation on subnet <UUID>. One or more ports have an IP allocation from this subnet)

Tags: nuage
tags: added: nuage
Changed in neutron:
importance: Undecided → Medium
status: New → Confirmed
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/113003

Changed in neutron:
assignee: nobody → Ronak Shah (ronak-malav-shah)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/113003
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=949c29ec7fbe965483484c4192ca960bece1802a
Submitter: Jenkins
Branch: master

commit 949c29ec7fbe965483484c4192ca960bece1802a
Author: ronak <email address hidden>
Date: Fri Aug 8 12:13:16 2014 -0700

    Check for ports in subnet before deleting it from Nuage VSD

    There could exist a port in subnet in neutron in which case subnet delete
    is not allowed. In the nuage's plugin code, this validation needs to
    be handle prior to sending delete subnet request to backend.

    Change-Id: Idd20d2f878a6274a012504108d01bd2237dc665a
    Closes-bug: #1351522

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → juno-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-rc1 → 2014.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.