This change replaces current implementation to manage packages for
coordination backend by oslo::coordination resource type, so that we
can gather all logics related to coordination in a single place.
Because Gnocchi is not using a common parameter name, configuration
is still managed by gnocchi class.
Depends-on: https://review.opendev.org/792535
Change-Id: I9998d1351ec656fd2e4c0eee8de16f4c65d1aeb8
coordination_url[1] and metric_processing_delay[2] under storage
section are both deprecated, so deprecate parameters under
gnocchi::storage and migrate these parameters to appropriate
classes, gnocchi and gnocchi::metricd .
[1] 70b9ca427b
[2] 72fdba704d
Change-Id: I88dff282df4ce477e543dd2fcf5052a9ac472b84
Canonical are packaging gnocchi-api package with apache
and python3 by default. We cannot test it in CI since
we cannot run py2 and py3 on the same node with apache wsgi.
Canonical helped us by packaging python2 support back into
python-gnocchi package so we change our wsgi usage to use
this package and set the new wsgi script path.
We still want users to be able to install only gnocchi-api
since they might not run apache wsgi even though its installed by
default.
Adds installation of rados and redis packages for python3
when needed, this is because all gnocchi components will
still be running in py3, also CLI such as gnocchi-upgrade
but the gnocchi-api is in wsgi using py2. Because of that
we still need to install the py2 packages.
Enables acceptance testing for Debian based operating systems.
Change-Id: I070f88dd40ca4129cbd3abf5b4f5ecb511b2895e
carbonara package only had one bin file carbonara-dump.
Thats gone now. Rest of the carbonara code is just python
and part of python-gnocchi. So we dont need this anymore.
Change-Id: Iaf1d4b5c85dde30b68d383f43b95d650e43d96a4
This adds defined anchor points for external modules to hook into the
software install, config and service dependency chain. This allows
external modules to manage software installation (virtualenv,
containers, etc) and service management (pacemaker) without needing rely
on resources that may change or be renamed.
Change-Id: Idc43b06eab3f7103392da699e2a77bb55ce7344d
This change updates the gnocchi tests to use rspec-puppet-facts to test
multiple operating systems.
Change-Id: I56545ff69c2db76be5db5ee6dca36ec9cbc6e801
This change switches the gnocchi module to use the os_service_default
fact for configuration options that default to '<SERVICE DEFAULT>'.
Related-bug: #1515273
Change-Id: I88f51a7025905b381c117675afc30a9ec1756c5b
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This patch rewrite puppet-gnocchi to be compliant with other modules.
It takes example at how puppet-aodh was written.
* Update init.pp to match Gnocchi requirements
* Update config.pp
* Add policy.pp
* Add storage.pp for carbonara
* Update db configuration
* Update keystone/auth.pp
* Add acceptance for API service for Centos only (not packaged on Ubuntu)
* Update unit tests
Change-Id: I82400b1e30f3700ab7a3d006b6bb143351bcc830