Browse Source

Configure SNMPD when telemetry is used

Users reported regression of missing SNMPD service. I wasn't able to find where got
it lost, so made this patch to explicitly configure the service as it is configured
on newer releases.

Depends-On: https://review.opendev.org/#/c/732091
Change-Id: I35bbd300a63e05added1aa4dda38d12d0657c704
Partial-Bug: #1881152
changes/29/731529/5
Martin Magr 1 month ago
committed by Martin Mágr
parent
commit
a728f945ff
2 changed files with 9 additions and 0 deletions
  1. +4
    -0
      elements/puppet-stack-config/puppet-stack-config.pp
  2. +5
    -0
      elements/puppet-stack-config/puppet-stack-config.yaml.template

+ 4
- 0
elements/puppet-stack-config/puppet-stack-config.pp View File

@@ -190,6 +190,10 @@ class { '::heat::db::mysql':
allowed_hosts => $allowed_hosts,
}
if str2bool(hiera('enable_telemetry', false)) {
# SNMPD
class { '::tripleo::profile::base::snmp':
step => 4
}

# Ceilometer



+ 5
- 0
elements/puppet-stack-config/puppet-stack-config.yaml.template View File

@@ -305,6 +305,11 @@ neutron::agents::ml2::networking_baremetal::user_domain_name: "%{hiera('keystone
neutron::agents::ml2::networking_baremetal::project_domain_name: "%{hiera('keystone_default_domain')}"
neutron::agents::ml2::networking_baremetal::region_name: "%{hiera('keystone_region')}"

# SNMPD
tripleo::profile::base::snmp::snmpd_user: {{UNDERCLOUD_CEILOMETER_SNMPD_USER}}
tripleo::profile::base::snmp::snmpd_password: {{UNDERCLOUD_CEILOMETER_SNMPD_PASSWORD}}
snmp::agentaddress: ['udp:161', 'udp6:[::1]:161']

# Ceilometer
ceilometer::debug: "%{hiera('debug')}"
ceilometer::metering_secret: {{UNDERCLOUD_CEILOMETER_METERING_SECRET}}


Loading…
Cancel
Save