macs_for_instance needs to be rolled back

Bug #1173408 reported by Joshua Harlow
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Won't Fix
Wishlist
Unassigned

Bug Description

Since the build_instance method calls out to a driver to get the macs for an instance, there likely needs to a let said driver know that we don't need said macs on failure. This could be handled in various ways, likely a contract with the driver layer that needs to be made concrete could also help solve this.

Michael Still (mikal)
Changed in nova:
status: New → Triaged
importance: Undecided → Wishlist
jichenjc (jichenjc)
Changed in nova:
assignee: nobody → jichenjc (jichenjc)
Revision history for this message
jichenjc (jichenjc) wrote :

Hi, it's a one year ago defect... can I know whether my understanding is correct?

mac_for_instance will allocate from network and it might need to be deallocated when the exception occurs during the instance creation? so that driver layer can deallocate the macs allocated ?

Revision history for this message
jichenjc (jichenjc) wrote :

I am not sure this defect is valid or not

only baremetal use this mechanism now and network info will be deallocated ..

Changed in nova:
status: Triaged → Incomplete
assignee: jichenjc (jichenjc) → nobody
Sean Dague (sdague)
Changed in nova:
status: Incomplete → Won't Fix
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.