Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Feb 2022 23:47:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 261291] ESX NFS4.1 client hangs, server never responds to EXCHANGE_ID/CREATE_SESSION
Message-ID:  <bug-261291-227-DrXWh7p2cp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261291-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-261291-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261291

--- Comment #15 from Rick Macklem <rmacklem@FreeBSD.org> ---
Well, deciding what the correct error is can be fun.
Here's the definition of NFS4ERR_SEQ_MISORDERED
in RFC5661:
15.1.11.8.  NFS4ERR_SEQ_MISORDERED (Error Code 10063)

   The requester sent a Sequence operation with an invalid sequence ID.

It seems to indicate the error is specifically for the Sequence operation.

But, it does appear that you are correct, since in the implementation
of CREATE_SESSION, it talks about a single slot session just for
EXCHANGE_ID/CREATE_SESSION and returning NFS4ERR_SEQ_MISORDERED when
it is not correct.

I'll come up with a patch for this and attach it to this PR, but I
doubt it will fix this problem.

nfsrevoke causes the sever to reply NFS4ERR_ADMIN_REVOKED when
the client ID is referenced by the client. This probably causes the
client to throw away its notion of the client ID and then I suspect
it gets the seqid in CREATE_SESSION correct.
(Looking at the packet trace for this case could be interesting.;-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261291-227-DrXWh7p2cp>