[Openstack] nova block migration fail - ImageNotFound
Matt Riedemann
mriedem at us.ibm.com
Mon Aug 5 19:05:52 UTC 2013
Do you have qemu-img installed?
Thanks,
MATT RIEDEMANN
Advisory Software Engineer
Cloud Solutions and OpenStack Development
Phone: 1-507-253-7622 | Mobile: 1-507-990-1889
E-mail: mriedem at us.ibm.com
3605 Hwy 52 N
Rochester, MN 55901-1407
United States
From: james <jshaw90 at gmail.com>
To: openstack at lists.openstack.org,
Date: 08/05/2013 10:45 AM
Subject: [Openstack] nova block migration fail - ImageNotFound
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_data
2013-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 dispatch
2013-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_migration
2013-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_migration
2013-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_backing
2013-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 cache
2013-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_image
2013-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 inner
2013-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_exists
2013-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_image
2013-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_raw
2013-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 fetch
2013-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
download
2013-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
download
2013-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 call
2013-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
data
2013-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_request
2013-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_request
2013-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
_______________________________________________
Mailing list:
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack at lists.openstack.org
Unsubscribe :
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130805/401f061b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1851 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130805/401f061b/attachment.gif>
More information about the Openstack
mailing list