From 6c71637222f47d85681038994f02feac92f75bd2 Mon Sep 17 00:00:00 2001 From: Itxaka Date: Wed, 20 Mar 2019 11:45:33 +0100 Subject: [PATCH] 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 --- nova/values.yaml | 2 +- .../notes/change-memcache-backend-2d85a3c75b32db39.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/change-memcache-backend-2d85a3c75b32db39.yaml diff --git a/nova/values.yaml b/nova/values.yaml index 19d22539da..7cb4d553c2 100644 --- a/nova/values.yaml +++ b/nova/values.yaml @@ -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: diff --git a/releasenotes/notes/change-memcache-backend-2d85a3c75b32db39.yaml b/releasenotes/notes/change-memcache-backend-2d85a3c75b32db39.yaml new file mode 100644 index 0000000000..5f3a9247b0 --- /dev/null +++ b/releasenotes/notes/change-memcache-backend-2d85a3c75b32db39.yaml @@ -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". \ No newline at end of file