Comment 10 for bug 1183283

Revision history for this message
Kashyap Chamarthy (kashyapc) wrote : Re: On a fresh devstack install, creating a new cinder volume fails with "Logical volume" exists.

Oh, I haven't paid attention to these messages as they appeared in green :( , when I did "less -R /path/to/screen log" :

 "error while converting raw: No space left on device\\\\n\'\\n"]},"

=====
.
.
.
4c99c4b2a5813733454", "project_id": "273e1a6b14db4490a9a87e0e6584fd13", "id": "c2094b47-f60f-481b-b49d-46e7ebe7c15c", "size": 1}}, "volume_id": "c2094b47-f60f-481b-b49d-46e7ebe7c15c", "filter_properties": {"config_options": {}, "user_id": "2dbbf38c7ac344c99c4b2a5813733454", "availability_zone": "nova", "volume_type": {}, "request_spec": {"volume_id": "c2094b47-f60f-481b-b49d-46e7ebe7c15c", "volume_properties": {"status": "creating", "volume_type_id": null, "display_name": "image_vol-test-n2", "availability_zone": "nova", "attach_status": "detached", "source_volid": null, "metadata": {}, "volume_metadata": [], "display_description": null, "snapshot_id": null, "user_id": "2dbbf38c7ac344c99c4b2a5813733454", "project_id": "273e1a6b14db4490a9a87e0e6584fd13", "id": "c2094b47-f60f-481b-b49d-46e7ebe7c15c", "size": 1}, "volume_type": {}, "image_id": "9d517cee-92d0-4975-8346-2bd2fd4ecf47", "source_volid": null, "snapshot_id": null, "resource_properties": {"status": "creating", "volume_type_id": null, "display_name": "image_vol-test-n2", "availability_zone": "nova", "size": 1, "attach_status": "detached", "source_volid": null, "volume_metadata": [], "display_description": null, "snapshot_id": null, "user_id": "2dbbf38c7ac344c99c4b2a5813733454", "project_id": "273e1a6b14db4490a9a87e0e6584fd13", "id": "c2094b47-f60f-481b-b49d-46e7ebe7c15c", "metadata": {}}}, "retry": {"num_attempts": 1, "hosts": ["devstack1labengpnqredhatcom"], "exc": ["Traceback (most recent call last):\\n", " File \\"/opt/stack/cinder/cinder/volume/manager.py\\", line 254, in create_volume\\n image_location)\\n", " File \\"/opt/stack/cinder/cinder/volume/manager.py\\", line 193, in _create_volume\\n image_id)\\n", " File \\"/opt/stack/cinder/cinder/volume/manager.py\\", line 607, in _copy_image_to_volume\\n image_id)\\n", " File \\"/opt/stack/cinder/cinder/volume/drivers/lvm.py\\", line 257, in copy_image_to_volume\\n self.local_path(volume))\\n", " File \\"/opt/stack/cinder/cinder/image/image_utils.py\\", line 242, in fetch_to_raw\\n convert_image(tmp, dest, \'raw\')\\n", " File \\"/opt/stack/cinder/cinder/image/image_utils.py\\", line 191, in convert_image\\n utils.execute(*cmd, run_as_root=True)\\n", " File \\"/opt/stack/cinder/cinder/utils.py\\", line 193, in execute\\n cmd=\' \'.join(cmd))\\n", "ProcessExecutionError: Unexpected error while running command.\\nCommand: sudo cinder-rootwrap /etc/cinder/rootwrap.conf qemu-img convert -O raw /tmp/tmppLr7l6 /dev/mapper/stack--volumes-volume--c2094b47--f60f--481b--b49d--46e7ebe7c15c\\nExit code: 1\\nStdout: \'\'\\nStderr: \'qemu-img: /dev/mapper/stack--volumes-volume--c2094b47--f60f--481b--b49d--46e7ebe7c15c: error while converting raw: No space left on device\\\\n\'\\n"]}, "metadata": {}, "resource_type": {}, "size": 1}, "topic": "cinder-volume", "image_id": "9d517cee-92d0-4975-8346-2bd2fd4ecf47", "snapshot_id": null}, "_unique_id": "dd243d0234c341e6885179ff0aacd8e5", "_context_timestamp": "2013-05-24T08:07:11.879470", "_context_user_id": "2dbbf38c7ac344c99c4b2a5813733454", "_context_auth_token": "MIIKpAYJKoZIhvcNAQcCoIIKlTCCCpECAQExCTAHBgUrDgMCGjCCCX0GCSqGSIb3DQEHAaCCCW4EgglqeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wNS0yNFQwODowNzoxMS43NTA1MDIiLCAiZXhwaXJlcyI6ICIyMDEzLTA1LTI1VDA4OjA3OjExWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsb
=====

=====
  $ df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/fedora-root ext4 16G 11G 3.5G 76% /
devtmpfs devtmpfs 7.4G 0 7.4G 0% /dev
tmpfs tmpfs 7.4G 0 7.4G 0% /dev/shm
tmpfs tmpfs 7.4G 388K 7.4G 1% /run
tmpfs tmpfs 7.4G 0 7.4G 0% /sys/fs/cgroup
tmpfs tmpfs 7.4G 2.8M 7.4G 1% /tmp
/dev/vda1 ext4 477M 86M 366M 19% /boot
=====