I am able to discover and login into the Target from the iscsi client and CHAP is also configured to authenticate to/from the ISCSI Initiator client. I am getting the following error when trying logging out from the target to check if the CHAP config is working as expected while log back in,
[root@ltolx2020 ~]# iscsiadm --mode node --target iqn.1992-08.com.redhat:sn.120f265e82be345ecb111d039ea331262:vs.14 --portal 10.85.64.270 --logout Logging out of session [sid: 1, target: iqn.1992-08.com.redhat:sn.120f265e82be345ecb111d039ea331262:vs.14, portal: 10.85.64.270 ,3260] iscsiadm: Could not logout of [sid: 1, target: iqn.1992-08.com.redhat:sn.120f265e82be345ecb111d039ea331262:vs.14, portal: 10.85.64.270,3260]. iscsiadm: initiator reported error (9 - internal error) iscsiadm: Could not logout of all requested sessions