Gracefully unattach failed instance from network

Bug #837687 reported by Antony Messerli
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Rick Harris
Diablo
Fix Released
Undecided
Unassigned

Bug Description

Gracefully unattach all networks and ip information from an instance on build failure. If a build has failed, the IPs should be deallocated from the instance so that they can be used elsewhere.

Cases we probably don't want to deallocate IPs are if a resize or some other operation fails after the successful build has occurred. The instance may go to error in this state but because it's a running instance, we wouldn't want to unassign the IPs.

Revision history for this message
Brian Waldon (bcwaldon) wrote :

Possibly related to bug 835242

Changed in nova:
status: New → Confirmed
importance: Undecided → Medium
Changed in nova:
assignee: nobody → Rick Harris (rconradharris)
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : A change has been merged to openstack/nova

Reviewed: https://review.openstack.org/697
Committed: http://github.com/openstack/nova/commit/f225ea4f2ffcf0343722aa370dd615ee0effe305
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit f225ea4f2ffcf0343722aa370dd615ee0effe305
Author: Rick Harris <email address hidden>
Date: Tue Sep 27 21:05:31 2011 +0000

    Deallocate ip if build fails.

    Fixes LP837687

    Change-Id: I7c0ea900225024e69a0265c430724930ce7b892d

Changed in nova:
status: Confirmed → Fix Committed
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (stable/diablo)

Reviewed: https://review.openstack.org/1080
Committed: http://github.com/openstack/nova/commit/87823bbc4940e585e9b2fa2d83d1a89d43c29275
Submitter: Jenkins
Branch: stable/diablo

 status fixcommitted
 done

commit 87823bbc4940e585e9b2fa2d83d1a89d43c29275
Author: Rick Harris <email address hidden>
Date: Tue Sep 27 21:05:31 2011 +0000

    Deallocate ip if build fails.

    Fixes LP837687

    (cherry picked from commit f225ea4f2ffcf0343722aa370dd615ee0effe305)

    Change-Id: Ia3cf273178094564af4acf8629c7d1de9d55375f

Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Antony, or anyone else affected,

Accepted nova into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-1 → 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.