Disable ceilometer's swift middleware
This middleware is spamming rsyslog with rabbitmq debug logs, making this middleware practically unusable in combination with rsyslog. Because of this, the rsyslog logs now account for 35% percent of the logs we store in logstash. Until the underlying problem is solved disable the offending code. Change-Id: I50a73ae6beb1a11c41225340779fe8d7a1081e46 Related-Bug: #1294789
This commit is contained in:
parent
871b1e4709
commit
c381a54db1
11
lib/swift
11
lib/swift
@ -334,11 +334,12 @@ function configure_swift {
|
||||
iniset ${SWIFT_CONFIG_PROXY_SERVER} app:proxy-server node_timeout 120
|
||||
iniset ${SWIFT_CONFIG_PROXY_SERVER} app:proxy-server conn_timeout 20
|
||||
|
||||
# Configure Ceilometer
|
||||
if is_service_enabled ceilometer; then
|
||||
iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:ceilometer use "egg:ceilometer#swift"
|
||||
SWIFT_EXTRAS_MIDDLEWARE_LAST="${SWIFT_EXTRAS_MIDDLEWARE_LAST} ceilometer"
|
||||
fi
|
||||
# Skipped due to bug 1294789
|
||||
## Configure Ceilometer
|
||||
#if is_service_enabled ceilometer; then
|
||||
# iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:ceilometer use "egg:ceilometer#swift"
|
||||
# SWIFT_EXTRAS_MIDDLEWARE_LAST="${SWIFT_EXTRAS_MIDDLEWARE_LAST} ceilometer"
|
||||
#fi
|
||||
|
||||
# Restrict the length of auth tokens in the swift proxy-server logs.
|
||||
iniset ${SWIFT_CONFIG_PROXY_SERVER} filter:proxy-logging reveal_sensitive_prefix ${SWIFT_LOG_TOKEN_LENGTH}
|
||||
|
Loading…
Reference in New Issue
Block a user