Comment 4 for bug 2020142

Revision history for this message
Christian Grabowski (cgrabowski) wrote :

Well yes, but that would only happen if the machine being deployed is IPv4 only and you provide it an IPv6 address, which is guarded further up in the call stack, where MAAS checks if the given machine has a gateway IP configured for IPv4, IPv6 or dual stack. In an IPv6 only environment, `socket.getaddrinfo()` currently fails regardless, according to the bug thread, due to hardcoded IPv4 flags in the stdlib.