[Pkg-libvirt-maintainers] Bug#858550: fails to start: Couldn't create default storage pool '/var/lib/libvirt/images': Could not define storage pool: operation failed: Storage source conflict with pool: 'images'

Daniel Pocock daniel at pocock.pro
Thu Mar 23 11:16:37 UTC 2017


Package: virtinst
Version: 1:1.0.1-5
Severity: important

I am running virt-install on a jessie system and I tried to start an
installation on a remote libvirt/KVM with this command:


$ virt-install \
   --connect=qemu+ssh://root@some-host/system \
   --ram 2048 --accelerate \
   --disk size=28 \
   --cdrom=/usr/local/share/iso/debian-8.7.1-amd64-netinst.iso \
   --name new_guest_name --network network:ovsbr1 \
   --vcpus 2 --cpu kvm64 --os-type=Linux \
   --os-variant=debiansqueeze
ERROR    Error: --disk size=28: Couldn't create default storage pool
'/var/lib/libvirt/images': Could not define storage pool: operation
failed: Storage source conflict with pool: 'images'


I tried doing this through virt-manager GUI and got a similar error.

Then I created the volume manually with "qemu-img create ...", located
it in the virt-manager GUI and it started the install successfully.

The libvirt/KVM environment is running Debian stretch, it has two
storage pools, one for ISOs under /usr/local/share/iso and the default
storage pool under /var/lib/libvirt/images where the guest disk images
should be:

# ls -ld /var/lib/libvirt/images
drwx--x--x 3 libvirt-qemu root 4096 Mar 23 10:50 /var/lib/libvirt/images


On this particular system, I created a different LV for
/var/lib/libvirt/images



More information about the Pkg-libvirt-maintainers mailing list