FS#64991 - open-iscsi CHAP login failed in 2.1.0-1

Attached to Project: Community Packages
Opened by ivan (ioann) - Tuesday, 31 December 2019, 05:38 GMT
Last edited by Toolybird (Toolybird) - Thursday, 20 April 2023, 07:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After upgrading open-iscsi to 2.1.0-1 everyday CHAP auth login stopped working.
Login to target without CHAP is successful.

Additional info:
open-iscsi 2.1.0-1


Steps to reproduce:
1. update to 2.1.0-1
2. QNAP NAS iscsi with CHAP auth target.

3.:
#iscsiadm --mode node --target iqn.2004-04.com.qnap:yyy:iscsi.yyy.yyy --login
Logging in to [iface: default, target: iqn.2004-04.com.qnap:yyy:iscsi.yyy.yyy, portal: X.X.X.X,3260]
iscsiadm: Could not login to [iface: default, target: iqn.2004-04.com.qnap:yyy:iscsi.yyy.yyy, portal: X.X.X.X,3260].
iscsiadm: initiator reported error (24 - iSCSI login failed due to authorization failure)
iscsiadm: Could not log into all portals



Downgrading to previous version fixes login with CHAP
#downgrade open-iscsi
...

# pacman -sQ open-iscsi
local/open-iscsi 2.0.877-2
iSCSI userland tools

#systemctl restart iscsid
#systemctl restart iscsi

#iscsiadm --mode node --target iqn.2004-04.com.qnap:yyy:iscsi.yyy.yyy --login
Logging in to [iface: default, target: iqn.2004-04.com.qnap:yyy:iscsi.yyy.yyy, portal: X.X.X.X,3260]
Login to [iface: default, target: iqn.2004-04.com.qnap:yyy:iscsi.yyy.yyy, portal: X.X.X.X,3260] successful.
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 20 April 2023, 07:42 GMT
Reason for closing:  None
Additional comments about closing:  Old and stale. Assuming it was fixed somewhere along the way.

Loading...