Instead of pip installing onto the host, we use the
influxdb in the monasca venv to do the influxdb database,
user, etc setup. This prevents interference between pip
installed packages and distribution packages, keeping the
line between host installed packages and venv installed
packages clean.
The venv is only deployed on the monasca_api servers, so
we change the group used for executing the tasks to the
right group for it to work.
Change-Id: I6e1f86a789f188dff611d522a3309a355f7cd8e8
This reverts commit def3818792.
Those changes are causing troubles when running Zuul functional tests.
Change-Id: I13627b11c2a85b7a7dfc6c9950a36d08b162b9f5
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