Description of problem: With a storage pool defined on a Volume Group - having a ThinPool provisioned causes libvirt to fail and deactivate the group. Feb 09 17:58:50 plarsen.peterlarsen.org libvirtd[2255]: cannot stat file '/dev/fedora/novalugThinPool': No such file or directory Feb 09 17:58:55 plarsen.peterlarsen.org libvirtd[2255]: internal error: Child process (/usr/sbin/vgchange -aln fedora) unexpected exit status 5: Logical volu Can't deactivate volume group "fedora" with 6 open logical volume(s) Feb 09 17:58:59 plarsen.peterlarsen.org libvirtd[2255]: metadata not found: Requested metadata element is not present Feb 09 18:00:00 plarsen.peterlarsen.org libvirtd[2255]: cannot stat file '/dev/fedora/novalugThinPool': No such file or directory Feb 09 18:00:05 plarsen.peterlarsen.org libvirtd[2255]: internal error: Child process (/usr/sbin/vgchange -aln fedora) unexpected exit status 5: Logical volu Can't deactivate volume group "fedora" with 6 open logical volume(s) Feb 09 18:00:31 plarsen.peterlarsen.org libvirtd[2255]: End of file while reading data: Input/output error Feb 09 18:00:31 plarsen.peterlarsen.org libvirtd[2255]: End of file while reading data: Input/output error Feb 09 18:00:31 plarsen.peterlarsen.org libvirtd[2255]: End of file while reading data: Input/output error $ sudo lvs [sudo] password for plarsen: LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert home fedora -wi-ao---- 63.71g iso fedora -wi-ao---- 75.00g novalug-disk1 fedora -wi-a----- 10.00g novalug-disk2 fedora -wi-a----- 10.00g novalugDisk1 fedora Vwi-a-tz-- 50.00g novalugThinPool 0.00 novalugDisk2 fedora Vwi-a-tz-- 50.00g novalugThinPool 0.00 novalugDisk3 fedora Vwi-a-tz-- 50.00g novalugThinPool 0.00 novalugDisk4 fedora Vwi-a-tz-- 50.00g novalugThinPool 0.00 novalugDisk5 fedora Vwi-a-tz-- 50.00g novalugThinPool 0.00 novalugThinPool fedora twi-a-tz-- 20.00g 0.00 root fedora -wi-ao---- 50.00g swap fedora -wi-ao---- 7.61g Version-Release number of selected component (if applicable): Fedora 20 $ rpm -q libvirt libvirt-1.1.3.8-1.fc20.x86_64 How reproducible: Every time Steps to Reproduce: 1. Create a storage pool based on an LVM Volume Group 2. Create ThinPool in volume group 3. Create "Virtual" (thin provisioned) logical volumes 4. run virsh or virt-manager and try to access the storage pool. It's offline. Errors as above is in the error log. # vgcreate fedora /dev/<devices> # lvcreate -n novalugThinPool -T -L 20g fedora # lvcreate -T -n novalugDisk1 --virtualSize 50G fedora/novalugThinPool # lvcreate -T -n novalugDisk2 --virtualsize 50G fedora/novalugThinPool # lvcreate -T -n novalugDisk3 --virtualsize 50G fedora/novalugThinPool # lvcreate -T -n novalugDisk4 --virtualsize 50G fedora/novalugThinPool Actual results: LVs create just fine, but libvirt fails. Expected results: libvirt should show the 4 thin provisioned logical volumes, and not show the ThinPool volume. Additional info:
This won't be fixed in F20, moving to the upstream tracker.
Is there any progress here?
With some local testing this appears to be fixed in libvirt-1.2.17-13.el7_2.4.x86_64