Move non-puppet-related parts of the puppet element into other elements,
remove the puppet element, and stop running the prepare-node script.
\o/
Change-Id: Ib241ea976ca0a3d661599f36e3f5a2d4eb023c08
This parameter is used for the unbound class, but we moved that class
out of openstack_project::template class and started managing unbound
here in the project-config dib elements, so we don't need to keep using
it and leaving it unset will not change any behavior.
Change-Id: I2ed1610dbfdc131943c64745e79da75133bf6818
Rooters' keyste are now managed with configdrive and we don't want to
have to manage users with puppet any more, so let's clean up this code.
Change-Id: Ifcca38a0754e4a76d36c4819e3fd7370256ade71
We always want zuul workers to be thin, it doesn't need to be
configurable. We made these parameters nonfunctional in the
single_use_slave class[1] so we can stop using them here.
[1] https://review.openstack.org/#/c/449958/
Change-Id: I78cf0f86cc162439303c85b3c6cc5fb8d0fd0493
Now that we are depending on the pip-and-virtualenv element, we can
stop doing this from our install_puppet.sh script.
Change-Id: I7be690633790574d097458c52ecda8985dbdadde
Depends-On: Ie110fd50750ffc48c1ed939b18b68e40af6331ee
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
stackviz: In general newer openSUSE distributions switched to nodejs6 LTS,
but Leap 42.2 is still on 4.x.
zuul-worker: No need for libselinux enablement in openSUSE
puppet: cleanup the puppet repo that got added in the install_puppet.sh
code part
Change-Id: If7bf3c799ebb74aeb36c4b1b607b0454993f0ed6
No need to override /etc/resolv.conf if "NODEPOOL_STATIC_NAMESERVER_V4"
enviroment variable is not set.
Change-Id: Idf74d394f5a025b885b830d3afdcbad12655101a
This commit adds Gentoo support to elements needed to build a Gentoo
nodepool image. The previous version of this commit had the default
section of the pkg-map in the wrong area, specifically in the following
file.
nodepool/elements/infra-package-needs/pkg-map
Change-Id: Ic686c325bc06564585a2e3ac50cadd7556612333
Our images have failed to build for the last 3 days, reverting until we can debug.
This reverts commit 4c515e2073.
Change-Id: I2e653bcd8a30a85ea46a9861bdf9f95413a76f64
This commit adds Gentoo support to elements needed to build a Gentoo
nodepool image.
Change-Id: I2ceeb915748a11d8e729069566e722a3fe30ba99
Signed-off-by: Matthew Thode <mthode@mthode.org>
Now that osic-cloud1 is only using IPv6 public IPs, we can also add
IPv6 support for unbound.
Change-Id: I9da5a06fdbea04b322cddf6c7e6e829e47492d4c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
dib 1.17.0 includes fixes for debian-minimal to work with the
apt-sources element in I69dbaa34be3db3d667e6bd8450ef4ce04a751c70
This moved to having the base repos split out from the usual
/etc/apt/sources.list into separate files in /etc/apt/sources.list.d
Unfortunately, this puppet module does the cleanup by glob removal of
everything in that directory, which is a bit unsafe.
I've refactored this slightly so that, like the RedHat path, we only
remove the puppetlabs repos files.
Change-Id: I5bcd8880a90d238b77aaacfd1eaf0a720552c7ee
puppet element calls install_puppet.sh script from system-config repo,
which depends on either curl or wget being installed in the system. Some
minimal images like debian jessie or ubuntu xenial miss those packages
and cause puppet element to fail when building the image.
Change-Id: Ic5124906b19b82d134a611e68fc7c5dd6fc88702
When running disk image builder use the build specific checkout of
system-config to install puppet and puppet modules. This allows for easy
local testing of changes to those scripts. Without it master is always
used.
Change-Id: Ifc86d77f702633d630adc1ee619f58607cb56c82
Since I6c5a962260741dcf6f89da9a33b96372a719b7b0 dib has had a
standardised method for ensuring consistency of tracing and error
detection. Bring the tracing for these elements up to that standard,
but maintain the status-quo of flags such as "-e" and "pipefail" by
adding ignore flags where appropriate (we can update these separately
to avoid breakage)
Other minor changes are alphabetical-ordering in the element-deps
files and permissions on prepare-node script
With this, "tox -edib" passes
Change-Id: Ibba1dadb9e819f94294c9d583b83ff698252f93f
This help when reading log files from nodepool. Otherwise we see the
following in the log files:
[1;31mWarning: Config file /etc/puppet/hiera.yaml not found, using
Hiera defaults[0m
Change-Id: I3a865e5107e2749ed44c144539af49e311e0125f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Cleanup every use of `` for subshells in the nodepool and tools
directory , replacing them with $(), and finally making the scripts
consistent.
Change-Id: I2b05cd20f9c9a30ab88f8db235aa81da93b1fad3
These are no longer being used to run jobs, so clean up references
to them.
Change-Id: Iac7ffde66a2d5d1a1361ed9bcadb9144e034f10f
Depends-On: I40d5d09f28ef53583d239d2e852e9c50b5962cf8
We're done with the Puppet 2-to-3 migration, so we no longer need to
explicitly override the puppet version to 2 when bootstrapping.
Change-Id: Ib04e8dda5050ae0138fba248ff28f35819fdf254
We are renaming openstack-infra/config to
openstack-infra/system-config. This patch edits paths for
nodepool.
Change-Id: I75de3128e9d179b700df465726ed057439e5401e
This repo was created from filter branching the openstack-infra/
config repo. This process brought a lot of cruft with it in the
form of directories that we no longer need. This patch removes
that cruft so we begin with a tidier repo.
Change-Id: Ibffad1b11c0c5f84eedfb0365369f60c4961a0f3