memcached cache not get expired
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
New
|
Undecided
|
Unassigned |
Bug Description
We are using openstack rocky and we I check the memcached, I found
root@compute:~# telnet compute 11211
Trying 192.168.0.17...
Connected to compute.
Escape character is '^]'.
stats cachedump 15 1
ITEM c9067b617ec1e6e
expiration time not setup for the keys. even I set all of the cache_time options, it still not get changed.
[identity]
password_
driver = sql
[assignment]
driver = sql
[catalog]
cache_time = 300
[role]
driver = sql
cache_time = 300
[resource]
driver = sql
cache_time = 300
[application_
cache_time = 300
[oslo.cache]
expiration_time = 300
[cache]
memcache_servers = compute:11211
backend = dogpile.
enabled = true
expiration_time = 300
cache_time = 300
[oslo_messaging
transport_url = rabbit:
[DEFAULT]
max_token_size = 16384
debug = True
logging_
logging_
logging_
logging_
admin_endpoint = http://
public_endpoint = http://
[token]
provider = fernet
cache_time = 300
[database]
connection = mysql+pymysql:
[fernet_tokens]
key_repository = /etc/keystone/
[credential]
key_repository = /etc/keystone/
[security_
unique_
lockout_duration = 10
lockout_
[unified_limit]
cache_time = 300
By looking at dogpile, seems adding backend_argument = memcached_ expire_ time:3600 under [cache] solves the problem, is it expected behavior?