Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 947351

Summary: Nova network doesn't remove bridge and dnsmask upon network delete
Product: Red Hat OpenStack Reporter: Ofer Blaut <oblaut>
Component: openstack-novaAssignee: Brent Eagles <beagles>
Status: CLOSED WONTFIX QA Contact: Ofer Blaut <oblaut>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.1CC: beagles, dallan, ndipanov, ykaul
Target Milestone: ---   
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-13 19:29:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Error when network is recreated none

Description Ofer Blaut 2013-04-02 08:09:09 UTC
Created attachment 730649 [details]
Error when network is recreated

Description of problem:

When a network is removed by nova-manage 
bridges are left and not remove from hosts ( nova create but doesn't remove them) , on quantum using linux bridge quantum create and remove them.

dnsmask is not remove upon network delete, might cause a problem if network is removed and re-created with different VLAN or name. ( see attached log )


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.create network using nova-manage ( check two hosts)
2.boot few VMs
3.check bridges are created ( brctl show ) , check dnsmask is running
4. delete VMs, delete network (nova-manage network delete )
5. check bridges are created ( brctl show ) , check dnsmask is running
6. re-configure network with different VLAN - VMs will fail 
  
Actual results:


Expected results:


Additional info:

Comment 2 Brent Eagles 2013-05-13 19:29:59 UTC
It is not surprising that the dnsmasq and the bridges aren't brought down when you delete the network with nova-manage (database manip. tool, and all that). This should be resolved when network-delete for the nova python client is implemented (see https://bugzilla.redhat.com/show_bug.cgi?id=957495). Until then, the admin will need to manually tear down the bridge and dnsmasq instance.