Browse Source

Disable notification from services by default

Currently we disable Telemetry services like Ceilometer by defaut,
which means that we don't have any consumers for notification messages.
So NotificationDriver should be set as noop by default so that we don't
have unconsumed messages in notification queues.

Change-Id: I1d05749c94bd58ad4badafa7d9755009cb4b64af
Closes-Bug: #1869355
(cherry picked from commit afc0b731e0)
(cherry picked from commit 7ab640cfa5)
changes/51/770751/3
Takashi Kajinami 1 year ago
committed by Matthias Runge
parent
commit
491b545715
  1. 1
      ci/environments/scenario001-multinode-containers.yaml
  2. 2
      ci/environments/scenario001-standalone.yaml
  3. 1
      ci/environments/scenario002-standalone.yaml
  4. 2
      deployment/aodh/aodh-base.yaml
  5. 2
      deployment/barbican/barbican-api-container-puppet.yaml
  6. 2
      deployment/ceilometer/ceilometer-base-container-puppet.yaml
  7. 2
      deployment/cinder/cinder-api-container-puppet.yaml
  8. 2
      deployment/experimental/designate/designate-base.yaml
  9. 2
      deployment/glance/glance-api-container-puppet.yaml
  10. 2
      deployment/heat/heat-base-puppet.yaml
  11. 2
      deployment/keystone/keystone-container-puppet.yaml
  12. 2
      deployment/manila/manila-base.yaml
  13. 2
      deployment/mistral/mistral-base.yaml
  14. 2
      deployment/neutron/neutron-base.yaml
  15. 2
      deployment/nova/nova-base-puppet.yaml
  16. 2
      deployment/octavia/octavia-base.yaml
  17. 2
      deployment/sahara/sahara-base.yaml
  18. 1
      environments/enable-legacy-telemetry.yaml
  19. 1
      environments/enable-stf.yaml
  20. 1
      environments/metrics/ceilometer-write-qdr.yaml
  21. 3
      environments/services-baremetal/undercloud-ceilometer.yaml
  22. 3
      environments/services/undercloud-ceilometer.yaml
  23. 6
      releasenotes/notes/disable-notification-driver-a888d4e9b8eed1dc.yaml

1
ci/environments/scenario001-multinode-containers.yaml

@ -105,6 +105,7 @@ parameter_defaults:
ceilometer::agent::polling::polling_interval: 15
# NOTE(mmagr): uncomment when QDR mesh will actually work (followup on review.opendev.org/702754)
#tripleo::profile::base::metrics::qdr::router_mode: interior
NotificationDriver: 'messagingv2'
ManagePolling: true
ManagePipeline: true
CeilometerEnableGnocchi: true

2
ci/environments/scenario001-standalone.yaml

@ -43,9 +43,9 @@ parameter_defaults:
# in sync with the archive policy, 60s too.
ceilometer::agent::polling::polling_interval: 15
tripleo::profile::base::metrics::qdr::interior_mesh_nodes: ''
NotificationDriver: 'messagingv2'
ManagePolling: true
HeatConfigureDelegatedRoles: true
ManagePipeline: true
CeilometerEnableGnocchi: true
PipelinePublishers:
- gnocchi://?archive_policy=ceilometer-high-rate

1
ci/environments/scenario002-standalone.yaml

@ -33,6 +33,7 @@ parameter_defaults:
# instead of 10 minutes. Note that tempest telemetry.alarm_granularity must
# in sync with the archive policy, 60s too.
ceilometer::agent::polling::polling_interval: 15
NotificationDriver: 'messagingv2'
ManagePolling: true
ManagePipeline: true
CeilometerEnableGnocchi: true

2
deployment/aodh/aodh-base.yaml

@ -54,7 +54,7 @@ parameters:
description: Keystone region for endpoint
NotificationDriver:
type: string
default: 'messagingv2'
default: 'noop'
description: Driver or drivers to handle sending notifications.
conditions:

2
deployment/barbican/barbican-api-container-puppet.yaml

@ -156,7 +156,7 @@ parameters:
type: json
NotificationDriver:
type: string
default: 'messagingv2'
default: 'noop'
description: Driver or drivers to handle sending notifications.
DeployIdentifier:
default: ''

2
deployment/ceilometer/ceilometer-base-container-puppet.yaml

@ -74,7 +74,7 @@ parameters:
hidden: true
NotificationDriver:
type: string
default: 'messagingv2'
default: 'noop'
description: Driver or drivers to handle sending notifications.
GnocchiArchivePolicy:
default: 'ceilometer-low-rate'

2
deployment/cinder/cinder-api-container-puppet.yaml

@ -86,7 +86,7 @@ parameters:
type: json
NotificationDriver:
type: string
default: 'messagingv2'
default: 'noop'
description: Driver or drivers to handle sending notifications.
RootStackName:
description: The name of the stack/plan.

2
deployment/experimental/designate/designate-base.yaml

@ -64,7 +64,7 @@ parameters:
type: number
NotificationDriver:
type: string
default: 'messagingv2'
default: 'noop'
description: Driver or drivers to handle sending notifications.
parameter_groups:

2
deployment/glance/glance-api-container-puppet.yaml

@ -194,7 +194,7 @@ parameters:
type: json
NotificationDriver:
type: string
default: 'messagingv2'
default: 'noop'
description: Driver or drivers to handle sending notifications.
EnableInternalTLS:
type: boolean

2
deployment/heat/heat-base-puppet.yaml

@ -121,7 +121,7 @@ parameters:
type: number
NotificationDriver:
type: string
default: 'messagingv2'
default: 'noop'
description: Driver or drivers to handle sending notifications.
HeatCorsAllowedOrigin:
type: string

2
deployment/keystone/keystone-container-puppet.yaml

@ -176,7 +176,7 @@ parameters:
hidden: true
NotificationDriver:
type: string
default: 'messagingv2'
default: 'noop'
description: Driver or drivers to handle sending notifications.
KeystoneChangePasswordUponFirstUse:
type: string

2
deployment/manila/manila-base.yaml

@ -50,7 +50,7 @@ parameters:
hidden: true
NotificationDriver:
type: string
default: 'messagingv2'
default: 'noop'
description: Driver or drivers to handle sending notifications.
conditions:

2
deployment/mistral/mistral-base.yaml

@ -47,7 +47,7 @@ parameters:
hidden: true
NotificationDriver:
type: string
default: 'messagingv2'
default: 'noop'
description: Driver or drivers to handle sending notifications.
conditions:

2
deployment/neutron/neutron-base.yaml

@ -103,7 +103,7 @@ parameters:
type: json
NotificationDriver:
type: string
default: 'messagingv2'
default: 'noop'
description: Driver or drivers to handle sending notifications.
EnableVLANTransparency:
default: false

2
deployment/nova/nova-base-puppet.yaml

@ -36,7 +36,7 @@ parameters:
description: Keystone region for endpoint
NotificationDriver:
type: string
default: 'messagingv2'
default: 'noop'
description: Driver or drivers to handle sending notifications.
NovaPassword:
description: The password for the nova service and db account

2
deployment/octavia/octavia-base.yaml

@ -48,7 +48,7 @@ parameters:
configuration remnants after upgrades.
NotificationDriver:
type: string
default: 'messagingv2'
default: 'noop'
description: Driver or drivers to handle sending notifications.
OctaviaUserName:
description: The username for the Octavia database and keystone accounts.

2
deployment/sahara/sahara-base.yaml

@ -50,7 +50,7 @@ parameters:
type: comma_delimited_list
NotificationDriver:
type: string
default: 'messagingv2'
default: 'noop'
description: Driver or drivers to handle sending notifications.
NtpServer:
default: ['0.pool.ntp.org', '1.pool.ntp.org', '2.pool.ntp.org', '3.pool.ntp.org']

1
environments/enable-legacy-telemetry.yaml

@ -17,6 +17,7 @@ resource_registry:
OS::TripleO::Services::Logging::PankoApi: ../deployment/logging/files/panko-api.yaml
parameter_defaults:
NotificationDriver: 'messagingv2'
# uncomment the next two lines when using ceph
# GnocchiRbdPoolName: 'metrics'
# GnocchiBackend: 'rbd'

1
environments/enable-stf.yaml

@ -8,6 +8,7 @@ resource_registry:
OS::TripleO::Services::ComputeCeilometerAgent: ../deployment/ceilometer/ceilometer-agent-compute-container-puppet.yaml
parameter_defaults:
NotificationDriver: 'messagingv2'
CeilometerQdrPublishEvents: true
CeilometerQdrPublishMetrics: true
EnableSTF: true

1
environments/metrics/ceilometer-write-qdr.yaml

@ -12,3 +12,4 @@ parameter_defaults:
CeilometerEnablePanko: false
CeilometerQdrPublishEvents: true
CeilometerQdrPublisMetrics: true
NotificationDriver: 'messagingv2'

3
environments/services-baremetal/undercloud-ceilometer.yaml

@ -3,3 +3,6 @@ resource_registry:
OS::TripleO::Services::UndercloudCeilometerAgentCentral: ../../deployment/ceilometer/ceilometer-agent-central-container-puppet.yaml
OS::TripleO::Services::UndercloudCeilometerAgentNotification: ../../deployment/ceilometer/ceilometer-agent-notification-container-puppet.yaml
OS::TripleO::Services::UndercloudCeilometerAgentIpmi: ../../deployment/ceilometer/ceilometer-agent-ipmi-container-puppet.yaml
parameter_defaults:
NotificationDriver: 'messagingv2'

3
environments/services/undercloud-ceilometer.yaml

@ -4,3 +4,6 @@ resource_registry:
OS::TripleO::Services::CeilometerAgentCentral: ../../deployment/ceilometer/ceilometer-agent-central-container-puppet.yaml
OS::TripleO::Services::CeilometerAgentNotification: ../../deployment/ceilometer/ceilometer-agent-notification-container-puppet.yaml
OS::TripleO::Services::CeilometerAgentIpmi: ../../deployment/ceilometer/ceilometer-agent-ipmi-container-puppet.yaml
parameter_defaults:
NotificationDriver: 'messagingv2'

6
releasenotes/notes/disable-notification-driver-a888d4e9b8eed1dc.yaml

@ -0,0 +1,6 @@
---
upgrade:
- |
Now NotificationDriver is set to noop by default, as legacy telemetry
services are disabled by default. Explicitly set NotificationDriver
parameter to notifications from each services.
Loading…
Cancel
Save