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

Bug #1270675 reported by wingwj
This bug report is a duplicate of:  Bug #1237868: Fail to suspend a unshelved server. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
wingwj

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/

Tags: unshelve
wingwj (wingwj)
description: updated
tags: added: unshelve
Changed in nova:
assignee: nobody → wingwj (wingwj)
Revision history for this message
Hans Lindgren (hanlind) wrote :

I guess this is Havana or earlier?

This bug is already fixed in Icehouse but as far as I can see that fix hasn't been backported.

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.