Commit Graph

20 Commits

Author SHA1 Message Date
Marc Gariepy 6574de7090 remove ansible_python_interpreter
ansible_python_interpreter is now set to auto in the tests repo.
it doesn't need to be overwritten in the test anymore.

Depends-On: https://review.opendev.org/735289
Depends-On: https://review.opendev.org/734676
Change-Id: I46f5ece04b82ff3131f27be2bb98aead2f07b04e
2020-06-16 10:26:56 +00:00
Dmitriy Rabotyagov aeb258a988 Replace git.openstack.org with opendev.org
This patch replaces git.openstack.org with opendev.org as redirection
from old path was enabled.

Change-Id: Ie654eb6666aca0a8128c3b694d976c2276094cd2
2019-11-14 20:33:35 +02:00
Logan V 972ebbe5db Add 'absent' service state
Allow deprecation of haproxy endpoints by setting the state of the
service to 'absent'. It will also now clean up any config files
when there are no backends, or the service is disabled.

Change-Id: I1db5932c559b5e04d330c114164869dd43c1cbb2
2018-10-08 15:11:10 +01:00
Zuul 04a934cfd6 Merge "Options to enable SSL for backend connections" 2018-03-29 11:30:11 +00:00
Jesse Pretorius 010fd6b3c6 Remove tests-repo-clone.sh
Now that run_tests.sh handles the tests repo clone, we can
remove the use of the older tests-repo-clone.sh script.

Change-Id: Ib72103c370b55b840d440fce4db475df9c31160d
2018-03-28 10:11:26 +01:00
Gaudenz Steinlin 2d0f483c84 Options to enable SSL for backend connections
Currently backend connections are always unencrypted. This adds optional
parameters to configure backend connections with SSL. This is useful for
extra services wich require SSL or to have backend connections to
OpenStack services encrypted in the future.

Change-Id: I6a032962ae987bb1cbc4982fb6ddbd06f8e53936
2018-03-06 11:14:46 +01:00
OpenStack Proposal Bot a1a405e478 Updated from OpenStack Ansible Tests
Change-Id: I5475be11f46ec6e223ce8248f82b796c8310b312
2018-02-14 20:03:58 +00:00
Major Hayden 57991a111e
Set python interpreter for HATop download
The HATop download step uses the python in the ansible virtualenv
which does not have proper SELinux python bindings. This patch ensures
that the system python is used.

Closes-Bug: 1738416
Change-Id: I43259dffbe10b2209545de40bd40b21fb785706d
2017-12-15 07:38:46 -06:00
Andy McCrae d2b2492c16 Add ability to manage non-inventory hosts
We may want to load balance to existing services that we aren't managing
via ansible. Currently the hosts have to exist in the inventory in order
to add a VIP for these hosts, this patch adds the ability to set the
hostnames and addresses of the hosts manually when they aren't in the
ansible inventory.

Additionally, this patch adds a test for both the group method and the
host_lists method.

Change-Id: Ida66f401d8320d9bf14eac9b8014124631978808
2017-12-14 16:37:07 +10:00
Jesse Pretorius 3890acfd15 Initial OSA zuul v3 role jobs
This patch implements an initial set of jobs intended to match
the current job execution method. It does not intend to improve
how the jobs are executed - only to replicate what is currently
in openstack-infra/openstack-zuul-jobs and provide the platform
to iterate on.

Change-Id: I199286c59a3f139fe2d3b2a1670ab566e4316b9d
2017-10-18 09:52:48 +01:00
OpenStack Proposal Bot 96bef96e64 Updated from OpenStack Ansible Tests
Change-Id: I57e8f3983a21d3d8efc3856a7d65bcc366ae601c
2017-10-12 20:43:49 +00:00
Jean-Philippe Evrard d84c0eb9a6 Remove submodule in common
We clone the common folder from openstack-ansible-tests during
the run_tests.sh process, so no need for the submodule to be
present.

Change-Id: I4b0201b459050fae96e93f4981a145c04c63ffd3
2017-10-10 19:32:09 +01:00
OpenStack Proposal Bot e0f9daa105 Updated from OpenStack Ansible Tests
Change-Id: I32a1c2fe1d248a751b0896fdc6f8753997685b1b
2017-06-22 15:18:58 +00:00
Jesse Pretorius e0bea33ddd Use zuul-cloner for tests repo in OpenStack-CI
When executing the tests repo clone in OpenStack-CI,
use zuul-cloner instead of git to enable cross-repo
testing. This ensures that if a dependent patch from
the tests repo is noted using 'Depends-On: <change-id>'
in the commit message, that patch will be included.

Change-Id: If670c16726d8a2758dcae4b3097571dd2449418f
Depends-On: Idce7abebf32f24c356a27e099fbca954d917402b
2017-05-04 16:49:23 +01:00
Jimmy McCrory e6601b8c0c Fix role gate tests for Ansible 2.3
Add 'become' and root 'user' options to the playbook instead of using
'ansible_become' through an inventory variable.

Change-Id: I5a3e9d20a577209f3181054a5ee3ea84de1d1a39
2017-04-27 10:46:24 -07:00
Jesse Pretorius 313fffc717 Ensure self-signed certificates are distributed
Currently when executing the role across multiple hosts
and using self-signed certificates, each host has its
own certificates.

This patch uses the same model as os_keystone to
facilitate SSL key/cert distribution across multiple
hosts if the cert is self-signed.

Change-Id: I0a4a2340a56aa657380d7fa49be24a0c4407d070
Closes-Bug: #1635274
2016-10-21 17:53:41 +01:00
Jesse Pretorius 951136201f Use centralised test scripts
This patch consumes the test scripts implemented by
https://review.openstack.org/375061 to ensure that
the tests and test preparation is consistent and
more maintainable.

Change-Id: Ifae123b7cdf44b5ad166ca7d229fd5c3b3d71882
2016-09-27 16:02:41 +00:00
Jesse Pretorius 075cb9edcd Rename package lists (and related vars) appropriately
In order to make it easier to differentiate between the lists of
python packages, distribution packages, downloaded packages,
package pins and other similar variables the variable names are
being changed to ensure that they have a more explicit suffix
that defines the purpose and makes the naming more consistent.

This is to facilitate a lookup plugin which will be able to look
up all the package lists and present them as a consolidated piece
of data which may be used for artifact preparation.

Change-Id: Id9a356f78162a77edc27209be215f04380a631dc
2016-08-26 16:56:16 +01:00
Kevin Carter 2cfee3530e Fix broken hatop URL and role gate
google storage url changed so this URL needs to be updated.

Change-Id: I99b577badc8db3ce0cb6f683c233ef6fee18022e
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-08-25 17:31:02 -04:00
Jesse Pretorius 0b06f3fbbf Add scaffolding for OpenStack-CI tests 2016-08-21 17:00:50 +01:00