This repo is not properly retired. Retired repos can only have two files:
- README.rst
- gitreview
To cleanup the retirement of this repo, keeping these two files only and
removing the other remaining files if there is any.
Detail: https://etherpad.opendev.org/p/tc-retirement-cleanup
Change-Id: I42dab317ef0ffdafe406e14c6caf117487986e4e
Since the old repository is not maintained, this patch aims to change
to a repository that can be maintained for now, providing faster way
to make changes as necessary like we did in [1] and [2].
[1]: https://review.openstack.org/#/c/587173/
[2]: https://review.openstack.org/#/c/583634/
Change-Id: Ib125743b3ddc336da245bd77fa444f004f7e30c4
Since the old repository is not maintained this patch
aims to change to a repository that can be maintained
for now, providing faster way to make changes as necessary.
Change-Id: I4e66f9293e0b1148540bad69254c3cbfc4f80a59
Since the old repository is not maintained and
we have an issue with storm v1.1.1 [1] this patch
aims to change to a repository that can be maintained
for now.
[1]: https://review.openstack.org/#/c/583554/
Change-Id: I773e622d5bcc81152a27ac3fe3071fb13e27902e
This ensures the dependencies on the monasca roles are deployed
after the initial deploy steps of monasca. This allows us to
install on the host the packages required for the extra roles,
until they are fixed. Moreover, the grafana-ansible role is being
moved to ansible-grafana from cloudalchemy repository.
Change-Id: I9381c4994e38933fd12c02c673bfe409daf2a59c
Co-Authored-By: Guilherme Steinmüller <guilhermesp@lsd.ufcg.edu.br>
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.
Change-Id: I673a465863559d6fc72e4fdcd5da2ab788e561ab
There is no record for why we implement the database creation outside
of the role in the playbook, when we could do it inside the role.
Implementing it inside the role allows us to reduce the quantity of
group_vars duplicated from the role, and allows us to better document
the required variables in the role. The delegation can still be done
as it is done in the playbook too.
In this patch we implement a new variable called 'monasca_db_setup_host'
which is used in the role to allow delegation of the database setup
task to any host, but defaults to the first member of the galera_all
host group. We also document the variable 'monasca_galera_address' which
has been used for a long time, but never documented. A bunch of unused
variables have also been removed.
Change-Id: I42fe26054aec078a7a7ef66c20416af2cfb65811
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: I0a216b43c95efd2912c8702a214f73899a5833eb
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: Ib43a06a646d1d7037651ce4fe2f82cf61fc6dd5d
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: I89e0a54dc5b6924b103252349389fe302d72daef
The monasca_git_install_branch is already defined in defaults,
and the override of it causes some confusion and is unnecessary.
The tests used have moved to a different repository.
Change-Id: Ie87b40e438a713a7cc88d2a4a53831f023586f7a
This patch refactors the whole monasca role by bringing consistency
with the other openstack-ansible roles. Main changes include:
- Install services on its specific cointainer;
- monasca-thresh, monasca-notification and monasca-persister was
not being installed/configured, now it is;
- Tempest tests are ran for the whole monasca-api;
- The service should be fully functional;
- Added documentation.
The extras directory contains the changes necessary to openstack-
ansible to setup monasca.
Change-Id: Ib53d4311c4b4aa722c7cdf7b18632e23b8639a56
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.
Depends-On: Idce7abebf32f24c356a27e099fbca954d917402b
Depends-On: I5da7802d61d2ab6b03908138e3a3ed2db22e3d29
Change-Id: I2fff63afb27266c2ade1ab70d86a423cc5235f21
Add 'become' and root 'user' options to the playbook instead of using
'ansible_become' through an inventory variable.
Change-Id: Id5018a0cf8f0190655cd6a6b0a342e7918c29dd0
- Making role more compatible with keystone v3
- Replacing variable names with more OSA aligned styling
Change-Id: I5b7230301faedfdfa63f12e51ccadcc16c26639a
- This patch is to prefer the galaxy meta file and not duplicating
the logic in the install role.
- One advantage when using the meta galaxy file is when using external
roles like this we can make use of the tags: skip_ansible_lint which
doesn't seem to work well in the tests of the role.
Change-Id: I20f5b784a02bed34352cc4a7180154f9d57a13dd
- This patch returns status code 200 if keystone auth token is
retrieved.
- Minor adjustments to the keystone middleware sections.
- Adjustments in user naming in service endpoint creations.
Change-Id: Ifbb356634b29f1586c44e1135a761bf1f6adddb0
- This patch is to provide monasca backend services and monasca api,log-api
- Adding the use of dictionary for service group mappings.
- Switching to use tested external roles for backend services.
Change-Id: I7f6335f12a4b3a13acf6b644f16587ab1b46745f
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: Ibf9dda810f366b03c393ea6106c89e6ec49c5ee1