Now that tls support is required, add support for it.
Change-Id: I36f2c0a2b2209cfa974b4686c0c32f3fe32e9cae
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Do the things we need to do to get our testing working.
Change-Id: Ia9898a2406c601f45b07714b46a7d44632e229e5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We need to disable windmill jobs, as we are currently wedged on fixing
jobs. Current fixes need to happen our a few projets, so once everythign
is working, we'll bring this back online and merge eveyrthing in at
once.
Docker jobs look to be broken, disable for now and maybe look to migrate
to podman.
Add pytest to test-requirements.txt
Change-Id: Ie7b89f4bf0089e8020a625d4c561089695d529c0
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This was an experiment to see if using molecule was something we wanted
to do. However, a lot of tihs logic is duplicated by zuul.
Change-Id: Ie59edff5825496bb1f34825ae2f916afdf198593
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
With opendev.org now online, we can start using it over openstack.org.
Change-Id: Ia28113926efd70bee28aec7b88edcfdb365e6665
Depends-On: https://review.opendev.org/654017
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Expose the ability for a user to create a symlink to a nodepool
virtualenv, this is usually needed when you start trying to version
different virtualenv installs.
Change-Id: Id77609f696dcd4083001a101fdd22ba1634f4617
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This file is used to contain information like zookeeper auth, by default
we should enable it for our systemd integration.
Change-Id: I9dec8aef178e4faf9038b49471d1534bbce22574
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
It was a lot of overhead, with little gain, to run molecule lint.
Switch back to just using yamllint.
Change-Id: Ie4e4d5d77dcb864f7b76cd356cab7adf9516d1b3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Zuul now supports multiple run playbooks, lets use that over post-run.
Change-Id: Id6d591023ef9b351e08e4260c281d25eec0836cc
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This is our first attempt at running nodepool from docker, consider it
experimental. The idea here, is you now have the option of using the
official docker images from https://hub.docker.com/u/zuul for nodepool.
Users themself will be required to manage / configure docker, this role
only installs / configures / starts nodepool.
Change-Id: I2f3aa301e626a7b09ff129a21a188cee06e31f18
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We don't actually needs these, as we don't pip install anything.
Change-Id: I607ab9eb2ff886de76f3292fa60696231ac5f0d9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
It is possible we want to enable a service on boot, but don't want to
ensure it is currently running. This splits our systemd tasks into 2
different checks now.
Change-Id: Ib37371031a871d0d57b390e2430ea1efb3094171
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Allow a user to toggle the installation of logging files, as we allow
them to disable services.
Change-Id: Ie354cb0547fa247f940aa15222bbf4994d4201ee
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
There is no issues running ubuntu-bionic, so stop gating on
ubuntu-xenial to save us CI resources.
Change-Id: I1caedaee17b67d27a7005a827be62a58c9739a49
Depends-On: https://review.openstack.org/623074
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Molecule is the defacto testing tool for ansible roles. Switch to it to
make it easier for users to test.
Change-Id: I881e895877c9702e62c4415d48b0f33f34f7487b
Depends-On: https://review.openstack.org/593369
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
While testing out molecule, the following warnings were raised with its
linter. Lets fix them to keep it happy.
Change-Id: I698f65daa58822f7befc72b9dcbf1f2d668cab02
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We can switch to using testinfra to help ensure ansible did everything
properly.
Change-Id: I9e21cd16f1149d76308043a97658c93e7f14ac42
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
While this isn't 100%, it is enough to actually get started using it.
Change-Id: I8e4bad97658f98ca5280eca694dc2d9cb4028ad1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Expose the ability for a user to override the default shell.
Change-Id: I27d872ba6c626c65f2d66ab292cbeb10af3f5203
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This will make upgrading fedora nodes much easier for openstack-infra.
Change-Id: Ie29aedbc2b86fb546139235954b513c40682ffb5
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Now that ubuntu-bionic is released, we can gate on it.
Change-Id: I0ed8eb74daad2ed8f5d814b488998b47dc7d02ce
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Currently 2.4.0 is the oldest release of ansible, everything later is
EOL. Update our meta data into include this and the platforms we
currently tests with.
Change-Id: Ice5b83492454123bb15cc7c22b5a23dd5bb90524
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
There is no need to loop over the list of packages, this is actually
slower.
Change-Id: I38361ccc9a5c84b8d2cff8fe813475e115e47bf0
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We actually want to ensure users are able to use our roles outside of
openstack-infra. Since those users won't have wheel mirrors, disable
our jobs from using them too.
Change-Id: I0a3c44c81aff497bc1678b68fc7b1374f233901b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Because we pip install released versions of nodepool, there is no need
to require openstack-infra/nodepool on non src jobs.
Change-Id: I846bfdbdc2584c9bd97312accd60148ea1f29d1b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Moving forward, we'll only support nodepool under python3.
Change-Id: If0f9ed013819b68601e28ecfbeffa40a41d19ebc
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
We want to encourge users to use the released versions of nodepool, so
flip the switch to pip. We still support git and will continue to
test against it.
Change-Id: If45a1392b1caed8d1c181bd463bad30f91eab899
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
When installing nodepool from pip (pypi.python.org) there is no need
to install the build dependenies as we download the wheel.
Change-Id: I60c87135e8d5d83c3bf810835e18926d2ad0e103
Signed-off-by: Paul Belanger <pabelanger@redhat.com>