Pass image import conf file to command which runs glance server

Glance recently has added plugin framework in which a new configuration file
has been added named glance-image-import.conf

In order to get this file read by glance api it need to be passed
to command running on glance_api container.

Closes-Bug: 1790090
Change-Id: I2a7861094bbc814ccd3ef3f2206dc141229411fc
(cherry picked from commit 2b78110ee9)
This commit is contained in:
Pranali Deore 2018-08-31 14:00:30 +05:30
parent 996738232b
commit 55a12265e8
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ outputs:
config_image: {get_param: DockerGlanceApiConfigImage}
kolla_config:
/var/lib/kolla/config_files/glance_api.json:
command: /usr/bin/glance-api --config-file /usr/share/glance/glance-api-dist.conf --config-file /etc/glance/glance-api.conf
command: /usr/bin/glance-api --config-file /usr/share/glance/glance-api-dist.conf --config-file /etc/glance/glance-api.conf --config-file /etc/glance/glance-image-import.conf
config_files:
- source: "/var/lib/kolla/config_files/src/*"
dest: "/"