Comment 0 for bug 1670052

Revision history for this message
Lars Kellogg-Stedman (larsks) wrote :

When running in an environment that provides more than 3 nameservers, cloud-init will raise a ValueError exception:

  Mar 04 18:03:01 localhost.localdomain cloud-init[901]: ValueError: Adding '8.8.8.8' would go beyond the '3' maximum name servers

While that is a legitimate complaint, raising an exception seems like the wrong response, because this results in *no* nameserver configuration, which can have a substantial operational impact on the system. Cloud-init should probably just log a warning in this case, and ignore any nameservers received after the first three.