Commit Graph

9 Commits

Author SHA1 Message Date
Guilherme Steinmüller 9e3bd3f320 Retire openstack-ansible-os_monasca
Change-Id: Ie8da46562c150885010b47980a1ee26bff4d3bc5
2019-06-11 20:22:23 +00:00
Jesse Pretorius f9414ff0cb Delegate the database schema import to monasca_db_setup_host
In order to remove the requirement to install the MariaDB client
libraries on all monasca hosts, we need to isolate all DB actions
on monasca_db_setup_host which has those libraries.

Change-Id: I269a933a7e26a3f4564d18d6f05cfce4b4eafe27
2018-09-21 14:34:36 +01:00
Jesse Pretorius 4f08a80f0a Use a common python build/install role
In order to radically simplify how we prepare the service
venvs, we use a common role to do the wheel builds and the
venv preparation. This makes the process far simpler to
understand, because the role does its own building and
installing. It also reduces the code maintenance burden,
because instead of duplicating the build processes in the
repo_build role and the service role - we only have it all
done in a single place.

We also change the role venv tag var to use the integrated
build's common venv tag so that we can remove the role's
venv tag in group_vars in the integrated build. This reduces
memory consumption and also reduces the duplication.

This is by no means the final stop in the simplification
process, but it is a step forward. The will be work to follow
which:

1. Replaces 'developer mode' with an equivalent mechanism
   that uses the common role and is simpler to understand.
   We will also simplify the provisioning of pip install
   arguments when doing this.
2. Simplifies the installation of optional pip packages.
   Right now it's more complicated than it needs to be due
   to us needing to keep the py_pkgs plugin working in the
   integrated build.

Depends-On: https://review.openstack.org/598957
Change-Id: I52ef39767ba8acc80ca0c9503c58efe7548ebba4
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-09-03 12:01:27 +00:00
fpxie f6ee455f2b Do not log passwords
This prevents data to be leaked into the callback plugin.

Change-Id: I2c281e33c1bb6bf52198e35a78b77ea3ede1f2cf
2018-04-24 20:10:45 +08:00
Kaio Kassiano Moura Oliveira 800324d599 Revert "Use group_names to check a host belongs to group"
This reverts commit def3818792.

Those changes are causing troubles when running Zuul functional tests.

Change-Id: I13627b11c2a85b7a7dfc6c9950a36d08b162b9f5
2017-12-22 12:49:09 +00:00
Cuong Nguyen def3818792 Use group_names to check a host belongs to group
Change-Id: I203fa5a2bee7d3e8e817896d3bb74f946e4f128f
2017-12-01 10:06:48 +07:00
Flávio Ramalho b884927071 Monasca role refactoring[+docs]
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
2017-06-19 14:45:02 -03:00
Donovan Francesco (drifterza) 57e026fccd Fix linting issues for ansible-lint 3.4.1
Preparing this role for the ansible-lint version bump

Change-Id: I8bfa56de4f69f121cdec419d3135153dc26edfbd
2016-11-07 18:45:22 +02:00
Donovan Francesco (drifterza) 524a052417 Refactoring Monasca role to align more with OSA.
- 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
2016-11-01 20:03:18 +02:00