Holger's Blog A good shell is the best user interface.

19Jan/120

Open-iSCSI Interface by libvirt

While I was introducing an iSCSI pool to libvirt/kvm, a new interface was introduced to Open-iSCSI called libvirt-iface-*, with the effect that LUNs were no longer detected after target login.

It took nearly an hour to detect the reason for this failure, but since the initiator ID changed and the default CHAP login was not set for this interface, the iSCSI LUNs failed.

The following steps solved the problem on each KVM host:

  • Remove the interface definition from /etc/iscsi.
  • Remove all node and target definitions containing the libvirt device name from /etc/iscsi.
  • Reboot
  • Introduce the iSCSI targets before binding them to a pool in libvirt.
Tagged as: , , No Comments