[Openstack] Volume got stalled in downloading status

Gonzalo Aguilar Delgado gaguilar at aguilardelgado.com
Mon Dec 9 12:43:10 UTC 2013


Hello,

When I create a volume from glance I get the volume stalled in 
"Downloading" state forever.


I use:
cinder create --image-id 6d86bfdc-4e27-4640-9408-ad137391234f 2

And I got this in cinder... and nothing else:

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}}

I cannot see why it stalls there.


Last relevant message appears to be:

  log_http_response 
/usr/lib/python2.7/dist-packages/glanceclient/common/http.py:150
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
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
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
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
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
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
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
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
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
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
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


But it still in downloading state


Any ideas?

	

	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131209/450ca2d7/attachment.html>


More information about the Openstack mailing list