-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
enhancementNew feature or requestNew feature or requestincompleteAction required by submitterAction required by submitter
Description
Enhancement
Enable the NoCloud datasource in cloud-init to reach a metadata server via a Link Local IP address (e.g., 169.254.169.254) in a similar manner to major cloud providers like AWS, OpenStack, or DigitalOcean. This would allow instances using NoCloud to request and consume metadata as other providers' clouds do.
Proposed Implementation
- Introduce a config parameter to activate this feature, ideally settable via DMI (smbios)
- On activation, cloud-init should temporarily assign a Link Local IP address to the interface.
- Option 1: Use ARP probing to detect available Link Local IP addresses and assign one randomly.
- Option2: IP allocation via a DHCP server
- The temporary Link Local IP should only be used for metadata access during the early stage of cloud-init.
- After metadata retrieval, release the Link Local IP and continue with the real network configuration.
Motivation
Many clouds use a well-known Link Local IP (e.g., 169.254.169.254) to host a metadata service. I would like to provide VMs (qemu-kvm) with their metadata using the same mechanism. From my point of view, it makes no sense to replicate a cloud provider's metadata service when a standard from cloud-init (nocloud) already exists.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestincompleteAction required by submitterAction required by submitter