RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1049775 - Volume (Thin LVM) creation from image (qcow2) never ends
Summary: Volume (Thin LVM) creation from image (qcow2) never ends
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-cinder
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Eric Harney
QA Contact: Dafna Ron
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-08 07:58 UTC by Eduardo Warszawski
Modified: 2016-04-27 00:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-02 13:12:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 54833 0 None None None Never

Description Eduardo Warszawski 2014-01-08 07:58:49 UTC
Description of problem:
Creating a volume (Thin LVM) from an image (qcow2) never ends.


Version-Release number of selected component (if applicable):


How reproducible:
cinder create --image-id 3d597ebb-ce76-4323-a71d-f45a3b08ca22 7


Actual results:
After more than 17hs the volume is still in "downloading" unfinished state.

Expected results:
The volume should be successfully created.

Additional info:
|-cinder-volume(10145)---cinder-volume(10153)---sudo(12889)---cinder-rootwrap(12890)---qemu-img(12894)---{qemu-img}(12895)

10145 Tue Jan  7 15:00:02 2014    18:49:15 /usr/bin/python /usr/bin/cinder-volume --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf --logfile /var/log/cinder/volume.log
10153 Tue Jan  7 15:00:03 2014    18:49:14 /usr/bin/python /usr/bin/cinder-volume --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf --logfile /var/log/cinder/volume.log
12889 Tue Jan  7 16:33:46 2014    17:15:31 sudo cinder-rootwrap /etc/cinder/rootwrap.conf qemu-img convert -O raw /var/lib/cinder/conversion/tmp5wf91A /dev/mapper/cinder--volumes-volume--6d60b551--c3f4--415f--abb2--b9187231cd9f
12890 Tue Jan  7 16:33:47 2014    17:15:30 /usr/bin/python /usr/bin/cinder-rootwrap /etc/cinder/rootwrap.conf qemu-img convert -O raw /var/lib/cinder/conversion/tmp5wf91A /dev/mapper/cinder--volumes-volume--6d60b551--c3f4--415f--abb2--b9187231cd9f
12894 Tue Jan  7 16:33:47 2014    17:15:30 /usr/bin/qemu-img convert -O raw /var/lib/cinder/conversion/tmp5wf91A /dev/mapper/cinder--volumes-volume--6d60b551--c3f4--415f--abb2--b9187231cd9f


# cinder list
+--------------------------------------+-------------+--------------+------+-------------+----------+-------------+
|                  ID                  |    Status   | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-------------+--------------+------+-------------+----------+-------------+
| 391e67f2-2fd6-4b2d-91ba-7d096803825d |  available  |     None     | 100  |     None    |  false   |             |
| 6d60b551-c3f4-415f-abb2-b9187231cd9f | downloading |     None     |  7   |     None    |  false   |             |
| 8349ff01-a5d7-417c-b8a5-aa50ac38eaa1 |  available  |     None     |  1   |     None    |  false   |             |
| 99c44711-26d4-4b24-851d-fdf5238a9b14 |  available  |     None     |  10  |     None    |  false   |             |
+--------------------------------------+-------------+--------------+------+-------------+----------+-------------+


Nothing is wrote to /var/log/cinder/volume.log.

# lvs cinder-volumes
  LV                                          VG             Attr       LSize   Pool                Origin Data%  Move Log Cpy%Sync Convert
  cinder-volumes-pool                         cinder-volumes twi-a-tz-- 172.00m                            100.00                          
  volume-391e67f2-2fd6-4b2d-91ba-7d096803825d cinder-volumes Vwi-aotz-- 100.00g cinder-volumes-pool          0.00                          
  volume-6d60b551-c3f4-415f-abb2-b9187231cd9f cinder-volumes Vwi-aotz--   7.00g cinder-volumes-pool          2.40                          
  volume-8349ff01-a5d7-417c-b8a5-aa50ac38eaa1 cinder-volumes Vwi-aotz--   1.00g cinder-volumes-pool          0.00                          
  volume-99c44711-26d4-4b24-851d-fdf5238a9b14 cinder-volumes Vwi-aotz--  10.00g cinder-volumes-pool          0.00

Comment 1 Eric Harney 2014-01-13 21:37:44 UTC
Looks like the ThinLVM pool is the wrong size (172.00m).

What python-cinder package version was this?

Comment 2 Eduardo Warszawski 2014-01-22 12:00:50 UTC
openstack-cinder-2014.1-0.2.b1.el6.noarch
python-cinderclient-1.0.7-1.el6.noarch
python-cinder-2014.1-0.2.b1.el6.noarch

Comment 4 Eric Harney 2014-09-02 13:12:12 UTC
Fixed in 2014.1 release.


Note You need to log in before you can comment on or make changes to this bug.