Re: [nfsv4] Opsdir last call review of draft-ietf-nfsv4-flex-files-15

Linda Dunbar <linda.dunbar@huawei.com> Thu, 04 January 2018 21:54 UTC

Return-Path: <linda.dunbar@huawei.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 4BAA9127077; Thu, 4 Jan 2018 13:54:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.231
X-Spam-Level:
X-Spam-Status: No, score=-4.231 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xvVKaNx11MRM; Thu, 4 Jan 2018 13:54:14 -0800 (PST)
Received: from huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D7440126E3A; Thu, 4 Jan 2018 13:54:13 -0800 (PST)
Received: from lhreml703-cah.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 5B62DAA98C63A; Thu, 4 Jan 2018 21:54:09 +0000 (GMT)
Received: from SJCEML702-CHM.china.huawei.com (10.208.112.38) by lhreml703-cah.china.huawei.com (10.201.108.44) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 4 Jan 2018 21:54:11 +0000
Received: from SJCEML521-MBS.china.huawei.com ([169.254.2.170]) by SJCEML702-CHM.china.huawei.com ([169.254.4.18]) with mapi id 14.03.0361.001; Thu, 4 Jan 2018 13:54:06 -0800
From: Linda Dunbar <linda.dunbar@huawei.com>
To: Thomas Haynes <loghyr@primarydata.com>
CC: "ops-dir@ietf.org" <ops-dir@ietf.org>, "draft-ietf-nfsv4-flex-files.all@ietf.org" <draft-ietf-nfsv4-flex-files.all@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Thread-Topic: [nfsv4] Opsdir last call review of draft-ietf-nfsv4-flex-files-15
Thread-Index: AQHThaXCujIKeH+ZU0iJs597bcy2EaNkQXgQ
Date: Thu, 04 Jan 2018 21:54:05 +0000
Message-ID: <4A95BA014132FF49AE685FAB4B9F17F66AFEF08C@sjceml521-mbs.china.huawei.com>
References: <151509179800.23726.16296513657477216313@ietfa.amsl.com> <E8076B58-C176-4684-B6A4-19F6091DF339@primarydata.com>
In-Reply-To: <E8076B58-C176-4684-B6A4-19F6091DF339@primarydata.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.218.137.155]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/MUwA22BKDPQFJrllQ3G2XPyLSm8>
Subject: Re: [nfsv4] Opsdir last call review of draft-ietf-nfsv4-flex-files-15
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.22
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, 04 Jan 2018 21:54:16 -0000

Thomas, 

Thank you very much for the suggested changes, which helps me to understand the description. 

Linda

-----Original Message-----
From: Thomas Haynes [mailto:loghyr@primarydata.com] 
Sent: Thursday, January 04, 2018 3:48 PM
To: Linda Dunbar <linda.dunbar@huawei.com>
Cc: ops-dir@ietf.org; draft-ietf-nfsv4-flex-files.all@ietf.org; ietf@ietf.org; nfsv4@ietf.org
Subject: Re: [nfsv4] Opsdir last call review of draft-ietf-nfsv4-flex-files-15

Hi Linda,

Thanks for the review.

> On Jan 4, 2018, at 10:49 AM, Linda Dunbar <ldunbar@huawei.com> wrote:
> 
> Reviewer: Linda Dunbar
> Review result: Has Nits
> 
> I think the document is written very clear. Ready to move forward, 
> except some minor Nits. The document used "uids" and "gids" 
> extensively.  I assume that "uids" = "User IDs". How about "gids"? 
> does it mean "Group IDs"? it will be helpful to expand it at the first occurance in the document.

I can do that.


> In Section 2.2.2
> (Examples of using uids & gids) (Page 9), why saying "owner and group 
> are modified.."? what does the value "1066" or "1067" represent (as 
> the value "1697" represents the UID of the user "loghyr”)?

1697 is the file size.

However, I agree that the transition from:

   On the storage device, it may be assigned some random synthetic uid/
   gid to deny access:

   -rw-r-----    1 19452   28418    1697 Dec  4 11:31 data_ompha.c

to

   When the file is opened on a client, since the layout knows nothing
   about the user (and does not care), whether loghyr or garbo opens the
   file does not matter.  The owner and group are modified and those
   values are returned.

   -rw-r-----    1 1066    1067     1697 Dec  4 11:31 data_ompha.c

Does not make sense.

I’ve analyzed it and understand the point I was trying to make, but we’ve gone away from that intent.

I’m going to suggest replacing it with:

   On the storage device, it may be assigned some random synthetic uid/
   gid to deny access:

   -rw-r-----    1 19452   28418    1697 Dec  4 11:31 data_ompha.c

   When the file is opened on a client and accessed, it will try to get a
   layout for the data file. Since the layout knows nothing
   about the user (and does not care), whether the user loghyr or
   garbo opens the file does not matter.  The client has to present
   an uid of 19452 to get write permission. If it presents any other
   value for the uid, then it must give a gid of 28418 to get read
   access.

   Further, if the metadata server decides to fence the file, it may
   change the uid and gid as such:

   -rw-r-----    1 19453   28419    1697 Dec  4 11:31 data_ompha.c




> 
> Linda Dunbar
> 
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>