-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.0
-
None
-
No
-
None
-
rhel-storage-io-2
-
ssg_platform_storage
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
x86_64
-
None
What were you trying to do that didn't work?
TP8006 NVMe/FCP Bidirectional, Bidirectional-NONE, Unidirectional, Unidirectional-NONE based inband authentication fails to execute the connect-all command using json file.
Please provide the package NVR for which bug is seen:
kernel-6.12.0-55.7.1.el10_0.x86_64
libnvme-1.11.1-1.el10.x86_64
libblockdev-nvme-3.2.0-3.el10_0.x86_64
nvme-cli-2.11-5.el10.x86_64
ONTAP 9.16.1 ASA.
How reproducible: Consistent
Steps to reproduce
Host nqn :
[root@R650-14-194 ~]# cat /etc/nvme/hostnqn
nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0056-5410-8048-c7c04f425633
Host Key :
[root@R650-14-194 ~]# nvme gen-dhchap-key -m 3 nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0056-5410-8048-c7c04f425633
DHHC-1:03:ExDadgsMdhJP8BXCfqUgCFE3fptY2tGfZhYx7ozhklPCodOg3eBbefZqnTLFUkzPXbVMwO2hG8qpVpJP2pLhPOy7F4c=:
Controller Key :
[root@R650-14-194 ~]# nvme gen-dhchap-key -m 3 nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0056-5410-8048-c7c04f425633
DHHC-1:03:v34m+vBycJT89pE6J9tA7ce9Vj8300l5Iv+7aNyao1jSEjEn4Wx2TcXVpl1niBX/XZxWGrapYSZfoU/x/HCsrO43Yx4=:
AFF400-12-201-203::> nvme subsystem create -vserver vs_nvmefc_inband -subsystem nvme_inband_test -ostype linux
(vserver nvme subsystem create)
AFF400-12-201-203::> vserver nvme subsystem host add -vserver vs_nvmefc_inband -subsystem nvme_inband_test -host-nqn nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0056-5410-8048-c7c04f425633 -dhchap-dh-group 8192-bit -dhchap-hash-function sha-512 -dhchap-host-secret-key DHHC-1:03:ExDadgsMdhJP8BXCfqUgCFE3fptY2tGfZhYx7ozhklPCodOg3eBbefZqnTLFUkzPXbVMwO2hG8qpVpJP2pLhPOy7F4c=: -dhchap-controller-secret-key DHHC-1:03:v34m+vBycJT89pE6J9tA7ce9Vj8300l5Iv+7aNyao1jSEjEn4Wx2TcXVpl1niBX/XZxWGrapYSZfoU/x/HCsrO43Yx4=:
AFF400-12-201-203::> nvme subsystem host show -vserver vs_nvmefc_inband -subsystem nvme_inband_test
(vserver nvme subsystem host show)
Vserver Subsystem Priority Host NQN
------- --------- -------- ------------------------------------------------
vs_nvmefc_inband
nvme_inband_test
regular nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0056-5410-8048-c7c04f425633
AFF400-12-201-203::> nvme subsystem host show -vserver vs_nvmefc_inband -subsystem nvme_inband_test -instance
(vserver nvme subsystem host show)
Vserver Name: vs_nvmefc_inband
Subsystem: nvme_inband_test
Host NQN: nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0056-5410-8048-c7c04f425633
Host Priority: regular
Number of I/O Queue Pairs: -
I/O Queue Depth: -
Authentication Hash Function: sha-512
Authentication Diffie-Hellman Group: 8192-bit
Authentication Mode: bidirectional
TLS Key Type: none
AFF400-12-201-203::> nvme subsystem host show -vserver vs_nvmefc_inband -subsystem nvme_inband_test -fields dhchap-mode,dhchap-hash-function,dhchap-dh-group
(vserver nvme subsystem host show)
vserver subsystem host-nqn dhchap-hash-function dhchap-dh-group dhchap-mode
---------------- ---------------- -------------------------------------------------------------------- -------------------- --------------- -------------
vs_nvmefc_inband nvme_inband_test nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0056-5410-8048-c7c04f425633 sha-512 8192-bit bidirectional
AFF400-12-201-203::>
Expected results : nvme connect-all should succeed for the subsystems populated in the config.json file. **