<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
Hello, <br>
<br>
When I create a volume from glance I get the volume stalled in
"Downloading" state forever. <br>
<br>
<br>
I use:<br>
cinder create --image-id 6d86bfdc-4e27-4640-9408-ad137391234f 2<br>
<br>
And I got this in cinder... and nothing else:<br>
<br>
2013-12-09 12:50:25.089 6136 INFO cinder.volume.flows.create_volume
[req-2fd2c5a2-ff41-4b05-98b4-e39e354d215c
03cc38dac979425abb2b76763b922036 c010bd7c02174062bb1df9c9cc9e6c15]
Volume b99dc681-f634-4042-ab83-e13b98d557bf: being created using
CreateVolumeFromSpecTask._create_from_image with specification:
{'status': u'creating', 'image_location': (None, None),
'volume_size': 2, 'volume_name':
u'volume-b99dc681-f634-4042-ab83-e13b98d557bf', 'image_id':
u'6d86bfdc-4e27-4640-9408-ad137391234f', 'image_service':
<cinder.image.glance.GlanceImageService object at 0x2fe7f90>,
'image_meta': {'status': u'active', 'name': u'cirros', 'deleted':
False, 'container_format': u'bare', 'created_at':
datetime.datetime(2013, 11, 30, 21, 9, 21,
tzinfo=<iso8601.iso8601.Utc object at 0x2ed6410>),
'disk_format': u'qcow2', 'updated_at': datetime.datetime(2013, 11,
30, 21, 9, 22, tzinfo=<iso8601.iso8601.Utc object at
0x2ed6410>), 'id': u'6d86bfdc-4e27-4640-9408-ad137391234f',
'owner': None, 'min_ram': 0, 'checksum':
u'd972013792949d0d3ba628fbe8685bce', 'min_disk': 0, 'is_public':
True, 'deleted_at': None, 'properties': {}, 'size': 13147648}}<br>
<br>
I cannot see why it stalls there. <br>
<br>
<br>
Last relevant message appears to be:<br>
<br>
log_http_response
/usr/lib/python2.7/dist-packages/glanceclient/common/http.py:150<br>
2013-12-09 13:33:13.047 16382 DEBUG
cinder.openstack.common.processutils
[req-7b3a12f4-12c6-4fcb-ba18-8e073ed5d540
03cc38dac979425abb2b76763b922036 c010bd7c02174062bb1df9c9cc9e6c15]
Running cmd (subprocess): sudo cinder-rootwrap
/etc/cinder/rootwrap.conf env LC_ALL=C LANG=C qemu-img info
/var/lib/cinder/conversion/tmpRfD6X9 execute
/usr/lib/python2.7/dist-packages/cinder/openstack/common/processutils.py:142<br>
2013-12-09 13:33:13.125 16382 DEBUG cinder.image.image_utils
[req-7b3a12f4-12c6-4fcb-ba18-8e073ed5d540
03cc38dac979425abb2b76763b922036 c010bd7c02174062bb1df9c9cc9e6c15]
6d86bfdc-4e27-4640-9408-ad137391234f was qcow2, converting to raw
fetch_to_volume_format
/usr/lib/python2.7/dist-packages/cinder/image/image_utils.py:330<br>
2013-12-09 13:33:13.126 16382 DEBUG
cinder.openstack.common.processutils
[req-7b3a12f4-12c6-4fcb-ba18-8e073ed5d540
03cc38dac979425abb2b76763b922036 c010bd7c02174062bb1df9c9cc9e6c15]
Running cmd (subprocess): sudo cinder-rootwrap
/etc/cinder/rootwrap.conf qemu-img convert -O raw
/var/lib/cinder/conversion/tmpRfD6X9
/dev/mapper/cinder--volumes-volume--261621f5--b742--4a4a--951c--452b3ddc67bd
execute
/usr/lib/python2.7/dist-packages/cinder/openstack/common/processutils.py:142<br>
2013-12-09 13:33:14.056 16382 DEBUG
cinder.openstack.common.processutils
[req-7b3a12f4-12c6-4fcb-ba18-8e073ed5d540
03cc38dac979425abb2b76763b922036 c010bd7c02174062bb1df9c9cc9e6c15]
Running cmd (subprocess): sudo cinder-rootwrap
/etc/cinder/rootwrap.conf env LC_ALL=C LANG=C qemu-img info
/dev/mapper/cinder--volumes-volume--261621f5--b742--4a4a--951c--452b3ddc67bd
execute
/usr/lib/python2.7/dist-packages/cinder/openstack/common/processutils.py:142<br>
2013-12-09 13:33:14.129 16382 DEBUG
cinder.volume.flows.create_volume
[req-7b3a12f4-12c6-4fcb-ba18-8e073ed5d540
03cc38dac979425abb2b76763b922036 c010bd7c02174062bb1df9c9cc9e6c15]
Downloaded image 6d86bfdc-4e27-4640-9408-ad137391234f ((None, None))
to volume 261621f5-b742-4a4a-951c-452b3ddc67bd successfully
_copy_image_to_volume
/usr/lib/python2.7/dist-packages/cinder/volume/flows/create_volume/__init__.py:1383<br>
2013-12-09 13:33:14.130 16382 DEBUG
cinder.volume.flows.create_volume
[req-7b3a12f4-12c6-4fcb-ba18-8e073ed5d540
03cc38dac979425abb2b76763b922036 c010bd7c02174062bb1df9c9cc9e6c15]
Marking volume 261621f5-b742-4a4a-951c-452b3ddc67bd as bootable
_enable_bootable_flag
/usr/lib/python2.7/dist-packages/cinder/volume/flows/create_volume/__init__.py:1323<br>
2013-12-09 13:33:14.177 16382 DEBUG
cinder.volume.flows.create_volume
[req-7b3a12f4-12c6-4fcb-ba18-8e073ed5d540
03cc38dac979425abb2b76763b922036 c010bd7c02174062bb1df9c9cc9e6c15]
Copying metadata from image 6d86bfdc-4e27-4640-9408-ad137391234f to
261621f5-b742-4a4a-951c-452b3ddc67bd
_handle_bootable_volume_glance_meta
/usr/lib/python2.7/dist-packages/cinder/volume/flows/create_volume/__init__.py:1286<br>
2013-12-09 13:33:14.178 16382 DEBUG
cinder.volume.flows.create_volume
[req-7b3a12f4-12c6-4fcb-ba18-8e073ed5d540
03cc38dac979425abb2b76763b922036 c010bd7c02174062bb1df9c9cc9e6c15]
Creating volume glance metadata for volume
261621f5-b742-4a4a-951c-452b3ddc67bd backed by image
6d86bfdc-4e27-4640-9408-ad137391234f with: {'container_format':
u'bare', 'min_ram': 0, 'disk_format': u'qcow2', 'image_name':
u'cirros', 'image_id': u'6d86bfdc-4e27-4640-9408-ad137391234f',
'checksum': u'd972013792949d0d3ba628fbe8685bce', 'min_disk': 0,
'size': 13147648} _capture_volume_image_metadata
/usr/lib/python2.7/dist-packages/cinder/volume/flows/create_volume/__init__.py:1420<br>
2013-12-09 13:33:14.553 16382 DEBUG
cinder.volume.flows.create_volume
[req-7b3a12f4-12c6-4fcb-ba18-8e073ed5d540
03cc38dac979425abb2b76763b922036 c010bd7c02174062bb1df9c9cc9e6c15]
Volume 261621f5-b742-4a4a-951c-452b3ddc67bd: creating export
__call__
/usr/lib/python2.7/dist-packages/cinder/volume/flows/create_volume/__init__.py:1519<br>
2013-12-09 13:33:14.554 16382 INFO cinder.brick.iscsi.iscsi
[req-7b3a12f4-12c6-4fcb-ba18-8e073ed5d540
03cc38dac979425abb2b76763b922036 c010bd7c02174062bb1df9c9cc9e6c15]
Creating iscsi_target for:
volume-261621f5-b742-4a4a-951c-452b3ddc67bd<br>
2013-12-09 13:33:14.555 16382 DEBUG
cinder.openstack.common.processutils
[req-7b3a12f4-12c6-4fcb-ba18-8e073ed5d540
03cc38dac979425abb2b76763b922036 c010bd7c02174062bb1df9c9cc9e6c15]
Running cmd (subprocess): sudo cinder-rootwrap
/etc/cinder/rootwrap.conf tgt-admin --update
iqn.2010-10.org.openstack:volume-261621f5-b742-4a4a-951c-452b3ddc67bd
execute
/usr/lib/python2.7/dist-packages/cinder/openstack/common/processutils.py:142<br>
<br>
<br>
But it still in downloading state<br>
<br>
<br>
Any ideas?
<table cellpadding="0" cellspacing="0" height="44" width="500">
<tbody>
<tr>
<td valign="center"><br>
</td>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
<td nowrap="nowrap"><br>
</td>
</tr>
</tbody>
</table>
</body>
</html>