Skip to content

Commit 17bdf00

Browse files
committed
Configure keystonemiddleware to deal with memcached pods failures
Whenever one of the mecached pods disappears, because of a rolling restart during a minor update or as result of a failure, APIs can take a long time to detect that the pod went away and keep trying to reconnect. From a quick round of tests we saw downtimes up to ~150s. By tuning memcache_pool_dead_retry and memcache_pool_conn_get_timeout the behavior seems much more acceptable. Jira: https://issues.redhat.com/browse/OSPRH-11935
1 parent c8c3f9b commit 17bdf00

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/manila/config/00-config.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ db_max_retries = -1
2929
www_authenticate_uri={{ .KeystonePublicURL }}
3030
auth_url = {{ .KeystoneInternalURL }}
3131
memcached_servers = {{ .MemcachedServersWithInet }}
32+
memcache_pool_dead_retry = 10
33+
memcache_pool_conn_get_timeout = 2
3234
auth_type = password
3335
project_domain_name = Default
3436
user_domain_name = Default

0 commit comments

Comments
 (0)