Skip to content

Commit 3466731

Browse files
committed
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 <[email protected]>
1 parent 998ac19 commit 3466731

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

templates/common/config/00-config.conf

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ max_logfile_count=1
1818
max_logfile_size_mb=20
1919
log_rotation_type=size
2020
log_file = {{ .LogFile }}
21-
enabled_backends=default_backend:file
22-
{{ if (index . "CacheEnabled") -}}
21+
{{ end }}
22+
# cache related parameters
23+
{{ if (index . "CacheEnabled") }}
24+
>>>>>>> 2e22c55 (Remove enabled_backend entry from 00-config.conf)
2325
image_cache_dir = {{ .ImageCacheDir }}
2426
image_cache_max_size = {{ .CacheMaxSize }}
2527
image_cache_stall_time = 86400
@@ -35,9 +37,6 @@ db_max_retries = -1
3537
[file]
3638
filesystem_store_datadir = /var/lib/glance/images
3739

38-
[glance_store]
39-
default_backend=default_backend
40-
4140
[keystone_authtoken]
4241
www_authenticate_uri={{ .KeystonePublicURL }}
4342
auth_url={{ .KeystoneInternalURL }}

0 commit comments

Comments
 (0)