← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1270675] [NEW] 'Unshelve' doesn't record instances' host-attributes into DB

 

Public bug reported:

When one VM was shelve-offloaded, the VM won't belong to any hosts.
And the 'host' attribute will be 'None' if you execute 'nova show $id'. That's correct.

But 'unshelve' doesn't record 'host' attributes even if the instance has already spawned in one host.
Therefore, if you operate it later, the nova-api will raise an exception because it can't find the VM's host.

Visit here for more information:
http://paste.openstack.org/show/61521/

** Affects: nova
     Importance: Undecided
     Assignee: wingwj (wingwj)
         Status: New


** Tags: unshelve

** Description changed:

- When one VM was shelve-offloaded, the VM won't belong to any hosts. 
+ When one VM was shelve-offloaded, the VM won't belong to any hosts.
  And the 'host' attribute will be 'None' if you execute 'nova show $id'. That's correct.
  
  But 'unshelve' doesn't record 'host' attributes even if the instance has already spawned in one host.
  Therefore, if you operate it later, the nova-api will raise an exception because it can't find the VM's host.
  
  Visit here for more information:
+ http://paste.openstack.org/show/61521/

** Tags added: unshelve

** Changed in: nova
     Assignee: (unassigned) => wingwj (wingwj)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1270675

Title:
  'Unshelve' doesn't record instances' host-attributes into DB

Status in OpenStack Compute (Nova):
  New

Bug description:
  When one VM was shelve-offloaded, the VM won't belong to any hosts.
  And the 'host' attribute will be 'None' if you execute 'nova show $id'. That's correct.

  But 'unshelve' doesn't record 'host' attributes even if the instance has already spawned in one host.
  Therefore, if you operate it later, the nova-api will raise an exception because it can't find the VM's host.

  Visit here for more information:
  http://paste.openstack.org/show/61521/

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1270675/+subscriptions


Follow ups

References