Hi,
I have tried creating a iSCSI portal with FQDN/hostname, the creation
seems to be successful, but on discovering this portal from the
initiator fails both with IP address and hostname.
On Server Side:
[root@dhcp35-109 ~]# hostname
dhcp35-109.lab.eng.blr.redhat.com
[root@dhcp35-109 ~]# targetcli
/iscsi/iqn.2016-12.org.gluster-block:8e318ce8-ba05-4ccd-bc09-0083b1f15a6c/tpg1/portals
create
dhcp35-109.lab.eng.blr.redhat.com ip_port=3260
Using default IP port 3260
Created network portal dhcp35-109.lab.eng.blr.redhat.com:3260.
Initiator Side:
[root@dhcp35-139 ~]# iscsiadm --mode discovery --type sendtargets
--portal
dhcp35-109.lab.eng.blr.redhat.com -l
iscsiadm: cannot make connection to 10.70.35.109: Connection refused
iscsiadm: cannot make connection to 10.70.35.109: Connection refused
iscsiadm: cannot make connection to 10.70.35.109: Connection refused
iscsiadm: cannot make connection to 10.70.35.109: Connection refused
iscsiadm: cannot make connection to 10.70.35.109: Connection refused
iscsiadm: cannot make connection to 10.70.35.109: Connection refused
iscsiadm: connection login retries (reopen_max) 5 exceeded
iscsiadm: Could not perform SendTargets discovery: encountered
connection failure
I have cross checked creating the portal with IP address the next
time, the discovery seems to be successful.
On Server Side:
[root@dhcp35-109 ~]# targetcli
/iscsi/iqn.2016-12.org.gluster-block:8e318ce8-ba05-4ccd-bc09-0083b1f15a6c/tpg1/portals
create 10.70.35.109 ip_port=3260
Using default IP port 3260
Created network portal 10.70.35.109:3260.
Initiator Side:
[root@dhcp35-139 ~]# iscsiadm --mode discovery --type sendtargets
--portal
dhcp35-109.lab.eng.blr.redhat.com -l
10.70.35.109:3260,1
iqn.2016-12.org.gluster-block:8e318ce8-ba05-4ccd-bc09-0083b1f15a6c
Logging in to [iface: default, target:
iqn.2016-12.org.gluster-block:8e318ce8-ba05-4ccd-bc09-0083b1f15a6c,
portal: 10.70.35.109,3260] (multiple)
Login to [iface: default, target:
iqn.2016-12.org.gluster-block:8e318ce8-ba05-4ccd-bc09-0083b1f15a6c,
portal: 10.70.35.109,3260] successful.
Is there any existing tracker for this ? Else will it worth to raise a
github issue ?
Thanks,
--
prasanna