Re: [nfsv4] [Technical Errata Reported] RFC8166 (6528)

Chuck Lever III <chuck.lever@oracle.com> Tue, 20 April 2021 15:18 UTC

Return-Path: <chuck.lever@oracle.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 EAD193A27B7 for <nfsv4@ietfa.amsl.com>; Tue, 20 Apr 2021 08:18:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=oracle.com header.b=sGqGq7aS; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.b=UVbpmmly
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 upoUlbSKiipf for <nfsv4@ietfa.amsl.com>; Tue, 20 Apr 2021 08:18:05 -0700 (PDT)
Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) (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 2BBA73A27BA for <nfsv4@ietf.org>; Tue, 20 Apr 2021 08:18:04 -0700 (PDT)
Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13KF97hY001770; Tue, 20 Apr 2021 15:17:58 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=+X8/yp3G2jf+Z3fTXBgAMLfAyUSblvUWKFk2CmuaSTg=; b=sGqGq7aS8U4DZRRQHZjQG9SJ7JioPHLaWJP7gseR+qKc/mySdBlCKziUfVscMDwJZlOv PX3kpW8B2KpjMPNcPsFuOfbKOpNbj0dgrQBNZGezOR2kyrmbPK2crqnh0KRsJgpcntBW eKiGb3PMlYT3mUSElEG29FN7V59v5G1DPMSQdIApp53uIIOnCOd1JKk+F9NKlFRioKXy zgTsYZFJMAJwyVHNWjJKV0ADSnxdYkZVMLkz5gFLWNQ6UcZdtD5GPRDb0wmV3FjSgUmq 9FDcyyvivwmq1rNFHD3R8SSdjSdPsQ1TImK8y233L0JfGgzPJtsl9NwuosW9JO0Cf0UR AQ==
Received: from oracle.com (userp3020.oracle.com [156.151.31.79]) by mx0b-00069f02.pphosted.com with ESMTP id 381dum890c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 20 Apr 2021 15:17:58 +0000
Received: from userp3020.oracle.com (userp3020.oracle.com [127.0.0.1]) by pps.podrdrct (8.16.0.36/8.16.0.36) with SMTP id 13KFEbvG042708; Tue, 20 Apr 2021 15:17:57 GMT
Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2177.outbound.protection.outlook.com [104.47.55.177]) by userp3020.oracle.com with ESMTP id 3809est4ut-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 20 Apr 2021 15:17:57 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gPufDnPE67PXRFHSc6GHajPk8fKcsePmIGElQzwPC/UmNI1k7BnS4LlF/A9c3DwYtRa/PTpV2zMvBtX/5joKwcqCXxr/t+07q3BVsq/h5mJxYe8gbZAkRvI8/IgbC/m0BOTCcEBY9zUoj0J4Cv0J07qcSGXL20TZjGxH9g98Wf3HkyL8vpmoQ2aeRWvjAFfjdaaPl77diOcCvFpMlziykTib9XnvSwD+Oaw5SrOrV+Rct7zpj+etNzjaYvuVfwFgRk+S1h0HvtFFHoGm41NX8fB8bLiSLnuY9DvxmU0kK/Z107hD5iVoNznzaHsXunhwBVLovc4RyNmjopWuoiyZCA==
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=+X8/yp3G2jf+Z3fTXBgAMLfAyUSblvUWKFk2CmuaSTg=; b=YiccVz+XXVjnBtIRqkFbfBlrT5h9UDkvOsnN+6tGUe1h7c/b0qvnNYrr1hCnG0r6e3bmQErGd0Jpixks5EokCnXXvHoW7a/ipSm6DxlZ4Njcp7S7tfILpjc7SLCxjWFhd95Gwse4iSNq71JVIWgofs1Y2sYgAxad6znPZbM2DD+5ftlhpaHVZeHoQ+Dt2WAN84A/BdE+rIvm8DN3PGyOMiFG54kQStljLIw7WKOEzpPibJhaPF9bEdTteJPwN091jmn02xBDFxhHoIByTp6KSicminvySJ2vl+yY+va1TQj9ugVxAfaFB7mysG61N4I01c0wzytpLIo9lidhHehROg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+X8/yp3G2jf+Z3fTXBgAMLfAyUSblvUWKFk2CmuaSTg=; b=UVbpmmlygWRd1+S2PSskQRSLMRzLKb5UIxpfXXpywZqg6Qq/LhiBZlpPtjv7uZZZDAssbyPo5QUCT0M42oAI13R3oCTwtKOB6Ztab2W5hWNqVZjdo6FHVTRosL2CIM16zM7moFZXpaH/OnCzquu0EOyUh1pH86fTnEqyIs/8wFQ=
Received: from SJ0PR10MB4688.namprd10.prod.outlook.com (2603:10b6:a03:2db::24) by SJ0PR10MB4478.namprd10.prod.outlook.com (2603:10b6:a03:2d4::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.18; Tue, 20 Apr 2021 15:17:55 +0000
Received: from SJ0PR10MB4688.namprd10.prod.outlook.com ([fe80::50bf:7319:321c:96c9]) by SJ0PR10MB4688.namprd10.prod.outlook.com ([fe80::50bf:7319:321c:96c9%4]) with mapi id 15.20.4042.024; Tue, 20 Apr 2021 15:17:54 +0000
From: Chuck Lever III <chuck.lever@oracle.com>
To: RFC Errata System <rfc-editor@rfc-editor.org>
CC: William Allen Simpson <william.allen.simpson@gmail.com>, Tom Talpey <ttalpey@microsoft.com>, Martin Duke <martin.h.duke@gmail.com>, "Zaheduzzaman.Sarker@ericsson.com" <Zaheduzzaman.Sarker@ericsson.com>, Brian Pawlowski <beepee@gmail.com>, David Noveck <davenoveck@gmail.com>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Thread-Topic: [Technical Errata Reported] RFC8166 (6528)
Thread-Index: AQHXL7qUNc5x/JIjcE657nDiShR1baq9kTYA
Date: Tue, 20 Apr 2021 15:17:54 +0000
Message-ID: <A4A2576B-A0BD-4B29-B1C1-C5498AC938DC@oracle.com>
References: <20210412164024.82CB8F4075A@rfc-editor.org>
In-Reply-To: <20210412164024.82CB8F4075A@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=oracle.com;
x-originating-ip: [68.61.232.219]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: d5710f4a-f74b-41a1-4104-08d9040f78ef
x-ms-traffictypediagnostic: SJ0PR10MB4478:
x-microsoft-antispam-prvs: <SJ0PR10MB44782A87A621B436F64EA76293489@SJ0PR10MB4478.namprd10.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Co5V0MFj5OD1MdXKIZGOMXlSr2x3z9Dbf81XfmF2NNRxqIqFq6Xji43Nt01ja2HGO/d7O8bgvmWV8NrJgyj/xLCJzY782hyaTrCQGTefKKJZ7vaJqMY7HT6yhvhTEtnAI4Qyb00RYHET3UHcrBEuzioq/kccHgRvoh20GeQa1lqE7uvcIkrCvAlEX8A6i4mPxHu3lpiHpmNoBUN1IxRiVWEVa1N1OO6u51Zi1YDy9J5MtUyfxKCBIzzRdFYS3Pl36prBGX2pJwZH4ZI30BiuZVvw8VMGl9xIiZ2PxMvjYSoun6qmkRo6UJbYAqwTJwlmclGnPRrnQ/9zcsIeopv50aWs5Vl7IsICOSae9IW6/FCwoCjq9CIw/PiaCrNT/pX7RCt1IwBrmSmzRlWKvL2cn7nEug5rrN/2ms06M2azEUftf8QVqrehlf0yXYZEKVAG/zC7oi5wMvmCrWDjCcCbB9Sd3KYk54cxk5F5oSz4cfd38GlJU8WPoqgGIHmZLoRe5YDbEqf2MCx/TNgW4AxE8LkCbWFlB+ez61TEp279Ey1Tm+noTiqnM7piHwd48GgAunMoG9vOMgYW6OCeHe/L6s+JXeCVorgTJ4oyalTpG+a7mXYYOrQVW5h8wpUVB5WQhe2e0ifXCJSPAHgk8WXISmI0GwKywkxqHGKbv4Z3qTmt4njDMxZX1aAD3YpDHHiW/k7NSWN/S17LqIFXJN5EibOFyqThraSe8Xc4YGpDONmW4+udV2rXkBjtCHQc5UYr
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB4688.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(39860400002)(136003)(376002)(396003)(366004)(71200400001)(2616005)(478600001)(91956017)(26005)(66476007)(83380400001)(8936002)(33656002)(122000001)(5660300002)(64756008)(76116006)(8676002)(6506007)(36756003)(4326008)(186003)(38100700002)(53546011)(54906003)(6486002)(966005)(86362001)(66556008)(316002)(6512007)(66946007)(66446008)(2906002)(6916009)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: PO0KAeG2v9kjbvKMc3xy+Dh13WK07mFek5rOuhP9IKDAW2FAciaeF4YLsxgtATtKAJG1oYS6FJt/J7XlzG+p0cqwh/XFhEnPlxl0g6Nun748NYALaR31Jvp39ZMYPKVKoVbzHyd+KhzNBs5GOsJjbHLyBWg4eXqT6ZUOLSiMRZnobco3D9fuCgqTsFfybmo03zWwUmhNoDEKn+DRLGeXacQjkx+rL9QeZpCpow/L524msNW5Jj7Btb0amfEfIxWCRhaGCi32AK8X0jDkKSEjIxSqL0O0s0W0PtBqbITNLjtVkqanBuQPJryuTFZQRoHpd2xW14lFd/U6/JxSFz4obJjvMU0VO7X7u1wMZk509YwOIrDbZRIx90ds59b3iBjw8V3UfCw+6brCYazpdeoBGsTEh3HXquOaoQz8YQZhuJcfO3dj5AiYMK4Z2ZHtnlfRYKEBBeCTq3KTyrtPOxN8nXMVJW5FDDL8Jx67lOHVnDsv1Lma26UwY70J9KyOt3vHGItj/7tY/gR8IanApBGnwbmrIr9OQ6P0SGxMo2ad42ir8PSuda74xmFNB+I8tFsZBNp08nkzJqRCXrCF+vVxzttM1R+/oDqt58yItP1oIx/OxZaHAycbr+8pBdhrH1evUlDJQNoEgGcABRwAXrnDQuPUyW5ibWcjN5bpZoDT5YLZtYu8Azg8jMHr8xhccO4wQRp/SOtmjMGcSXg9fW/r7u9aZ2UXOIyTKaZHxd5ACB+kIVXhm9MJnN7hwTxPAYqulnPFd5YhSWbV7SqGMZrCPWTjVXV1hF5jnes/NODal417o9xVqbW4icQAPPHXHvPTAY2c6jh6KTD2rfjBGQ0wvDIYBlyjbiUkdQ4FNan5OAwyl26Y4DHpcoNwCru612sPRcqS6ROKm7jp1j88YQOnBGZaX1AHbDUSlukX+HP6g6YBPEa4tPqp7q/xiOR82/BdDEJJa9HFLEJbxQ93YAL5VdgdQAnvG3/YNDmSmKAQZ708v8bGFpbqYviI5RWOxKvWk4JN5c7b5YX9j8lV9j8iF87+egjqNiOsVJUqE4NsAFhYLYCxQ8MXYFfCiQBpzoSdLnZuRdnOq7AUR5P/40MfLiloIap7N1O+wQqaRortI3O6F/pJgiEce3mtlyLRYZ01FJA2vW636fxSKbUDMeXQ0xHBThoEhk4Qfe6XZRIbhFi3MDf13gYDs96puuKSKN/bXUgClod48mYrlhv29YDJJ1vUkuCpvtfV8z3ZE9ZppxR6qFoQIgi42Vk829N1p2+XOW9F+aPDXnPar3Zwtnk0ZtCdDYd9btfDQjYK+Y1kqq4NWHZZa0P7HsB08rUZ3JwCWOGD2UoyZyjipN8OSA84tQ==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-ID: <AFE374E9B2795F41AA54CF440A0F9CA4@namprd10.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB4688.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: d5710f4a-f74b-41a1-4104-08d9040f78ef
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2021 15:17:54.9014 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Kq78Kts3GFlnJy/dZ3f+7LQcvQcowiY9k/ij4Wrc7RpGqOH1lLqCIT0K2rCTub76gpTdCnhgcY2Xfw0LjT+MFQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB4478
X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9960 signatures=668683
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxscore=0 mlxlogscore=999 malwarescore=0 adultscore=0 phishscore=0 bulkscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2104200113
X-Proofpoint-ORIG-GUID: vDN_MOa129arZU7LxcPSAHZet_n5VHhC
X-Proofpoint-GUID: vDN_MOa129arZU7LxcPSAHZet_n5VHhC
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/A_xTuHXqG67M2kUGZ5myqqPtSC4>
Subject: Re: [nfsv4] [Technical Errata Reported] RFC8166 (6528)
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: Tue, 20 Apr 2021 15:18:10 -0000

Sorry for the delay, I wasn't sure where to begin further conversation
on this errata.


> On Apr 12, 2021, at 12:40 PM, RFC Errata System <rfc-editor@rfc-editor.org> wrote:
> 
> The following errata report has been submitted for RFC8166,
> "Remote Direct Memory Access Transport for Remote Procedure Call Version 1".
> 
> --------------------------------------
> You may review the report below and at:
> https://www.rfc-editor.org/errata/eid6528
> 
> --------------------------------------
> Type: Technical
> Reported by: David Noveck <davenoveck@gmail.com>
> 
> Section: 4.2.4
> 
> Original Text
> -------------
> A Requester MUST NOT send an RPC-over-RDMA header with the RDMA_ERROR
> procedure.  A Responder MUST silently discard RDMA_ERROR procedures

Stated as a co-author of this document, I agree that this text is
problematic for version negotiation, which uses the RDMA_ERROR
procedure/header type.

One vote for "verified".


> Corrected Text
> --------------
> An RDMA_ERROR header cannot be sent without an assurance that, the receiver 
> has posted a receive operation which its sending will satisfy.  In most cases, 
> this means that a Requester (i.e. one sending RPC Calls) MUST NOT send an 
> RPC-over-RDMA header with the RDMA_ERROR procedure.  Similarly, a Responder 
> (i.e. one sending RPC Replies) MUST silently discard RDMA_ERROR procedures.

I don't recall that the issue that prompted the addition of the
original text was the requirement for a posted Receive. That
might be slightly revisionist.

Though it is true sending an RDMA_ERROR when there is no Receive
waiting will likely result in loss of connection, I think the
typical scenario is that RDMA_ERROR is in response to a previous
message; thus missing a Receive would be an implementation bug.

"In most cases," is not appropriate with MUST/MUST NOT. We could
stipulate that the exact cases where these requirements hold is
when sending ERR_CHUNK. These requirements do not hold for ERR_VERS.


> However, in the case of providing an RDMA_ERROR headers containing an error 
> code of ERR_VERS, such a schema is not realizable, since there is no way for
> a receiver who does not support a particular version, to determine whether 
> an RPC Call or Reply is being sent, leaving the receiver uncertain as to whether 
> it is being Addressed as a Requester or a Responder, leaving it unable to
> participate in version negotiation.

The particular issue is that either:

- the Sender of the message with the unsupported version might be
using a procedure of the new protocol version that is not supported
in the protocol version the Receiver supports, or

- the Sender of the message with the unsupported version might be
using a procedure that does not bear an RPC message or any other
indication of message direction.

Thus the Receiver would not be able to determine the direction of
the incoming message.

I'm not convinced that RFC 8166 Section 4.2 is an appropriate place
to explain this reasoning. (Stating it here in the errata is OK).
The above could be dropped in the Corrected text.


> In the case of version errors, the
> implementation is to rely on the assumption that forward direction requests 
> are being done and reserve direction requests only done once the version is
> properly negotiated.

Shorter:

"For the purpose of version negotiation, the receiver is to assume
that reverse-direction operation is started only once the connection's
transport protocol version has been fixed using forward direction
operations."

One problem with this is that reverse-direction operation is defined
in a separate RFC (8167).


> As a result, such messages MUST NOT be sent by the 
> client and MUST be silently discarded by servers.

I'd like to confirm that what the reporter intended in the second
sentence above was "client" and "servers" and not "Requester" and
"Responders".


> Notes
> -----
> Even if one feels that this is not an appropriate correction, the existing text must be fixed somehow.   In assuming that the terms Requester and Responder can be used this way in this context is likely to result in some implementers concluding that version errors can never be sent while other might be unabble to coonclude that given the effort expended in the spec to make such errors be interpretable by anf rpc-over-rdma version.
> 
> Instructions:
> -------------
> This erratum is currently posted as "Reported". If necessary, please
> use "Reply All" to discuss whether it should be verified or
> rejected. When a decision is reached, the verifying party  
> can log in to change the status and edit the report, if necessary. 
> 
> --------------------------------------
> RFC8166 (draft-ietf-nfsv4-rfc5666bis-11)
> --------------------------------------
> Title               : Remote Direct Memory Access Transport for Remote Procedure Call Version 1
> Publication Date    : June 2017
> Author(s)           : C. Lever, Ed., W. Simpson, T. Talpey
> Category            : PROPOSED STANDARD
> Source              : Network File System Version 4
> Area                : Transport
> Stream              : IETF
> Verifying Party     : IESG

--
Chuck Lever