Re: Metadata over IPv6

otroan@employees.org Wed, 18 December 2019 09:35 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 77A39120106 for <ipv6@ietfa.amsl.com>; Wed, 18 Dec 2019 01:35:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 P_XFqdnjyp3z for <ipv6@ietfa.amsl.com>; Wed, 18 Dec 2019 01:35:57 -0800 (PST)
Received: from clarinet.employees.org (clarinet.employees.org [198.137.202.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 405931200EF for <ipv6@ietf.org>; Wed, 18 Dec 2019 01:35:57 -0800 (PST)
Received: from astfgl.hanazo.no (77.16.53.37.tmi.telenormobil.no [77.16.53.37]) (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 D74184E128E2; Wed, 18 Dec 2019 09:35:56 +0000 (UTC)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by astfgl.hanazo.no (Postfix) with ESMTP id 46AC9263589E; Wed, 18 Dec 2019 10:35:51 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\))
Subject: Re: Metadata over IPv6
From: otroan@employees.org
In-Reply-To: <0cc715fd-e49c-b6fb-0703-624cefdaf693@gmail.com>
Date: Wed, 18 Dec 2019 10:35:51 +0100
Cc: Fred Baker <fredbaker.ietf@gmail.com>, 6man WG <ipv6@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <84DC68B2-36D6-4B79-AF72-8B03EDE8DCA4@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>
To: Brian Haley <haleyb.dev@gmail.com>
X-Mailer: Apple Mail (2.3601.0.10)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/uMhrLfX4Cb-lyHsuStrn1n33A6I>
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: Wed, 18 Dec 2019 09:35:59 -0000

>>> 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'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?

Cheers,
Ole