The move of policy.json into code means the file may not exist. We've
added support to ensure that the file exists in the openstacklib but we
need to make sure the permissions are right for each service. This adds
the group information to the policies so it works right.
Depends-On: I26e8b1384f4f69712da9d06a4c565dfd1f17c9ed
Change-Id: I3b4d162e4ba79f1dcc9e98e7a600b3b3203018f3
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
The ceilometer client has been retired upstream and the class has been
previously deprecated. Since the package may be going away, we need to
remove the client class.
https://review.openstack.org/#/c/522183/
Change-Id: I3e10b80d5115b32bb4aa480276303ac6136f175f
Collector has been deprecated in the previous release and is
targeted to be remvoed in Queens release. The code for this
is already removed upstream[1]. Let drop this class now.
[1] https://review.openstack.org/#/c/504244/
Change-Id: I626d50677255b9668ddec30131f6214f18d42fd7
Lets expose this param so we can override the host param in
ceilometer config. Without this, some metrics from nova wont
make it as in some cases the fqdn might not match hostname.
Partial-bug: #1721054
Change-Id: I421a61dc31bd10fec0a10bf7e867001cf4dd3f02
Keystone v2.0 API was removed so we have no choice but configuring
user_domain_name and project_domain_name otherwise it fallbacks to
Keystone v2.0 and it fails. This patch sets the default value so we make
sure Keystone v3 will be used out of the box for our users.
Change-Id: I6949b5e00ec26ddc66cbe08de7420468d6b34954
Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
This allows the setting of the error and access file logs, as well as
the access log format. This was done in a similar fashion as one can
configure these ones in the keystone wsgi manifest.
Change-Id: I000ecd05a4ca3b21970b4fa9ca49362c90b072e1
Add parameter to apache_wsgi to allow overwrite
and/or add additional wsgi process options.
This possibility was added to openstacklib
with Change-Id: I41914ce3361988d5db1695f09d21209772fdf548
Change-Id: I1a2f1a28200d362b7918a458e8f885873062e98b
The revocation_cache_time is deprecated for removel because of PKI
token format is no longer supported.
Update warning message and add a release note.
Change-Id: I8fea10159dfd4a8c1cee2242a2dbf9abc86b4686
Closes-Bug: #1717144
The upstream change has been reverted so lets revert this as well. See I4ee646088f7bc370ed7ffd1eb3b98e66bae6782e
This reverts commit 1a4bdd359d8b52989435440dd4629b598489bf59.
Change-Id: I017e8b4f7a064bc6cd3c283d1c115f3ecf1499fe
The rpc_backend option has been removed in puppet-oslo[0], so we should
remove it.
[0]https://review.openstack.org/#/c/489264/
Change-Id: I681b4126d42385f92de55dfe270ff35541fb7626
Closes-Bug: #1708976
Oslo.messaging uses the transport_url to represent the rpc and
notification messaging driver to use and its full configuration. The
rpc_backend configuration option is deprecated for removal and
should not gate oslo.messaging driver configuration options.
This patch:
* deprecate rpc_backend
* remove conditional check
* update spec tests
* add release note
Change-Id: Ib58f85348920459f6ae0445379ddcb50185b8518
The unit tests were broken by a change to openstacklib
Id09c3358c5843510e6a2a8c0e2d4aeb3607e098b which renamed some of the
resources in the openstacklib classes. The problem is that our tests in
this module should not have been testing what occurs within openstacklib
so this fix updates the tests to only check what we are doing within
this module.
Change-Id: I331e99e05357d21f78dd7ee0346598473e5b9791
Depends-On: I9d535ab38afea852559df2b3073bd4b74a2a3947
The store_events option has been removed since Newton
Depends-On: I5a906684f6371b0548ac08cacc13aa238f780f78
Change-Id: I0a997d0c7076d2133d20b268b47f0c867a15f106
Right now when you try to manage the `pipeline.yaml` or
`event_pipeline.yaml` via Puppet, notification-agent can't start
because it can't read the file because it has by default root:root
permissions. This enforces to have root:ceilometer and mode rw-r-----
to allow the daemon read the pipeline files
Change-Id: Ia97821135a2d51377514f2bcf389126254209e76
'ensure' property for user and group type resource has no default value;
if we are managing ceilometer user and group we should set ensure to
'present' so that the resources get created.
Also make user depend on group resource being created first.
Change-Id: Ie5b2704b3ea9a7727c6ff4f06efcbea201e6314a
Allow to let Puppet removing the crontab when
ceilometer::expirer::enable_cron is set to False.
It's useful when you want to upgrade from Ocata to Pike and you want the
crontab to be removed, since ceilometer-expirer is deprecated in Pike.
Change-Id: I1eb243be7bbc38ab5977bcf6a649e98eb6ff77f7
It is 'memcache_servers' in group [cache], not 'memcached_servers'.
For better understanding, deprecate memcached_servers option and
use memcahce_servers instead.
Change-Id: I57d7b45438904387176200c0062b7f33f4268006
Closes-Bug: #1690981
pipeline yaml defaults to gnocchi publisher. This wont work
if collector(which is deprecated) is still being used. This
should be set to notifier:// instead. So lets make this
configurable.
Change-Id: I242642035c3d3d6e814f54bcd2d1e15c3a53120b
In pike, the default publisher is gnocchi. Lets use that
as the default. If you are using collector the override
this to notifier:// instead.
Change-Id: Ic6ba909c873bee801843718cc25974abeda9f857
Currently we join the params and pass in a string to the dispatcher
settings. This wont work as ceilometer config expects separate
lines for each value.
Change-Id: I3813f0918c8394ef14959be7580bf026314ba82e
The archive_policy option of ceilometer::dispatcher::gnocchi is
deprecated and should be removed.
So this change deprecate it for removal.
Depends-On: Ide510f355361737230efcd89ff78ff974bc96134
Change-Id: Ic60b7189c3bfc01f59889ffbd35adaba9c00f559
As messaging_urls option contains rabbit_password value, it should
be secured.
Change-Id: I503180280a5558d27c00368e9949aaed52151e79
Closes-Bug: #1676708
The url option of ceilometer::dispatcher::gnocchi doesn't exists anymore
since a while in Ceilometer.
So this change deprecate it for removal.
Change-Id: I2b87de910b73d65111d609b8722183c1852f9c35
Since gnocchi is the default backend, We might want to be able to
override this option and let it skip by default for compatibility.
let user set it via extra_params.
Change-Id: I23e43552e14ced5a7da5e16ef323df3b1ec6722d
The configuration is done via the oslo::messaging::rabbit resource
from puppet-oslo. We should be checking for the resource that we're
using instead of the underlying configuration file.
Change-Id: I2f0a392e4b0a7a7ab61cc1e853fca44c3b9cbe97
1) meter_dispatcher and event_dispatcher options are now deprecated,
please use meter_dispatchers and event_dispatchers options instead.
2) Switch meter_dispatchers and event_dispatchers parameters to
$::os_service_default fact.
Change-Id: I32dcbf34160906d15c871272e5ce0eba46c02b5e
Closes-Bug: #1668817
I7ccd995ef01c2d54427684718adba054260fdd52 removed the rpc_backend
declaration for amqp so we need to stop checking for it in the unit
tests.
Change-Id: I7ad627f2ec69ea2456830f2ca6e984af6d03ae6a
Add control_exchange to configure an exchange name for message.
Add rpc_response_timeout to configure seconds time for waiting
for a response from a call.
Change-Id: I0d54accfea048fa394dac18e141a620d127579cf