Linux NFS development
 help / color / mirror / Atom feed
From: "Mkrtchyan, Tigran" <tigran.mkrtchyan@desy.de>
To: marc eshel <eshel.marc@gmail.com>
Cc: Olga Kornievskaia <aglo@umich.edu>,
	 schumaker anna <schumaker.anna@gmail.com>,
	 linux-nfs <linux-nfs@vger.kernel.org>,
	 Trond Myklebust <trondmy@hammerspace.com>
Subject: Re: NFS client to pNFS DS
Date: Mon, 12 Aug 2024 08:52:05 +0200 (CEST)	[thread overview]
Message-ID: <1030980705.45726678.1723445525556.JavaMail.zimbra@desy.de> (raw)
In-Reply-To: <24bf013f-78af-4d05-80ae-1b35ed54c6a0@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4358 bytes --]



----- Original Message -----
> From: "marc eshel" <eshel.marc@gmail.com>
> To: "Tigran Mkrtchyan" <tigran.mkrtchyan@desy.de>, "Olga Kornievskaia" <aglo@umich.edu>
> Cc: "schumaker anna" <schumaker.anna@gmail.com>, "linux-nfs" <linux-nfs@vger.kernel.org>, "Trond Myklebust"
> <trondmy@hammerspace.com>
> Sent: Sunday, 11 August, 2024 21:50:36
> Subject: Re: NFS client to pNFS DS

> On 8/11/24 12:41 PM, Mkrtchyan, Tigran wrote:
>>> On 10. Aug 2024, at 23:20, Olga Kornievskaia <aglo@umich.edu> wrote:
>>>
>>> On Fri, Aug 9, 2024 at 12:27 PM marc eshel <eshel.marc@gmail.com> wrote:
>>>>
>>>> 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.
>>> pnfs failure is unexpected. I'm pretty confident that a non-kerberos
>>> configured client can do normal pnfs with sec=sys. I can help debug,
>> Yes, I can confirm that. All RHEL kernels and weekly -rc kernels from Linus
>> works as expected. We mount always with sec=sys, and despite the fact, that
>> hosts configured to support kerberos due to AFS and GPFS, the access to DSes is
>> never an issue and never tries to use kerberos.
>>
>> Tigran.
> 
> Hi Tigran,
> 
> It is possible that it is failing back to MDS for another reason and the
> error message that I see is not the reason for the failure. Are you
> using pNFS with Ganesha and GPFS?
> 
> Marc.

Hi Marc,

pNFS is used exclusively with dCache. Can you provide the packet capture
of failing pNFS traffic, like mount + cp + umount?

Best regards,
   Tigran.

> 
>>
>>> if you want to send me a network trace and tracepoint output. Btw what
>>> kernel/distro are you using?
>>>
>>>> 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)
>>>>>>

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 2826 bytes --]

  reply	other threads:[~2024-08-12  6:52 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
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 [this message]
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=1030980705.45726678.1723445525556.JavaMail.zimbra@desy.de \
    --to=tigran.mkrtchyan@desy.de \
    --cc=aglo@umich.edu \
    --cc=eshel.marc@gmail.com \
    --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