Uploaded image for project: 'RHEL Documentation'
  1. RHEL Documentation
  2. RHELDOCS-20616

[RHEL 9.6: nvme connect-all] kernel: nvme nvmeX: qid 0: authentication failed, error -129

XMLWordPrintable

    • None
    • rhel-sst-ccs
    • ssg_platform_storage
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • CCS 2025-14
    • None
    • Release Note Not Required
    • Done
    • Done
    • Not Required

      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: 5.14.0-570.12.1.el9_6.x86_64
      nvme-cli: libnvme-1.11.1-1.el9.x86_64; nvme-cli-2.11-5.el9.x86_64

      ONTAP 9.16.1 ASA. 

      How reproducible:  Consistent

      Steps to reproduce

      Host nqn :
      [root@R650-14-188 ~]# cat /etc/nvme/hostnqn
      nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0056-5410-8048-b9c04f425633
      [root@R650-14-188 ~]#

      Host Key :
      [root@R650-14-188 ~]# nvme gen-dhchap-key -m 3 nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0056-5410-8048-b9c04f425633
      DHHC-1:03:k6/KUluNLIHj4j/XG6/fzeVsvheIfgTu+QE06fM1ih/g8koQFjqt7rOPTcJwY8hzqkDAvBtk1SOuXlmh7qpJD/UQCVw=:
      Controller Key :
      [root@R650-14-188 ~]# nvme gen-dhchap-key -m 3 nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0056-5410-8048-b9c04f425633
      DHHC-1:03:qKmvPOJYtIBipXrSq001qiiREqFRI4dAXUogPPUxwz4PDdkCGFeo+WsXNy3JCvKL2HGKSvxIhDPIuGZZbnr/Hxu4qic=:[root@R650-14-188 ~]#

      A400-12-166-168::> nvme subsystem create -vserver vs_coexistence_LPE36002_1 -subsystem inband_test -ostype linux
      (vserver nvme subsystem create)

      A400-12-166-168::>

      A400-12-166-168::> vserver nvme subsystem host add -vserver vs_coexistence_LPE36002_1 -subsystem inband_test -host-nqn nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0056-5410-8048-b9c04f425633 -dhchap-dh-group 8192-bit -dhchap-hash-function sha-512 -dhchap-host-secret-key DHHC-1:03:k6/KUluNLIHj4j/XG6/fzeVsvheIfgTu+QE06fM1ih/g8koQFjqt7rOPTcJwY8hzqkDAvBtk1SOuXlmh7qpJD/UQCVw=: -dhchap-controller-secret-key HHC-1:03:qKmvPOJYtIBipXrSq001qiiREqFRI4dAXUogPPUxwz4PDdkCGFeo+WsXNy3JCvKL2HGKSvxIhDPIuGZZbnr/Hxu4qic=:

      A400-12-166-168::>
      A400-12-166-168::> nvme subsystem host show -vserver vs_coexistence_LPE36002_1 -subsystem inband_test
      (vserver nvme subsystem host show)
      Vserver Subsystem Priority ost NQN
      ------- --------- -------- -----------------------------------------------
      vs_coexistence_LPE36002_1
      inband_test
      regular nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0056-5410-8048-b9c04f425633

      A400-12-166-168::>
      A400-12-166-168::>
      A400-12-166-168::> nvme subsystem host show -vserver vs_coexistence_LPE36002_1 -subsystem inband_test -instance
      (vserver nvme subsystem host show)

      server Name: vs_coexistence_LPE36002_1
      Subsystem: inband_test
      ost NQN: nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0056-5410-8048-b9c04f425633
      Host Priority: regular
      Number of I/O Queue Pairs: -
      I/O Queue Depth: -
      uthentication Hash Function: sha-512
      Authentication Diffie-Hellman Group: 8192-bit
      Authentication Mode: bidirectional
      LS Key Type: none

      A400-12-166-168::> vs nvme subsystem host show -vserver vs_coexistence_LPE36002_1 -subsystem 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_coexistence_LPE36002_1 inband_test nqn.2014-08.org.nvmexpress:uuid:4c4c4544-0056-5410-8048-b9c04f425633 sha-512 192-bit idirectional

      A400-12-166-168::>

       

      Expected results :  nvme connect-all should succeed for the subsystems populated in the config.json file. ** 

      Actual results:    nvme connect-all fails to establish the connect. 

              rhn-support-vaashiro Valentina Ashirova
              netapp-sanisan Arun Kumar c
              NetApp Confidential Group
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated:
                Resolved: