Skip to content

Commit

Permalink
Remove enabled_backend entry from 00-config.conf
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
fmount committed Oct 11, 2024
1 parent 998ac19 commit 3466731
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions templates/common/config/00-config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 3466731

Please sign in to comment.