7602343b6a
Since all platforms have Python 3, use the new ensure-venv element from the dependent change to install bindep and os-testr. Since we are no longer using pip to install anything during the builder, this drops the dependency on pip-and-virtualenv from nodepool-base. Avoiding this element is our long-term goal, as it's modification to system state are problematic in a number of ways. To maintain the status-quo, the pip-and-virtualenv element is added explicitly to each build's element list, with a note on it's future. The current plan for backwards compatability is to replicate the environment pip-and-virtualenv provides in a base role/job that can be optionally included. To test this, provide a new node type "ubuntu-bionic-plain" that will not include the pip-and-virtualenv element. This is put on just one provider (rax) to minimise impact. The dependent-change (and a dib release) is required before merge so the ensure-venv element is available. Depends-On: https://review.opendev.org/707513 Change-Id: I85438baf5bb31790a56fe5b38327361f0a2398e9 |
||
---|---|---|
.. | ||
cleanup.d | ||
environment.d | ||
finalise.d | ||
glean@.service.d | ||
install.d | ||
post-install.d | ||
pre-install.d | ||
root.d | ||
element-deps | ||
package-installs.yaml | ||
README.rst |
nodepool-base
Tasks to deal with image metadata and other Nodepool cloud specific tweaks.
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