Commit Graph

23 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov d8576660db Add pki role to local a-r-r
Change-Id: Ie408aee43116feeaf99ad05cebe764bb855a31c2
2021-07-02 12:19:56 +03:00
Dmitriy Rabotyagov eaa83ca658 Cleanup after repo_build and pip_install retirement
Change-Id: I3a87a73e1452c6e7f6866767c0338d5aa2543b1a
2020-05-12 19:33:39 +03:00
Dmitriy Rabotyagov 4b2724b44b Start using uWSGI role
Move service to use uWSGI role instead of iternal task for uwsgi
deployment. This aims to ease the maintenance of uWSGI and speedup
metal deployments as the same uwsgi environment will be used
across all services.

Depends-On: https://review.opendev.org/678025/
Change-Id: I6f129940e55130c289d94138171cee54dbd28fc1
2019-09-04 15:32:08 +03:00
Dmitriy Rabotjagov e01aed0d63 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: Ice94fbb7881061c2ce79dbc15eb3e062a655d45e
2019-05-30 09:38:22 +00:00
Zuul 7727a95674 Merge "Trivial: Fix the pep8 warning" 2018-09-13 10:39:25 +00:00
Jesse Pretorius 221e1549ff Clean up role tests
Now that we're using the general templates, we can slim down
the role test definitions. We can also remove tests which are
not being watched, or which are fundamentally broken. With
this we can also remove unused scripts/plays.

We do the following:

1. We remove the 'ssl' job, given that the person working on
   that is no longer doing so, and no-one else has picked up
   the work.
2. We remove the 'upgrade' job, given that it's been broken
   all cycle due to the way the job executes and we need to
   regroup to figure out another way to do it.
3. We promote the distro_install jobs, given that they are
   all now working.

Change-Id: I9d33daeb6d591c6919f131aafd62c4a33e4ff68f
2018-09-07 13:30:01 +00:00
wangqi ac1921af23 Trivial: Fix the pep8 warning
The yaml should start with "---"

Change-Id: Ied016d208fa19f176c86b0f04f9406ba264e4d22
2018-08-06 07:29:38 +00:00
Kevin Carter 659e3278d0 Convert role to use a common systemd mount role
The systemd unit files are being converted to use common roles to reduce
code sprawl throughout the playbooks. This change allows us to use a
common systemd_mount role as an include which will give us a consistent
experience when deploying services and setting up their resournces on
OS's that uses systemd.

Closes-Bug: #1774037
Change-Id: I11d083788cd388dab0695878193ab18af1b5038b
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-07-30 18:39:12 +00:00
Jesse Pretorius 975675b659 Use a common python build/install role for source-base deployment
Instead of copying a common set of code between all the roles,
switch to using a common role which checks whether a deploy host
already has the appropriate venv package. If it does not, build
it on the fly and pull it to the deploy host.

Implementing this does away with the requirement to do builds
on the repo container. Once this has been implemented into all
roles then the repo_build role will be retired.

Depends-On: https://review.openstack.org/556840
Change-Id: I57e87406bee5c7d10aa824f18d3142f8f3ac6ab4
2018-03-27 13:37:10 +01:00
Jesse Pretorius 1ef4471ea5 ansible-role-requirements: Use systemd_service role from openstack namespace
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: I73f103dd0faa9af88a3a7bd6d0daa55643892e74
2018-03-25 16:17:21 +01:00
Jesse Pretorius 13d9b617cb ansible-role-requirements: Add common systemd_service role
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: I7f8a3404dde69fdea4d9cad6febc79b62dd9ee7b
2018-03-13 16:50:03 +00:00
Major Hayden 835f47d44c Update upgrade script to use queens
Change-Id: If282457b37dee4d5c8c63b69ae6fdf9ed4c1b374
2018-02-16 18:44:31 +00:00
Jesse Pretorius 6534ebe2e0 Implement testing using tempest
Rather than the previous basic functional tests, this
implements the use of tempest to exercise the API's
properly to validate that they're working properly.

Included is the normalisation of the way the upgrade
test is implemented to make it exactly in line with
the way the original API upgrade test was implemented
in the keystone repository. This keeps it consistent.

Change-Id: Id491d018beb30bce748240b50e9d66dcc1a249fa
2017-11-20 12:49:10 +00:00
Jesse Pretorius 2e952eaf80 Update upgrade role for Pike
Change-Id: I74e4d597ac08c747cff3824cb6638c1bf4459243
2017-08-23 13:14:39 +01:00
Logan V 3bbd8d13fe Include ceph_client role if needed
Moves the ceph_client role execution inside the os_glance role
instead of executing it at the playbook level.

Change-Id: I1d24a82f22663150f0db5bbfcb4d957d600db5c2
2017-07-13 13:30:57 -05:00
Andy McCrae ca39632763 Update test role to use stable/ocata in master
Change-Id: I3cda82f6fcb27646adc4f7d010243edce86ce3d1
2017-02-23 15:25:13 -05:00
Andy McCrae 6bd22d2528 Glance upgrade testing.
Implement upgrade testing for os_glance role.

This patch adds an upgrade testenv, which configures a previous version
of glance, and the test-vars from the stable/newton branch to be used by
the previous version of glance.

We don't run functional tests after the initial stable/newton deploy
because a working stable/newton branch is already tested, and it's
assumed it worked if the upgrade works too - which is more efficient.

This follows the pattern setup for Keystone in:
https://review.openstack.org/#/c/384269/

Change-Id: I8b2418ffc9197814b0eb85da647916323f9cefd5
Implements: blueprint upgrade-testing
2016-11-22 11:06:30 +00:00
Jesse Pretorius 5974ede4f7 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: Id87d052d6ecd0f78b67827e18dc7df1aa6804366
Related-Bug: https://github.com/ansible/ansible/issues/17687
2016-09-22 13:38:01 +01:00
Jimmy McCrory 679fac1382 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: I262b79da648d481547ce9fa8fad81df2683c9678
2016-07-20 18:47:01 -07:00
Jimmy McCrory 3dabe29f62 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: If92589b43a21383bae97ad903c4853e7dda8a0c0
2016-06-07 23:24:15 -05:00
Jesse Pretorius 4076a833b3 Remove py_from_git role
The py_from_git role is removed as it is no longer required.

Change-Id: I654af5bf2db5d7f76fbe44dd45390a09d2ea45a7
2016-05-04 09:11:54 +01:00
Matt Thompson 0e4f35c144 Enable functional convergence testing
This commit updates tests/test.yml to deploy rabbitmq, galera,
keystone, and glance for a functional convergence test.  Note that we
point at a non-existent memcached server, but this can be adjusted to
build memcached if deemed necessary.

Change-Id: I389d23561313882a0c3fb6236159fee71ab54c3f
2016-03-08 16:20:01 +00:00
Matt Thompson 7ee4373ba6 Implement base configuration for independent repository
This is a first pass at bringing in the necessary bits for the gate to
successfully pass.

Change-Id: I5b4a6c813eaea5f4a4fea4b0a8b4905c4054382d
2016-03-02 07:28:55 +00:00