[Openstack] nova block migration fail - ImageNotFound
james
jshaw90 at gmail.com
Mon Aug 5 15:31:32 UTC 2013
Hi,
I am trying to migrate 1 vm from one compute node to another using block
migration. I have followed all the setup instructions for this however when
i come to start the migration i get the following error in the nova-compute
log:
nova live-migration --block_migrate fa67c9d4-1092-472e-9f88-873c06ed43a6
server01
Error:
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp
ImageNotFound: Image dbc3a434-5acf-4a4a-b0a7-4e7ecedfe2dc could not be
found.
The id above is available to glance and i can create new vm's without any
problems using this image
glance image-list+--------------------------------------+----------------------+-------------+------------------+------------+--------+|
ID | Name | Disk
Format | Container Format | Size | Status
|+--------------------------------------+----------------------+-------------+------------------+------------+--------+|
8905c7b0-7550-4f38-b16e-d3a70f49651e | kernel | aki
| aki | 4119328 | active ||
dbc3a434-5acf-4a4a-b0a7-4e7ecedfe2dc | Ubuntu 12.04.2 amd64 | qcow2
| bare | 252051456 | active |
Im running Grizzly from the ubuntu cloud repo.
nova-compute 1:2013.1.2-0ubuntu1~cloud0
Any help with this would be great.
Full trace back below:
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp
Traceback (most recent call last):2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py",
line 430, in _process_data2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt,
version, method, **args)2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py",
line 133, in dispatch2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp return getattr(proxyobj,
method)(ctxt, **kwargs)2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3129,
in pre_live_migration2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp
self.driver.pre_block_migration(context, instance, disk)2013-07-29
14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line
3223, in pre_block_migration2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp
self._create_images_and_backing(ctxt, instance,
disk_info_json)2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line
3261, in _create_images_and_backing2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp
size=info['virt_disk_size'])2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py",
line 158, in cache2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp *args, **kwargs)2013-07-29
14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py",
line 258, in create_image2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp prepare_template(target=base,
*args, **kwargs)2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py",
line 228, in inner2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp retval = f(*args,
**kwargs)2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py",
line 146, in call_if_not_exists2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp fetch_func(target=target, *args,
**kwargs)2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/utils.py", line
593, in fetch_image2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp images.fetch_to_raw(context,
image_id, target, user_id, project_id)2013-07-29 14:32:49.096 11506
TRACE nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/virt/images.py", line 207, in
fetch_to_raw2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp fetch(context, image_href,
path_tmp, user_id, project_id)2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/virt/images.py", line 202, in
fetch2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp image_service.download(context,
image_id, image_file)2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 278, in
download2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp
_reraise_translated_image_exception(image_id)2013-07-29 14:32:49.096
11506 TRACE nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 276, in
download2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp image_chunks =
self._client.call(context, 1, 'data', image_id)2013-07-29 14:32:49.096
11506 TRACE nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 182, in
call2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp
return getattr(client.images, method)(*args, **kwargs)2013-07-29
14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line
117, in data2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp % urllib.quote(image_id))2013-07-29
14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line
260, in raw_request2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp return self._http_request(url,
method, **kwargs)2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp File
"/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line
221, in _http_request2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp raise exc.from_response(resp,
body_str)2013-07-29 14:32:49.096 11506 TRACE
nova.openstack.common.rpc.amqp ImageNotFound: Image
dbc3a434-5acf-4a4a-b0a7-4e7ecedfe2dc could not be found.2013-07-29
14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp
Kind Regards,
James Shaw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130805/a8255766/attachment.html>
More information about the Openstack
mailing list