ZhongShengping [Mon, 12 Mar 2018 08:33:06 +0000 (16:33 +0800)]
Add 'openstack-db' tag to db-sync Exec resource
In order to make easy orchestration on all OpenStack db-sync, add this
tag so people can use this tag in composition layer.
A use case it to set some orchestration to make sure MySQL Galera is
ready before running any Exec with this tag.
Javier Pena [Wed, 28 Feb 2018 14:20:47 +0000 (15:20 +0100)]
Do not skip gnocchi resource type creation by default in db::sync
The default command-line option for ceilometer-upgrade is to not
skip gnocchi resource type creation. If we do not pass any extra_params
to the ceilometer::db::sync class, we should keep defaults.
This has not failed before in CI because p-o-i was passing
'--skip-metering-database' as extra_params, but now we are removing
that deprecated option in [1].
ZhongShengping [Fri, 9 Feb 2018 06:09:58 +0000 (14:09 +0800)]
Add some kombu options
Adds the kombu_failover_strategy option for configuring
oslo.messaging.rabbit. This will determines how the next RabbitMQ node
is chosen in case the one we are currently connected to becomes
unavailable.
ZhongShengping [Wed, 7 Feb 2018 06:25:44 +0000 (14:25 +0800)]
Remove ceilometer api class
The ceilometer api has been retired upstream and the class has been
previously deprecated. Since the package may be going away, we need to
remove the api class.
ZhongShengping [Tue, 16 Jan 2018 02:11:48 +0000 (10:11 +0800)]
Remove pinned versions from test-requirements.txt
As we are using the upper constraints when running the release
notes task using tox, we do not need to set a specific version
and we can rely on whatever is configured in upper constraints.
Change-Id: I17528d35e1defcf4f005db477acbb53fcdbccd77 Co-Authored-By: Mohammed Naser <mnaser@vexxhost.com>
Emilien Macchi [Wed, 10 Jan 2018 22:07:50 +0000 (14:07 -0800)]
Add group to policy management
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>
Alex Schultz [Tue, 28 Nov 2017 21:14:06 +0000 (14:14 -0700)]
Remove ceilometer client class
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.
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.