placement: Adding Debug parameter

When we set Debug: true, placement is the only service without
DEFAULT/debug set to true.

Change-Id: I2f977f4a710a5e9f68f508d4b880c18ec61caf0c
This commit is contained in:
David Vallee Delisle 2021-06-08 17:20:46 -04:00
parent fac1c7d44b
commit 514f6df76f
1 changed files with 9 additions and 0 deletions

View File

@ -76,6 +76,10 @@ parameters:
description: |
Use the advanced (eventlet safe) memcached client pool.
default: true
PlacementDebug:
default: false
description: Set to True to enable debugging Placement services.
type: boolean
conditions:
placement_workers_set:
@ -133,6 +137,11 @@ outputs:
placement::keystone::authtoken::region_name: {get_param: KeystoneRegion}
placement::keystone::authtoken::interface: 'internal'
placement::keystone::authtoken::memcache_use_advanced_pool: {get_param: MemcacheUseAdvancedPool}
placement::logging::debug:
if:
- {get_param: PlacementDebug}
- true
- {get_param: Debug}
placement::wsgi::apache::api_port: '8778'
placement::wsgi::apache::ssl: {get_param: EnableInternalTLS}
# NOTE: bind IP is found in hiera replacing the network name with the local node IP