change the nova cache to dogpile.cache.memcached

Currently there are issues with using the memcache_pool backend as
the memcache driver for nova under python3[0][1] which doesnt seem
like they have a quick fix or something that is backportable to
rocky

This moves the default cache from oslo_cache.memcache_pool to
dogpile.cache.memcached so we can move forward with python3
enabled images.

[0] https://bugs.launchpad.net/cloud-archive/+bug/1812672
[1] https://bugs.launchpad.net/oslo.cache/+bug/1812935

Change-Id: I65a4770c374357a8e1c80d904bcd4af36217448f
This commit is contained in:
Itxaka 2019-03-20 11:45:33 +01:00 committed by Pete Birley
parent 280c5f192f
commit 6c71637222
2 changed files with 7 additions and 1 deletions

View File

@ -1504,7 +1504,7 @@ conf:
compute: auto
cache:
enabled: true
backend: oslo_cache.memcache_pool
backend: dogpile.cache.memcached
wsgi:
api_paste_config: /etc/nova/api-paste.ini
oslo_messaging_notifications:

View File

@ -0,0 +1,6 @@
---
other:
- |
memcache backend for nova has been changed from oslo_cache.memcache_pool
to dogpile.cache.memcached. You can revert to previous behaviour by
setting conf.nova.cache.backend to "oslo_cache.memcache_pool".