Skip to content

Commit e7d3a65

Browse files
committed
doc: Add IPv6 metadata address
The metadata service is going to be accessible over IPv6 too when the following Neutron feature merges (still in Victoria, I hope): https://bugs.launchpad.net/neutron/+bug/1460177 However all end-user facing metadata documentation is in Nova, so unless we want to refactor/move this, let me propose this doc change here. Change-Id: I7e67680090da003e01e106be47b7a807164fecb3 Partial-Bug: #1460177
1 parent 8ecc29b commit e7d3a65

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed

doc/source/admin/metadata-service.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,14 @@ the :ref:`cells V2 guide <cells-v2-layout-metadata-api>`.
2525
added in Stein. For versions prior to this release, you should not use the
2626
standalone :program:`nova-api-metadata` application for multiple cells.
2727

28-
Guests access the service at ``169.254.169.254``. The networking service,
28+
Guests access the service at ``169.254.169.254`` or at ``fe80::a9fe:a9fe``.
29+
30+
.. versionchanged:: 22.0.0
31+
32+
Starting with the Victoria release the metadata service is accessible
33+
over IPv6 at the link-local address ``fe80::a9fe:a9fe``.
34+
35+
The networking service,
2936
neutron, is responsible for intercepting these requests and adding HTTP headers
3037
which uniquely identify the source of the request before forwarding it to the
3138
metadata API server. For the Open vSwitch and Linux Bridge backends provided

doc/source/user/metadata.rst

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,24 @@ The metadata service
7272

7373
The *metadata service* provides a way for instances to retrieve
7474
instance-specific data via a REST API. Instances access this service at
75-
``169.254.169.254`` and all types of metadata, be it user-, nova- or
76-
vendor-provided, can be accessed via this service.
75+
``169.254.169.254`` or at ``fe80::a9fe:a9fe``. All types of metadata,
76+
be it user-, nova- or vendor-provided, can be accessed via this service.
77+
78+
.. versionchanged:: 22.0.0
79+
80+
Starting with the Victoria release the metadata service is accessible
81+
over IPv6 at the link-local address ``fe80::a9fe:a9fe``.
82+
83+
.. note::
84+
85+
As with all IPv6 link-local addresses, the metadata IPv6
86+
address is not complete without a zone identifier (in a Linux
87+
guest that is usually the interface name concatenated after
88+
a percent sign). Please also note that in URLs you should
89+
URL-encode the percent sign itself. For example, assuming
90+
that the primary network interface in the guest is ``ens2``
91+
substitute ``http://[fe80::a9fe:a9fe%25ens2]:80/...`` for
92+
``http://169.254.169.254/...``.
7793

7894
Using the metadata service
7995
~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)