OpenStack Compute (Nova)

Gracefully unattach failed instance from network

Reported by Antony Messerli on 2011-08-30
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Medium
Rick Harris
Diablo
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.

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)

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

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) on 2011-11-09
Changed in nova:
milestone: none → essex-1
Thierry Carrez (ttx) on 2011-11-17
Changed in nova:
status: Fix Committed → Fix Released

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) on 2012-04-05
Changed in nova:
milestone: essex-1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers