Don't barf if the subnet doesn't have a cidr set

Bug #903954 reported by Brad Hall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Brad Hall

Bug Description

On deleting a VM there was a traceback trying to make an IPAddress out of None -- in this case subnet['cidr'] didn't contain anything. If the subnet doesn't have a cidr we can just take it from the network_ref.

Review here: https://review.openstack.org/#change,2266,patchset=1

Brad Hall (bgh)
Changed in nova:
assignee: nobody → Brad Hall (bgh)
status: New → In Progress
Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → High
milestone: none → essex-2
importance: High → Medium
Brad Hall (bgh)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-2 → 2012.1
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.