Set ceilometer's endpoint type to internalURL on all types of nodes

Because the endpoint type for ceilometer is set to publicURL rather
than internalURL, ceilometer polling agent is unable to poll measures
from other services with a https configured system. This update is to
set ceilometer's endpoint type to internalURL through puppet for all
types of nodes.

Closes-Bug: 1790238

Change-Id: I19f0e354a22b089f140ed8e762f3db68f6bc4ddb
Signed-off-by: Angie Wang <angie.wang@windriver.com>
This commit is contained in:
Angie Wang 2018-09-04 13:31:17 -04:00
parent 6835729af2
commit 4eb9d8da77
4 changed files with 3 additions and 1 deletions

View File

@ -61,6 +61,7 @@ openstack::nova::compute::compute_monitors: "cpu.virt_driver"
# ceilometer
ceilometer::agent::auth::auth_endpoint_type: 'internalURL'
ceilometer::agent::polling::central_namespace: false
ceilometer::agent::polling::compute_namespace: true
ceilometer::agent::polling::instance_discovery_method: 'workload_partitioning'

View File

@ -295,6 +295,7 @@ neutron::services::bgpvpn::service_providers:
# ceilometer
ceilometer::agent::auth::auth_endpoint_type: 'internalURL'
ceilometer::agent::notification::enabled: false
ceilometer::agent::notification::disable_non_metric_meters: false
ceilometer::agent::notification::manage_event_pipeline: true

View File

@ -2,6 +2,7 @@
---
# ceilometer
ceilometer::agent::auth::auth_endpoint_type: 'internalURL'
ceilometer::agent::polling::central_namespace: false
ceilometer::agent::polling::compute_namespace: false
ceilometer::agent::polling::ipmi_namespace: true

View File

@ -182,7 +182,6 @@ class openstack::ceilometer::agent::notification {
ceilometer_config {
'DEFAULT/csv_location': value => "${ceilometer_directory_csv}";
'DEFAULT/csv_location_strict': value => true;
'service_credentials/interface': value => 'internalURL';
'notification/workers': value => $agent_workers_count;
'notification/batch_size': value => 100;
'notification/batch_timeout': value => $batch_timeout;