Linux NFS development
 help / color / mirror / Atom feed
From: marc eshel <eshel.marc@gmail.com>
To: Olga Kornievskaia <aglo@umich.edu>
Cc: Anna Schumaker <schumaker.anna@gmail.com>,
	"linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>,
	Trond Myklebust <trondmy@hammerspace.com>
Subject: Re: NFS client to pNFS DS
Date: Fri, 9 Aug 2024 09:26:59 -0700	[thread overview]
Message-ID: <4851b332-b3d1-4f45-9fcf-5c42b8d5b483@gmail.com> (raw)
In-Reply-To: <CAN-5tyHMAWmnwgfR7ih_7ygUUfOdGfE7ntf2nxRTFY+USy2HYQ@mail.gmail.com>


On 8/9/24 8:15 AM, Olga Kornievskaia wrote:
> On Fri, Aug 9, 2024 at 10:09 AM marc eshel <eshel.marc@gmail.com> wrote:
>> Thanks for the replies, I am a little rusty with debugging NFS but this what I see when the NFS client tried to create a session with the DS.
>>
>> Ganesha was configured for sec=sys and the client mount had the option sec=sys, I assume flavor 390004 means it was trying to use krb5i.
> For 4.1, the client will always try to do state operations with krb5i
> even when sec=sys when the client detects that it's configured to do
> Kerberos (ie., gssd is running). This context creation is triggered
> regardless of whether the rpc client is used for MDS or DS.
>
> My question to you: is the MDS configured with Kerberos but the DS
> isn't? And also, does this lead to a failure?
Both MDS DS are configured for sec=sys and it is leading to client 
switching from DS to MDS so yes, it is pNFS failure. What I see on the 
DS is the client creating a session and than imminently destroying it 
before committing it. If the is something else that I can debug I will 
be happy to.

Marc.

>
>> Jul 30 11:10:58 svl-marcrh-node-1 kernel: RPC:       Couldn't create
>> auth handle (flavor 390004)
>>
>> Marc.
>>
>> On 8/9/24 6:06 AM, Anna Schumaker wrote:
>>
>> On Thu, Aug 8, 2024 at 6:07 PM Olga Kornievskaia <aglo@umich.edu> wrote:
>>
>> On Mon, Aug 5, 2024 at 5:51 PM marc eshel <eshel.marc@gmail.com> wrote:
>>
>> Hi Trond,
>>
>> Will the Linux NFS client try to us krb5i regardless of the MDS
>> configuration?
>>
>> Is there any option to avoid it?
>>
>> I was under the impression the linux client has no way of choosing a
>> different auth_gss security flavor for the DS than the MDS. Meaning
>>
>> That's a good point, I completely missed that this is specifically for the DS.
>>
>> that if mount command has say sec=krb5i then both MDS and DS
>> connections have to do krb5i and if say the DS isn't configured for
>> Kerberos, then IO would fallback to MDS. I no longer have a pnfs
>>
>> That's what I would expect, too.
>>
>> server to verify whether or not what I say is true but that is what my
>> memory tells me is the case.
>>
>>
>> Thanks, Marc.
>>
>> ul 30 11:10:58 svl-marcrh-node-1 kernel: nfs4_fl_alloc_deviceid_node
>> stripe count  1
>> Jul 30 11:10:58 svl-marcrh-node-1 kernel: nfs4_fl_alloc_deviceid_node
>> ds_num 1
>> Jul 30 11:10:58 svl-marcrh-node-1 kernel: RPC:       Couldn't create
>> auth handle (flavor 390004)
>>
>>

  reply	other threads:[~2024-08-09 16:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <c4f1d8bf-745b-4a98-9d38-2da4c355d691@gmail.com>
2024-07-29 21:56 ` NFS client failure marc eshel
2024-08-05 21:51   ` NFS client to pNFS DS marc eshel
2024-08-08 14:22     ` Anna Schumaker
2024-08-08 22:07     ` Olga Kornievskaia
2024-08-09 13:06       ` Anna Schumaker
2024-08-09 14:29         ` marc eshel
     [not found]         ` <8ab0fd49-0c90-42bd-a34e-9dcf63a99bd5@gmail.com>
2024-08-09 15:15           ` Olga Kornievskaia
2024-08-09 16:26             ` marc eshel [this message]
2024-08-10 21:20               ` Olga Kornievskaia
2024-08-11 19:41                 ` Mkrtchyan, Tigran
2024-08-11 19:50                   ` marc eshel
2024-08-12  6:52                     ` Mkrtchyan, Tigran
2024-08-12 14:37                       ` marc eshel
2024-09-09 23:23                   ` marc eshel
2024-09-10  7:23                     ` Mkrtchyan, Tigran
2024-09-11  5:54                       ` Marc Eshel
2024-09-13 16:46                       ` pNFS client is not using the stripe value marc eshel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4851b332-b3d1-4f45-9fcf-5c42b8d5b483@gmail.com \
    --to=eshel.marc@gmail.com \
    --cc=aglo@umich.edu \
    --cc=linux-nfs@vger.kernel.org \
    --cc=schumaker.anna@gmail.com \
    --cc=trondmy@hammerspace.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox