ZhongShengping [Mon, 5 Mar 2018 00:51:30 +0000 (08:51 +0800)]
Fix mysql connection
URL mysql://scott:***@some_host/some_db does not contain a '+drivername'
portion, and will make use of a default driver. A full dbname+drivername://
protocol is recommended. For MySQL, it is strongly recommended that
mysql+pymysql:// be specified for maximum service compatibility.
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.
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.
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.
ZhongShengping [Sat, 21 Jan 2017 04:36:48 +0000 (12:36 +0800)]
Fix puppet example in README
keystone_password is reomved in ceilometer::api, use password instead.
ceilometer::rabbit_host, ceilometer::rabbit_password,
ceilometer::rabbit_userid are deprecated. Use
ceilometer::default_transport_url instead
Alex Schultz [Tue, 17 Jan 2017 22:22:53 +0000 (15:22 -0700)]
Fix Ubuntu Ocata issues
The Ubuntu libvirt package has been updated for Ocata and includes
the Debian name for the libvirt group now. This change updates the
libvirt group to be 'libvirt' and not 'libvirtd' as it was previously.
Additionally, we are not properly waiting for the ceilometer packages to
be installed before attempting to configure apache which under Ubuntu
can lead to a non-idempotent 2nd run if the apache configuration file
is installed after we've already run our apache configuration.