Commit Graph

19 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
Zuul b3dbcbd53b Merge "Add support for openSUSE" 2018-10-02 09:51:04 +00:00
kaiokassiano e7c468ed84 Add support for openSUSE
This patch aims to ensure that this role is functional in
opensuse distros.

Change-Id: I153ba0b5ba3b56f70d223f7e472e6213be146f27
2018-10-01 11:49:07 -03:00
Jesse Pretorius 645a1b2329 Remove galera_client meta-dependency
Given that pymysql is pure python and has no C binding
dependencies, we no longer need the role to install the
MariaDB client libraries.

Change-Id: I1414eb49caab3cc8e18e2a330c6127912255e8e3
2018-09-21 13:37:15 +00:00
Jonathan Rosser 12c44717a2 Add bionic to galaxy_info metadata
Change-Id: I7494f48c4a7ada4d4d4795b44977bb5810992446
2018-08-27 21:05:53 +00:00
Jean-Philippe Evrard 0e4da819fd Fix monasca
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>
2018-07-17 17:47:46 -03:00
Jesse Pretorius 4b46ce34a7 Execute service setup against a delegated host using Ansible built-in modules
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
2018-07-12 18:03:14 +01:00
Zuul 85108b0496 Merge "Revert "Use group_names to check a host belongs to group"" 2018-01-18 19:08:39 +00: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
Zuul 50d2647f32 Merge "Remove pip_install dependency" 2017-12-05 14:24:27 +00:00
Jean-Philippe Evrard b74dac146c Remove pip_install dependency
With addition of pip_install on every node, we don't
need to have pip_install as a meta dependency.

Depends-On: If3412bb888ebb854874bbc43eb76bfcb3e4a7868
Depends-On: I79ff70c438b44753be2a93f004ebbc46de0a963d
Change-Id: Ib8fb51b8dc33cdc40324bea17149b24377ccdd00
2017-12-05 11:55:33 +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
Jean-Philippe Evrard 9281ac907d Add OpenStack-Ansible metadata
We need to add openstack ansible information in the role
metadata to be able to track role maturity. With it,
we can create a role maturity table and take decisions about
role deprecations.

The role maturity state is "unmaintained", conformly to our
role maturity guidelines and the decision taken in our last
community meeting.

Change-Id: Ife751beac4b8eda1e90ca8aa00b9d718fa35a53f
2017-11-01 08:17:22 +00: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
Jesse Pretorius edd2093370 Use package module to install distro packages
Consolidate distro package install tasks into a
single task using the package module and pass
the package list into the name instead of using
a with_items loop.

The minimum Ansible version is raised to 2.2 due to a
known bug [1] in Ansible's apt module which does not
update the cache properly if the cache update and the
install are combined in a single task.

[1] https://github.com/ansible/ansible-modules-core/issues/1497

Change-Id: I5d87e5e5d11bd1dcffb6a6187733f6d8e4e72fbf
2017-05-17 18:12:12 +00:00
Donovan Francesco (drifterza) cfd94f19a2 Addressing grafana external role's required variables.
- https://review.openstack.org/#/c/394562/5/tests/test-install-monasca.yml

Change-Id: I816d2c830046c49db20487f85c0dc6acf6c2eebe
2016-11-09 16:59:04 +02: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
Donovan Francesco cfda2f626d Initial Commit 2016-08-18 15:46:59 +02:00