Pradeep Kilambi [Mon, 16 Oct 2017 15:40:35 +0000 (11:40 -0400)]
Remove deprecated collector classes
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.
Pradeep Kilambi [Tue, 3 Oct 2017 13:31:34 +0000 (09:31 -0400)]
Add support to set host param
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.
Harry Rybacki [Fri, 6 Oct 2017 13:33:21 +0000 (09:33 -0400)]
Configure *_domain_name to Default by default
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.
Emilien Macchi [Wed, 30 Aug 2017 20:41:00 +0000 (13:41 -0700)]
Use Python to compute release notes version
Leave the version fields blank, since the release notes document
applies to all versions.
That will avoid manual changes in the future like we did until now.
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.
Alex Schultz [Thu, 13 Jul 2017 21:25:29 +0000 (15:25 -0600)]
Fix unit tests
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.
Luis Pigueiras [Thu, 29 Jun 2017 09:48:31 +0000 (11:48 +0200)]
Ensure pipeline yamls are created with correct permissions
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
Jake Yip [Wed, 21 Jun 2017 03:35:05 +0000 (13:35 +1000)]
Add ensure value for user and group resources
'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.
Jake Yip [Tue, 23 May 2017 06:04:07 +0000 (16:04 +1000)]
Fix filename of api_paste.ini
The default filename is api_paste.ini, not api-paste.ini. Since we do
not have an option to set the file name using
[DEFAULT]/api_paste_config, we should fix the default to make sure it
works.
ZhongShengping [Thu, 8 Jun 2017 02:48:19 +0000 (10:48 +0800)]
Update global requirements
Pin reno version to reno!=2.0.0,!=2.3.1,>=1.8.0
Pin sphinx version to sphinx!=1.6.1,>=1.5.1
reno=2.3.1 and sphinx=1.6.1 break releasenotes and doc tests.
Emilien Macchi [Thu, 18 May 2017 20:16:40 +0000 (16:16 -0400)]
expirer: remove the crontab if enable_cron is False
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.
ZhongShengping [Tue, 16 May 2017 03:54:52 +0000 (11:54 +0800)]
Deprecate memcached_servers parameter
It is 'memcache_servers' in group [cache], not 'memcached_servers'.
For better understanding, deprecate memcached_servers option and
use memcahce_servers instead.
Alex Schultz [Wed, 17 May 2017 14:21:20 +0000 (08:21 -0600)]
Update tox configuration
Update the tox configuration to pull in the openstack
upper-constraints.txt when running releasenotes. This will
fix the releasenotes job that is currently failing due to
a new version of sphinx. Additionally this change includes
updates from puppet-modulesync-configs.
Pradeep Kilambi [Thu, 16 Mar 2017 19:45:45 +0000 (15:45 -0400)]
Add support to configure publisher in pipeline.yaml
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.
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.
ZhongShengping [Thu, 23 Mar 2017 06:37:15 +0000 (14:37 +0800)]
Update test-requirements.txt
This patch brings it in line with the latest global requirements.
By being in line with global requirements, this is a more accurate
list with respect to how things are actually tested in the gate.
The following link[0][1][2] shows the latest reno, oslosphinx, sphinx
packages.
Pradeep Kilambi [Mon, 23 Jan 2017 13:59:49 +0000 (08:59 -0500)]
Make skip gnocchi option overridable
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.
rabbitmq SSL: check puppet resource instead of actual config
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.
ZhongShengping [Fri, 3 Mar 2017 07:19:07 +0000 (15:19 +0800)]
Deprecate meter_dispatcher and event_dispatcher options
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.
ZhongShengping [Sat, 28 Jan 2017 04:59:08 +0000 (12:59 +0800)]
Add control_exchange and rpc_response_timeout options
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.