The connection plugin no longer falls back on using the
inventory_hostname as the container_name. Set container_name as a host
var for each container in the test inventory.
Change-Id: I9542008be92408d9f1956810c8cfeb839c3abc1d
In order to reduce the packages required to pip install on to the hosts,
we allow the service setup to be delegated to a specific host, defaulting
to the deploy host. We also switch as many tasks as possible to using the
built-in Ansible modules which make use of the shade library.
The 'virtualenv' package is now installed appropriately by the openstack_hosts
role, so there's no need to install it any more. The 'httplib2' package is a
legacy Ansible requirement for the get_url/get_uri module which is no longer
needed. The keystone client library is not required any more now that we're
using the upstream modules. As there are no required packages left, the task
to install them is also removed.
With the dependent patches, the openstack_openrc role is now executed once
on the designated host, so it is no longer required as a meta-dependency for
the role.
Depends-On: https://review.openstack.org/582359
Change-Id: Ic844753c3ece4383eefa490f00be0bff441c6a7e
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: Id8b45eb237e65b3752790ea5ea1f277b13ffd229
In order to ensure that the updated role is used for tests,
we adjust the a-r-r file to pull from the correct repo.
Change-Id: I29ffd6ad8e3bad7a3e0fd97e6717554126ed6074
In order to allow tests to work as the use of the common
role is implemented in the various roles, we pre-implement
the addition of the role into the a-r-r file.
Change-Id: Ib5ba0f759a6db30664a21d3385fc03ca504c563b
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
In order to allow tests to work with https://review.openstack.org/551028
merged, add the role to the a-r-r file.
Change-Id: Idaeaec2cb794dfc0e61f7fad43c4afbf0658195a
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: I52b289966ad7a9d2a056e79b1decc218ee65b857
Add 'become' and root 'user' options to the playbook instead of using
'ansible_become' through an inventory variable.
Change-Id: I97929a66c9089363f3a89e96612d13ca1f28ab42
This changes 'ansible_ssh_host' to 'ansible_host'. The 'ansible_ssh_host'
variable has been deprecated as noted here: [0].
[0] - http://docs.ansible.com/ansible/intro_inventory.html#hosts-and-groups
Change-Id: I7290dd50db66234a81a40c5613bf850f23afc938
Related-Bug: #1636606
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
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: I8fc46392dbbc87459e9c26e5e350e3f6bf1fd9e7
Ansible 2.1.1 introduces a regression in the way conditional
includes are handled which results in every task in the
included file being evaluated even if the condition for the
include is not met. This extends the run time significantly
for a deployment.
This patch forces all conditional includes to be dynamic.
Change-Id: Id26b3f254e68f0707c6d8b23b501868213b11224
Related-Bug: https://github.com/ansible/ansible/issues/17687
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: Ib607e78bd3be2f50fbfe2c7098706df7e91cd780
Previously only role convergence was tested.
This patch paves the way to have functional testing support
the addition of Xenial support as well as adding more
thorough functional testing using the Tempest plugin
available in the zaqar source.
Change-Id: I593fe5e61df2daca0857548394e04aa2afa35499
The openstack_hosts role is not used in any of the test playbooks
or required by dependent roles and can be removed from the test
role requirements.
Change-Id: I3b50228b8eeb077f4e7626c7b18d11dea56fd037
The pip_install and pip_lock_down roles have been merged.
Remove pip_lock_down from the role's meta dependencies and test
requirements.
Change-Id: I234245405f0cfc64c9ed9eb31783e49437917721
Functional testing will follow in another patch
but we should have convergence testing in the meantime.
Change-Id: Ib3d596eea7f6ded233a3b1f9a06e3e893764c0e5
Now that auth token usage is deprecated, prefer the admin
user and password for all zaqar setup tasks run against
keystone.
Default vars in keystone namespace have also been removed.
Change-Id: Ic6639d5765925ce6a50b3e9f701eafb45cd6a004
This patch includes the following:
- Base configuration for OpenStack's CI Infrastructure.
- Base documentation build configuration.
- A Vagrantfile for local testing.
- A base test configuration in order to execute the standard tests.
- An updated README, added LICENSE file and a CONTRIBUTING file.
Change-Id: I47a4b15e43fdc554d1bee203f2df34752fe786f6