expecting metadata server is reachable on the lexical first interface
Bug #1813812 reported by
Robert Schweikert
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Medium
|
Unassigned |
Bug Description
In OpenStack it is possible to configure a network setup such that the metadata server is accessible via a "secondary" NIC, for example eth1. In such a setup cloud-init fails to locate the proper NIC to access the metadata server.
Changed in cloud-init: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: sts |
To post a comment you must log in.
When after discovering all available interfaces in find_fallback_nic() the nics are sorted in lexical order and then the first nic that has an address, i.e. /sys/class/ net/$NIC_ NAME/address has useful data is assumed to be the NIC to use for accessing the metadata server. However, this may not be true.
What's missing is a fall back loop that attemps to access the metadata server over other possible network interfaces.