Re: Metadata over IPv6

Fred Baker <fredbaker.ietf@gmail.com> Tue, 17 December 2019 20:36 UTC

Return-Path: <fredbaker.ietf@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D872C120077 for <ipv6@ietfa.amsl.com>; Tue, 17 Dec 2019 12:36:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.756
X-Spam-Level:
X-Spam-Status: No, score=-0.756 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, NUMERIC_HTTP_ADDR=1.242, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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=gmail.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 tU0owkEttuAX for <ipv6@ietfa.amsl.com>; Tue, 17 Dec 2019 12:36:30 -0800 (PST)
Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E5C79120125 for <ipv6@ietf.org>; Tue, 17 Dec 2019 12:36:29 -0800 (PST)
Received: by mail-pf1-x433.google.com with SMTP id l127so6421517pfl.1 for <ipv6@ietf.org>; Tue, 17 Dec 2019 12:36:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qXU46ejgF10N1janLvjkF55TBhMYfT/yzZFtpM6ON28=; b=NO6zMdwG12bn/SebRBCE52RDwaYzyXfLnNatf+aQ0vkXIGA0rhOjdGylSTRiKZT7XW oEus1gmrkBbpBAAJ2CHDV84SkoujGvsFzkAgC5H9KVZwmB3aoJgP2SrE8XbyVlm40ITB nYcwIy1y05ic+rNcv14kwjMwsUsNYT/e0lKxB0N49Sp0ROod7Oug+cfjV5wu35UwO91s E5QrCutHtFlQYjYgZ7G33WVUdlXlFNB/XWBqYk6tp/snNg/mUHOKVsrCjwKodrPbMZOO PzA+yyzPTyQl8YnT12CeG5dL0Ta7WOTogPICWi9uj8NADy0Zm+zQyGz94q5g2zae2+kX HFAA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qXU46ejgF10N1janLvjkF55TBhMYfT/yzZFtpM6ON28=; b=H1fXYvxSaXDqttENu4HUHQveIsLTXf+Z25sFKL5T2H2HyIziSdbq0qRdVqbtqY6Egq V0FH5Jx42rPumOFT4MB9vdW6SsKghWe7llmNuYFFuHw0b1a0iEdrJ5rv3rmhJatmbopJ QZczvg9QSPIDmYhcV68BvBXx0Hn+CJEmcnMftcs638VaU7lICSV0lqdnwtafXkveoJT5 uS/tK46r4hbdwAmwz6jVRi5+RWbPVqxKqRgi47AT/beqES3NekV1yF4oQizVI85HwM/2 xFAwd08s3ZoDvAH1DtqKBhOhOCcJRe2y+wlU74fge0jn+648DkVc/e8e/miOsAXSjlvN giyA==
X-Gm-Message-State: APjAAAW6VMGpNh9Y6wH0uqAiaFQ6eKgPKss0Oc2pd/LlEcG9xtsv8WrB FeYRi+lwh9aPfedQkvOKgHg=
X-Google-Smtp-Source: APXvYqwq3P8Toe4AJCe/7fnBvfN28pbu1ypNp1dnaQvEuKet9p9UWEfwwCg4+CwDPrZqzAUYNqVqzA==
X-Received: by 2002:a63:4f5c:: with SMTP id p28mr26923965pgl.409.1576614988834; Tue, 17 Dec 2019 12:36:28 -0800 (PST)
Received: from ?IPv6:2600:8802:5900:13c4::1024? ([2600:8802:5900:13c4::1024]) by smtp.gmail.com with ESMTPSA id a23sm4036544pfg.82.2019.12.17.12.36.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Dec 2019 12:36:28 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\))
Subject: Re: Metadata over IPv6
From: Fred Baker <fredbaker.ietf@gmail.com>
In-Reply-To: <eee1ebe3-dd1a-1a5b-21a8-739857995abf@gmail.com>
Date: Tue, 17 Dec 2019 12:36:27 -0800
Cc: ipv6@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <32CDF4DD-6AB2-453B-9C62-2DE854BEF764@gmail.com>
References: <eee1ebe3-dd1a-1a5b-21a8-739857995abf@gmail.com>
To: Brian Haley <haleyb.dev@gmail.com>
X-Mailer: Apple Mail (2.3608.40.2.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/1NE9wkNJqamT7pQ1wRnkJ7EBwaA>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Dec 2019 20:36:35 -0000

Thanks for the question.

What comes quickly to mind is RFC 1546, which describes a local "Host Anycasting Service". Related, https://tools.ietf.org/html/rfc4291#section-2.6 and https://tools.ietf.org/html/rfc4291#section-2.7, which respectively talk about local anycast and scoped multicast (one of the scopes being "local").

The bit pattern of a link-local address might be useful. That said, I would want this to not be "one-of", known by a few that happen to use a proprietary service (AWS), but consistent with the IPv6 addressing architecture and openly documented. From that perspective, I should think I might want a short RFC (I can help with drafting, if you like) that identifies the bit pattern and talks about it a bit. 

When documented in that way, one could imagine IANA picking it up. They do that.

> On Dec 17, 2019, at 8:41 AM, Brian Haley <haleyb.dev@gmail.com> wrote:
> 
> Hi ipv6-list,
> 
> I was an IPv6 contributor many moons ago, and remembered this list when looking into something on a new project, was hoping to get some IPv6 advice (below).
> 
> The current project I'm working on, Openstack Neutron, is an SDN networking project focused on delivering networking-as-a-service (NaaS) in virtual compute environments.
> 
> One thing that happens when a virtual machine boots is it typically asks for metadata, thing like ssh keys, and other configuration information required to make it functional.  It does this via requests to the URL http://169.254.169.254/latest/meta-data/... ([0] has more complete info).  This link-local IPv4 address was defined by AWS and is widely used across all types of clouds.
> 
> This works fine for dual-stack hosts, but more and more we're seeing IPv6-only networking scenarios that we don't support metadata with, so our community is looking to define an IPv6 address to use for this service.  My question to the list is - do you see a problem with us just defining an IPv6 link-local address for this same service?  Or do you think we need to propose a spec for it, in order to get IANA to reserve it?  We're trying to use a similar address, fe80::a9fe:a9fe (169.254.169.254 in hex - see [1] for more details), so it essentially looks the same.  We did think about using DNS to discover it, but for now just using a hard-coded link-local seems like a quicker way forward.
> 
> Thanks for any comments or advice!
> 
> -Brian Haley
> 
> [0] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
> [1] https://review.opendev.org/#/c/315604/
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------