Comment 10 for bug 1839300

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

The short form is, again, dependent on the interface. If we look at the attached image from maas, the hostnames available (and configured in MAAS) are (with the rest of the fqdn in []):

- bond0[.proud-cub.maas]
- bond0.5[.proud-cub.maas]
- bond0.8[.proud-cub.maas]
- eno1[.proud-cub.maas]
- eno2[.proud-cub.maas]

While we can resolve `proud-cub.maas`, which hostname that gives is slightly more opaque. I believe that the IP address matched to the shorter (non-interface) short hostname is derived from the MAAS configured default_gateway (https://askubuntu.com/questions/1069896/maas-2-4-setting-a-nodes-default-route) but I'm not positive of that. In the example given, asking MAAS to resolve the short hostname "proud-cub" is resolved to the address on bond0. This would be a slightly catastrophic failure if bond0 isn't actually the interface used for live-migration, as the network may not actually be available to all of the machines bound to the configured space.