21 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
df7dfdc2b3 Updated from OpenStack Ansible Tests
Change-Id: I17c7e76c3e67c4775aa41903060ec273696a6ac9
2017-06-22 15:19:58 +00:00
Jesse Pretorius
cab2a12c46 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: Ia14642622b7dab5eecff0bca7c8cff8763c16d92
Depends-On: Idce7abebf32f24c356a27e099fbca954d917402b
2017-05-04 16:53:00 +01:00
Jesse Pretorius
c61017d758 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: I530293245724949dc172dfa95a820db32b6a665c
2017-05-02 13:13:29 +01:00
Kevin Carter
60a1889001 Remove deprecated ansible_ssh_host variable
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: Icd0874e88d7d2d8c14d568256e6fd59951b95858
Related-Bug: #1636606
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-10-25 19:43:09 +00:00
Deepak
927bcaf586 Update test-vars.yml for repositories
Renamed in os_rally role repo
Changed test-vars.yml to os_rally-overrides.yml
Removed test-vars.yml

Change-Id: I73c0a045496f7c36bd00748cb2096d20b5aa7b7b
Partial-Bug: #1629284
2016-10-05 22:01:48 +05:30
Jesse Pretorius
0e3fe0b5fa 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: Ib1ed37c6994688775f44ca11df36e8222b0ce05d
2016-09-28 11:34:10 +01:00
Jesse Pretorius
d721255ef3 Force Ansible to use dynamic includes
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: I6029769c2fe0847a2d8fcbd62cdc41168fc89a60
Related-Bug: https://github.com/ansible/ansible/issues/17687
2016-09-22 15:36:42 +01:00
Travis Truman
54555e0b06 Remove duplicate container prep from role test
test-setup-host already takes care of container prep
so the test playbook should not also include the container
prep play

Change-Id: Ic93eeca534486fc678a3960cde2eeea970c8326e
2016-09-14 11:15:30 -04:00
Travis Truman
9f281faa84 Ansible 2.1.x role testing
Change-Id: I2c4ee100870f10b132d392ced5bb8783fd878863
2016-09-12 14:54:15 -04:00
Jesse Pretorius
bf15d504ef 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: I85fe0d5f4235c5d71ff1e8fc4066a9d1e0932684
2016-08-30 19:58:46 +01:00
Travis Truman
c0698d207b Remove rally_host_group variable
It was duplicating the meaning/purpose of the role
variable `rally_role_project_group`

Also ensure that additional tasks are limited to only
a single host in the host group.

Change-Id: I3d5cc822cc0d3c2b0b3ba7b05a9fe1b6b9e3a839
2016-08-23 14:45:16 -04:00
Travis Truman
da91e5b015 Functional testing for os_rally role
The role gate will now actually run simple
Rally scenario against Keystone to validate that
the install and configuration is correct.

Change-Id: Ie5d52636700e8c276b0e793e815ae513d25415bb
2016-08-18 11:21:32 -04:00
Jimmy McCrory
f7968fee28 Remove openstack_hosts from test requirements
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: Id9395e745249c723c5d8135ae4c9661dcb0f7221
2016-07-20 18:47:02 -07:00
Jimmy McCrory
717c085f63 Remove pip_lock_down dependency
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: Idf70fd3e14254ae7b633ca2731388dec307597da
2016-06-20 12:26:09 -07:00
Jesse Pretorius
b2587e2a38 Clean up container cache prep in tests
This patch cleans up the container cache preparation in the tests
due to the following patches:

- https://review.openstack.org/307856 (new image build process)
- https://review.openstack.org/315114 (new apt config process)
- https://review.openstack.org/322188 (new resolver config process)

Change-Id: Idc20aa8c21816d4d53ac374e0f99553cd8a5d0b2
2016-06-17 19:33:46 +01:00
Jenkins
25114ed587 Merge "Updating os_rally to use the Multi-Distro framework" 2016-05-31 19:09:26 +00:00
Travis Truman
6f9765682a Updating os_rally to use the Multi-Distro framework
Debian-specific vars and logic have been moved to tasks
that will execute only on those distributions.

Change-Id: I6a9d04382b1f1badebf12483ce7d1d02b43f8903
Implements: blueprint multi-platform-host
2016-05-27 10:04:51 -04:00
Jesse Pretorius
4b125868a9 Remove py_from_git role
The py_from_git role is removed as it is no longer required.

Change-Id: I193a3a19580a462a7561efb813be0f6480260374
2016-05-04 09:19:00 +01:00
Travis Truman
692094c67c Configure the Rally deployment using environment variables 2016-03-28 14:16:44 -04:00
Travis Truman
329318acfa Adding testing 2016-03-25 11:28:16 -04:00
Travis Truman
1e6d9b3a46 Inital commit 2016-03-24 17:13:47 -04:00