HCA connections to an nvmet target timing out due to keep-alive timer

Solution Verified - Updated -

Issue

  • NVMe connections to both IB and Ethernet RDMA targets where the kato (keep alive timeout) is 5s are timing out.

    # Target
    nvmet: creating nvm controller 1 for subsystem nqn.2023-10.org.<> for NQN nqn.2014-08.org.nvmexpress:uuid:<uuid>.
    ....
    nvmet: adding nsid 1 to subsystem nqn.2023-10.org.<>
    nvmet_rdma: enabling port 1 (x.x.x.x:xxxx)
    nvmet: creating nvm controller 1 for subsystem nqn.2023-10.org.<> for NQN nqn.2014-08.org.nvmexpress:uuid:<uuid>.
    nvmet: ctrl 1 keep-alive timer (5 seconds) expired!
    nvmet: ctrl 1 fatal error occurred!
    nvmet: could not find controller 1 for subsys nqn.2023-10.org.<> / host nqn.2014-08.org.nvmexpress:uuid:<uuid>.
    
    # Initiator
    nvme nvme4: Connect Invalid Data Parameter, cntlid: 1
    

Environment

  • Red Hat Enterprise Linux 9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content