[Pkg-libvirt-maintainers] Bug#885334: libvirt-daemon: Cannot start iSCSI storage pool : "iscsiadm failed new mode for target"
Gilles Mocellin
gilles.mocellin at nuagelibre.org
Tue Dec 26 10:36:55 UTC 2017
Package: libvirt-daemon
Version: 3.10.0-1
Severity: normal
Dear Maintainer,
I always had problems with iSCSI storage and virt-manager / libvirt.
I have storage pool, which are not auto-started, because I dont't use
them everytime.
There is :
- an iSCSI storage pool
- a LVM storage pool, based on the previous iSCSI device
VMs drives are thin LV.
Until last open-iscsi update, I had to start the pool twice : error on
first try, then it works.
Now, it doesn't start anymore.
I have a new error, which is also visible in the logs :
$ grep libvirt /var/log/syslog
Dec 26 10:59:48 guitare libvirtd[1495]: 2017-12-26 09:59:48.721+0000:
1623: error : virISCSINodeNew:489 : internal error: iscsiadm failed new
mode for target 'iqn.2000-01.com.synology:batterie.vms' with status '6'
Idem with virsh :
virsh # pool-list --all
Name State Autostart
-------------------------------------------
default active yes
iscsivms inactive no
iso inactive no
vgvms inactive no
virsh # pool-start iscsivms
error: Failed to start pool iscsivms
error: internal error: iscsiadm failed new mode for target 'iqn.2000-01.com.synology:batterie.vms' with status '6'
Some informations on my pool :
virsh # pool-info iscsivms
Name: iscsivms
UUID: 18c88798-0eb1-4500-a0e7-04e563019af8
State: inactive
Persistent: yes
Autostart: no
virsh # pool-dumpxml iscsivms
<pool type='iscsi'>
<name>iscsivms</name>
<uuid>18c88798-0eb1-4500-a0e7-04e563019af8</uuid>
<capacity unit='bytes'>0</capacity>
<allocation unit='bytes'>0</allocation>
<available unit='bytes'>0</available>
<source>
<host name='batterie' port='3260'/>
<device path='iqn.2000-01.com.synology:batterie.vms'/>
</source>
<target>
<path>/dev/disk/by-path</path>
</target>
</pool>
If I log manually, it works :
# iscsiadm --mode node --targetname iqn.2000-01.com.synology:batterie.vms --portal batterie --login
Logging in to [iface: default, target: iqn.2000-01.com.synology:batterie.vms, portal: 10.0.0.3,3260] (multiple)
Login to [iface: default, target: iqn.2000-01.com.synology:batterie.vms, portal: 10.0.0.3,3260] successful.
Thanks for your attention,
Gilles.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.14.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libvirt-daemon depends on:
ii libacl1 2.2.52-3+b1
ii libapparmor1 2.11.1-4
ii libaudit1 1:2.8.2-1
ii libavahi-client3 0.7-3
ii libavahi-common3 0.7-3
ii libblkid1 2.30.2-0.1
ii libc6 2.25-5
ii libcap-ng0 0.7.7-3.1+b1
ii libcurl3-gnutls 7.57.0-1
ii libdbus-1-3 1.12.2-1
ii libdevmapper1.02.1 2:1.02.145-4.1
ii libfuse2 2.9.7-1
ii libgnutls30 3.5.16-1
ii libnetcf1 1:0.2.8-1+b2
ii libnl-3-200 3.2.27-2
ii libnl-route-3-200 3.2.27-2
ii libnuma1 2.0.11-2.1
ii libparted2 3.2-18
ii libpcap0.8 1.8.1-5
ii libpciaccess0 0.13.4-1+b2
ii libsasl2-2 2.1.27~101-g0780600+dfsg-3
ii libselinux1 2.7-2
ii libssh2-1 1.8.0-1
ii libudev1 236-1
ii libvirt0 3.10.0-1
ii libxen-4.8 4.8.2+xsa245-0+deb9u1
ii libxenstore3.0 4.8.2+xsa245-0+deb9u1
ii libxml2 2.9.4+dfsg1-5.2
ii libyajl2 2.1.0-2+b3
Versions of packages libvirt-daemon recommends:
ii libxml2-utils 2.9.4+dfsg1-5.2
ii netcat-openbsd 1.187-1
ii qemu 1:2.10.0+dfsg-2
Versions of packages libvirt-daemon suggests:
pn libvirt-daemon-driver-storage-gluster <none>
pn libvirt-daemon-driver-storage-rbd <none>
pn libvirt-daemon-driver-storage-sheepdog <none>
pn libvirt-daemon-driver-storage-zfs <none>
ii libvirt-daemon-system 3.10.0-1
pn numad <none>
-- no debconf information
More information about the Pkg-libvirt-maintainers
mailing list