Merge "placement: Adding Debug parameter" into stable/wallaby

This commit is contained in:
Zuul 2021-10-06 08:48:54 +00:00 committed by Gerrit Code Review
commit a61911cb43
1 changed files with 9 additions and 0 deletions

View File

@ -85,6 +85,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_zero: {equals : [{get_param: PlacementWorkers}, 0]}
@ -144,6 +148,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