Re: [nfsv4] AD review: draft-ietf-nfsv4-delstid-03

David Noveck <davenoveck@gmail.com> Fri, 06 October 2023 00:14 UTC

Return-Path: <davenoveck@gmail.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 47BD0C151527; Thu, 5 Oct 2023 17:14:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.104
X-Spam-Level:
X-Spam-Status: No, score=-7.104 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9oRLE_yEvPiR; Thu, 5 Oct 2023 17:14:21 -0700 (PDT)
Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EAA5FC15109A; Thu, 5 Oct 2023 17:14:20 -0700 (PDT)
Received: by mail-qv1-xf2f.google.com with SMTP id 6a1803df08f44-65b0383f618so8816876d6.1; Thu, 05 Oct 2023 17:14:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696551260; x=1697156060; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=A6MLNkVciI2299FE7k/NIEirjm1ZkxImI2+OJ40Nt/s=; b=A/SLWm9GIOy9jz7z+IW0pMk3zAy17RjcW5emAehHpLBV14Lofv5zgHgF3cEDqVb3OV 3jUIeRHbvddAcCuWpmcO5KQt02J3wpPwOJ5a4hKRcO3NFzwQ1MIM+nS1arpVYTPGAqsL yQIM/AFMFrIxUSuoPkx96lOWG/v7AqO8FeImdPSFHDZtJ2jONP199i9sKxiWJ8skYr7+ Rd5n5VigemRAPzx6zcAb4uzXpnwQ4MCHh7XDFAo9jGpGXnbYTh+jwiZ2p0fl29f2Jkhs l30xRZOO6sSgb093Lv6KGCPGdanvrzvTVtD23VhUSznEbIrFpyms/PFR9ep0SnYN9GI2 5ogQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696551260; x=1697156060; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=A6MLNkVciI2299FE7k/NIEirjm1ZkxImI2+OJ40Nt/s=; b=KnC1otz9gu9UY1GVO1m4Y5OAOynaEhDYhbBSVo5Yqy5DDW2jG6aKkqCLQxbDFYDf+V KczzZM/zlMX9LUmi5VyKVZ8ziq946XaCdM5Ir35KAIpddIy3KFDzkF119XyS9rFgYQc4 qN0kCWrv/TdTLgBUbZFMYWv1JPBi3epZebLM1HDu39K+zip0YnFDq+2Lx2/1+xVIqYb8 XhyoORVuscW9PfLfqaEH57qAiix7v8pGQN33/ILULKJLiLb4cFl/OQWJ+5TFd7Zb3G10 NQxg9yrS6iaufQplqaml4wNbA572Zz2zy6m/ujMpditBEBkFgE975KXQA2HARtv2bCPk Xx5Q==
X-Gm-Message-State: AOJu0YzHJGoI5UXsP+4UX3TJ17fp26apXJDMYVF2LGjG0KSSMp+UlWuO 7OZnfgAKjB3eoelK+yVP9S7CzIEy3sRnmqg+9fk=
X-Google-Smtp-Source: AGHT+IGpC2w2bdlTAz5ZnnKVvoV0S4/d76HIPC9Tzg46/erLSdHhde/t1aIAXCmxhJ5AX4TqovSigQ2p/qWleDyLIDs=
X-Received: by 2002:a0c:a809:0:b0:65d:343:8e50 with SMTP id w9-20020a0ca809000000b0065d03438e50mr5817979qva.3.1696551259891; Thu, 05 Oct 2023 17:14:19 -0700 (PDT)
MIME-Version: 1.0
References: <CAEh=tcf3D5WbmtdzLNW-vrvrcAcMtOT26mwsYOfugt7y05irsg@mail.gmail.com> <CADaq8jfMyEVH4iQE_P9QvnUM1LPdaXT4n_CrEY=bY1KCppHhCg@mail.gmail.com> <CAEh=tcff9ebdP2xceJMoOuYEyMOMNa0X14U+N08-5Oiq52Wwcw@mail.gmail.com>
In-Reply-To: <CAEh=tcff9ebdP2xceJMoOuYEyMOMNa0X14U+N08-5Oiq52Wwcw@mail.gmail.com>
From: David Noveck <davenoveck@gmail.com>
Date: Thu, 05 Oct 2023 20:14:09 -0400
Message-ID: <CADaq8jfVE95Y46qRFp2deKmSyvoC6LFrPXJRRdKu_6v7VDbMUw@mail.gmail.com>
To: Zaheduzzaman Sarker <zahed.sarker.ietf@gmail.com>
Cc: NFSv4 <nfsv4@ietf.org>, draft-ietf-nfsv4-delstid.all@ietf.org
Content-Type: multipart/alternative; boundary="000000000000306e280607011ff4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/QGx_wRzkh_pYBzlzdZ9FKiYOB0w>
Subject: Re: [nfsv4] AD review: draft-ietf-nfsv4-delstid-03
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nfsv4/>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Oct 2023 00:14:23 -0000

On Thu, Oct 5, 2023, 7:42 AM Zaheduzzaman Sarker <
zahed.sarker.ietf@gmail.com> wrote:

>
>
> On Thu, Oct 5, 2023 at 1:16 PM David Noveck <davenoveck@gmail.com> wrote:
>
>>
>>
>> On Thu, Oct 5, 2023 at 6:43 AM Zaheduzzaman Sarker <
>> zahed.sarker.ietf@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> Now I have done my AD review of draft-ietf-nfsv4-delstid-03. I think
>>> this document needs some rewrites and clarifications before we can proceed
>>> further. See my comments below.
>>>
>>> Comments :
>>>
>>> # We need a section describing what are we updating in a nutshell. The
>>> way it is now written makes it is extremely difficult to understand what
>>> has been modified/amended/updated compared to RFC 8881.
>>>
>>
>> Since this is an extension to NFSv4.2,, the comparison should be to
>> RFC7862/
>>
>
> The point here is to be clear about what we are doing.
>

Fair enough.



>
>>
>>
>>> # Please clearly mention that this specification will update RFC8881 in
>>> the abstract.
>>>
>>
>> It does not update really RFC8881, even though the header says it does.
>> Although the title says "NFSv4.2", it does not need to update RFC7862
>> either.  Please see RFC 8178  regarding this issue.
>>
> So this means this document should not really say it is updating any of
> those RFCs
>

Yes.

or?
>
>>
>>
>>>
>>> # Why are we defining delegation and stateid again here? What is the
>>> change in the definition that requires the redefinition ? Can't we use what
>>> is defined in RFC8881?
>>>
>>> # Proxy definition : does this mean the client is proxying to itself?
>>> Can this proxy be somewhere in the network between the client and server.
>>> RFC8881 states server could also act as proxy hence this proxy definition
>>> needs to be clear about who can be proxy. I would also like to understand
>>> the difference between delegation and proxying.
>>>
>>> # I would strongly suggest to define/describe "offline files". I have
>>> hard time understanding of a file being offline from whos perspective? Will
>>> a file be considered offline if the client for some reason cannot access
>>> the cloud storage or is this only about archived files?
>>>
>>> # Please explain or describe the code blocks, otherwise they seems to
>>> come out of nowhere and does not fit themselves well in the sections.
>>>
>>> # I think we should gather all the new flags defined in one section or
>>> sub-section and describe them. This will also help to see what are we
>>> updating.
>>>
>>> # As we are defining new procedure and new flag, how are we handling the
>>> errors (we not have number of MUSTs, RECOMMENDs and SHOULDs)?
>>>
>>> # Section 3:
>>>     - It says -
>>>          "If the client gets both a open and a delegation stateid as
>>> part of the OPEN, then it has to return them both."
>>>     Return to where?
>>>     - Where is OPEN4_SHARE_ACCESS_WANT_OPEN_XOR_DELEGATION and
>>> OPEN4_RESULT_NO_OPEN_STATEID  delegation flags defined ?
>>>
>>> # Section 3.1:
>>>    - Put a reference to the "CLOSE operation".
>>>    - Where is OPEN_ARGS_SHARE_ACCESS_WANT_OPEN_XOR_DELEGATION flag
>>> defined?
>>>    - What is DELEGRETURN? yes, refer to RFC8881.
>>>
>>> # Section 4:
>>>    - I am not sure I understand the statement - "While it is the
>>> authority for these values, it has no way to transfer these values to the
>>> server when the delegation is being returned and the server reclaims its
>>> authority with regard to these values."
>>>      I thought DELEGRETURN is a way to transfer or return those values.
>>> RFC 8881 says - "Delegations may be returned voluntarily (i.e., before
>>> the server has recalled them) or when recalled. In either case, the client
>>> must properly propagate state changed under the context of the delegation
>>> to the server before returning the delegation". Can we please explain
>>> it in a better way, like what values we are taking about and why they cant
>>> be transferred?.
>>>     - "These new attributes are invalid GETATTR, VERIFY, and NVERIFY" -
>>> there is something missing in this statement. "invalid to be used with" ?
>>>     - Please describe/explain/reference - "old times", "past the current
>>> time", and "original time". also put references for "access time", "change
>>> time", "modify time".
>>>     - Where is FATTR4_TIME_DELEG_ACCESS and FATTR4_TIME_DELEG_MODIFY
>>> defined?
>>>     - Give a ref to NFS4ERR_DELAY.
>>>
>>> # Section 4.1 seems to me a good motivation for this extension, may be
>>> we should uplift if to a separate motivation section.
>>>
>>> # Section 4.2: If we want someone to review this document, how would one
>>> read this section? please describe the code blocks, what they do or mean or
>>> related to the sections where these blocks are described.
>>>
>>> # May be section 5 is misplaced, may be we should have it before section
>>> 3 and 4, so we define them and then show how the are used. the alternative
>>> would be to refer them from section 3 and section 4.
>>>
>>> # Section 5:
>>>     - It says - " client MUST determine that the additional new OPTIONAL functionality
>>> to OPEN is also not supported". what is the procedure for the client to
>>> determine that?
>>>
>>> # Section 6:
>>>     - It says - "While the XDR can be appended to that from [RFC7863
>>> <https://www.ietf.org/archive/id/draft-ietf-nfsv4-delstid-03.html#RFC7863>
>>> ], the various code snippets belong in their respective areas of the
>>> that XDR.". Does this mean this document also should update RFC7863?
>>>
>>
>> I don't think it should do so.  That hasn't been the practice with other
>> extensions to NFSv4.2.
>>
>
> Then that referred statement need to be elaborated to reflect what it
> actually does.  Like could append but not update the original RFC7863
>

Yes.

and refer to "the practice"
>

Not sure what that means.


> //Zahed
>
>
>>
>>> # Section 7: in this specification we are extending some capabilities
>>> for client delegation. I think we need more convincing description that
>>> there is not security concerns here.
>>>
>>> //Zahed
>>>
>>>
>>>
>>>
>>>
>>>
>>>