New instance's IP can change if rescheduled

Bug #1089092 reported by Jason Kölker
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Jason Kölker

Bug Description

When an instance is created, network_info is allocated prior to spawning, and starts showing in the os-api's server dict as 'addresses'. Any failure in virt to spawn the instance will cause the network to be deallocated, and the instance rescheduled on another host, which will re-allocate the network, potentially getting a new ip address. Which would then be shown in api calls. We should allow the operator to hide the network_info until such a time the spawn is successful.

Changed in nova:
assignee: nobody → Jason Kölker (jason-koelker)
Michael Still (mikal)
Changed in nova:
status: New → Triaged
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/18414

Changed in nova:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit b3bbd09131e127e7540f4ccdb1376c10bace8b7a
Author: Jason Kölker <email address hidden>
Date: Tue Dec 11 15:12:29 2012 -0600

    Add extension to allow hiding of addresses

    * Servers in certain states will have network_info but it may change,
      (eg. rescheduled build on another host). The extension allows the
      operator to hide the address information in those states
    * Fixes bug LP 1089092

    Change-Id: Ie843e34a41c77903b201b45c5b67a6f75334cb5e

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-2 → 2013.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.