Merge "Cinder containers: volume and env customizations"
This commit is contained in:
commit
5a219d53bf
@ -52,6 +52,14 @@ parameters:
|
|||||||
CephClientUserName:
|
CephClientUserName:
|
||||||
default: openstack
|
default: openstack
|
||||||
type: string
|
type: string
|
||||||
|
CinderVolumeOptVolumes:
|
||||||
|
default: []
|
||||||
|
description: list of optional volumes to be mounted
|
||||||
|
type: comma_delimited_list
|
||||||
|
CinderVolumeOptEnvVars:
|
||||||
|
default: []
|
||||||
|
description: list of optional environment variables
|
||||||
|
type: comma_delimited_list
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
@ -143,6 +151,7 @@ outputs:
|
|||||||
volumes:
|
volumes:
|
||||||
list_concat:
|
list_concat:
|
||||||
- {get_attr: [ContainersCommon, volumes]}
|
- {get_attr: [ContainersCommon, volumes]}
|
||||||
|
- {get_param: CinderVolumeOptVolumes}
|
||||||
-
|
-
|
||||||
- /var/lib/kolla/config_files/cinder_volume.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/cinder_volume.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/puppet-generated/cinder/:/var/lib/kolla/config_files/src:ro
|
- /var/lib/config-data/puppet-generated/cinder/:/var/lib/kolla/config_files/src:ro
|
||||||
@ -155,7 +164,10 @@ outputs:
|
|||||||
- /var/lib/cinder:/var/lib/cinder
|
- /var/lib/cinder:/var/lib/cinder
|
||||||
- /var/log/containers/cinder:/var/log/cinder
|
- /var/log/containers/cinder:/var/log/cinder
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
list_concat:
|
||||||
|
- {get_param: CinderVolumeOptEnvVars}
|
||||||
|
-
|
||||||
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
host_prep_tasks:
|
host_prep_tasks:
|
||||||
- name: create persistent directories
|
- name: create persistent directories
|
||||||
file:
|
file:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user