Re: Metadata over IPv6

otroan@employees.org Thu, 19 December 2019 13:26 UTC

Return-Path: <otroan@employees.org>
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 9FFA81202DD for <ipv6@ietfa.amsl.com>; Thu, 19 Dec 2019 05:26:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.658
X-Spam-Level:
X-Spam-Status: No, score=-0.658 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NUMERIC_HTTP_ADDR=1.242, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] 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 sZ53W3x6vov5 for <ipv6@ietfa.amsl.com>; Thu, 19 Dec 2019 05:26:31 -0800 (PST)
Received: from clarinet.employees.org (clarinet.employees.org [IPv6:2607:7c80:54:3::74]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3B600120255 for <ipv6@ietf.org>; Thu, 19 Dec 2019 05:26:31 -0800 (PST)
Received: from astfgl.hanazo.no (unknown [IPv6:2a01:79d:53aa:d30:5ca8:7403:431:4162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by clarinet.employees.org (Postfix) with ESMTPSA id ABB8B4E11BB1; Thu, 19 Dec 2019 13:26:30 +0000 (UTC)
Received: from [IPv6:::1] (localhost [IPv6:::1]) by astfgl.hanazo.no (Postfix) with ESMTP id 46C9426DF3A7; Thu, 19 Dec 2019 14:26:27 +0100 (CET)
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: otroan@employees.org
In-Reply-To: <52d440d7-6416-6ea5-2718-e9c80a2b793a@gmail.com>
Date: Thu, 19 Dec 2019 14:26:27 +0100
Cc: Fred Baker <fredbaker.ietf@gmail.com>, 6man WG <ipv6@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8726E39C-62F7-4FFA-B2D4-5201A598FD2D@employees.org>
References: <eee1ebe3-dd1a-1a5b-21a8-739857995abf@gmail.com> <32CDF4DD-6AB2-453B-9C62-2DE854BEF764@gmail.com> <6202a23d-0676-acd1-5308-491f6323839d@gmail.com> <4C7D7A5E-AA0C-4089-BDD6-9C6819EF8F55@employees.org> <AFF898F1-2C49-44CC-95BD-BAF5156674C7@gmail.com> <0cc715fd-e49c-b6fb-0703-624cefdaf693@gmail.com> <84DC68B2-36D6-4B79-AF72-8B03EDE8DCA4@employees.org> <52d440d7-6416-6ea5-2718-e9c80a2b793a@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/NkT_mCTJKSrDZmg18q6i05NO_70>
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: Thu, 19 Dec 2019 13:26:32 -0000

Brian,

>>>>> Is you problem solvable using "service discovery" (e.g. DNS-SD)?
>>> 
>>> It *might* be, but I can't guarantee DNS will always be present, so it would be better to have a well-known address.  Typically this part of initialization in a cloud image is done in cloud-init, which is right after DHCP completes, and the address it uses is hard-coded in the binary itself to make things simple.
>>> 
>>> That's not to say mDNS couldn't be used, but having to deploy something in order to do a single lookup for 'metadata.local' could add a lot of overhead since there could be thousands of private networks involved, each with it's own daemon.
>> We have been around the "service discovery" block a few times. Not one of the industry's proudest moments.
>> Not to rehash all the alternatives here.
>> If I understand you correctly, the problem you like to solve is "How can I find the Openstack(?) provisioning URL for this link?".
> 
> I'd have to ask specifics of the cloud-init maintainers, but from what I know and can glean from source code it wants a url:
> 
> DEF_MD_URL = "http://169.254.169.254"
> 
> This can vary depending on the cloud, and each image for a specific cloud will have a "baked-in" url for this.
> 
>> I'm little uneasy about reserving a well-known interface-id/address for the purpose. Isn't it a layer violation? I'm just a little concerned about collectivily taking the cost too. And scale as well, if lots of "applications" are required to be provisioned this way.
>> There are probably 10-15 ways of doing it.
>> If you do DHCP anyway, why couldn't the URL be passed as an option in DHCP?
> 
> Yes, there are many ways to do this, it all seems to rely on a well-known link-local address being reachable though.  I'm reluctant to suggest a DHCP option since it will add complexity since more parts will needed to be changed to support it.

At the top of this email you stated: "...which is right after DHCP completes".

Cheers,
Ole