Created attachment 917050 [details]
output of libguestfs-test-tool
Description of problem:
libguestfs has no means to set an explicit initiator IQN for iSCSI connections. A default intiator IQN ( incase of LIBGUESTFS-BACKEND=direct ) or a random IQN ( in case of libvirt backend ) is used for iSCSI connections.
This creates problems when storage systems expect a preconfigured initiator IQN to be used while establishing iSCSI connections.
The underlying QEMU command has an option (`-iscsi initiator-name=<initiator-iqn>' to set initiator IQN string explicitly. But currently libguestfs has no option to set this parameter and pass it on to QEMU.
Version-Release number of selected component (if applicable):
guestfish -a iscsi://<target IQN>
against a storage system which validates incoming connection against a preconfigured Initiator IQN
Steps to Reproduce:
Error while connecting to iSCSI target
Should be able to establish iSCSI connection with any Initiator IQN