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
This commit is contained in:
Ai Hamano
2023-10-20 10:52:43 +09:00
parent 73b41001a5
commit 92f5cb49cb
3 changed files with 14 additions and 0 deletions

View File

@@ -125,6 +125,8 @@
$NEUTRON_DHCP_CONF: $NEUTRON_DHCP_CONF:
DEFAULT: DEFAULT:
enable_isolated_metadata: True enable_isolated_metadata: True
# NOTE: workaround for Cinder image volume cache problem.
# https://bugs.launchpad.net/cinder/+bug/1953704
$CINDER_CONF: $CINDER_CONF:
lvmdriver-1: lvmdriver-1:
image_volume_cache_enabled: False image_volume_cache_enabled: False

View File

@@ -62,3 +62,9 @@ disable_service tempest
[[post-config|/etc/neutron/dhcp_agent.ini]] [[post-config|/etc/neutron/dhcp_agent.ini]]
[DEFAULT] [DEFAULT]
enable_isolated_metadata = True 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

View File

@@ -84,3 +84,9 @@ enable_isolated_metadata = True
[[post-config|$OCTAVIA_CONF]] [[post-config|$OCTAVIA_CONF]]
[controller_worker] [controller_worker]
amp_active_retries=9999 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