[NEUTRON-50] HTTPConflict on subnet delete Created: 18/Jun/15  Updated: 01/Jul/15  Resolved: 01/Jul/15

Status: Resolved
Project: neutron
Component/s: northbound-api
Affects Version/s: stable/lithium
Fix Version/s: None

Type: Bug
Reporter: Armando Migliaccio Assignee: Ryan Moats
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: File trace.rtf    
External issue ID: 3812

 Description   

Setup:

  • Neutron/ML2 ODL master
  • ODL Lithium 0.3.0-SNAPSHOT

Pre-conditions:

  • neutron net-create test
  • neutron subnet-create test --name s1 10.0.0.0/22
  • neutron subnet-create test --name s2 20.0.0.0/22

At this point I have provisioned my resources, a DHCP port will be allocated and will have two IP allocations one for each subnet.

Steps to reproduce:

neutron subnet-delete s1

Observed:

I see that an HTTP Conflict is r returned by ODL, the DHCP port is deleted entirely.

I can then, without errors delete the other subnet and the network.

If I try to delete s2 first, I won't see the error, the DHCP port disappears, but when I try to delete s1 I still see the conflict error being returned.

One more data point. If I delete the network directly, no errors are being returned.



 Comments   
Comment by Armando Migliaccio [ 18/Jun/15 ]

Another tidbit: if I delete the dhcp port explicitly and I then delete s1 and s2 I'll still see HTTP conflict being returned on s1 deletion.

Comment by Armando Migliaccio [ 19/Jun/15 ]

Attachment trace.rtf has been added with description: trace

Comment by Ryan Moats [ 23/Jun/15 ]

https://git.opendaylight.org/gerrit/#/c/23180/ is the working commit for recreating and fixing this defect

Comment by Ryan Moats [ 23/Jun/15 ]

https://git.opendaylight.org/gerrit/#/c/23180/ addresses this in master

Comment by Flavio Fernandes [ 24/Jun/15 ]

Please make sure to cherry pick this fix to stable/lithium,
once it is okay to so so.

Comment by Ryan Moats [ 24/Jun/15 ]

remarking as stable/lithium so we don't miss this - but don't worry, I've got a list of patches to cherry pick once the branch unfreezes

Generated at Wed Feb 07 20:25:25 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.