You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "Riepl, Gregor (SWISS TXT)" <Gr...@swisstxt.ch> on 2019/10/01 09:16:44 UTC

cloud-init bug fix for VMs with mixed network interfaces

Hi CloudStack community,

We're still stuck with cloud-init's problematic way of searching for a metadata server: https://github.com/apache/cloudstack/issues/3557

Would you consider taking a look at our proposed fix and comment on it, so it can be pushed ahead?
https://code.launchpad.net/~joschi36/cloud-init/+git/cloud-init/+merge/371807

The proposed fix uses the well-known data-server host name, that is automatically provided by CloudStack VRs and should always point to a valid metadata server.
This is similar to what other cloud platforms do and should be the documented way to go.
The rest of the search code wasn't touched, so it still serves as a fallback when data-server isn't available.

If you agree, I will prepare a cloudstack-documentation update that documents this as the recommended way to fetch metadata.

Thanks,
Gregor