project-config/nodepool/elements/nodepool-base
Jeremy Stanley 0fffcef14b Switch from 1.1.1.1 to 1.0.0.1
CloudFlare's public recursive DNS resolvers are available at
multiple anycast addresses. For some reason 1.1.1.1 is unreachable
from parts of OVH's BHS1 region, but 1.0.0.1 seems to be
consistently reachable. Swap this for improved reliability.

Change-Id: I9a264282ea6c8239883d252f52e004deebca3edc
2019-04-25 13:14:53 +00:00
..
cleanup.d Remove root user .cache folder 2017-04-20 15:22:28 -04:00
environment.d Switch from 1.1.1.1 to 1.0.0.1 2019-04-25 13:14:53 +00:00
extra-data.d Fix nodepool after OpenDev changes 2019-04-21 17:05:34 +00:00
finalise.d Switch from 1.1.1.1 to 1.0.0.1 2019-04-25 13:14:53 +00:00
glean@.service.d Create glean@.service.d/override.conf 2017-08-18 16:28:54 -04:00
install.d remove sudo from pip and virtualenv calls 2018-09-10 18:11:19 -05:00
post-install.d Fix nodepool after OpenDev changes 2019-04-21 17:05:34 +00:00
pre-install.d Stop installing and running puppet in node builds 2017-04-27 23:23:32 +02:00
root.d Use AFS mirrors to build ubuntu-bionic DIB 2018-04-02 12:45:24 -04:00
element-deps Remove jenkins-slave element from DIB images 2018-03-05 14:29:26 +01:00
package-installs.yaml Manage unbound on zuul workers in DIB 2017-04-04 09:32:36 +02:00
README.rst Switch from 1.1.1.1 to 1.0.0.1 2019-04-25 13:14:53 +00:00

nodepool-base

Tasks to deal with image metadata and other Nodepool cloud specific tweaks.

Environment variables:

NODEPOOL_SCRIPTDIR path to copy Nodepool scripts from. It is set automatically by Nodepool. For local hacking override it to where your scripts are. Default: $TMP_MOUNT_PATH/opt/git/openstack/project-config/nodepool/scripts.

Name resolution

The image should have the unbound DNS resolver package installed, the nodepool-base element then configures it to forward DNS queries to:

NODEPOOL_STATIC_NAMESERVER_V4, default: 1.0.0.1 NODEPOOL_STATIC_NAMESERVER_V4_FALLBACK, default: 8.8.8.8.

If NODEPOOL_STATIC_NAMESERVER_POPULATE_IPV6 is set to 1 then the following two servers will be configured as forwarders too

NODEPOOL_STATIC_NAMESERVER_V6, default: 2606:4700:4700::1111 NODEPOOL_STATIC_NAMESERVER_V6_FALLBACK, default: 2001:4860:4860::8888

Note externally setting either of these values implies NODEPOOL_STATIC_NAMESERVER_POPULATE_IPV6=1