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

David Noveck <davenoveck@gmail.com> Thu, 05 October 2023 11:16 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 F2FCEC13AE52; Thu, 5 Oct 2023 04:16:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 ClWt8aCxHTIf; Thu, 5 Oct 2023 04:16:11 -0700 (PDT)
Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (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 B3B50C14CF1A; Thu, 5 Oct 2023 04:16:11 -0700 (PDT)
Received: by mail-qk1-x734.google.com with SMTP id af79cd13be357-7741c2e76a3so51288985a.1; Thu, 05 Oct 2023 04:16:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696504570; x=1697109370; 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=L352KIg80b7VC1aGpfbbgve0kewPCiuCn4QREzIyU9c=; b=dHu/TVqjySpSNRfSSdCT3hCdP6S1Oq4ieRdPkG8w7d796wFEZXgtF2l9AUaXxDncVu DhDp6ekvyeoH2iP8o3hkGuPHjIwtP3ckveAGF+IYD13y0DjwUfcxqDsfqisSsMpKi+oP fPHiESsSk1F1gNmsMW7PY6kzURTSHHCgTqTolPhsdEDUr9o4FLU0HN9vOLzTU56yG+SG 95omah+Lu7TJnfgGUGXqkXx1tHC93z4DcWYwj1sIfLPBTaKsDAnZd8r58aL8pT7EjA6g dT9mgYBJBvimiNoEnjXLDurca6Te/+e7xMqmPZIk8DO4+jKRlEBcFfuP9nZPMVJKfFsO OYxA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696504570; x=1697109370; 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=L352KIg80b7VC1aGpfbbgve0kewPCiuCn4QREzIyU9c=; b=hUbG/vtuTfP0BgC/K664LX/cecyysmbjnCK/eZYZY6/7cqPlkmiYMMo4AZb9hHqg0/ ECcnv3bESluspf5PpvpjTAPRYxVxjUAu4ie3bMNtmZLVKt7u9V/LjxeHf0c+kGEcjmVI 4/FYBXLH5oF3qk0p09U6ffhMoXZm6+KMfGYGkP2FSLHUDteAcX0E2EtJrURipVQ0cki3 VvZO1m4TMFVlJqxVGLYCsYZZNJu6EXm6pacgqxzZO7crNQyPJ7SzvpZBP8rEGZK8b9Bk d4EJOMj7c9m1dJo17F/2E3tv6kbXHNaPjwKaGUp1ljke5JcfgqZdslj0hEQFwNYYR5hG IgUA==
X-Gm-Message-State: AOJu0Yy0aREcHT3+t26M77GM+kDb2oemslag8ASs3xGdA3I0cuCwsjSM pj2JWGwA8p/MJ6B9gNb2cSZZDBF5IRMpURCUZaKVZSSs
X-Google-Smtp-Source: AGHT+IGs1Lgowx9JL5XDkslc1liLhF7/kkx4vJ1muR7YgukhiujdI/XV9sm4pc9A7g0rBZN40HV1BEBGLYHhZUfYNPQ=
X-Received: by 2002:a0c:aaca:0:b0:647:2f9f:59f3 with SMTP id g10-20020a0caaca000000b006472f9f59f3mr4114525qvb.65.1696504570405; Thu, 05 Oct 2023 04:16:10 -0700 (PDT)
MIME-Version: 1.0
References: <CAEh=tcf3D5WbmtdzLNW-vrvrcAcMtOT26mwsYOfugt7y05irsg@mail.gmail.com>
In-Reply-To: <CAEh=tcf3D5WbmtdzLNW-vrvrcAcMtOT26mwsYOfugt7y05irsg@mail.gmail.com>
From: David Noveck <davenoveck@gmail.com>
Date: Thu, 05 Oct 2023 07:15:57 -0400
Message-ID: <CADaq8jfMyEVH4iQE_P9QvnUM1LPdaXT4n_CrEY=bY1KCppHhCg@mail.gmail.com>
To: Zaheduzzaman Sarker <zahed.sarker.ietf@gmail.com>
Cc: nfsv4@ietf.org, draft-ietf-nfsv4-delstid.all@ietf.org
Content-Type: multipart/alternative; boundary="00000000000047679f0606f64063"
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/zQzY7l5HirvV_OfrBY9eUwyfPBM>
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: Thu, 05 Oct 2023 11:16:13 -0000

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/


> # 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.


>
> # 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.


> # 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
>
>
>
>
>
>
>