Hi,

Recently I hit an issue when I can't add iscsi storage domain because engine 
can't see any LUNs there. I wonder if I missed some step in the configuration 
or something.

There is a fedora 29 machine running iscsi target which has a single lun and 
host (banana) registered in its ACL:
[cucumber@cucumber ~]$ sudo targetcli
[sudo] password for cucumber: 
targetcli shell version 2.1.fb48
Copyright 2011-2013 by Datera, Inc and others.
For help on commands, type 'help'.

/iscsi/iqn.20...e:target/tpg1> ls
o- tpg1 
.....................................................................................................
 [no-gen-acls, no-auth]
  o- acls 
................................................................................................................
 [ACLs: 1]
  | o- iqn.1994-05.com.redhat:4bf5ff1a15b6 
........................................................................ 
[Mapped LUNs: 1]
  |   o- mapped_lun0 
.................................................................................
 [lun0 fileio/filestore0 (rw)]
  o- luns 
................................................................................................................
 [LUNs: 1]
  | o- lun0 ................................................................... 
[fileio/filestore0 (/etc/fileio) (default_tg_pt_gp)]
  o- portals 
..........................................................................................................
 [Portals: 1]
    o- 0.0.0.0:3260 
...........................................................................................................
 [OK]

From fedora 28 host I can login and logout, but there is this segfault and when 
I try getting LUN info it fails:

[banana@banana ~]$ sudo iscsiadm --mode discovery --type sendtargets --portal 
cucumber
192.168.111.4:3260,1 iqn.2016-01.com.example:target
[banana@banana ~]$ sudo iscsiadm -m node -T iqn.2016-01.com.example:target -l
Logging in to [iface: default, target: iqn.2016-01.com.example:target, portal: 
192.168.111.4,3260] (multiple)
Login to [iface: default, target: iqn.2016-01.com.example:target, portal: 
192.168.111.4,3260] successful.
[banana@banana ~]$ sudo iscsiadm -m session  -P 3 -r 2
iscsiadm: could not read session targetname: 5
iscsiadm: Could not get session info for sid 2
[banana@banana ~]$ sudo iscsiadm -m session  -P 3
iSCSI Transport Class version 2.0-870
version 6.2.0.874
Segmentation fault

It seems I am hitting this: https://bugzilla.redhat.com/show_bug.cgi?id=1462767

Could this be the reason that there are no LUNs in engine web UI after I 
discover iscsi target? Is anyone aware of workaround or whether I am doing 
something wrong?

Thanks,
Fedor Gavrilov
_______________________________________________
Devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/EYNXAHBE7ADXYBB5MTCBPK6ATHBYQ4AQ/

Reply via email to