Merge "Change all *Debug parameter types to boolean"

This commit is contained in:
Zuul 2021-03-31 08:59:54 +00:00 committed by Gerrit Code Review
commit 91ae3c4ec6
26 changed files with 134 additions and 219 deletions

View File

@ -40,11 +40,9 @@ parameters:
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
type: boolean type: boolean
AodhDebug: AodhDebug:
default: '' default: false
description: Set to True to enable debugging Aodh services. description: Set to True to enable debugging Aodh services.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
EnableSQLAlchemyCollectd: EnableSQLAlchemyCollectd:
type: boolean type: boolean
description: > description: >
@ -60,7 +58,6 @@ parameters:
description: Driver or drivers to handle sending notifications. description: Driver or drivers to handle sending notifications.
conditions: conditions:
service_debug_unset: {equals : [{get_param: AodhDebug}, '']}
enable_sqlalchemy_collectd: {equals : [{get_param: EnableSQLAlchemyCollectd}, true]} enable_sqlalchemy_collectd: {equals : [{get_param: EnableSQLAlchemyCollectd}, true]}
outputs: outputs:
@ -92,9 +89,9 @@ outputs:
aodh::logging::debug: aodh::logging::debug:
if: if:
- service_debug_unset - {get_param: AodhDebug}
- {get_param: Debug } - true
- {get_param: AodhDebug } - {get_param: Debug}
aodh::auth::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] } aodh::auth::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
aodh::notification_driver: {get_param: NotificationDriver} aodh::notification_driver: {get_param: NotificationDriver}
aodh::keystone::authtoken::project_name: 'service' aodh::keystone::authtoken::project_name: 'service'

View File

@ -135,11 +135,9 @@ parameters:
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
type: boolean type: boolean
BarbicanDebug: BarbicanDebug:
default: '' default: false
description: Set to True to enable debugging Barbican service. description: Set to True to enable debugging Barbican service.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
KeystoneRegion: KeystoneRegion:
type: string type: string
default: 'regionOne' default: 'regionOne'
@ -165,7 +163,6 @@ parameters:
perform configuration on a Heat stack-update. perform configuration on a Heat stack-update.
conditions: conditions:
service_debug_unset: {equals : [{get_param: BarbicanDebug}, '']}
internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]} internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]}
thales_hsm_enabled: {equals: [{get_param: BarbicanPkcs11CryptoThalesEnabled}, true]} thales_hsm_enabled: {equals: [{get_param: BarbicanPkcs11CryptoThalesEnabled}, true]}
atos_hsm_enabled: {equals: [{get_param: BarbicanPkcs11CryptoATOSEnabled}, true]} atos_hsm_enabled: {equals: [{get_param: BarbicanPkcs11CryptoATOSEnabled}, true]}
@ -253,9 +250,9 @@ outputs:
barbican::api::enable_queue: true barbican::api::enable_queue: true
barbican::api::logging::debug: barbican::api::logging::debug:
if: if:
- service_debug_unset - {get_param: BarbicanDebug}
- {get_param: Debug } - true
- {get_param: BarbicanDebug } - {get_param: Debug}
barbican::api::notification_driver: {get_param: NotificationDriver} barbican::api::notification_driver: {get_param: NotificationDriver}
barbican::api::service_name: 'httpd' barbican::api::service_name: 'httpd'
barbican::wsgi::apache::bind_host: barbican::wsgi::apache::bind_host:

View File

@ -52,11 +52,9 @@ parameters:
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
type: boolean type: boolean
CeilometerDebug: CeilometerDebug:
default: '' default: false
description: Set to True to enable debugging Ceilometer services. description: Set to True to enable debugging Ceilometer services.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
KeystoneRegion: KeystoneRegion:
type: string type: string
default: 'regionOne' default: 'regionOne'
@ -97,7 +95,6 @@ parameter_groups:
- GnocchiArchivePolicy - GnocchiArchivePolicy
conditions: conditions:
service_debug_unset: {equals : [{get_param: CeilometerDebug}, '']}
ceilometer_qdr_publish: {equals: [{get_param: CeilometerQdrPublish}, true]} ceilometer_qdr_publish: {equals: [{get_param: CeilometerQdrPublish}, true]}
outputs: outputs:
@ -109,9 +106,9 @@ outputs:
map_merge: map_merge:
- ceilometer::logging::debug: - ceilometer::logging::debug:
if: if:
- service_debug_unset
- {get_param: Debug }
- {get_param: CeilometerDebug } - {get_param: CeilometerDebug }
- true
- {get_param: Debug }
ceilometer::agent::auth::auth_password: {get_param: CeilometerPassword} ceilometer::agent::auth::auth_password: {get_param: CeilometerPassword}
ceilometer::agent::auth::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] } ceilometer::agent::auth::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
ceilometer::agent::polling::manage_polling: {get_param: ManagePolling} ceilometer::agent::polling::manage_polling: {get_param: ManagePolling}

View File

@ -17,11 +17,9 @@ parameters:
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
type: boolean type: boolean
CinderDebug: CinderDebug:
default: '' default: false
description: Set to True to enable debugging on Cinder services. description: Set to True to enable debugging on Cinder services.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
EnableSQLAlchemyCollectd: EnableSQLAlchemyCollectd:
type: boolean type: boolean
description: > description: >
@ -109,7 +107,6 @@ parameters:
hidden: true hidden: true
conditions: conditions:
service_debug_unset: {equals : [{get_param: CinderDebug}, '']}
enable_sqlalchemy_collectd: {equals : [{get_param: EnableSQLAlchemyCollectd}, true]} enable_sqlalchemy_collectd: {equals : [{get_param: EnableSQLAlchemyCollectd}, true]}
outputs: outputs:
@ -140,9 +137,9 @@ outputs:
cinder::logging::debug: cinder::logging::debug:
if: if:
- service_debug_unset - {get_param: CinderDebug}
- {get_param: Debug } - true
- {get_param: CinderDebug } - {get_param: Debug}
cinder::storage_availability_zone: {get_param: CinderStorageAvailabilityZone} cinder::storage_availability_zone: {get_param: CinderStorageAvailabilityZone}
cinder::rabbit_heartbeat_timeout_threshold: 60 cinder::rabbit_heartbeat_timeout_threshold: 60
cinder::rpc_response_timeout: {get_param: CinderRpcResponseTimeout} cinder::rpc_response_timeout: {get_param: CinderRpcResponseTimeout}

View File

@ -59,11 +59,9 @@ parameters:
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
type: boolean type: boolean
ContainerImagePrepareDebug: ContainerImagePrepareDebug:
default: '' default: false
description: Whether or not we want to activate --debug in tripleo container image prepare. description: Whether or not we want to activate --debug in tripleo container image prepare.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
ContainerImageRegistryCredentials: ContainerImageRegistryCredentials:
type: json type: json
hidden: true hidden: true
@ -94,10 +92,6 @@ parameters:
default: {{role.CountDefault|default(0)}} default: {{role.CountDefault|default(0)}}
{% endfor %} {% endfor %}
conditions:
service_debug_unset: {equals : [{get_param: ContainerImagePrepareDebug}, '']}
outputs: outputs:
role_data: role_data:
description: Role data for container image prepare description: Role data for container image prepare
@ -111,9 +105,9 @@ outputs:
tripleo_container_image_prepare_log_file: {get_param: ContainerImagePrepareLogFile} tripleo_container_image_prepare_log_file: {get_param: ContainerImagePrepareLogFile}
tripleo_container_image_prepare_debug: tripleo_container_image_prepare_debug:
if: if:
- service_debug_unset - {get_param: ContainerImagePrepareDebug}
- {get_param: Debug } - true
- {get_param: ContainerImagePrepareDebug } - {get_param: Debug}
tripleo_container_image_prepare_roles: {{ roles }} tripleo_container_image_prepare_roles: {{ roles }}
tripleo_container_image_prepare_content: tripleo_container_image_prepare_content:
parameter_defaults: parameter_defaults:

View File

@ -33,11 +33,9 @@ parameters:
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
type: boolean type: boolean
MistralDebug: MistralDebug:
default: '' default: false
description: Set to True to enable debugging Mistral services. description: Set to True to enable debugging Mistral services.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
EnableSQLAlchemyCollectd: EnableSQLAlchemyCollectd:
type: boolean type: boolean
description: > description: >
@ -61,7 +59,6 @@ parameters:
description: Mistral RPC timeout description: Mistral RPC timeout
conditions: conditions:
service_debug_unset: {equals : [{get_param: MistralDebug}, '']}
enable_sqlalchemy_collectd: {equals : [{get_param: EnableSQLAlchemyCollectd}, true]} enable_sqlalchemy_collectd: {equals : [{get_param: EnableSQLAlchemyCollectd}, true]}
outputs: outputs:
@ -93,9 +90,9 @@ outputs:
mistral::notification_driver: {get_param: NotificationDriver} mistral::notification_driver: {get_param: NotificationDriver}
mistral::logging::debug: mistral::logging::debug:
if: if:
- service_debug_unset - {get_param: MistralDebug}
- {get_param: Debug } - true
- {get_param: MistralDebug } - {get_param: Debug}
mistral::rpc_response_timeout: {get_param: MistralRpcResponseTimeout} mistral::rpc_response_timeout: {get_param: MistralRpcResponseTimeout}
mistral::keystone::authtoken::project_name: 'service' mistral::keystone::authtoken::project_name: 'service'
mistral::keystone::authtoken::user_domain_name: 'Default' mistral::keystone::authtoken::user_domain_name: 'Default'

View File

@ -44,11 +44,9 @@ parameters:
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
default: false default: false
ZaqarDebug: ZaqarDebug:
default: '' default: false
description: Set to True to enable debugging Zaqar service. description: Set to True to enable debugging Zaqar service.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
EnableSQLAlchemyCollectd: EnableSQLAlchemyCollectd:
type: boolean type: boolean
description: > description: >
@ -90,7 +88,6 @@ parameters:
conditions: conditions:
internal_tls_enabled: {get_param: EnableInternalTLS} internal_tls_enabled: {get_param: EnableInternalTLS}
service_debug_unset: {equals : [{get_param: ZaqarDebug}, '']}
zaqar_management_store_sqlalchemy: {equals : [{get_param: ZaqarManagementStore}, 'sqlalchemy']} zaqar_management_store_sqlalchemy: {equals : [{get_param: ZaqarManagementStore}, 'sqlalchemy']}
zaqar_workers_zero: {equals : [{get_param: ZaqarWorkers}, 0]} zaqar_workers_zero: {equals : [{get_param: ZaqarWorkers}, 0]}
zaqar_messaging_store_swift: {equals : [{get_param: ZaqarMessageStore}, 'swift']} zaqar_messaging_store_swift: {equals : [{get_param: ZaqarMessageStore}, 'swift']}
@ -159,8 +156,8 @@ outputs:
zaqar::keystone::trust::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]} zaqar::keystone::trust::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}
zaqar::logging::debug: zaqar::logging::debug:
if: if:
- service_debug_unset - {get_param: ZaqarDebug }
- {get_param: Debug } - true
- {get_param: ZaqarDebug } - {get_param: ZaqarDebug }
zaqar::server::service_name: 'httpd' zaqar::server::service_name: 'httpd'
zaqar::transport::websocket::bind: zaqar::transport::websocket::bind:

View File

@ -32,9 +32,9 @@ parameters:
default: false default: false
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
DesignateDebug: DesignateDebug:
default: '' default: false
description: Set to True to enable debugging Designate services. description: Set to True to enable debugging Designate services.
type: string type: boolean
EnableConfigPurge: EnableConfigPurge:
type: boolean type: boolean
default: false default: false
@ -77,9 +77,6 @@ parameter_groups:
- RabbitClientUseSSL - RabbitClientUseSSL
- RabbitClientPort - RabbitClientPort
conditions:
service_debug_unset: {equals : [{get_param: DesignateDebug}, '']}
outputs: outputs:
role_data: role_data:
description: Base role data for Designate services description: Base role data for Designate services
@ -88,8 +85,8 @@ outputs:
config_settings: config_settings:
designate::logging::debug: designate::logging::debug:
if: if:
- service_debug_unset - {get_param: DesignateDebug}
- true
- {get_param: Debug } - {get_param: Debug }
- {get_param: DesignateDebug }
designate::purge_config: {get_param: EnableConfigPurge} designate::purge_config: {get_param: EnableConfigPurge}
designate::notification_driver: {get_param: NotificationDriver} designate::notification_driver: {get_param: NotificationDriver}

View File

@ -38,11 +38,9 @@ parameters:
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
type: boolean type: boolean
GlanceDebug: GlanceDebug:
default: '' default: false
description: Set to True to enable debugging Glance service. description: Set to True to enable debugging Glance service.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
EnableSQLAlchemyCollectd: EnableSQLAlchemyCollectd:
type: boolean type: boolean
description: > description: >
@ -339,7 +337,6 @@ conditions:
use_tls_proxy: {equals : [{get_param: EnableInternalTLS}, true]} use_tls_proxy: {equals : [{get_param: EnableInternalTLS}, true]}
glance_workers_unset: {equals : [{get_param: GlanceWorkers}, '']} glance_workers_unset: {equals : [{get_param: GlanceWorkers}, '']}
service_debug_unset: {equals : [{get_param: GlanceDebug}, '']}
glance_netapp_nfs_enabled: {equals : [{get_param: GlanceNetappNfsEnabled}, true]} glance_netapp_nfs_enabled: {equals : [{get_param: GlanceNetappNfsEnabled}, true]}
glance_cache_enabled: {equals : [{get_param: GlanceCacheEnabled}, true]} glance_cache_enabled: {equals : [{get_param: GlanceCacheEnabled}, true]}
glance_multiple_locations: glance_multiple_locations:
@ -430,9 +427,9 @@ outputs:
glance::api::enable_proxy_headers_parsing: true glance::api::enable_proxy_headers_parsing: true
glance::api::logging::debug: glance::api::logging::debug:
if: if:
- service_debug_unset - {get_param: GlanceDebug}
- {get_param: Debug } - true
- {get_param: GlanceDebug } - {get_param: Debug}
glance::policy::policies: {get_param: GlanceApiPolicies} glance::policy::policies: {get_param: GlanceApiPolicies}
glance::api::authtoken::project_name: 'service' glance::api::authtoken::project_name: 'service'
glance::api::authtoken::region_name: {get_param: KeystoneRegion} glance::api::authtoken::region_name: {get_param: KeystoneRegion}

View File

@ -63,11 +63,9 @@ parameters:
default: false default: false
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
GnocchiDebug: GnocchiDebug:
default: '' default: false
description: Set to True to enable debugging Gnocchi services. description: Set to True to enable debugging Gnocchi services.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
EnableSQLAlchemyCollectd: EnableSQLAlchemyCollectd:
type: boolean type: boolean
description: > description: >
@ -106,7 +104,6 @@ parameters:
type: string type: string
conditions: conditions:
service_debug_unset: {equals : [{get_param: GnocchiDebug}, '']}
enable_sqlalchemy_collectd: {equals : [{get_param: EnableSQLAlchemyCollectd}, true]} enable_sqlalchemy_collectd: {equals : [{get_param: EnableSQLAlchemyCollectd}, true]}
outputs: outputs:
@ -123,9 +120,9 @@ outputs:
gnocchi_redis_password: {get_param: RedisPassword} gnocchi_redis_password: {get_param: RedisPassword}
gnocchi::logging::debug: gnocchi::logging::debug:
if: if:
- service_debug_unset - {get_param: GnocchiDebug}
- {get_param: Debug } - true
- {get_param: GnocchiDebug } - {get_param: Debug}
gnocchi::db::database_connection: gnocchi::db::database_connection:
make_url: make_url:
scheme: {get_param: [EndpointMap, MysqlInternal, protocol]} scheme: {get_param: [EndpointMap, MysqlInternal, protocol]}

View File

@ -9,11 +9,9 @@ parameters:
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
type: boolean type: boolean
HeatDebug: HeatDebug:
default: '' default: false
description: Set to True to enable debugging Heat services. description: Set to True to enable debugging Heat services.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
ServiceData: ServiceData:
default: {} default: {}
description: Dictionary packing service data description: Dictionary packing service data
@ -139,7 +137,6 @@ parameters:
type: boolean type: boolean
conditions: conditions:
service_debug_unset: {equals : [{get_param: HeatDebug}, '']}
tls_cache_enabled: tls_cache_enabled:
and: and:
- {get_param: EnableCache} - {get_param: EnableCache}
@ -161,9 +158,9 @@ outputs:
- heat::notification_driver: {get_param: NotificationDriver} - heat::notification_driver: {get_param: NotificationDriver}
heat::logging::debug: heat::logging::debug:
if: if:
- service_debug_unset - {get_param: HeatDebug}
- {get_param: Debug } - true
- {get_param: HeatDebug } - {get_param: Debug}
heat::enable_proxy_headers_parsing: true heat::enable_proxy_headers_parsing: true
heat::rpc_response_timeout: 600 heat::rpc_response_timeout: 600
heat::rabbit_heartbeat_timeout_threshold: 60 heat::rabbit_heartbeat_timeout_threshold: 60

View File

@ -38,11 +38,9 @@ parameters:
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
type: boolean type: boolean
HorizonDebug: HorizonDebug:
default: '' default: false
description: Set to True to enable debugging Horizon service. description: Set to True to enable debugging Horizon service.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
HorizonAllowedHosts: HorizonAllowedHosts:
default: '*' default: '*'
description: A list of IP/Hostname for the server Horizon is running on. description: A list of IP/Hostname for the server Horizon is running on.
@ -151,7 +149,6 @@ parameter_groups:
- MemcachedIPv6 - MemcachedIPv6
conditions: conditions:
service_debug_unset: {equals : [{get_param: HorizonDebug}, '']}
websso_enabled: {equals : [{get_param: WebSSOEnable}, True]} websso_enabled: {equals : [{get_param: WebSSOEnable}, True]}
internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]} internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]}
horizon_domain_choices_set: {not: {equals: [{get_param: HorizonDomainChoices}, []]}} horizon_domain_choices_set: {not: {equals: [{get_param: HorizonDomainChoices}, []]}}
@ -161,16 +158,8 @@ conditions:
- 6 - 6
horizon_logger_debug: horizon_logger_debug:
or: or:
- and: - {get_param: Debug}
- service_debug_unset - {get_param: HorizonDebug}
- get_param: Debug
- and:
- not: service_debug_unset
- yaql:
expression: $.data.horizon_debug.matches("true|True|TRUE")
data:
horizon_debug:
get_param: HorizonDebug
resources: resources:
@ -243,9 +232,9 @@ outputs:
- {} - {}
- -
if: if:
- service_debug_unset - {get_param: HorizonDebug}
- horizon::django_debug: { get_param: Debug } - horizon::django_debug: true
- horizon::django_debug: { get_param: HorizonDebug } - horizon::django_debug: {get_param: Debug}
- if: - if:
- horizon_logger_debug - horizon_logger_debug
- horizon::log_level: 'DEBUG' - horizon::log_level: 'DEBUG'

View File

@ -32,11 +32,9 @@ parameters:
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
type: boolean type: boolean
IronicDebug: IronicDebug:
default: '' default: false
description: Set to True to enable debugging Ironic services. description: Set to True to enable debugging Ironic services.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
EnableSQLAlchemyCollectd: EnableSQLAlchemyCollectd:
type: boolean type: boolean
description: > description: >
@ -59,7 +57,6 @@ parameters:
- allowed_values: [ '', 'oslo', 'json-rpc'] - allowed_values: [ '', 'oslo', 'json-rpc']
conditions: conditions:
service_debug_unset: {equals : [{get_param: IronicDebug}, '']}
default_rsc_unset: {equals : [{get_param: IronicDefaultResourceClass}, '']} default_rsc_unset: {equals : [{get_param: IronicDefaultResourceClass}, '']}
rpc_transport_unset: {equals : [{get_param: IronicRpcTransport}, '']} rpc_transport_unset: {equals : [{get_param: IronicRpcTransport}, '']}
enable_sqlalchemy_collectd: {equals : [{get_param: EnableSQLAlchemyCollectd}, true]} enable_sqlalchemy_collectd: {equals : [{get_param: EnableSQLAlchemyCollectd}, true]}
@ -94,9 +91,9 @@ outputs:
ironic::logging::debug: ironic::logging::debug:
if: if:
- service_debug_unset - {get_param: IronicDebug}
- {get_param: Debug } - True
- {get_param: IronicDebug } - {get_param: Debug}
- -
if: if:
- default_rsc_unset - default_rsc_unset

View File

@ -69,11 +69,9 @@ parameters:
tags: tags:
- role_specific - role_specific
IronicDebug: IronicDebug:
default: '' default: false
description: Set to True to enable debugging Ironic services. description: Set to True to enable debugging Ironic services.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
IronicDefaultBootOption: IronicDefaultBootOption:
default: 'local' default: 'local'
description: How to boot the bare metal instances. Set to 'local' (the description: How to boot the bare metal instances. Set to 'local' (the
@ -261,10 +259,8 @@ conditions:
default_inspect_interface_unset: {equals : [{get_param: IronicDefaultInspectInterface}, '']} default_inspect_interface_unset: {equals : [{get_param: IronicDefaultInspectInterface}, '']}
service_debug: service_debug:
or: or:
- equals: [{get_param: IronicDebug}, 'true'] - {get_param: IronicDebug}
- equals: [{get_param: IronicDebug}, 'True'] - {get_param: Debug}
- equals: [{get_param: IronicDebug}, 'TRUE']
- equals: [{get_param: Debug}, true]
enable_architecture_ppc64le: {contains: ['ppc64le', {get_param: AdditionalArchitectures}]} enable_architecture_ppc64le: {contains: ['ppc64le', {get_param: AdditionalArchitectures}]}
configure_swift_temp_url: {equals: [{get_param: IronicConfigureSwiftTempUrlKey}, true]} configure_swift_temp_url: {equals: [{get_param: IronicConfigureSwiftTempUrlKey}, true]}
ironic_conductor_group: ironic_conductor_group:

View File

@ -108,11 +108,9 @@ parameters:
default: false default: false
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
KeystoneDebug: KeystoneDebug:
default: '' default: false
description: Set to True to enable debugging Keystone service. description: Set to True to enable debugging Keystone service.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
EnableCache: EnableCache:
description: Enable caching with memcached description: Enable caching with memcached
type: boolean type: boolean
@ -353,7 +351,6 @@ conditions:
keystone_ldap_domain_enabled: {equals: [{get_param: KeystoneLDAPDomainEnable}, True]} keystone_ldap_domain_enabled: {equals: [{get_param: KeystoneLDAPDomainEnable}, True]}
keystone_federation_enabled: {equals: [{get_param: KeystoneFederationEnable}, True]} keystone_federation_enabled: {equals: [{get_param: KeystoneFederationEnable}, True]}
keystone_openidc_enabled: {equals: [{get_param: KeystoneOpenIdcEnable}, True]} keystone_openidc_enabled: {equals: [{get_param: KeystoneOpenIdcEnable}, True]}
service_debug_unset: {equals : [{get_param: KeystoneDebug}, '']}
nontls_cache_enabled: nontls_cache_enabled:
and: and:
- {get_param: EnableCache} - {get_param: EnableCache}
@ -434,9 +431,9 @@ outputs:
keystone::fernet_replace_keys: {get_param: ManageKeystoneFernetKeys} keystone::fernet_replace_keys: {get_param: ManageKeystoneFernetKeys}
keystone::logging::debug: keystone::logging::debug:
if: if:
- service_debug_unset - {get_param: KeystoneDebug}
- true
- {get_param: Debug } - {get_param: Debug }
- {get_param: KeystoneDebug }
keystone::notification_driver: {get_param: NotificationDriver} keystone::notification_driver: {get_param: NotificationDriver}
keystone::notification_format: {get_param: KeystoneNotificationFormat} keystone::notification_format: {get_param: KeystoneNotificationFormat}
tripleo::profile::base::keystone::extra_notification_topics: {get_param: KeystoneNotificationTopics} tripleo::profile::base::keystone::extra_notification_topics: {get_param: KeystoneNotificationTopics}

View File

@ -36,11 +36,9 @@ parameters:
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
type: boolean type: boolean
ManilaDebug: ManilaDebug:
default: '' default: false
description: Set to True to enable debugging Manila services. description: Set to True to enable debugging Manila services.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
EnableSQLAlchemyCollectd: EnableSQLAlchemyCollectd:
type: boolean type: boolean
description: > description: >
@ -56,7 +54,6 @@ parameters:
description: Driver or drivers to handle sending notifications. description: Driver or drivers to handle sending notifications.
conditions: conditions:
service_debug_unset: {equals : [{get_param: ManilaDebug}, '']}
manila_ipv6: {equals : [{get_param: ManilaIPv6}, true]} manila_ipv6: {equals : [{get_param: ManilaIPv6}, true]}
enable_sqlalchemy_collectd: {equals : [{get_param: EnableSQLAlchemyCollectd}, true]} enable_sqlalchemy_collectd: {equals : [{get_param: EnableSQLAlchemyCollectd}, true]}
@ -69,9 +66,9 @@ outputs:
manila::notification_driver: {get_param: NotificationDriver} manila::notification_driver: {get_param: NotificationDriver}
manila::logging::debug: manila::logging::debug:
if: if:
- service_debug_unset - {get_param: ManilaDebug}
- {get_param: Debug } - true
- {get_param: ManilaDebug } - {get_param: Debug}
manila::db::database_db_max_retries: -1 manila::db::database_db_max_retries: -1
manila::db::database_max_retries: -1 manila::db::database_max_retries: -1
manila::sql_connection: manila::sql_connection:

View File

@ -51,11 +51,9 @@ parameters:
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
type: boolean type: boolean
MemcachedDebug: MemcachedDebug:
default: '' default: false
description: Set to True to enable debugging Memcached service. description: Set to True to enable debugging Memcached service.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
MemcachedIpSubnet: MemcachedIpSubnet:
default: '' default: ''
description: IP address/subnet on the memcached network. If empty (default), MemcachedNetwork description: IP address/subnet on the memcached network. If empty (default), MemcachedNetwork
@ -98,11 +96,7 @@ conditions:
- internal_tls_enabled - internal_tls_enabled
- not: {equals: [{get_param: MemcachedPort}, 11211]} - not: {equals: [{get_param: MemcachedPort}, 11211]}
memcached_network_unset: {equals : [{get_param: MemcachedIpSubnet}, '']} memcached_network_unset: {equals : [{get_param: MemcachedIpSubnet}, '']}
service_debug: service_debug: {get_param: MemcachedDebug}
or:
- equals: [{get_param: MemcachedDebug}, 'true']
- equals: [{get_param: MemcachedDebug}, 'True']
- equals: [{get_param: Debug}, true]
is_ipv6: is_ipv6:
equals: equals:
- {get_param: [ServiceData, net_ip_version_map, {get_param: [ServiceNetMap, MemcachedNetwork]}]} - {get_param: [ServiceData, net_ip_version_map, {get_param: [ServiceNetMap, MemcachedNetwork]}]}

View File

@ -37,11 +37,9 @@ parameters:
default: false default: false
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
NeutronDebug: NeutronDebug:
default: '' default: false
description: Set to True to enable debugging Neutron services. description: Set to True to enable debugging Neutron services.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
EnableConfigPurge: EnableConfigPurge:
type: boolean type: boolean
default: false default: false
@ -111,7 +109,6 @@ parameters:
conditions: conditions:
dhcp_agents_zero: {equals : [{get_param: NeutronDhcpAgentsPerNetwork}, 0]} dhcp_agents_zero: {equals : [{get_param: NeutronDhcpAgentsPerNetwork}, 0]}
service_debug_unset: {equals : [{get_param: NeutronDebug}, '']}
global_physnet_mtu_unset: {equals: [{get_param: NeutronGlobalPhysnetMtu}, 0]} global_physnet_mtu_unset: {equals: [{get_param: NeutronGlobalPhysnetMtu}, 0]}
outputs: outputs:
@ -126,9 +123,9 @@ outputs:
neutron::service_plugins: {get_param: NeutronServicePlugins} neutron::service_plugins: {get_param: NeutronServicePlugins}
neutron::logging::debug: neutron::logging::debug:
if: if:
- service_debug_unset - {get_param: NeutronDebug}
- {get_param: Debug } - true
- {get_param: NeutronDebug } - {get_param: Debug}
neutron::purge_config: {get_param: EnableConfigPurge} neutron::purge_config: {get_param: EnableConfigPurge}
neutron::allow_overlapping_ips: true neutron::allow_overlapping_ips: true
neutron::dhcp_agent_notification: {get_param: DhcpAgentNotification} neutron::dhcp_agent_notification: {get_param: DhcpAgentNotification}

View File

@ -102,11 +102,9 @@ parameters:
default: 'overcloud-neutron-dhcp' default: 'overcloud-neutron-dhcp'
type: string type: string
NeutronDhcpAgentDebug: NeutronDhcpAgentDebug:
default: '' default: false
description: Set to True to enable debugging for Neutron DHCP agent. description: Set to True to enable debugging for Neutron DHCP agent.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
NeutronDhcpAgentDnsmasqDnsServers: NeutronDhcpAgentDnsmasqDnsServers:
default: [] default: []
description: List of servers to use as dnsmasq forwarders description: List of servers to use as dnsmasq forwarders
@ -161,8 +159,6 @@ conditions:
dnsmasq_wrapper_enabled: {equals: [{get_param: NeutronEnableDnsmasqDockerWrapper}, true]} dnsmasq_wrapper_enabled: {equals: [{get_param: NeutronEnableDnsmasqDockerWrapper}, true]}
haproxy_wrapper_enabled: {equals: [{get_param: NeutronEnableHaproxyDockerWrapper}, true]} haproxy_wrapper_enabled: {equals: [{get_param: NeutronEnableHaproxyDockerWrapper}, true]}
docker_enabled: {equals: [{get_param: ContainerCli}, 'docker']} docker_enabled: {equals: [{get_param: ContainerCli}, 'docker']}
service_wrapper_debug_unset: {equals : [{get_param: NeutronWrapperDebug}, false]}
service_debug_unset: {equals: [{get_param: NeutronDhcpAgentDebug}, '']}
dhcp_ovs_intergation_bridge_unset: {equals: [{get_param: NeutronDhcpOvsIntegrationBridge}, '']} dhcp_ovs_intergation_bridge_unset: {equals: [{get_param: NeutronDhcpOvsIntegrationBridge}, '']}
az_unset: {equals: [{get_param: NeutronDhcpAgentAvailabilityZone}, '']} az_unset: {equals: [{get_param: NeutronDhcpAgentAvailabilityZone}, '']}
key_size_override_unset: {equals: [{get_param: NeutronDhcpCertificateKeySize}, '']} key_size_override_unset: {equals: [{get_param: NeutronDhcpCertificateKeySize}, '']}
@ -228,9 +224,9 @@ outputs:
tripleo::profile::base::neutron::dhcp_agent_wrappers::haproxy_image: {get_param: ContainerNeutronDHCPImage} tripleo::profile::base::neutron::dhcp_agent_wrappers::haproxy_image: {get_param: ContainerNeutronDHCPImage}
tripleo::profile::base::neutron::dhcp_agent_wrappers::debug: tripleo::profile::base::neutron::dhcp_agent_wrappers::debug:
if: if:
- service_wrapper_debug_unset
- {get_param: Debug }
- {get_param: NeutronWrapperDebug} - {get_param: NeutronWrapperDebug}
- true
- {get_param: Debug }
tripleo::profile::base::neutron::container_cli: {get_param: ContainerCli} tripleo::profile::base::neutron::container_cli: {get_param: ContainerCli}
neutron::agents::dhcp::enable_isolated_metadata: {get_param: NeutronEnableIsolatedMetadata} neutron::agents::dhcp::enable_isolated_metadata: {get_param: NeutronEnableIsolatedMetadata}
neutron::agents::dhcp::enable_force_metadata: {get_param: NeutronEnableForceMetadata} neutron::agents::dhcp::enable_force_metadata: {get_param: NeutronEnableForceMetadata}
@ -242,9 +238,9 @@ outputs:
neutron::agents::dhcp::dnsmasq_enable_addr6_list: {get_param: NeutronDhcpAgentDnsmasqEnableAddr6List} neutron::agents::dhcp::dnsmasq_enable_addr6_list: {get_param: NeutronDhcpAgentDnsmasqEnableAddr6List}
neutron::agents::dhcp::debug: neutron::agents::dhcp::debug:
if: if:
- service_debug_unset
- {get_param: Debug}
- {get_param: NeutronDhcpAgentDebug} - {get_param: NeutronDhcpAgentDebug}
- true
- {get_param: Debug}
- if: - if:
- internal_tls_enabled - internal_tls_enabled
- neutron::agents::dhcp::ovsdb_agent_ssl_key_file: '/etc/pki/tls/private/neutron.key' - neutron::agents::dhcp::ovsdb_agent_ssl_key_file: '/etc/pki/tls/private/neutron.key'
@ -450,9 +446,9 @@ outputs:
haproxy_wrapper_enabled: {get_param: NeutronEnableHaproxyDockerWrapper} haproxy_wrapper_enabled: {get_param: NeutronEnableHaproxyDockerWrapper}
debug_enabled: debug_enabled:
if: if:
- service_debug_unset
- {get_param: Debug }
- {get_param: NeutronWrapperDebug} - {get_param: NeutronWrapperDebug}
- true
- {get_param: Debug }
docker_additional_sockets: {get_param: DockerAdditionalSockets} docker_additional_sockets: {get_param: DockerAdditionalSockets}
- name: create kill_scripts directory within /var/lib/neutron - name: create kill_scripts directory within /var/lib/neutron
file: file:

View File

@ -59,11 +59,9 @@ parameters:
default: 'overcloud-neutron-l2gw-agent' default: 'overcloud-neutron-l2gw-agent'
type: string type: string
NeutronL2gwAgentDebug: NeutronL2gwAgentDebug:
default: '' default: false
description: Set to True to enable debugging for Neutron L2gw agent. description: Set to True to enable debugging for Neutron L2gw agent.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
NeutronL2gwAgentLoggingSource: NeutronL2gwAgentLoggingSource:
type: json type: json
default: default:
@ -71,7 +69,6 @@ parameters:
file: /var/log/neutron/l2gw-agent.log file: /var/log/neutron/l2gw-agent.log
conditions: conditions:
service_debug_unset: {equals: [{get_param: NeutronL2gwAgentDebug}, '']}
internal_manager_enabled: {equals: [{get_param: L2gwAgentEnableManager}, True]} internal_manager_enabled: {equals: [{get_param: L2gwAgentEnableManager}, True]}
outputs: outputs:
@ -96,9 +93,9 @@ outputs:
neutron::agents::l2gw::socket_timeout: {get_param: L2gwAgentSocketTimeout} neutron::agents::l2gw::socket_timeout: {get_param: L2gwAgentSocketTimeout}
neutron::agents::l2gw::debug: neutron::agents::l2gw::debug:
if: if:
- service_debug_unset
- {get_param: Debug}
- {get_param: NeutronL2gwAgentDebug} - {get_param: NeutronL2gwAgentDebug}
- true
- {get_param: Debug}
service_config_settings: service_config_settings:
rsyslog: rsyslog:
tripleo_logging_sources_neutron_l2gw_agent: tripleo_logging_sources_neutron_l2gw_agent:

View File

@ -98,11 +98,9 @@ parameters:
default: 'overcloud-neutron-l3-agent' default: 'overcloud-neutron-l3-agent'
type: string type: string
NeutronL3AgentDebug: NeutronL3AgentDebug:
default: '' default: false
description: Set to True to enable debugging for Neutron L3 agent. description: Set to True to enable debugging for Neutron L3 agent.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
# NOTE(bogdando): we allow the L3 agent to have AZ configs defined disregard of # NOTE(bogdando): we allow the L3 agent to have AZ configs defined disregard of
# the used NeutronMechanismDrivers. # the used NeutronMechanismDrivers.
NeutronL3AgentAvailabilityZone: NeutronL3AgentAvailabilityZone:
@ -133,7 +131,6 @@ conditions:
dibbler_wrapper_enabled: {equals: [{get_param: NeutronEnableDibblerDockerWrapper}, true]} dibbler_wrapper_enabled: {equals: [{get_param: NeutronEnableDibblerDockerWrapper}, true]}
radvd_wrapper_enabled: {equals: [{get_param: NeutronEnableRadvdDockerWrapper}, true]} radvd_wrapper_enabled: {equals: [{get_param: NeutronEnableRadvdDockerWrapper}, true]}
docker_enabled: {equals: [{get_param: ContainerCli}, 'docker']} docker_enabled: {equals: [{get_param: ContainerCli}, 'docker']}
service_debug_unset: {equals : [{get_param: NeutronWrapperDebug}, false]}
az_unset: {equals: [{get_param: NeutronL3AgentAvailabilityZone}, '']} az_unset: {equals: [{get_param: NeutronL3AgentAvailabilityZone}, '']}
l3_agent_extensions_empty: {equals : [{get_param: NeutronL3AgentExtensions}, "''"]} l3_agent_extensions_empty: {equals : [{get_param: NeutronL3AgentExtensions}, "''"]}
@ -200,15 +197,15 @@ outputs:
tripleo::profile::base::neutron::l3_agent_wrappers::radvd_image: {get_param: ContainerNeutronL3AgentImage} tripleo::profile::base::neutron::l3_agent_wrappers::radvd_image: {get_param: ContainerNeutronL3AgentImage}
tripleo::profile::base::neutron::l3_agent_wrappers::debug: tripleo::profile::base::neutron::l3_agent_wrappers::debug:
if: if:
- service_debug_unset
- {get_param: Debug }
- {get_param: NeutronWrapperDebug} - {get_param: NeutronWrapperDebug}
- true
- {get_param: Debug }
tripleo::profile::base::neutron::container_cli: {get_param: ContainerCli} tripleo::profile::base::neutron::container_cli: {get_param: ContainerCli}
- neutron::agents::l3::debug: - neutron::agents::l3::debug:
if: if:
- service_debug_unset
- {get_param: Debug}
- {get_param: NeutronL3AgentDebug} - {get_param: NeutronL3AgentDebug}
- true
- {get_param: Debug}
- if: - if:
- az_unset - az_unset
- {} - {}
@ -356,9 +353,9 @@ outputs:
radvd_wrapper_enabled: {get_param: NeutronEnableRadvdDockerWrapper} radvd_wrapper_enabled: {get_param: NeutronEnableRadvdDockerWrapper}
debug_enabled: debug_enabled:
if: if:
- service_debug_unset
- {get_param: Debug }
- {get_param: NeutronWrapperDebug} - {get_param: NeutronWrapperDebug}
- true
- {get_param: Debug}
docker_additional_sockets: {get_param: DockerAdditionalSockets} docker_additional_sockets: {get_param: DockerAdditionalSockets}
- name: create kill_scripts directory within /var/lib/neutron - name: create kill_scripts directory within /var/lib/neutron
file: file:

View File

@ -65,18 +65,15 @@ parameters:
default: false default: false
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
NeutronMetadataAgentDebug: NeutronMetadataAgentDebug:
default: '' default: false
description: Set to True to enable debugging for Neutron Metadata agent. description: Set to True to enable debugging for Neutron Metadata agent.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
EnableInternalTLS: EnableInternalTLS:
type: boolean type: boolean
default: false default: false
conditions: conditions:
neutron_workers_unset: {equals : [{get_param: NeutronWorkers}, '']} neutron_workers_unset: {equals : [{get_param: NeutronWorkers}, '']}
service_debug_unset: {equals: [{get_param: NeutronMetadataAgentDebug}, '']}
internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]} internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]}
is_neutron_shared_metadata_notempty: {not: {equals: [{get_param: NeutronMetadataProxySharedSecret}, '']}} is_neutron_shared_metadata_notempty: {not: {equals: [{get_param: NeutronMetadataProxySharedSecret}, '']}}
@ -114,9 +111,9 @@ outputs:
neutron::agents::metadata::auth_tenant: 'service' neutron::agents::metadata::auth_tenant: 'service'
neutron::agents::metadata::debug: neutron::agents::metadata::debug:
if: if:
- service_debug_unset
- {get_param: Debug}
- {get_param: NeutronMetadataAgentDebug} - {get_param: NeutronMetadataAgentDebug}
- true
- {get_param: Debug}
neutron::agents::metadata::metadata_host: neutron::agents::metadata::metadata_host:
str_replace: str_replace:
template: template:

View File

@ -61,11 +61,9 @@ parameters:
default: false default: false
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
NovaDebug: NovaDebug:
default: '' default: false
description: Set to True to enable debugging Nova services. description: Set to True to enable debugging Nova services.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
EnableCache: EnableCache:
description: Enable caching with memcached description: Enable caching with memcached
type: boolean type: boolean
@ -252,7 +250,6 @@ parameters:
conditions: conditions:
compute_upgrade_level_empty: {equals : [{get_param: UpgradeLevelNovaCompute}, '']} compute_upgrade_level_empty: {equals : [{get_param: UpgradeLevelNovaCompute}, '']}
service_debug_unset: {equals : [{get_param: NovaDebug}, '']}
tls_cache_enabled: tls_cache_enabled:
and: and:
- {get_param: EnableCache} - {get_param: EnableCache}
@ -300,9 +297,9 @@ outputs:
nova::os_region_name: {get_param: KeystoneRegion} nova::os_region_name: {get_param: KeystoneRegion}
nova::logging::debug: nova::logging::debug:
if: if:
- service_debug_unset - {get_param: NovaDebug}
- {get_param: Debug } - true
- {get_param: NovaDebug } - {get_param: Debug}
nova::purge_config: {get_param: EnableConfigPurge} nova::purge_config: {get_param: EnableConfigPurge}
nova::network::neutron::project_name: 'service' nova::network::neutron::project_name: 'service'
nova::network::neutron::username: 'neutron' nova::network::neutron::username: 'neutron'

View File

@ -32,11 +32,9 @@ parameters:
default: false default: false
description: Set to True to enable debugging on all services. description: Set to True to enable debugging on all services.
OctaviaDebug: OctaviaDebug:
default: '' default: false
description: Set to True to enable debugging Octavia services. description: Set to True to enable debugging Octavia services.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
EnableSQLAlchemyCollectd: EnableSQLAlchemyCollectd:
type: boolean type: boolean
description: > description: >
@ -210,7 +208,6 @@ parameters:
type: boolean type: boolean
conditions: conditions:
service_debug_unset: {equals : [{get_param: OctaviaDebug}, '']}
octavia_ca_cert_unset: {equals: [{get_param: OctaviaCaCert}, '']} octavia_ca_cert_unset: {equals: [{get_param: OctaviaCaCert}, '']}
octavia_ca_key_unset: {equals: [{get_param: OctaviaCaKey}, '']} octavia_ca_key_unset: {equals: [{get_param: OctaviaCaKey}, '']}
octavia_client_cert_unset: {equals: [{get_param: OctaviaClientCert}, '']} octavia_client_cert_unset: {equals: [{get_param: OctaviaClientCert}, '']}
@ -226,9 +223,9 @@ outputs:
map_merge: map_merge:
- octavia::logging::debug: - octavia::logging::debug:
if: if:
- service_debug_unset - {get_param: OctaviaDebug}
- {get_param: Debug } - true
- {get_param: OctaviaDebug } - {get_param: Debug}
octavia::purge_config: {get_param: EnableConfigPurge} octavia::purge_config: {get_param: EnableConfigPurge}
octavia::notification_driver: {get_param: NotificationDriver} octavia::notification_driver: {get_param: NotificationDriver}
octavia::db::database_connection: octavia::db::database_connection:

View File

@ -93,11 +93,9 @@ parameters:
default: 'overcloud-ovn-metadata' default: 'overcloud-ovn-metadata'
type: string type: string
OvnMetadataAgentDebug: OvnMetadataAgentDebug:
default: '' default: false
description: Set to True to enable debugging for OVN Metadata agent. description: Set to True to enable debugging for OVN Metadata agent.
type: string type: boolean
constraints:
- allowed_values: [ '', 'true', 'True', 'TRUE', 'false', 'False', 'FALSE']
EnableInternalTLS: EnableInternalTLS:
type: boolean type: boolean
default: false default: false
@ -129,7 +127,6 @@ parameters:
conditions: conditions:
haproxy_wrapper_enabled: {equals: [{get_param: OVNEnableHaproxyDockerWrapper}, true]} haproxy_wrapper_enabled: {equals: [{get_param: OVNEnableHaproxyDockerWrapper}, true]}
docker_enabled: {equals: [{get_param: ContainerCli}, 'docker']} docker_enabled: {equals: [{get_param: ContainerCli}, 'docker']}
service_debug_unset: {equals : [{get_param: OVNWrapperDebug}, false]}
internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]} internal_tls_enabled: {equals: [{get_param: EnableInternalTLS}, true]}
neutron_metadata_workers_unset: {equals : [{get_param: NeutronMetadataWorkers}, '']} neutron_metadata_workers_unset: {equals : [{get_param: NeutronMetadataWorkers}, '']}
key_size_override_unset: {equals: [{get_param: OvnMetadataCertificateKeySize}, '']} key_size_override_unset: {equals: [{get_param: OvnMetadataCertificateKeySize}, '']}
@ -168,9 +165,9 @@ outputs:
tripleo::profile::base::neutron::ovn_metadata_agent_wrappers::haproxy_image: {get_param: ContainerOvnMetadataImage} tripleo::profile::base::neutron::ovn_metadata_agent_wrappers::haproxy_image: {get_param: ContainerOvnMetadataImage}
tripleo::profile::base::neutron::ovn_metadata_agent_wrappers::debug: tripleo::profile::base::neutron::ovn_metadata_agent_wrappers::debug:
if: if:
- service_debug_unset
- {get_param: Debug }
- {get_param: OVNWrapperDebug} - {get_param: OVNWrapperDebug}
- true
- {get_param: Debug}
tripleo::profile::base::neutron::container_cli: {get_param: ContainerCli} tripleo::profile::base::neutron::container_cli: {get_param: ContainerCli}
neutron::agents::ovn_metadata::shared_secret: {get_param: NeutronMetadataProxySharedSecret} neutron::agents::ovn_metadata::shared_secret: {get_param: NeutronMetadataProxySharedSecret}
neutron::agents::ovn_metadata::auth_password: {get_param: NeutronPassword} neutron::agents::ovn_metadata::auth_password: {get_param: NeutronPassword}
@ -182,9 +179,9 @@ outputs:
neutron::agents::ovn_metadata::ovn_remote_probe_interval: {get_param: OVNRemoteProbeInterval} neutron::agents::ovn_metadata::ovn_remote_probe_interval: {get_param: OVNRemoteProbeInterval}
neutron::agents::ovn_metadata::debug: neutron::agents::ovn_metadata::debug:
if: if:
- service_debug_unset
- {get_param: Debug}
- {get_param: OvnMetadataAgentDebug} - {get_param: OvnMetadataAgentDebug}
- true
- {get_param: Debug}
neutron::agents::ovn_metadata::metadata_protocol: neutron::agents::ovn_metadata::metadata_protocol:
if: if:
- internal_tls_enabled - internal_tls_enabled
@ -383,9 +380,9 @@ outputs:
haproxy_wrapper_enabled: {get_param: OVNEnableHaproxyDockerWrapper} haproxy_wrapper_enabled: {get_param: OVNEnableHaproxyDockerWrapper}
debug_enabled: debug_enabled:
if: if:
- service_debug_unset - {get_param: OVNWrapperDebug}
- {get_param: Debug } - true
- {get_param: NeutronWrapperDebug} - {get_param: Debug}
docker_additional_sockets: {get_param: DockerAdditionalSockets} docker_additional_sockets: {get_param: DockerAdditionalSockets}
- name: create kill_scripts directory within /var/lib/neutron - name: create kill_scripts directory within /var/lib/neutron
file: file:

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
All service ``Debug`` parameters are now booleans as
expected by oslo. This helps in proper validation and
service template composition complexities.