From 92f5cb49cba686678d90abad7430d43ce6bc4885 Mon Sep 17 00:00:00 2001 From: Ai Hamano Date: Fri, 20 Oct 2023 10:52:43 +0900 Subject: [PATCH] Improve the local.conf sample This patch adds a workaround for the image volume cache issue[1] in Cinder to the local.conf sample. The above workaround has already been added to the Zuul environment. [1] https://bugs.launchpad.net/cinder/+bug/1953704 Change-Id: I46f2ad99c2d524c60402af48a038434a547f684a --- .zuul.yaml | 2 ++ devstack/local.conf.example | 6 ++++++ devstack/local.conf.kubernetes | 6 ++++++ 3 files changed, 14 insertions(+) diff --git a/.zuul.yaml b/.zuul.yaml index 16c95cc97..c46c3ea0e 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -125,6 +125,8 @@ $NEUTRON_DHCP_CONF: DEFAULT: enable_isolated_metadata: True + # NOTE: workaround for Cinder image volume cache problem. + # https://bugs.launchpad.net/cinder/+bug/1953704 $CINDER_CONF: lvmdriver-1: image_volume_cache_enabled: False diff --git a/devstack/local.conf.example b/devstack/local.conf.example index 1de2e8ba5..a46341c4c 100644 --- a/devstack/local.conf.example +++ b/devstack/local.conf.example @@ -62,3 +62,9 @@ disable_service tempest [[post-config|/etc/neutron/dhcp_agent.ini]] [DEFAULT] enable_isolated_metadata = True + +# NOTE: workaround for Cinder image volume cache problem. +# https://bugs.launchpad.net/cinder/+bug/1953704 +[[post-config|/etc/cinder/cinder.conf]] +[lvmdriver-1] +image_volume_cache_enabled = False diff --git a/devstack/local.conf.kubernetes b/devstack/local.conf.kubernetes index 01e8965ab..c5386a9b8 100644 --- a/devstack/local.conf.kubernetes +++ b/devstack/local.conf.kubernetes @@ -84,3 +84,9 @@ enable_isolated_metadata = True [[post-config|$OCTAVIA_CONF]] [controller_worker] amp_active_retries=9999 + +# NOTE: workaround for Cinder image volume cache problem. +# https://bugs.launchpad.net/cinder/+bug/1953704 +[[post-config|/etc/cinder/cinder.conf]] +[lvmdriver-1] +image_volume_cache_enabled = False