KVM iSCSI StoragePool - deleting volume fails

Issues related to applications and software problems
Post Reply
jeho
Posts: 5
Joined: 2018/09/06 07:37:55

KVM iSCSI StoragePool - deleting volume fails

Post by jeho » 2018/09/06 07:58:34

Hello,

i am using CentOS 7.5.1804 and am a KVM newbie.

My target is a 3-node HA KVM cluster with an iSCSI backend (equallogic).

Everything is installed and configured, and creating a storage pool via VMM succeeded.
Creation of volume within that pool works.
Connecting the EQL-LUN from virtualisation host works, i can write files to it when connected and mounted.

BUT:
when attempting to delete the volume (currently only one volume in the storage pool), i receive the same error, no matter whether tried from VirtualMachineManager or CLI.

This is what i tried and how it fails:

1) VMM:

Code: Select all

Error deleting volume 'unit:0:0:0': this function is not supported by the connection driver: storage pool does not support vol deletion
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 125, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/storagelist.py", line 717, in cb
    vol.delete()
  File "/usr/share/virt-manager/virtManager/storagepool.py", line 77, in delete
    self._backend.delete(0)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3360, in delete
    if ret == -1: raise libvirtError ('virStorageVolDelete() failed', vol=self)
libvirtError: this function is not supported by the connection driver: storage pool does not support vol deletion

2) CLI:

Code: Select all

[root]# virsh vol-delete unit:0:0:0 --pool iscsisp01
error: Failed to delete vol unit:0:0:0
error: this function is not supported by the connection driver: storage pool does not support vol deletion
The "connection driver" make me doubt: i do NOT use the DELL proprietary HIT kit, thus all the iSCSI connectivity is implemented stock CentOS packages:

Code: Select all

iscsi-initiator-utils.x86_64            6.2.0.874-7.el7                @base    
iscsi-initiator-utils-iscsiuio.x86_64   6.2.0.874-7.el7                @base    
libiscsi.x86_64                         1.9.0-7.el7                    @anaconda
libvirt-daemon-driver-storage-iscsi.x86_64
libvirt-daemon-driver-storage-scsi.x86_64
lsscsi.x86_64                           0.27-6.el7                     @anaconda
Has any one a tip where to start digging?

Just wanted ammend this info:

Code: Select all

[root ~]# systemctl status libvirtd
 libvirtd.service - Virtualization daemon
   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2018-09-03 11:04:24 CEST; 4 days ago
     Docs: man:libvirtd(8)
           https://libvirt.org
 Main PID: 1763 (libvirtd)
    Tasks: 19 (limit: 32768)
   CGroup: /system.slice/libvirtd.service
           ├─1763 /usr/sbin/libvirtd
           ├─2222 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
           └─2223 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper

Sep 04 14:15:07 host libvirtd[1763]: 2018-09-04 12:15:07.062+0000: 1796: error : storageVolDeleteInternal:1693 : this function is not supported by the connection driver: storage pool does not support vol deletion
Sep 04 15:15:52 host libvirtd[1763]: 2018-09-04 13:15:52.864+0000: 1763: error : virNetSocketReadWire:1808 : End of file while reading data: Input/output error
Sep 05 13:11:18 host libvirtd[1763]: 2018-09-05 11:11:18.275+0000: 1797: error : storageVolDeleteInternal:1693 : this function is not supported by the connection driver: storage pool does not support vol deletion
Sep 05 13:37:28 host libvirtd[1763]: 2018-09-05 11:37:28.905+0000: 1798: error : storageVolDeleteInternal:1693 : this function is not supported by the connection driver: storage pool does not support vol deletion
Sep 05 13:49:59 host libvirtd[1763]: 2018-09-05 11:49:59.737+0000: 1796: error : storageVolDeleteInternal:1693 : this function is not supported by the connection driver: storage pool does not support vol deletion
Sep 05 14:30:20 host libvirtd[1763]: 2018-09-05 12:30:20.694+0000: 1796: error : virCommandWait:2601 : internal error: Child process (iscsiadm --mode node --portal storagearray.sld.tld:3260,1 --targetname iqn.2001-05.com.equallogic:0-af1ff...
Sep 05 14:48:22 host libvirtd[1763]: 2018-09-05 12:48:22.415+0000: 1798: error : storageVolDeleteInternal:1693 : this function is not supported by the connection driver: storage pool does not support vol deletion
Sep 05 15:04:14 host libvirtd[1763]: 2018-09-05 13:04:14.409+0000: 1799: error : storageVolDeleteInternal:1693 : this function is not supported by the connection driver: storage pool does not support vol deletion
Sep 05 15:08:39 host libvirtd[1763]: 2018-09-05 13:08:39.671+0000: 1763: error : virNetSocketReadWire:1808 : End of file while reading data: Input/output error
Sep 06 15:05:21 host libvirtd[1763]: 2018-09-06 13:05:21.303+0000: 1763: error : virNetSocketReadWire:1808 : End of file while reading data: Input/output error
Hint: Some lines were ellipsized, use -l to show in full.
presumably without adding any additional info by that.
Having said that i am a KVM newbie, and having stumbled upon this info here:
As such the libvirt iSCSI storage pools can only enumerate LUNs & report on their properties.
i start considering that the approach i applied is simply not apropriate for volumes based on iSCSI-based LUNs?

Post Reply