]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
GlusterFS: Use image_utils for qemu-img calls
authorEric Harney <eharney@redhat.com>
Sun, 8 Sep 2013 14:18:18 +0000 (10:18 -0400)
committerEric Harney <eharney@redhat.com>
Fri, 20 Sep 2013 18:06:52 +0000 (14:06 -0400)
commitf8ac42460dca22f83a59097530f73b282129cc2b
tree7ecf0f2ffa1869f1acb4a752bd88df26568a5c29
parentbd1a8482c530376acc5fedbaa46477cc003766ce
GlusterFS: Use image_utils for qemu-img calls

Code added for GlusterFS snapshot support in Havana included
new code to parse qemu-img output.  This removes this code
and uses image_utils qemu_img_info instead.

Add test to image_utils for parsing a different style of
qemu-img info output.

Improve GlusterFS driver test coverage with tests for cloning,
create from snapshot, and initialize_connection.

Closes-Bug: #1224030
Change-Id: I8f1811b400c06edb3cd7416c52aa297921841e54
cinder/tests/test_glusterfs.py
cinder/tests/test_image_utils.py
cinder/volume/drivers/glusterfs.py