← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1670052] [NEW] cloud-init raises an exception when it sees more than 3 nameservers

 

Public bug reported:

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.

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1670052

Title:
  cloud-init raises an exception when it sees more than 3 nameservers

Status in cloud-init:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1670052/+subscriptions


Follow ups