#980742 libvirt-daemon-driver-storage-iscsi-direct: Can't start iscsi-direct pools: internal error: Failed testunitready: SENSE KEY:UNIT_ATTENTION(6) ASCQ:POWER_ON_OCCURED(0x2901)

Package:
libvirt-daemon-driver-storage-iscsi-direct
Source:
libvirt
Description:
Virtualization daemon iSCSI (libiscsi) storage driver
Submitter:
Markus Näsholm
Date:
2021-01-21 09:21:04 UTC
Severity:
important
#980742#5
Date:
2021-01-21 09:16:37 UTC
From:
To:
Dear Maintainer,

I'm attempting to use the new iscsi-direct system on Debian sid. But I
am not able to start the pools that I have defined. I am using FreeBSD
for the ISCSI target system.

virsh pool-start <pool> gives error:

error: Failed to start pool <pool>
error: internal error: Failed testunitready: SENSE KEY:UNIT_ATTENTION(6) ASCQ:POWER_ON_OCCURED(0x2901)

The pool seems to work when using the regular libvirt-iscsi system. The
problem only occurs when using iscsi-direct. I have followed the
instructions given on the official libvirt website and believe my
configuration is correct.

virsh pool-dumpxml <pool>:

<pool type='iscsi-direct'>
  <name>nasholm.xyz</name>
  <uuid>0c69baab-3108-4d38-ab1b-fc113f27cfb4</uuid>
  <capacity unit='bytes'>0</capacity>
  <allocation unit='bytes'>0</allocation>
  <available unit='bytes'>0</available>
  <source>
    <host name='10.220.1.10'/>
    <device path='iqn.2019-04.xyz.nasholm.storage:nasholm'/>
    <initiator>
      <iqn name='iqn.2019-04.xyz.nasholm.storage:bern1'/>
    </initiator>
  </source>
</pool>

Thank you for your attention