Skip to content

Instantly share code, notes, and snippets.

@sombrafam
Created August 24, 2015 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sombrafam/dbf806ee85230278532d to your computer and use it in GitHub Desktop.
Save sombrafam/dbf806ee85230278532d to your computer and use it in GitHub Desktop.
2015-08-24 13:19:54.705 ERROR cinder.volume.flows.manager.create_volume [req-dfa10fd5-85de-4426-bda9-cb70c2297a4e ed6f1fc479994085b659c90dde898fff 8d389f4b35c94cd3a0c30737a0579e9b] Failed to copy image 7e1b74d9-01b1-4bfd-9535-23f690555356 to volume: b044cec7-5eb8-4be8-a9d6-c04721a23efb
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume Traceback (most recent call last):
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume File "/opt/stack/cinder/cinder/volume/flows/manager/create_volume.py", line 513, in _copy_image_to_volume
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume copy_image_to_volume(context, volume_ref, image_service, image_id)
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume return f(*args, **kwargs)
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume File "/opt/stack/cinder/cinder/volume/driver.py", line 625, in copy_image_to_volume
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume size=volume['size'])
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume File "/opt/stack/cinder/cinder/image/image_utils.py", line 226, in fetch_to_raw
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume run_as_root=run_as_root)
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume File "/opt/stack/cinder/cinder/image/image_utils.py", line 317, in fetch_to_volume_format
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume run_as_root=run_as_root)
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume File "/opt/stack/cinder/cinder/image/image_utils.py", line 147, in convert_image
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume out_format, run_as_root=run_as_root)
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume File "/opt/stack/cinder/cinder/image/image_utils.py", line 121, in _convert_image
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume utils.execute(*cmd, run_as_root=run_as_root)
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume File "/opt/stack/cinder/cinder/utils.py", line 154, in execute
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume return processutils.execute(*cmd, **kwargs)
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/processutils.py", line 275, in execute
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume cmd=sanitized_cmd)
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume ProcessExecutionError: Unexpected error while running command.
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf qemu-img convert -t none -O raw /opt/stack/data/cinder/conversion/tmpgsPD5E /dev/disk/by-path/ip-172.24.44.22:3260-iscsi-iqn.1993-08.org.debian:01:449eaf34d559.target-lun-12
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume Exit code: 1
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume Stdout: u''
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume Stderr: u'qemu-img: /dev/disk/by-path/ip-172.24.44.22:3260-iscsi-iqn.1993-08.org.debian:01:449eaf34d559.target-lun-12: error while converting raw: Device is too small\n'
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume
[1:20:38 PM] Eduardo Zecca: 2015-08-24 13:19:56.082 ERROR oslo_messaging.rpc.dispatcher [req-dfa10fd5-85de-4426-bda9-cb70c2297a4e ed6f1fc479994085b659c90dde898fff 8d389f4b35c94cd3a0c30737a0579e9b] Exception during messag
e handling: Failed to copy image to volume: qemu-img: /dev/disk/by-path/ip-172.24.44.22:3260-iscsi-iqn.1993-08.org.debian:01:449eaf34d559.target-lun-12: error while converting raw: Device is too small
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment