Merge "Undercloud specific volumes for mistral-executor container"
This commit is contained in:
@@ -40,6 +40,14 @@ parameters:
|
|||||||
default: false
|
default: false
|
||||||
description: Remove package if the service is being disabled during upgrade
|
description: Remove package if the service is being disabled during upgrade
|
||||||
type: boolean
|
type: boolean
|
||||||
|
MistralExecutorVolumes:
|
||||||
|
default: []
|
||||||
|
description: List of additional volumes to mount into the mistral-executor container
|
||||||
|
type: comma_delimited_list
|
||||||
|
MistralExecutorExtraVolumes:
|
||||||
|
default: []
|
||||||
|
description: List of user-provided additional volumes to mount into the mistral-executor container
|
||||||
|
type: comma_delimited_list
|
||||||
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
@@ -114,13 +122,11 @@ outputs:
|
|||||||
- /var/lib/kolla/config_files/mistral_executor.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/mistral_executor.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/puppet-generated/mistral/:/var/lib/kolla/config_files/src:ro
|
- /var/lib/config-data/puppet-generated/mistral/:/var/lib/kolla/config_files/src:ro
|
||||||
- /run:/run
|
- /run:/run
|
||||||
# FIXME: this is required in order for Nova cells
|
|
||||||
# initialization workflows on the Undercloud. Need to
|
|
||||||
# exclude this on the overcloud for security reasons.
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:rw
|
- /var/run/docker.sock:/var/run/docker.sock:rw
|
||||||
- /var/lib/config-data/nova/etc/nova:/etc/nova:ro
|
|
||||||
- /var/log/containers/mistral:/var/log/mistral
|
- /var/log/containers/mistral:/var/log/mistral
|
||||||
- /var/lib/mistral:/var/lib/mistral
|
- /var/lib/mistral:/var/lib/mistral
|
||||||
|
- {get_param: MistralExecutorVolumes}
|
||||||
|
- {get_param: MistralExecutorExtraVolumes}
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
host_prep_tasks:
|
host_prep_tasks:
|
||||||
|
@@ -99,6 +99,8 @@ parameter_defaults:
|
|||||||
ZaqarManagementStore: 'sqlalchemy'
|
ZaqarManagementStore: 'sqlalchemy'
|
||||||
MistralCorsAllowedOrigin: '*'
|
MistralCorsAllowedOrigin: '*'
|
||||||
MistralExecutionFieldSizeLimit: 16384
|
MistralExecutionFieldSizeLimit: 16384
|
||||||
|
MistralExecutorVolumes:
|
||||||
|
- /var/lib/config-data/nova/etc/nova:/etc/nova:ro
|
||||||
NeutronServicePlugins: router,segments
|
NeutronServicePlugins: router,segments
|
||||||
NeutronMechanismDrivers: ['openvswitch', 'baremetal']
|
NeutronMechanismDrivers: ['openvswitch', 'baremetal']
|
||||||
NeutronNetworkVLANRanges: 'physnet1:1000:2999'
|
NeutronNetworkVLANRanges: 'physnet1:1000:2999'
|
||||||
|
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
The parameter MistralExecutorExtraVolumes can be set to add volume mounts
|
||||||
|
into the undercloud mistral-executor container. This allows workflows to
|
||||||
|
have access to the required files for custom tasks such as rebuilding
|
||||||
|
container images.
|
Reference in New Issue
Block a user