Ceilometer: Test deployment with separate polling agents

puppet-ceilometer now supports deploying separate polling agents for
individual namespaces, in addition to the single polling agent.

This enables that new deployment architecture in scenario002 so that we
test both architectures.

Depends-on: https://review.opendev.org/c/openstack/puppet-ceilometer/+/856850
Change-Id: Ifdd5adef1e7cbb37e8ab3e3c2b3a860128b46821
This commit is contained in:
Takashi Kajinami 2023-02-15 16:45:32 +09:00
parent c2403d7f45
commit d4a924bb07
2 changed files with 10 additions and 2 deletions

View File

@ -79,11 +79,13 @@ if $ec2api_enabled {
include openstack_integration::ec2api
}
include openstack_integration::ceilometer
class { 'openstack_integration::ceilometer':
separate_polling => true,
}
include openstack_integration::aodh
class { 'openstack_integration::gnocchi':
integration_enable => true,
backend => 'swift'
backend => 'swift',
}
class { 'openstack_integration::tempest':

View File

@ -8,9 +8,14 @@
# (optional) Boolean to run integration tests.
# Defaults to true.
#
# [*separate_polling*]
# (optional) Use separate polling services for individual namespaces
# Defaults to false
#
class openstack_integration::ceilometer (
$compute_namespace = true,
$integration_enable = true,
$separate_polling = false,
){
include openstack_integration::config
@ -87,6 +92,7 @@ class openstack_integration::ceilometer (
# NOTE(sileht): Use 1 minute instead 10 otherwise the telemetry tempest
# tests are too long to pass in less than 1 hour.
polling_interval => 60,
separate_services => $separate_polling,
}
} else {
# NOTE(tobias-urdin): When running the module tests we need to exclude the