Re: [nfsv4] [Errata Rejected] RFC5661 (5212)

"Noveck, David" <David.Noveck@netapp.com> Thu, 03 September 2020 12:33 UTC

Return-Path: <David.Noveck@netapp.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 CFE273A0C74; Thu, 3 Sep 2020 05:33:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=netapp.onmicrosoft.com
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 XnUNokCIAfOI; Thu, 3 Sep 2020 05:33:33 -0700 (PDT)
Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2079.outbound.protection.outlook.com [40.107.92.79]) (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 6A4833A0BF5; Thu, 3 Sep 2020 05:33:30 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SZAN9McIYAjFK64uhZnhNHFzH7pAiWucjPvsA/cIbXlA2PKaQ9zysiyhd1kbtkghEd4lyzdW3QTGt8HTaGjdGg9cL49lCmceXBv5L1MHuEGC0QnPHC7h6D4eL1SNmT7WLM8QkKf6nZEgEZ5XTwl67dNbfvJHD2NB0G6/BeGHqLmBHY6BbCgRK/zC+xHHm2PtGXuG4IzvWzW/fSaf40wfIRK6IvzA2jGjmzvDuFr1Snlu7DvR8GqVf4lbe/VZzvNgq/G9F2GlOCVwXtUjRWBvxpLMdugm/O+fnJ0i+EkI9TtsiOPw3hINT2Zwz7zNJPDOy3xsr/kSbq2J7McmQ0+LQw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qN8A8QtnOXS4i6Ve6tA+b9uQ/MpUuIweOj03SO1kyKs=; b=OVPNizdOFBUqMyqnvSYAyvRpDGHlZJLNmFuvP/CuffcMQRpswTjy6Fcr9EPqLzDC2NxmZdUA4jprd24NZFiv0N6qfXIdnjmmCEkY62REteAizJqmD6lYQS+Yv8Z9UfjquMH2MqA/2ebnF6i8HJ+FpxWPuOHGOC+eapGkhzRhTQei43Obu++vh0NN3gjMovxAq8O4fLDB4tQljNy6kIoJHI3UzqDww2R6IXos/F5Pv0YHgmaeSLGgekyDk8np9Om2AUWb+xZu02Z/Gs2fWCedv6bL3k0wTxmcR1DKOvBulyGyl+okkLXQUoBCUNEMHpAjAaNsHiLpEhHIZxLWJKwCMg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=netapp.com; dmarc=pass action=none header.from=netapp.com; dkim=pass header.d=netapp.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.onmicrosoft.com; s=selector1-netapp-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qN8A8QtnOXS4i6Ve6tA+b9uQ/MpUuIweOj03SO1kyKs=; b=UNZHIaG59A37G/e/FHL2/bq+PCSklmvT2urpuOozgNmDKX3mymlMzit3pTHtns/C9ylyJn8s7F7WjpcIGANy2bss1DE8OKv3EjyLsAsGy1o/oSPGTQ+zp7gN7ZRKaAZjL4QVoprABs6Vq/+EnGcOplhYM/0hZ2Y2Bn5QduzGnEQ=
Received: from MN2PR06MB5597.namprd06.prod.outlook.com (2603:10b6:208:cf::24) by MN2PR06MB5439.namprd06.prod.outlook.com (2603:10b6:208:c5::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15; Thu, 3 Sep 2020 12:33:28 +0000
Received: from MN2PR06MB5597.namprd06.prod.outlook.com ([fe80::6103:a14b:8934:dce7]) by MN2PR06MB5597.namprd06.prod.outlook.com ([fe80::6103:a14b:8934:dce7%6]) with mapi id 15.20.3326.025; Thu, 3 Sep 2020 12:33:28 +0000
From: "Noveck, David" <David.Noveck@netapp.com>
To: RFC Errata System <rfc-editor@rfc-editor.org>, "loghyr@primarydata.com" <loghyr@primarydata.com>, "shepler@storspeed.com" <shepler@storspeed.com>, "mike@eisler.com" <mike@eisler.com>
CC: "magnus.westerlund@ericsson.com" <magnus.westerlund@ericsson.com>, "iesg@ietf.org" <iesg@ietf.org>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Thread-Topic: [Errata Rejected] RFC5661 (5212)
Thread-Index: AQHWgeTiXKLATTENPUi6lvGNzTPYOKlW2F3w
Date: Thu, 3 Sep 2020 12:33:28 +0000
Message-ID: <MN2PR06MB559720AE5B2EB67CFD9AFFC4E12C0@MN2PR06MB5597.namprd06.prod.outlook.com>
References: <20200903112436.4E681F40780@rfc-editor.org>
In-Reply-To: <20200903112436.4E681F40780@rfc-editor.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: rfc-editor.org; dkim=none (message not signed) header.d=none;rfc-editor.org; dmarc=none action=none header.from=netapp.com;
x-originating-ip: [173.76.108.56]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: bf6d869c-157a-4f4a-3ca5-08d850058f9c
x-ms-traffictypediagnostic: MN2PR06MB5439:
x-microsoft-antispam-prvs: <MN2PR06MB5439C07A7EE1B2357267F04DE12C0@MN2PR06MB5439.namprd06.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:5516;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: o8yGz5FjeHUUZIlWN+YNW2ecTLuIJ8xcnI8D0GSYpboUbLnhXV2AoRgkSU4ugBO0q6LbSo0BCW6PJQZzhDDCMuADHx8aPWhtE/j9s/aDlc+j/nfkNgcuMA0fx+dGORR2De9Sr0lA0T+I1dRFGdd1da6eYF1amFLArAGuwUW3hIw1ll4oG5qoSNMXeaLOItDlXpqrxOJ2Kf7QfwAd+1pF1uOEr/KBlYUeryjqZvQ19jhMFcwXTZGr6q88ETUJ1UA4BgNa1JZhlJXyiruMv0+JEcjE/SdKZ2QwU9mImWEDC7uhXGKRYDJac4V0ho8IlNm/+oZzDFSWiuYDA9U+r91Blbtnig5AxSU0QSNacIJgwu4XQGiEGXsFQNQqTkH5T5NWVwZCILH3cDVargQY2N3W6w==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR06MB5597.namprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(136003)(39860400002)(346002)(396003)(366004)(52536014)(86362001)(8936002)(966005)(66476007)(76116006)(66946007)(66556008)(64756008)(66446008)(54906003)(110136005)(5660300002)(9686003)(8676002)(55016002)(4326008)(83380400001)(4001150100001)(71200400001)(33656002)(2906002)(478600001)(186003)(26005)(7696005)(6506007)(316002)(53546011); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: cFeSMM+UByLfOU3wRGV7jWcIMuvo1EJ4z+iiikXfW8d/qfu9b9wlpbJEHPUmmsbGnCNWs2IPw6EmfC3GDtxnNkkpSXRPFrwJAzj1EAHZ+wfLELjnz8TGooFuYcyoPuYMImgKuihDPD4qR9/6DFrrKUppLWl3clzwkwVg1a/dvRe6VzQp5BOIVYnXR28pgz9uf5XUjGStK1w6Vi4YNplXytLcuT2QY7dOHbRqR+mmsAGnO+yzizSUS126TXo96eijRymOB29/zZ+wytxX1FKCP7ftzwCb1G6mv+Xqsfp6R3oelaNP68lKzNzNvx3xsRBu5PvLAE9pBQuzmlb/2Gav7WHXK0YwcJGUDs4TqfnSxDi87knZoI6WabA8ZYsMlcCt0bq1l2VPS9R42O4yVeKN1Hk0d5ZRwsu3FbqUSzPBHMmB8dlqsJKBApehN3EQi02aeQ3BvkoAQ4i1tncSVrnlBEnrvhsI+tKvwWcYlCip6jrxxttkMCaSgF1VkQwcwTO7mQAExHUfls20pbYNePrsgx6Q8uDG/CawM+pPjyMXz2X9QFe6/ewneccnC865B6uWtys4soGgglpzJAXWHCBt6AqXPh1OKje5I6FLCsXWXnL3MGkWaS5i3jTgCVuOukyfHaKRpHQc0ZMzqdce6HlwpA==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: netapp.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR06MB5597.namprd06.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: bf6d869c-157a-4f4a-3ca5-08d850058f9c
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Sep 2020 12:33:28.5605 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4b0911a0-929b-4715-944b-c03745165b3a
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: MJlObvheabF/G/bbAQM/15ofnBknL9RMRBgipIXPUwk40RvAV2CdVdzAkZyxndcUieeJyvFK78zV5s/V/4wpWg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR06MB5439
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/nL8QvMuA9WMHFh3QyhHhZXl4TwQ>
Subject: Re: [nfsv4] [Errata Rejected] RFC5661 (5212)
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.29
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, 03 Sep 2020 12:33:43 -0000

The explanatory text, with I agree with, indicates why this
Should be held over for update, presumably in rf5661bis.  However the subject line says "rejected" and I don't understand why.

-----Original Message-----
From: RFC Errata System <rfc-editor@rfc-editor.org> 
Sent: Thursday, September 3, 2020 7:25 AM
To: loghyr@primarydata.com; shepler@storspeed.com; mike@eisler.com; Noveck, David <David.Noveck@netapp.com>
Cc: magnus.westerlund@ericsson.com; iesg@ietf.org; nfsv4@ietf.org; rfc-editor@rfc-editor.org
Subject: [Errata Rejected] RFC5661 (5212)

NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe.




The following errata report has been rejected for RFC5661, "Network File System (NFS) Version 4 Minor Version 1 Protocol".

--------------------------------------
You may review the report below and at:
https://www.rfc-editor.org/errata/eid5212

--------------------------------------
Status: Rejected
Type: Technical

Reported by: NFS4ERR_ROFS is not a valid error code for LAYOUTGET <loghyr@primarydata.com> Date Reported: 2017-12-19 Rejected by: Magnus Westerlund (IESG)

Section: 15.2

Original Text
-------------
   | LAYOUTGET            | NFS4ERR_ACCESS, NFS4ERR_ADMIN_REVOKED,     |
   |                      | NFS4ERR_BADIOMODE, NFS4ERR_BADLAYOUT,      |
   |                      | NFS4ERR_BADXDR, NFS4ERR_BAD_STATEID,       |
   |                      | NFS4ERR_DEADSESSION, NFS4ERR_DELAY,        |
   |                      | NFS4ERR_DELEG_REVOKED, NFS4ERR_DQUOT,      |
   |                      | NFS4ERR_FHEXPIRED, NFS4ERR_GRACE,          |
   |                      | NFS4ERR_INVAL, NFS4ERR_IO,                 |
   |                      | NFS4ERR_LAYOUTTRYLATER,                    |
   |                      | NFS4ERR_LAYOUTUNAVAILABLE, NFS4ERR_LOCKED, |
   |                      | NFS4ERR_MOVED, NFS4ERR_NOFILEHANDLE,       |
   |                      | NFS4ERR_NOSPC, NFS4ERR_NOTSUPP,            |
   |                      | NFS4ERR_OLD_STATEID, NFS4ERR_OPENMODE,     |
   |                      | NFS4ERR_OP_NOT_IN_SESSION,                 |
   |                      | NFS4ERR_RECALLCONFLICT,                    |
   |                      | NFS4ERR_REP_TOO_BIG,                       |
   |                      | NFS4ERR_REP_TOO_BIG_TO_CACHE,              |
   |                      | NFS4ERR_REQ_TOO_BIG,                       |
   |                      | NFS4ERR_RETRY_UNCACHED_REP,                |
   |                      | NFS4ERR_SERVERFAULT, NFS4ERR_STALE,        |
   |                      | NFS4ERR_TOOSMALL, NFS4ERR_TOO_MANY_OPS,    |
   |                      | NFS4ERR_UNKNOWN_LAYOUTTYPE,                |
   |                      | NFS4ERR_WRONG_TYPE                         |


Corrected Text
--------------
   | LAYOUTGET            | NFS4ERR_ACCESS, NFS4ERR_ADMIN_REVOKED,     |
   |                      | NFS4ERR_BADIOMODE, NFS4ERR_BADLAYOUT,      |
   |                      | NFS4ERR_BADXDR, NFS4ERR_BAD_STATEID,       |
   |                      | NFS4ERR_DEADSESSION, NFS4ERR_DELAY,        |
   |                      | NFS4ERR_DELEG_REVOKED, NFS4ERR_DQUOT,      |
   |                      | NFS4ERR_FHEXPIRED, NFS4ERR_GRACE,          |
   |                      | NFS4ERR_INVAL, NFS4ERR_IO,                 |
   |                      | NFS4ERR_LAYOUTTRYLATER,                    |
   |                      | NFS4ERR_LAYOUTUNAVAILABLE, NFS4ERR_LOCKED, |
   |                      | NFS4ERR_MOVED, NFS4ERR_NOFILEHANDLE,       |
   |                      | NFS4ERR_NOSPC, NFS4ERR_NOTSUPP,            |
   |                      | NFS4ERR_OLD_STATEID, NFS4ERR_OPENMODE,     |
   |                      | NFS4ERR_OP_NOT_IN_SESSION,                 |
   |                      | NFS4ERR_RECALLCONFLICT,                    |
   |                      | NFS4ERR_REP_TOO_BIG,                       |
   |                      | NFS4ERR_REP_TOO_BIG_TO_CACHE,              |
   |                      | NFS4ERR_REQ_TOO_BIG,                       |
   |                      | NFS4ERR_RETRY_UNCACHED_REP, NFS4ERR_ROFS,  |
   |                      | NFS4ERR_SERVERFAULT, NFS4ERR_STALE,        |
   |                      | NFS4ERR_TOOSMALL, NFS4ERR_TOO_MANY_OPS,    |
   |                      | NFS4ERR_UNKNOWN_LAYOUTTYPE,                |
   |                      | NFS4ERR_WRONG_TYPE                         |


Notes
-----
It could be argued that the OPEN takes care of a NFS4ERR_ROFS for a LAYOUTGET of a LAYOUTIOMODE4_RW, but that does not explain why WRITE is allowed to return a NFS4ERR_ROFS.

With the Flex File Layout Type, the storage device depends on the metadata server enforcing the read-only filesystem semantics. An NFSv3 WRITE to the storage device might be accepted even though the filesystem might be RO. Further, if a snapshot is taken, the storage device might not be aware of the fact that a data file is in a snapshot.

Currently, if the underlying filesystem determines that the LAYOUTGET for a LAYOUTIOMODE4_RW is going to return NFS4ERR_ROFS, to be spec compliant, it MUST convert the error code to NFS4ERR_SERVERFAULT.  The client may then decide to perform IO through the metadata server with NFSv4 WRITE calls, which will in turn get a NFS4ERR_ROFS error. This change pushes the responsibility to be on the LAYOUTGET and allows the client to inform the application of an error earlier.

AD Comments:
This topic requires WG discussion and establishment of consensus. Thus for future document update.

 --VERIFIER NOTES--
   This topic requires WG discussion and establishment of consensus. Thus for future document update.


--------------------------------------
RFC5661 (draft-ietf-nfsv4-minorversion1-29)
--------------------------------------
Title               : Network File System (NFS) Version 4 Minor Version 1 Protocol
Publication Date    : January 2010
Author(s)           : S. Shepler, Ed., M. Eisler, Ed., D. Noveck, Ed.
Category            : PROPOSED STANDARD
Source              : Network File System Version 4
Area                : Transport
Stream              : IETF
Verifying Party     : IESG