We've been missing ability to configure two options:
- collector_workers, number of workers for collector service.
- notification_workers, number of workers for notification service.
- api_workers, number of workers for api service.
Co-Authored-By: Ivan Berezovskiy <iberezovskiy@mirantis.com>
Change-Id: Ifc1f1623289560f873442a702a23a5cc1c831c72
Qpid messaging driver is removed from Oslo.messaging [1]
Therefore, we cannot support it anymore.
[1] I4a9cba314c4a2f24307504fa7b5427424268b114
Change-Id: I46f3681963b4a365f2c5cdd7f5f6168adb751551
* Add dispatcher options to ceilometer::collector.
* Create ceilometer::dispatcher::gnocchi class, with current upstream options.
* Add an example of manifest.
* Unit & functional tests.
Note:
This patch implement os_service_defaults only for the new class.
For collector, it will be updated in one patch in another patchset.
Change-Id: Id9364e1e1337708b1e0254b4c6268f1a0b1a42ad
Switch to $::os_service_default all params in logging and db.
Changes: logging.pp, db.pp and tests.
Related-bug: #1515273
Change-Id: I412104bf46c4b40fdbd366e3a8a9dc9de5abb5fd
The README references to the retired puppet-openstack module
should be removed, as they link to the empty github page.
Change-Id: I1e4f5fd79c285b6d7e11eed9619ea26c495798c5
Closes-bug: #1518589
Bump from UCA RDO Liberty testing to GA repos.
Depends-On: I19a1588c488d56b647703c0267540c7649fdc6d1
Change-Id: I931319d4a3989860a7532b1132788522c26d4b29
Add parameter to ceilometer::db::sync class to allow end
users to add command line parameters to the db sync command.
Change-Id: I664a822ef2962d5cb32bef7573e13f0b57ee6057
Partial-bug: #1472740
https://review.openstack.org/#/c/228744/ has been merged, we need to
drop the 'tenant' parameter to Keystone_user resource.
Change-Id: I515769d73b26b21b2a18914411a9d9aee27f95c9
This patch introduce the same design than mysql for postgresql
by requiring dedicated lib::python class instead of declaring
a new resource package within ceilometer module.
Change-Id: Id01849badb4ed5aeae541d0ae7e0d47af5d1f245
compile and compile.with_all_deps rpsec matchers make
a call to all facts, and especially the ec2 one (this fact, try
to make a connection on the IPv4 link-local for ec2 metadata which
is incompatible with webmock restrictions), this seems to produce
random errors with puppet 3.{3,4}.x and facter 1.7.6.
Closes-bug: #1492636
Change-Id: If27fa1adca40bab7fdfcb0687b68d1524c961325
In OpenStack Infra, we would like to run Puppet unit tests that
sometimes depends on other Puppet OpenStack modules.
Example: a patch in puppet-openstacklib that needs to be tested in puppet-nova.
This patch modifies the Rakefile to:
* clean spec_prep and spec_clean Rake tasks
* use openstack/puppet-openstack-integration/install_modules_unit.sh script
to clone modules.
* do not use .fixtures.yaml file to clone modules and rely on
zuul-cloner or git.
* Add openstack/ in gitignore so we never commit the
puppet-openstack-integration repository (can happen when spec_clean
did not run but you want to submit the patch anyway)
* Allow to run a custom Puppetfile if PUPPETFILE env is exported. It
will allow people to test the module with the dependencies they like,
feature we had with .fixtures.yaml.
Also add 'r10k' to Gemfile.
That way, we will be able to use zuul dependencies and run tests accross
modules like we do with functional testing.
Change-Id: I8b884ef477bbc031da6bd3955ed308679e0380f6
Drop service dependency for Keystone_user_role.
Without that patch, Ceilometer & Keystone running in WSGI will fail to compile
the catalog because a dependency cycle:
Anchor[keystone_started] => Keystone_user_role[ceilometer@services] =>
Service[ceilometer-api] => Service[httpd] => Anchor[keystone_started]
The dependency is not really useful because it does not prevent the
service to start.
Change-Id: Id8366cd5d2ddf6da468ecc7adb7d55eb8be4c8d8
Currently logging configuration is splitted in two distinct classes, the init.pp and the
logging.pp classes.
This review aims to centralize all logging related parameters in a
single class, the logging.pp one.
The impacted parameters are :
* use_syslog
* use_stderr
* log_facility
* verbose
* debug
* log_dir
This change remains backward compatible with what is currently in place
Change-Id: I1132395295f542f4ba5459769a5b4b829a9cd7a7
When stopping Ceilometer API running eventlet (ceilometer-api service),
we need to make sure it's done *before* starting Apache.
Otherwise, there is a race condition where Apache could be started before
stopping the service, and what would lead to:
AH00072: make_sock: could not bind to address [::]:8777
AH00072: make_sock: could not bind to address 0.0.0.0:8777
no listening sockets available, shutting down
Apache fails to start.
This patch make sure we have the right orchestration in place.
Change-Id: Ieec365b9eed2a13d132005118f93089ac9885e58
This already exists in the db::sync class for all services tagged
with ceilometer-service. Removing it from here will allow the api
service on a HA controller where the dbsync isn't run.
Change-Id: I722bd4b1d4f8536c97afac14b916e9253458bb3b
Add auth_endpoint_type which is the type of endpoint in Identity service
catalog to use for communication with OpenStack services. Default to
undef.
Change-Id: Ia62186b3a4520e1f323a4fa96d8a925874b3604a