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

Thomas Haynes <loghyr@gmail.com> Fri, 06 October 2023 02:15 UTC

Return-Path: <loghyr@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 5EF39C180EAF; Thu, 5 Oct 2023 19:15:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.104
X-Spam-Level:
X-Spam-Status: No, score=-1.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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, 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=no 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 YgytZDS45ao8; Thu, 5 Oct 2023 19:15:54 -0700 (PDT)
Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) (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 698D2C15C533; Thu, 5 Oct 2023 19:15:54 -0700 (PDT)
Received: by mail-yb1-xb34.google.com with SMTP id 3f1490d57ef6-d81b42a3108so1904562276.1; Thu, 05 Oct 2023 19:15:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696558553; x=1697163353; darn=ietf.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=T/Wzs7UxqzymZEHFQawWz+gtC/m1IS1Xb7JIL30aTdU=; b=GxZaG+/mG7iQMuInLZnUcNK43w6rJ6dU7vTnj2Z9oN4YYiy9OVaiYa3YTKHgHzQvVH LZyI9YKo5r6J5ijnA/CN/UpBXmL4aAq8dbPCKYfjb1yO9xo6dyR79j0ni2H6bkHGjSab 3vZ69a9bDXTLgL3UHKY5fUbisb1mbeo/THR2orzGOt5ekIQHcE/Y6U8HqlVDas9xMRTs gzBaz1r91GvV51sqf96SpCtuaGLpmN17Jky0M1L6PQOexz30szaLw1pnnnSB5W+zn+cG bW7Hfu1cT3KLKRXbRPsaR+pR4JgCNdZ1iaibxzzBneA5rJQNxNv0jXXBYEcd7H1GQmga Y/+Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696558553; x=1697163353; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=T/Wzs7UxqzymZEHFQawWz+gtC/m1IS1Xb7JIL30aTdU=; b=MombuJS2chXqCaaTObvVYzDANU0nAVhO0aadXzDp0peKR7IBqsvwkgomUIMTCXnuIk h7P/K55Vrps5EvX3bvHvMmwBZJw7uk8pE1YcYddKxtC1QhJsnknv0mwBX++j6hB2OUOQ AvXZVR89FoIcrH48vCGKiukR1I6YQ0NDH/iT9CjlwFn0IaYQswMtflU8BYCawjtFCvQe hskZQ2HmpZbjVkWn0MtGm4mHM2sFKI4Mo8ZEn5D7ciSk8w8M9rNk1xRlwvy3wyrElMdU hW6snII8ytZDCKyMie9LONEzLF/a6pY3cbiVvwi49dNMC7iRPjK0nKEtQohxudcZBDUe LJcg==
X-Gm-Message-State: AOJu0Yx/HcVKHMoV5IjAKmgIIIM7dqH/jyh8uLVXcehdQIfZaPTRzRy5 sozF0i3HDD+n26AA8CT+sp8=
X-Google-Smtp-Source: AGHT+IEPIwShYnobUkMqQpbGU7GVBlcq2RK2r/DZcsDjysFfWO95LyU+8/BLoszNeZt3Up0ewIFg5g==
X-Received: by 2002:a25:f604:0:b0:d84:e754:d541 with SMTP id t4-20020a25f604000000b00d84e754d541mr7324230ybd.4.1696558553360; Thu, 05 Oct 2023 19:15:53 -0700 (PDT)
Received: from smtpclient.apple ([2601:647:4500:91:1c6b:57df:562e:2476]) by smtp.gmail.com with ESMTPSA id h8-20020a63b008000000b0057e13ed796esm2098551pgf.60.2023.10.05.19.15.52 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Oct 2023 19:15:52 -0700 (PDT)
From: Thomas Haynes <loghyr@gmail.com>
Message-Id: <576F6B76-0508-4255-A248-114B78584334@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_46909930-903C-4AF4-BF42-934B5561B8D8"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\))
Date: Thu, 05 Oct 2023 19:15:49 -0700
In-Reply-To: <CAEh=tcff9ebdP2xceJMoOuYEyMOMNa0X14U+N08-5Oiq52Wwcw@mail.gmail.com>
Cc: David Noveck <davenoveck@gmail.com>, NFSv4 <nfsv4@ietf.org>, draft-ietf-nfsv4-delstid.all@ietf.org
To: Zaheduzzaman Sarker <zahed.sarker.ietf@gmail.com>
References: <CAEh=tcf3D5WbmtdzLNW-vrvrcAcMtOT26mwsYOfugt7y05irsg@mail.gmail.com> <CADaq8jfMyEVH4iQE_P9QvnUM1LPdaXT4n_CrEY=bY1KCppHhCg@mail.gmail.com> <CAEh=tcff9ebdP2xceJMoOuYEyMOMNa0X14U+N08-5Oiq52Wwcw@mail.gmail.com>
X-Mailer: Apple Mail (2.3654.120.0.1.15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/__oZ68dtHFQ9YqkAC_5qHOlVagI>
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 02:15:55 -0000


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

I’ll address the rest of the issues once I get some time, but I clarified what I meant in the XDR section.


> 
> 
> On Thu, Oct 5, 2023 at 1:16 PM David Noveck <davenoveck@gmail.com <mailto:davenoveck@gmail.com>> wrote:
> 
> 
> On Thu, Oct 5, 2023 at 6:43 AM Zaheduzzaman Sarker <zahed.sarker.ietf@gmail.com <mailto: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.
>  
> 
> 
> # 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, 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 and refer to "the practice"
> 


The intent of the paragraph is that:

    While you could take the XDR generated from RFC7863 and append the new XDR to the end, what you should do is place the new XDR in the corresponding place inside that of RFC7863.

This is entirely a procedural process for people who maintain their own .x files. There is no notion that is updates or replace RFC7863.




> //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
> 
> 
>  
> 
> 
> 
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org <mailto:nfsv4@ietf.org>
> https://www.ietf.org/mailman/listinfo/nfsv4 <https://www.ietf.org/mailman/listinfo/nfsv4>