Exploring how instances retrieve their metadata
In Chapter 3, Installing Neutron, we briefly covered the process instances accessing metadata over the network, through either a proxy in the router namespace or the DHCP namespace. The latter is described in the following section.
The DHCP namespace
Instances can access metadata at http://169.254.169.254
, followed by a URI that corresponds to the version of metadata, usually /latest
. When an instance is connected to a network that does not utilize a Neutron router as the gateway, the instance must learn how to reach the metadata service. This can be accomplished in a few different ways, including:
- Setting a route manually on the instance
- Allowing DHCP to provide a route
When enable_isolated_metadata ...
Get Learning OpenStack Networking (Neutron) - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.