On Wed, Feb 27, 2019 at 12:03 PM Fedor Gavrilov <[email protected]> wrote:

> 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 -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?
>

If the host is running Fedora 28, you may hit this:
https://bugzilla.redhat.com/1670966

You can find the solution here:
https://lists.ovirt.org/archives/list/[email protected]/thread/OWNXADWKYN3Z57ODTQPMJP4HHG5CLEFM/

You may also find this interesting:
https://tools.ietf.org/html/rfc1178

Nir
_______________________________________________
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/QPUUPIAHHDMQPPRDSPKDP2SSUTRGA6XV/

Reply via email to