This change defines manifest_dir and module_path expicitly in unit
tests so that modules installed under fixtures directory is properly
loaded.
Closes-Bug: #1930403
Change-Id: I960e6e19da4f05cfb07d261f294411bcb4618f68
(cherry picked from commit 6cd026faf68cbc4768caa707d0019732d376074e)
This change renames aodh::auth and its parameters to be consistent
with the section name and the parameter names in aodh service. This
allows operators more easily guess how the class and its parameters
correspond to the options in aodh.
Change-Id: I7ddc4af25f89317da6a794beba312841d2f1bc25
This change ensures that the coordination_url option is not unmanaged
but unset, to make sure that the default value defined in aodh itself
is used.
Change-Id: If82dc6054483893433634ca81f446e6959dcd038
This change introduces support for workers option of aodh services
(evaluator, listener, notifier) so that operators can define number
of processes used in each service.
Change-Id: Id64fc407d19aa546512078f67df3a727fd9f5525
As Openstack projects continue to have longer database migration
chains, the Puppet default timeout of 300 seconds for an execution
is becoming too short a duration on some hardware, leading to timeouts.
As projects continue to add more migration scripts without pruning
the base, timeouts will continue to become more frequent unless
this time can be expanded.
Change-Id: Ia14ad6a2ca9c200867ee5760ca4d72d747d27ad5
Closes-Bug: #1904962
This change adds the 'params' hash in authtoken class, to implement
the same functionality as the one recently introduced into
puppet-nova[1].
[1] 5c38281e1b698f157f03bf1815733277c541c30b
Change-Id: I9a3a1ae0059afc44f71c322c2452776f293a2089
Since aodh-expirer command is included in a different package, we need
to manage that package as well in the corresponding class.
Change-Id: Ie3111d5a168e8d15f3e04d410a5a5c30b44324c2
In commit [1] we enabled the usage of rspec-puppet
2.7.1 in the "latest" unit jobs. This fixes so that
it passes that latest version where strict variables
is enabled.
This testing catches all logical statements that
causes undefined variables and similar where code
is either faulty or testing does not properly set
pre_condition.
[1] https://review.openstack.org/#/c/618919/
Change-Id: I5c7dc99e683885616777ff26217cf6cd0b79a99a
It is provided by the Puppet class 'openstacklib::wsgi::apache'.
This change exposes it for the Aodh service.
Signed-off-by: Luke Short <ekultails@gmail.com>
Change-Id: Ic5055279770342d244ef3a4592067351981b459a
This patch introduces the new ``aodh::quota`` class, to support
parameters which define quota amount in aodh.
Change-Id: Ice37e64bddb0e128f3fc98de7b5fe35bd08e5f36
This patch adds support for [keystone_authtoken] interface parameter,
so that operators can define which endpoint should be used by authtoken
middleware.
Change-Id: I39bf94a041d7d4af31fb2653c9274ee8fbdb732e
... and migrate it to openstacklib so that all logics about database
configuration are implemented in one common place.
Depends-on: https://review.opendev.org/#/c/728595/
Change-Id: I1fe4c1eed71e9b4ca977b206edefbd0c700af74d
... because domain name is more predictable than domain id. Also, we
generally use domain_name instead of domain_id in other puppet modules,
so it's more consistent to use domain_name.
Change-Id: I3439997795b7331eec0d0a0a0568d6afdeb5247b
Because the value for oslo_messaging_notifications/driver is now
a list[1], we should expect that a list is set when multiple drivers
are given.
[1] c7b0cc82fac79b47c3dd9a625cbd5a1eb192ed00
Change-Id: I74b9bdaeefee1ed3bbb836d3a45e20e5609f0a8b
In CentOS, we expect to have python3 client package in 8.x while we
expect to have python2 in 7.x .
Fix unit tests to expect the correct version according to os major
version.
Change-Id: Ifdc8e09197f15720d585598b54ba9427f436dc3a
Change I36324bae39e05dde57b962948f832c22599c13d2 added
executor_thread_pool_size as a new param to oslo::messaging::default,
but that option was not updated in many modules like this one. This
means a user cannot set executor_thread_pool_size, as setting it
anywhere else will throw a duplicate declaration error.
This change update the oslo::messaging::default call accordingly, and
adds an option to set it, similar to Change
Id4a61c39ef6392a3d656952467c756be9e68de91
Change-Id: I92ff2d3fbf038c84a15eaa0a06283a731ec48809
oslo.messaging RabbitMQ driver have now a new option that allow user to
run the RabbitMQ heartbeat over a native python thread.
These change allow user to use this new option.
Change-Id: I20edb5b8b30821486b5cf407af7636b3cd1cc2b6
Closes-Bug: #1840868