Remove centos-7 job
Mark centos-8 as non-voting
Rename ubuntu vars file to cover focal and bionic
Add functional jobs to gate as well as check
Fix linter errors
Change-Id: Iacdcda303d483617c6e94b815e2c5c1d65145f0d
The timezone package is required in order to have the containers report
correct time the timezone package is required. This change install the
tz package across all of the distros we support.
Change-Id: I2aa2561cc6e2c71db0a16590f5d9dbab24b393d2
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
Bionic requires a functioning gpg-agent to run apt-key add. This means
that gpg-agent must be working properly in the chroot when the nspawn
image preparation script runs.
Previous changes [1] have enabled apt-key to communicate with gpg-agent
during the nspawn_hosts role checks, however the cache prep fails almost
every time when nspawn_hosts is used within other role checks.
This is not a new issue, debian-installer is affected too [2].
This change adopts the same route as d-i, and simply copies the host
/etc/apt/trusted.gpg.d directory to the nspawn image, removing the
need for apt-key and in turn gpg-agent.
This is a re-implementation of https://review.openstack.org/588962
for nspawn.
[1] https://review.openstack.org/590431
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851774
Change-Id: I3c56da445377d7ba27a623fb7ebe95c20d28a327
These development libs are required by some services to build and
start. This change adds the dev libs to the base image, which mirrors
the base lxc image .
Change-Id: If359aefbe5dfd57347e55465b8a7f990801501a5
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
the python libs are required to start uwsgi services and because the
container images are so minimal the basic libs need to be installed.
Change-Id: I01cf4222c27bda3945d506fbc31a68bc717d480e
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
There are some inter-dependencies here where the container tasks will
not pass until a few updates are in both here and elsewhere. This change
sets the container create tasks to non-voting until all of the required
updates get in.
Remove the aria2 requirement
While aria2 has some nice features, the get_url command can do most of
what we need and does so in a far more universal way. This change
removes the aria2 dependency and updates the aria2 tasks to use the
get_url module.
Change-Id: Iab422c718d789ef13b8ec55938fdb7e73e40061b
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
Without the trailing slash the sync task will create a nested directory
for the target when is a directory. This change ensures we're copying
copying the directories correctly.
This behaviour has been documented in the defaults file.
Change-Id: I6965e132674238727d69606464f2140ec42d6434
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
The host copy process was taking too much, this makes that process more
selective.
Change-Id: Ic25559d9b68b6208ffdbed020cc79bd6b3d52fdd
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This change removes some more boiler plate and ensures all of the
required files are copied into the base container image.
Change-Id: I4f74364d0969363297b286ae8327291659d20a00
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
These packages were removed because they were thought not be required,
however they are.
Change-Id: I174d5f0311ea1ac54e14a58fa4603a135353c6cb
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
Update container pkg list and use qgroups
Other roles within OSA require additional packages that were removed
from the base cache. This change puts those packages back.
Additionally this change implements qgroups which will resolve an issue
where the containers are spamming a reoccuring error message indicating
an issue with the loopback file system.
Change-Id: If658e5f332e4580cc51182ac92331a2ef91fbcb8
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
Now that bionic testing is added into the tests repos, we can
start testing it in the repo.
Depends-On: https://review.openstack.org/#/c/566959/
Change-Id: I669204cce8c671ae14a9758fee29c8ff58d29e73
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>