iSCSI login failed due to authorization failure

91 views
Skip to first unread message

icef...@gmail.com

unread,
Mar 21, 2017, 9:10:54 AM3/21/17
to openATTIC Users
Hi all!

I have problem with login target, when I try to make following command: "iscsiadm -m node --login".
I see next error: 24 - ISCSI login failed due to authorization failure.
I can discover the target. But target is discovered with other iqn. I established it like this: iqn.2017-03.com.domain, but I always see next iqn: iqn.2003-01.org.linux-icsi.hostname.x8664.

I try to install openattic on xenial and on trusty. On xenial I can't install
targetcli, because when try to do this, it remove openattic. And when I try to install openattic it remove targetcli.
On trusty I don't have this problem.

How can I fix it?

Thanks!


 
Message has been deleted

icef...@gmail.com

unread,
Mar 21, 2017, 9:34:16 AM3/21/17
to openATTIC Users

Version of OS:
  • Ubuntu 16.04.1 amd64
  • Ubuntu 14.04.5 amd64
Also I can't do follow command: firewall-cmd --add-service=iscsi-target on Ubuntu 14.04. Error: INVALID_SERVICE: iscsi-target


 
Message has been deleted

icef...@gmail.com

unread,
Mar 21, 2017, 10:02:47 AM3/21/17
to openATTIC Users
targetcli ls Ubuntu 14.04


 o- / ............................................................................... [...]
  o- backstores ............................................................... [...]
  | o- fileio .................................................. [0 Storage Object]
  | o- iblock ............................................... [2 Storage Objects]
  | | o- nfs ......................................... [/dev/data/nfs activated]
  | | o- vol ......................................... [/dev/data/vol activated]
  | o- pscsi ................................................ [0 Storage Object]
  | o- rd_dr ................................................ [0 Storage Object]
  | o- rd_mcp ............................................... [0 Storage Object]
  o- ib_srpt ....................................................... [0 Targets]
  o- iscsi ......................................................... [2 Targets]
  | o- iqn.2003-01.org.linux-iscsi.opu.x8664:nfs ....................... [1 TPG]
  | | o- tpgt1 ....................................................... [enabled]
  | |   o- acls ........................................................ [1 ACL]
  | |   | o- iqn.2017-03.org.opu ......................... [1 Mapped LUN]
  | |   |   o- mapped_lun0 ......................................... [lun0 (rw)]
  | |   o- luns ........................................................ [1 LUN]
  | |   | o- lun0 ................................. [iblock/nfs (/dev/data/nfs)]
  | |   o- portals .................................................. [1 Portal]
  | |     o- 10.0.0.10:3260 ........................... [OK, iser disabled]
  | o- iqn.2003-01.org.linux-iscsi.opu.x8664:vol ....................... [1 TPG]
  |   o- tpgt1 ....................................................... [enabled]
  |     o- acls ........................................................ [1 ACL]
  |     | o- iqn.2017-03.org.opu ......................... [1 Mapped LUN]
  |     |   o- mapped_lun0 ......................................... [lun0 (rw)]
  |     o- luns ........................................................ [1 LUN]
  |     | o- lun0 ................................. [iblock/vol (/dev/data/vol)]
  |     o- portals .................................................. [1 Portal]
  |       o- 10.0.0.10:3260 ........................... [OK, iser disabled]
  o- loopback ...................................................... [0 Targets]
  o- qla2xxx ....................................................... [0 Targets]
  o- tcm_fc ........................................................ [0 Targets]


 
Reply all
Reply to author
Forward
0 new messages