Bug 955371

Summary: failure creating a snapshot volume within a lvm-based pool
Product: [Fedora] Fedora Reporter: Edoardo Comar <ecomar>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 18CC: berrange, clalancette, crobinso, itamar, jforbes, jyang, laine, libvirt-maint, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: libvirt-0.10.2.5-1.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-29 00:50:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Edoardo Comar 2013-04-22 22:04:02 UTC
Description of problem:
failure creating a snapshot volume within a lvm-based pool

Version-Release number of selected component (if applicable):
[root@twix0208 ~]# virsh version
Compiled against library: libvirt 0.10.2
Using library: libvirt 0.10.2
Using API: QEMU 0.10.2
Running hypervisor: QEMU 1.2.2


libvirt.x86_64   0.10.2.4-1.fc18  

How reproducible:
always

Steps to Reproduce:
1.create and start an lvm pool in libvirt

2.create a volume
# virsh vol-create-as images_lvm myvol 2G
Vol myvol created

3.create a volume using the previous as backing image
this always fail.

# virsh vol-create-as images_lvm myvol-instance 2G --backing-vol myvol
error: Failed to create vol myvol-instance
error: internal error Child process (/usr/sbin/lvcreate --name myvol-instance -L 2097152K -s=/dev/libvirt_images_vg/myvol) unexpected exit status 3: /usr/sbin/lvcreate: invalid option -- '='
  Error during parsing of command line.
  
Actual results:


Expected results:


Additional info:

this has been fixed in livirt.org 1.0.2 by commit ffee627a:
http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=ffee627a

Comment 1 Fedora Update System 2013-05-19 23:17:51 UTC
libvirt-0.10.2.5-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/libvirt-0.10.2.5-1.fc18

Comment 2 Fedora Update System 2013-05-21 08:26:41 UTC
Package libvirt-0.10.2.5-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libvirt-0.10.2.5-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-8681/libvirt-0.10.2.5-1.fc18
then log in and leave karma (feedback).

Comment 3 Edoardo Comar 2013-05-21 13:28:03 UTC
thanks, I could verify that this fixes the issue I had,

Comment 4 Fedora Update System 2013-05-29 00:50:58 UTC
libvirt-0.10.2.5-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.