[Pkg-libvirt-maintainers] Bug#702279: /usr/bin/virsh: vol-create-from fails to create volume from XML but vol-create works for same XML

Daniel Dickinson debian at cshore.neomailbox.net
Mon Mar 4 18:08:15 UTC 2013


Package: libvirt-bin
Version: 0.9.12-6
Severity: normal
File: /usr/bin/virsh

I have a simple xml file for a volume (name and capacity), and have tried to create a new volume in a new pool from a volume in another pool, however it fails.

The fist message output

1) failed to create volume from name.iso.xml

and the log has the message failed in the kvm-img convert command (it doesn't log the failed to create volumet).

However, I can create an empty volume container from name.iso.xml using vol-create name.iso.xml.

I am using a logical pool type (volume group).

It seems that vol-create-from doesn't use the same code path to create the container and vol-create, which is rather strange.

Regards,

Daniel


-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libvirt-bin depends on:
ii  adduser             3.113+nmu3
ii  gettext-base        0.18.1.1-9
ii  libavahi-client3    0.6.31-1
ii  libavahi-common3    0.6.31-1
ii  libblkid1           2.20.1-5.3
ii  libc6               2.13-38
ii  libcap-ng0          0.6.6-2
ii  libdbus-1-3         1.6.8-1
ii  libdevmapper1.02.1  2:1.02.74-6
ii  libgcrypt11         1.5.0-3
ii  libgnutls26         2.12.20-4
ii  libnetcf1           1:0.2.0-5
ii  libnl1              1.1-7
ii  libnuma1            2.0.8~rc4-1
ii  libparted0debian1   2.3-12
ii  libpcap0.8          1.3.0-1
ii  libpciaccess0       0.13.1-2
ii  libreadline6        6.2+dfsg-0.1
ii  libsasl2-2          2.1.25.dfsg1-6
ii  libudev0            175-7.1
ii  libvirt0            0.9.12-6
ii  libxenstore3.0      4.1.4-2
ii  libxml2             2.8.0+dfsg1-7
ii  libyajl2            2.0.4-2
ii  logrotate           3.8.1-4

Versions of packages libvirt-bin recommends:
ii  bridge-utils    1.5-6
ii  dmidecode       2.11-9
ii  dnsmasq-base    2.65-1
ii  ebtables        2.0.10.4-1
ii  gawk            1:4.0.1+dfsg-2
ii  iproute         20120521-3
ii  iptables        1.4.14-3
ii  libxml2-utils   2.8.0+dfsg1-7
ii  netcat-openbsd  1.105-7
ii  parted          2.3-12
ii  qemu            1.1.2+dfsg-5
ii  qemu-kvm        1.1.2+dfsg-5

Versions of packages libvirt-bin suggests:
ii  policykit-1  0.105-3
ii  radvd        1:1.8.5-1

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list