From 346673148c4d1e10334a4fd0dae0cd16b51d656d Mon Sep 17 00:00:00 2001 From: Francesco Pantano Date: Wed, 7 Feb 2024 09:53:07 +0100 Subject: [PATCH] Remove enabled_backend entry from 00-config.conf With webhooks we prevent the glance deploy unless a backend is specified via customServiceConfig. It doesn't fail if replicas is set to 0, but in general a backend must be specified. This patch reinforce what already done by removing the enabled_backend line from 00-configa. Signed-off-by: Francesco Pantano --- templates/common/config/00-config.conf | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/templates/common/config/00-config.conf b/templates/common/config/00-config.conf index 0481e48a..22b456c3 100644 --- a/templates/common/config/00-config.conf +++ b/templates/common/config/00-config.conf @@ -18,8 +18,10 @@ max_logfile_count=1 max_logfile_size_mb=20 log_rotation_type=size log_file = {{ .LogFile }} -enabled_backends=default_backend:file -{{ if (index . "CacheEnabled") -}} +{{ end }} +# cache related parameters +{{ if (index . "CacheEnabled") }} +>>>>>>> 2e22c55 (Remove enabled_backend entry from 00-config.conf) image_cache_dir = {{ .ImageCacheDir }} image_cache_max_size = {{ .CacheMaxSize }} image_cache_stall_time = 86400 @@ -35,9 +37,6 @@ db_max_retries = -1 [file] filesystem_store_datadir = /var/lib/glance/images -[glance_store] -default_backend=default_backend - [keystone_authtoken] www_authenticate_uri={{ .KeystonePublicURL }} auth_url={{ .KeystoneInternalURL }}