Skip to content
Snippets Groups Projects
Commit 3d041996 authored by likui's avatar likui
Browse files

Update glance configuration file for backend

global file glance_backend_file parameters not take effect

Closes-Bug: #1888501

Change-Id: I3afd117633a84d342effb6baadf16fa42c16776c
parent f81aee50
No related branches found
No related tags found
No related merge requests found
...@@ -156,7 +156,7 @@ glance_tls_proxy_extra_volumes: "{{ glance_extra_volumes }}" ...@@ -156,7 +156,7 @@ glance_tls_proxy_extra_volumes: "{{ glance_extra_volumes }}"
glance_backends: glance_backends:
- name: file - name: file
type: file type: file
enabled: true enabled: "{{ glance_backend_file | bool }}"
- name: http - name: http
type: http type: http
enabled: true enabled: true
......
...@@ -63,8 +63,10 @@ default_backend = swift ...@@ -63,8 +63,10 @@ default_backend = swift
default_backend = file default_backend = file
{% endif %} {% endif %}
{% if glance_backend_file | bool %}
[file] [file]
filesystem_store_datadir = /var/lib/glance/images/ filesystem_store_datadir = /var/lib/glance/images/
{% endif %}
{% if glance_backend_ceph | bool %} {% if glance_backend_ceph | bool %}
[rbd] [rbd]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment