Merge "Make memcached logs verbosity configurable"
This commit is contained in:
commit
a0e2adc1f2
@ -39,6 +39,21 @@ parameters:
|
||||
MonitoringSubscriptionMemcached:
|
||||
default: 'overcloud-memcached'
|
||||
type: string
|
||||
Debug:
|
||||
default: false
|
||||
description: Set to True to enable debugging on all services.
|
||||
type: boolean
|
||||
MemcachedDebug:
|
||||
default: ''
|
||||
description: Set to True to enable debugging Memcached service.
|
||||
type: string
|
||||
|
||||
conditions:
|
||||
service_debug:
|
||||
or:
|
||||
- equals: [{get_param: MemcachedDebug}, 'true']
|
||||
- equals: [{get_param: MemcachedDebug}, 'True']
|
||||
- equals: [{get_param: Debug}, true]
|
||||
|
||||
outputs:
|
||||
role_data:
|
||||
@ -54,7 +69,14 @@ outputs:
|
||||
# internal_api_subnet - > IP/CIDR
|
||||
memcached::listen_ip: {get_param: [ServiceNetMap, MemcachedNetwork]}
|
||||
memcached::max_memory: {get_param: MemcachedMaxMemory}
|
||||
memcached::verbosity: 'v'
|
||||
memcached::verbosity:
|
||||
list_join:
|
||||
- ''
|
||||
- - 'v'
|
||||
- if:
|
||||
- service_debug
|
||||
- 'v'
|
||||
- ''
|
||||
tripleo.memcached.firewall_rules:
|
||||
'121 memcached':
|
||||
dport: 11211
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The memcached service now reacts to the Debug flag, which will make its
|
||||
logs verbose. Also, the MemcachedDebug flag was added, which will just add
|
||||
this for the individual service.
|
Loading…
Reference in New Issue
Block a user