Notification drivers need to be a list

Convert the NotificationDriver to a comma_delimited_list.
This will still not break existing templates because passing
a string is still completely valid. This is done so that the hiera keys
will be passed down as lists.

The oslo::messaging::notifications::driver expects a list anyway so this
won't break things and will allow us to actually specify multiple
notification drivers correctly. The change that allowed
oslo::notifications to use both strings and lists is
If65946412b42e0919456ed92fdd8e3788ad67872 (Messaging notifications
should be set as a list)

Related-Bug: #1851629

Change-Id: I24c860cd3121e5c307233864818ca86967ff6d72
This commit is contained in:
Michele Baldessari 2019-11-07 11:48:49 +01:00
parent 666091c949
commit 48d0e4d9b6
13 changed files with 13 additions and 13 deletions

View File

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

View File

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

View File

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

View File

@ -81,7 +81,7 @@ parameters:
default: {} default: {}
type: json type: json
NotificationDriver: NotificationDriver:
type: string type: comma_delimited_list
default: 'noop' default: 'noop'
description: Driver or drivers to handle sending notifications. description: Driver or drivers to handle sending notifications.
RootStackName: RootStackName:

View File

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

View File

@ -63,7 +63,7 @@ parameters:
description: Set rabbit subscriber port, change this if using SSL description: Set rabbit subscriber port, change this if using SSL
type: number type: number
NotificationDriver: NotificationDriver:
type: string type: comma_delimited_list
default: 'noop' default: 'noop'
description: Driver or drivers to handle sending notifications. description: Driver or drivers to handle sending notifications.

View File

@ -209,7 +209,7 @@ parameters:
default: {} default: {}
type: json type: json
NotificationDriver: NotificationDriver:
type: string type: comma_delimited_list
default: 'noop' default: 'noop'
description: Driver or drivers to handle sending notifications. description: Driver or drivers to handle sending notifications.
EnableInternalTLS: EnableInternalTLS:

View File

@ -124,7 +124,7 @@ parameters:
description: Maximum raw byte size of the Heat API JSON request body. description: Maximum raw byte size of the Heat API JSON request body.
type: number type: number
NotificationDriver: NotificationDriver:
type: string type: comma_delimited_list
default: 'noop' default: 'noop'
description: Driver or drivers to handle sending notifications. description: Driver or drivers to handle sending notifications.
HeatCorsAllowedOrigin: HeatCorsAllowedOrigin:

View File

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

View File

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

View File

@ -102,7 +102,7 @@ parameters:
via parameter_defaults in the resource registry. via parameter_defaults in the resource registry.
type: json type: json
NotificationDriver: NotificationDriver:
type: string type: comma_delimited_list
default: 'noop' default: 'noop'
description: Driver or drivers to handle sending notifications. description: Driver or drivers to handle sending notifications.
EnableVLANTransparency: EnableVLANTransparency:

View File

@ -35,7 +35,7 @@ parameters:
default: 'regionOne' default: 'regionOne'
description: Keystone region for endpoint description: Keystone region for endpoint
NotificationDriver: NotificationDriver:
type: string type: comma_delimited_list
default: 'noop' default: 'noop'
description: Driver or drivers to handle sending notifications. description: Driver or drivers to handle sending notifications.
NovaPassword: NovaPassword:

View File

@ -52,7 +52,7 @@ parameters:
Remove configuration that is not generated by TripleO. Used to avoid Remove configuration that is not generated by TripleO. Used to avoid
configuration remnants after upgrades. configuration remnants after upgrades.
NotificationDriver: NotificationDriver:
type: string type: comma_delimited_list
default: 'noop' default: 'noop'
description: Driver or drivers to handle sending notifications. description: Driver or drivers to handle sending notifications.
OctaviaUserName: OctaviaUserName: