QuantumManager ends up with dangling quantum network

Bug #941760 reported by Tomoe Sugihara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
Unassigned

Bug Description

When QuantumManager gets an error at self.ipam.create_subnet():
https://github.com/openstack/nova/blob/8924ad8d6d57810d4de6ce4ce61efdccc759b066/nova/network/quantum/manager.py#L205
it ends up with a dangling quantum network that is created several lines above the code.
I think it should clean up the quantum network on error here.

Revision history for this message
dan wendlandt (danwent) wrote :

This sounds like a duplicate of: https://bugs.launchpad.net/nova/+bug/921912

But no one is currently working on that bug either, and we agree that its a good idea, so please put a patch together.

Revision history for this message
Tomoe Sugihara (tomoe) wrote :

Thanks Dan for the comment. I agree that we should fix this.

Revision history for this message
Tomoe Sugihara (tomoe) wrote :

BTW, current nova ipam calls FlatManager's create_networks and that doesn't allow overlapping prefix. Shouldn't we fix that as well?

Revision history for this message
Mark McLoughlin (markmc) wrote :

Marking as a duplicate as suggested by dan

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.