"nova host-servers-migrate <host>" Migrate instances on free compute in error status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Unassigned |
Bug Description
{"build_id": "2014-01-
"nova host-servers-
Steps to reproduce
1. Get ISO#67
2. Cluster configuration: Ubuntu, simple, 1Controller, (2+ceph)Computes, Ceph for images, Neutron GRE.
3. Create Instance check on wich compute it is.
4. On controller execute command "nova --debug host-servers-
Expected result:
Instance should migrate and be in Active status
Actual result:
After migration instance became in Error state.
compute node on wich should be migrated this instance contain following:
<180>Jan 29 16:12:16 node-3 nova-nova.
<182>Jan 29 16:12:18 node-3 nova-nova.
<179>Jan 29 16:12:19 node-3 nova-nova.
Traceback (most recent call last):
File "/usr/lib/
read_
File "/usr/lib/
raise make_ex(ret, 'error opening image %s at snapshot %s' % (name, snapshot))
ImageNotFound: error opening image /var/lib/
<179>Jan 29 16:12:19 node-3 nova-nova.
Traceback (most recent call last):
File "/usr/lib/
disk_info, image)
File "/usr/lib/
block_
tags: |
added: compute removed: nova-manage |
Changed in nova: | |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: rbd |
Changed in nova: | |
milestone: | none → juno-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-rc1 → 2014.2 |
This can also be reproduced by:
* Havana 2013.2.2, 3 ceph/compute nodes, 1 controller. Glance uses RBD for image store, so does Cinder. nova/instances
* no shared storage under /var/lib/
* create an instance from an image
* nova migrate <instance>
* resulting in the instance being in 'error' state, and the same exception as noted in the original report.
Note that nova live-migration works fine, but we noted the problem when attempting to resize an instance.
The image listed in the exception under var/lib/ nova/instances/ _base/ does not appear to be the uuid of any image listed by nova image-list.