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 commit2b78110ee9
) (cherry picked from commit55a12265e8
)
This commit is contained in:
parent
af178417ba
commit
44307e3e5e
|
@ -147,7 +147,7 @@ outputs:
|
||||||
config_image: {get_param: DockerGlanceApiConfigImage}
|
config_image: {get_param: DockerGlanceApiConfigImage}
|
||||||
kolla_config:
|
kolla_config:
|
||||||
/var/lib/kolla/config_files/glance_api.json:
|
/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:
|
config_files:
|
||||||
- source: "/var/lib/kolla/config_files/src/*"
|
- source: "/var/lib/kolla/config_files/src/*"
|
||||||
dest: "/"
|
dest: "/"
|
||||||
|
|
Loading…
Reference in New Issue