This commit adds support for the oslo.messaging amqp rpc_backend which enables
the AMQP 1.0 driver. A proposed feature for the Newton oslo.messaging release is an
update to the AMQP 1.0 driver to support a stateless messaging interconnect for
RPC traffic[1].
This patch:
* use oslo::messaging::amqp resource
* add new parameters for the oslo_messaging_amqp driver
* update spec tests for amqp as alternate rpc_backend
* add feature release note
[1] https://blueprints.launchpad.net/oslo.messaging/+spec/amqp-dispatch-router
Change-Id: I2095cee083c9ca2390df703ad6e3216e428989f9
The db_max_retries parameter regulates the number of reconnection
attempts performed after an error raised rather than at startup.
Change-Id: Iaf0d5ada30e0ea57d454ab1850cc61ee658cef64
Closes-Bug: 1579718
Co-Authored-By: Giulio Fidende <gfidente@redhat.com>
The scenario without apache was a transition to test upgrade between non
wsgi with apache to wsgi with apache and was introduced during Liberty
cycle.
The scenario is not useful anymore, as we have a wsgi with apache
scenario working well.
Moreover, we were trying to stop Keystone service, which does not exist
anymore in Mitaka, and removed from distros in Newton. It causes beaker
jobs errors.
Let's remove this test.
Change-Id: I0fc1e758ab41ac47667703b0a305c0871e43f929
This change updates the tests for ceilometer::db::postgresql and
ceilometer::db::sync to test multiple operating systems.
Change-Id: Ia3776f80bbd37981725668a55a76ecd4f20389c0
Additonal changes:
* switch oslo related parameters to $::os_service_default
as they are used in oslo defines
* update unit tests
* update docs for oslo parameters
Change-Id: I4f813444fbf141abe7f10b3aef7d1aa314ac0ac4
Set the 'ceilometer-service' tag for the collector and the
notification services as it happens already for the others.
Change-Id: I4c6fe871a1d55ea4dfdfc33edafdcf57bbd91e5e
* Update CHANGELOG with release notes URL.
* Update README with new release number & name.
* Update metadata.json with new tag & dependencies.
* Add release note prelude for Mitaka.
* Update Reno release note to drop prelude.
* Improve release note landing page.
Change-Id: I698d6e4df7b22fce0b157e894050ed80f5a346f9
ReNo [1] is the release management tool in OpenStack.
This patch adds the basic structure to start using it.
* Update .gitignore
* Add a basic note "use-reno"
* Add releasenotes/ dir and basic files
* Add python files: setup.cfg, setup.py, test-requirements.txt and
tox.ini.
[1] http://docs.openstack.org/developer/reno
Change-Id: Ide7c53a7b25a1c0ef4966f60f6fc6bf07f636c83
Current examples and tests make it look like
filter_project param is a boolean, which its not,
Its a string instead.
Change-Id: If5dbb0b1edd122a76dcc10d75f67d8f3a3fd0a7b
Add ceilometer_api_paste_ini type/provider for Ceilometer.
Also add the capability to configure api-paste.ini with config.pp.
Closes-bug: #1483371
Change-Id: I7a5ce9629b9069495e233a4576742aeb171a09c1
Alarming services (evaluator and notifier) in Mitaka
were moved to Aodh OpenStack project. Now Ceilometer
doesn't contain any code related to alarms,
so we need to stop usage of Ceilometer alarm classes.
Change-Id: I087545f0e97050521275c8eb096c8e33b71d1a69
keystone_auth_ui and keystone_identity_uri parameters are inconsistent
with other modules, change keystone_auth_ui,keystone_identity_uri to
auth_uri,identity_uri
Change-Id: I0c606b62678c3c293dc0e15c47825909f0c64ee0
Closes-Bug: #1532920
amqp_durable_queues is an important param for configuring
Rabbitmq HA, When rabbitmq service quits or crashes,it
will forget the queues and messages. To make sure those
messages aren't lost, amqp_durable_quesesneed to added in
ceilometer.
Change-Id: I35b3897bb56ebcc955bb15d19465493549dec69b
Closes-Bug: #1537354
mock is not used anywhere in the module, let's drop it.
This patch will help to hit this bug:
https://launchpad.net/bugs/1492636
Change-Id: I000953c7b215454baf9838813c04e94b7ebeca00
Ceilometer Alarm has been replaced by Aodh, and does not exist anymore
in Mitaka.
This change just stop testing the Puppet classes, but still allow to use
the classes.
Partial-Bug: #1535382
Change-Id: I387273a60e29c4be40a5c9937c077ffdb40b4816
There are two ways for setting up RabbitMQ HA:
1. Configure rabbit_hosts to multi rabbit hosts.
2. Set up a loadbalancer in front of RabbitMQ cluster,
provide a unique address in rabbit_host
But rabbit_ha_queues option is controled by rabbit_hosts if conditional
statement. When users try the second method: changing rabbit_ha_queues to true.
If they don't set rabbit_hosts, then current logic will not work.
This patch aims to add an rabbit_ha_queues option, set to undef by
default for backward compatbility.
Change-Id: Id1245002dfbb6f314c6082f554221ee247be630c
The notification_workers/api_workers/collector_workers options are
deprecated and should be set in [notification]/[api]/[collector]
sections separately.
Closes-Bug: #1533276
Change-Id: If1816830affd9de71ae5ee7bc2869eee7eaf8473
This change adds the rspec-puppet-facts gem to the spec helper so that
we can centralize the management of the base operating systems that we
support. rspec-puppet-facts allows us to simplify our unit tests and
provides a more complete list of Operating Systems and their associated
facts for the unit tests. With this change we can now loop over and
test CentOS, Debian, Fedora, RedHat, and Ubuntu by simply providing a
list of supported os to rspec-puppet-facts.
Additionally this change includes a central object for managing our
supported os list for rspec-puppet-facts and providing our default facts
like os_service_default. This central object should replace the usage of
@default_facts within the unit tests for each module.
Change-Id: Ie420cd2599fa3e88e6471bf3e9fce20d48f19805
This commit adds the ::ceilometer::db subclass to the example in README.md.
The README.md should contain a working pseudo-minimal example for basic
ceilometer installation. At some point the 'db' subclass was required
for basic usage.
Without this class applying the example in README.md is unusable,
erroring out with this:
> Error: Could not find dependency Class[Ceilometer::Db] for
> Service[ceilometer-api] at
> /etc/puppet/modules/ceilometer/manifests/api.pp:112
Change-Id: Ifd0577e23661bc00b98621a622c44c0a9af70a5d
mongodb_replica_set parameter has been dropped in Mitaka [1] and has no
effect anymore.
This patch deprecated our interface by sending a warning if the param is
set. If set, it has no effect though, since the param does not exist
anymore upstream.
[1] a6d608a332
Closes-Bug: #1528612
Change-Id: I49123b0f1353e24b217ea6f16f556ab25a6c86b0
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