Merge "Introduce common resources for docker templates"
This commit is contained in:
commit
431bc8109a
@ -29,6 +29,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
AodhApiPuppetBase:
|
AodhApiPuppetBase:
|
||||||
type: ../../puppet/services/aodh-api.yaml
|
type: ../../puppet/services/aodh-api.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -76,9 +79,12 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
detach: false
|
detach: false
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/config-data/aodh/etc/aodh/:/etc/aodh/:ro
|
- /var/lib/config-data/aodh/etc/aodh/:/etc/aodh/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- logs:/var/log
|
- logs:/var/log
|
||||||
command: /usr/bin/aodh-dbsync
|
command: /usr/bin/aodh-dbsync
|
||||||
step_4:
|
step_4:
|
||||||
@ -88,12 +94,15 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/aodh-api.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/aodh-api.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/aodh/etc/aodh/:/etc/aodh/:ro
|
- /var/lib/config-data/aodh/etc/aodh/:/etc/aodh/:ro
|
||||||
- /var/lib/config-data/aodh/etc/httpd/:/etc/httpd/:ro
|
- /var/lib/config-data/aodh/etc/httpd/:/etc/httpd/:ro
|
||||||
- /var/lib/config-data/aodh/var/www/:/var/www/:ro
|
- /var/lib/config-data/aodh/var/www/:/var/www/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- logs:/var/log
|
- logs:/var/log
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
|
@ -29,6 +29,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
AodhEvaluatorBase:
|
AodhEvaluatorBase:
|
||||||
type: ../../puppet/services/aodh-evaluator.yaml
|
type: ../../puppet/services/aodh-evaluator.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -67,10 +70,13 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/aodh-evaluator.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/aodh-evaluator.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/aodh/etc/aodh/:/etc/aodh/:ro
|
- /var/lib/config-data/aodh/etc/aodh/:/etc/aodh/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
upgrade_tasks:
|
upgrade_tasks:
|
||||||
|
@ -29,6 +29,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
AodhListenerBase:
|
AodhListenerBase:
|
||||||
type: ../../puppet/services/aodh-listener.yaml
|
type: ../../puppet/services/aodh-listener.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -67,10 +70,13 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/aodh-listener.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/aodh-listener.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/aodh/etc/aodh/:/etc/aodh/:ro
|
- /var/lib/config-data/aodh/etc/aodh/:/etc/aodh/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
upgrade_tasks:
|
upgrade_tasks:
|
||||||
|
@ -29,6 +29,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
AodhNotifierBase:
|
AodhNotifierBase:
|
||||||
type: ../../puppet/services/aodh-notifier.yaml
|
type: ../../puppet/services/aodh-notifier.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -67,10 +70,13 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/aodh-notifier.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/aodh-notifier.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/aodh/etc/aodh/:/etc/aodh/:ro
|
- /var/lib/config-data/aodh/etc/aodh/:/etc/aodh/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
upgrade_tasks:
|
upgrade_tasks:
|
||||||
|
11
docker/services/containers-common.yaml
Normal file
11
docker/services/containers-common.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
heat_template_version: ocata
|
||||||
|
|
||||||
|
description: >
|
||||||
|
Contains a static list of common things necessary for containers
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
volumes:
|
||||||
|
description: Common volumes for the containers.
|
||||||
|
value:
|
||||||
|
- /etc/hosts:/etc/hosts:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
@ -29,6 +29,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
GlanceApiPuppetBase:
|
GlanceApiPuppetBase:
|
||||||
type: ../../puppet/services/glance-api.yaml
|
type: ../../puppet/services/glance-api.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -68,13 +71,16 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
detach: false
|
detach: false
|
||||||
volumes: &glance_volumes
|
volumes: &glance_volumes
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/glance-api.json:/var/lib/kolla/config_files/config.json
|
- /var/lib/kolla/config_files/glance-api.json:/var/lib/kolla/config_files/config.json
|
||||||
- /var/lib/config-data/glance_api/etc/glance/:/etc/glance/:ro
|
- /var/lib/config-data/glance_api/etc/glance/:/etc/glance/:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /lib/modules:/lib/modules:ro
|
- /lib/modules:/lib/modules:ro
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_BOOTSTRAP=True
|
- KOLLA_BOOTSTRAP=True
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
|
@ -29,6 +29,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
GnocchiApiPuppetBase:
|
GnocchiApiPuppetBase:
|
||||||
type: ../../puppet/services/gnocchi-api.yaml
|
type: ../../puppet/services/gnocchi-api.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -76,9 +79,12 @@ outputs:
|
|||||||
detach: false
|
detach: false
|
||||||
privileged: false
|
privileged: false
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/config-data/gnocchi/etc/gnocchi/:/etc/gnocchi/:ro
|
- /var/lib/config-data/gnocchi/etc/gnocchi/:/etc/gnocchi/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- logs:/var/log
|
- logs:/var/log
|
||||||
command: ["/usr/bin/gnocchi-upgrade", "--skip-storage"]
|
command: ["/usr/bin/gnocchi-upgrade", "--skip-storage"]
|
||||||
step_4:
|
step_4:
|
||||||
@ -88,12 +94,15 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/gnocchi-api.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/gnocchi-api.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/gnocchi/etc/gnocchi/:/etc/gnocchi/:ro
|
- /var/lib/config-data/gnocchi/etc/gnocchi/:/etc/gnocchi/:ro
|
||||||
- /var/lib/config-data/gnocchi/etc/httpd/:/etc/httpd/:ro
|
- /var/lib/config-data/gnocchi/etc/httpd/:/etc/httpd/:ro
|
||||||
- /var/lib/config-data/gnocchi/var/www/:/var/www/:ro
|
- /var/lib/config-data/gnocchi/var/www/:/var/www/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
upgrade_tasks:
|
upgrade_tasks:
|
||||||
|
@ -29,6 +29,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
GnocchiMetricdBase:
|
GnocchiMetricdBase:
|
||||||
type: ../../puppet/services/gnocchi-metricd.yaml
|
type: ../../puppet/services/gnocchi-metricd.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -65,10 +68,13 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/gnocchi-metricd.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/gnocchi-metricd.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/gnocchi/etc/gnocchi/:/etc/gnocchi/:ro
|
- /var/lib/config-data/gnocchi/etc/gnocchi/:/etc/gnocchi/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
upgrade_tasks:
|
upgrade_tasks:
|
||||||
|
@ -29,6 +29,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
GnocchiStatsdBase:
|
GnocchiStatsdBase:
|
||||||
type: ../../puppet/services/gnocchi-statsd.yaml
|
type: ../../puppet/services/gnocchi-statsd.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -65,10 +68,13 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/gnocchi-statsd.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/gnocchi-statsd.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/gnocchi/etc/gnocchi/:/etc/gnocchi/:ro
|
- /var/lib/config-data/gnocchi/etc/gnocchi/:/etc/gnocchi/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
upgrade_tasks:
|
upgrade_tasks:
|
||||||
|
@ -35,6 +35,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
HeatBase:
|
HeatBase:
|
||||||
type: ../../puppet/services/heat-api-cfn.yaml
|
type: ../../puppet/services/heat-api-cfn.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -77,10 +80,13 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/heat_api_cfn.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/heat_api_cfn.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/heat/etc/heat/:/etc/heat/:ro
|
- /var/lib/config-data/heat/etc/heat/:/etc/heat/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
- /run:/run
|
- /run:/run
|
||||||
environment:
|
environment:
|
||||||
|
@ -35,6 +35,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
HeatBase:
|
HeatBase:
|
||||||
type: ../../puppet/services/heat-api.yaml
|
type: ../../puppet/services/heat-api.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -77,10 +80,13 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/heat_api.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/heat_api.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/heat/etc/heat/:/etc/heat/:ro
|
- /var/lib/config-data/heat/etc/heat/:/etc/heat/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
- /run:/run
|
- /run:/run
|
||||||
environment:
|
environment:
|
||||||
|
@ -30,6 +30,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
HeatBase:
|
HeatBase:
|
||||||
type: ../../puppet/services/heat-engine.yaml
|
type: ../../puppet/services/heat-engine.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -69,9 +72,12 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
detach: false
|
detach: false
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/config-data/heat/etc/heat/:/etc/heat/:ro
|
- /var/lib/config-data/heat/etc/heat/:/etc/heat/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
command: ['heat-manage', 'db_sync']
|
command: ['heat-manage', 'db_sync']
|
||||||
step_4:
|
step_4:
|
||||||
heat_engine:
|
heat_engine:
|
||||||
@ -80,10 +86,13 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/heat_engine.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/heat_engine.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/heat/etc/heat/:/etc/heat/:ro
|
- /var/lib/config-data/heat/etc/heat/:/etc/heat/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
|
@ -33,6 +33,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
IronicApiBase:
|
IronicApiBase:
|
||||||
type: ../../puppet/services/ironic-api.yaml
|
type: ../../puppet/services/ironic-api.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -74,9 +77,12 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
detach: false
|
detach: false
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/config-data/ironic/etc/:/etc/:ro
|
- /var/lib/config-data/ironic/etc/:/etc/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
command: ['ironic-dbsync', '--config-file', '/etc/ironic/ironic.conf']
|
command: ['ironic-dbsync', '--config-file', '/etc/ironic/ironic.conf']
|
||||||
step_4:
|
step_4:
|
||||||
ironic_api:
|
ironic_api:
|
||||||
@ -86,10 +92,13 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/ironic_api.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/ironic_api.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/ironic/etc/:/etc/:ro
|
- /var/lib/config-data/ironic/etc/:/etc/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
upgrade_tasks:
|
upgrade_tasks:
|
||||||
|
@ -33,6 +33,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
IronicConductorBase:
|
IronicConductorBase:
|
||||||
type: ../../puppet/services/ironic-conductor.yaml
|
type: ../../puppet/services/ironic-conductor.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -87,10 +90,13 @@ outputs:
|
|||||||
privileged: true
|
privileged: true
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/ironic_conductor.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/ironic_conductor.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/ironic/etc/ironic/:/etc/ironic/:ro
|
- /var/lib/config-data/ironic/etc/ironic/:/etc/ironic/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /lib/modules:/lib/modules:ro
|
- /lib/modules:/lib/modules:ro
|
||||||
- /sys:/sys
|
- /sys:/sys
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
|
@ -31,6 +31,11 @@ parameters:
|
|||||||
default: {}
|
default: {}
|
||||||
type: json
|
type: json
|
||||||
|
|
||||||
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
role_data:
|
role_data:
|
||||||
description: Role data for the Ironic PXE role.
|
description: Role data for the Ironic PXE role.
|
||||||
@ -65,6 +70,11 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/ironic_pxe_tftp.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/ironic_pxe_tftp.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/ironic/etc/ironic/:/etc/ironic/:ro
|
- /var/lib/config-data/ironic/etc/ironic/:/etc/ironic/:ro
|
||||||
# TODO(mandre) check how docker like mounting in a bind-mounted tree
|
# TODO(mandre) check how docker like mounting in a bind-mounted tree
|
||||||
@ -77,8 +87,6 @@ outputs:
|
|||||||
- /var/lib/config-data/ironic/var/lib/ironic/tftpboot/ipxe.efi:/var/lib/ironic/tftpboot/ipxe.efi
|
- /var/lib/config-data/ironic/var/lib/ironic/tftpboot/ipxe.efi:/var/lib/ironic/tftpboot/ipxe.efi
|
||||||
- /var/lib/config-data/ironic/var/lib/ironic/tftpboot/undionly.kpxe:/var/lib/ironic/tftpboot/undionly.kpxe
|
- /var/lib/config-data/ironic/var/lib/ironic/tftpboot/undionly.kpxe:/var/lib/ironic/tftpboot/undionly.kpxe
|
||||||
- /var/lib/config-data/ironic/var/lib/ironic/tftpboot/map-file:/var/lib/ironic/tftpboot/map-file
|
- /var/lib/config-data/ironic/var/lib/ironic/tftpboot/map-file:/var/lib/ironic/tftpboot/map-file
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /dev/log:/dev/log
|
- /dev/log:/dev/log
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
@ -89,11 +97,14 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/ironic_pxe_http.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/ironic_pxe_http.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/ironic/etc/ironic/:/etc/ironic/:ro
|
- /var/lib/config-data/ironic/etc/ironic/:/etc/ironic/:ro
|
||||||
- /var/lib/config-data/ironic/etc/httpd/:/etc/httpd/:ro
|
- /var/lib/config-data/ironic/etc/httpd/:/etc/httpd/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /var/lib/ironic:/var/lib/ironic/
|
- /var/lib/ironic:/var/lib/ironic/
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
|
@ -42,6 +42,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
KeystoneBase:
|
KeystoneBase:
|
||||||
type: ../../puppet/services/keystone.yaml
|
type: ../../puppet/services/keystone.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -96,12 +99,15 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
detach: false
|
detach: false
|
||||||
volumes: &keystone_volumes
|
volumes: &keystone_volumes
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/keystone.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/keystone.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/keystone/var/www/:/var/www/:ro
|
- /var/lib/config-data/keystone/var/www/:/var/www/:ro
|
||||||
- /var/lib/config-data/keystone/etc/keystone/:/etc/keystone/:ro
|
- /var/lib/config-data/keystone/etc/keystone/:/etc/keystone/:ro
|
||||||
- /var/lib/config-data/keystone/etc/httpd/:/etc/httpd/:ro
|
- /var/lib/config-data/keystone/etc/httpd/:/etc/httpd/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- logs:/var/log
|
- logs:/var/log
|
||||||
-
|
-
|
||||||
if:
|
if:
|
||||||
|
@ -29,6 +29,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
MemcachedBase:
|
MemcachedBase:
|
||||||
type: ../../puppet/services/memcached.yaml
|
type: ../../puppet/services/memcached.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -63,9 +66,12 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/config-data/memcached/etc/sysconfig/memcached:/etc/sysconfig/memcached:ro
|
- /var/lib/config-data/memcached/etc/sysconfig/memcached:/etc/sysconfig/memcached:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
command: ['/bin/bash', '-c', 'source /etc/sysconfig/memcached; /usr/bin/memcached -p ${PORT} -u ${USER} -m ${CACHESIZE} -c ${MAXCONN} $OPTIONS']
|
command: ['/bin/bash', '-c', 'source /etc/sysconfig/memcached; /usr/bin/memcached -p ${PORT} -u ${USER} -m ${CACHESIZE} -c ${MAXCONN} $OPTIONS']
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
|
@ -33,6 +33,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
MistralApiBase:
|
MistralApiBase:
|
||||||
type: ../../puppet/services/mistral-api.yaml
|
type: ../../puppet/services/mistral-api.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -75,9 +78,12 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
detach: false
|
detach: false
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/config-data/mistral/etc/:/etc/:ro
|
- /var/lib/config-data/mistral/etc/:/etc/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
command: ['mistral-db-manage', '--config-file', '/etc/mistral/mistral.conf', 'upgrade', 'head']
|
command: ['mistral-db-manage', '--config-file', '/etc/mistral/mistral.conf', 'upgrade', 'head']
|
||||||
mistral_db_populate:
|
mistral_db_populate:
|
||||||
start_order: 2
|
start_order: 2
|
||||||
@ -86,9 +92,12 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
detach: false
|
detach: false
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/config-data/mistral/etc/:/etc/:ro
|
- /var/lib/config-data/mistral/etc/:/etc/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
# NOTE: dprince this requires that we install openstack-tripleo-common into
|
# NOTE: dprince this requires that we install openstack-tripleo-common into
|
||||||
# the Mistral API image so that we get tripleo* actions
|
# the Mistral API image so that we get tripleo* actions
|
||||||
command: ['mistral-db-manage', '--config-file', '/etc/mistral/mistral.conf', 'populate']
|
command: ['mistral-db-manage', '--config-file', '/etc/mistral/mistral.conf', 'populate']
|
||||||
@ -100,10 +109,13 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/mistral_api.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/mistral_api.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/mistral/etc/mistral/:/etc/mistral/:ro
|
- /var/lib/config-data/mistral/etc/mistral/:/etc/mistral/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
upgrade_tasks:
|
upgrade_tasks:
|
||||||
|
@ -34,6 +34,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
MistralBase:
|
MistralBase:
|
||||||
type: ../../puppet/services/mistral-engine.yaml
|
type: ../../puppet/services/mistral-engine.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -75,11 +78,14 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /var/lib/kolla/config_files/mistral_engine.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/mistral_engine.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/mistral/etc/mistral/:/etc/mistral/:ro
|
- /var/lib/config-data/mistral/etc/mistral/:/etc/mistral/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
upgrade_tasks:
|
upgrade_tasks:
|
||||||
|
@ -34,6 +34,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
MistralBase:
|
MistralBase:
|
||||||
type: ../../puppet/services/mistral-executor.yaml
|
type: ../../puppet/services/mistral-executor.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -75,10 +78,13 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /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/mistral/etc/mistral/:/etc/mistral/:ro
|
- /var/lib/config-data/mistral/etc/mistral/:/etc/mistral/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
# FIXME: this is required in order for Nova cells
|
# FIXME: this is required in order for Nova cells
|
||||||
# initialization workflows on the Undercloud. Need to
|
# initialization workflows on the Undercloud. Need to
|
||||||
|
@ -34,6 +34,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
NeutronBase:
|
NeutronBase:
|
||||||
type: ../../puppet/services/neutron-api.yaml
|
type: ../../puppet/services/neutron-api.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -78,10 +81,13 @@ outputs:
|
|||||||
# and run as neutron user
|
# and run as neutron user
|
||||||
user: root
|
user: root
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/config-data/neutron/etc/neutron:/etc/neutron:ro
|
- /var/lib/config-data/neutron/etc/neutron:/etc/neutron:ro
|
||||||
- /var/lib/config-data/neutron/usr/share/neutron:/usr/share/neutron:ro
|
- /var/lib/config-data/neutron/usr/share/neutron:/usr/share/neutron:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
command: ['neutron-db-manage', 'upgrade', 'heads']
|
command: ['neutron-db-manage', 'upgrade', 'heads']
|
||||||
step_4:
|
step_4:
|
||||||
neutron_api:
|
neutron_api:
|
||||||
@ -90,10 +96,13 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/neutron_api.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/neutron_api.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/neutron/etc/neutron/:/etc/neutron/:ro
|
- /var/lib/config-data/neutron/etc/neutron/:/etc/neutron/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
upgrade_tasks:
|
upgrade_tasks:
|
||||||
|
@ -34,6 +34,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
NeutronBase:
|
NeutronBase:
|
||||||
type: ../../puppet/services/neutron-dhcp.yaml
|
type: ../../puppet/services/neutron-dhcp.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -76,10 +79,13 @@ outputs:
|
|||||||
privileged: true
|
privileged: true
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/neutron_dhcp.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/neutron_dhcp.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/neutron/etc/neutron/:/etc/neutron/:ro
|
- /var/lib/config-data/neutron/etc/neutron/:/etc/neutron/:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /lib/modules:/lib/modules:ro
|
- /lib/modules:/lib/modules:ro
|
||||||
- /run/:/run
|
- /run/:/run
|
||||||
environment:
|
environment:
|
||||||
|
@ -34,6 +34,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
NeutronL3Base:
|
NeutronL3Base:
|
||||||
type: ../../puppet/services/neutron-l3.yaml
|
type: ../../puppet/services/neutron-l3.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -72,9 +75,13 @@ outputs:
|
|||||||
privileged: true
|
privileged: true
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/neutron-l3-agent.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/neutron-l3-agent.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/neutron/etc/neutron/:/etc/neutron/:ro
|
- /var/lib/config-data/neutron/etc/neutron/:/etc/neutron/:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /lib/modules:/lib/modules:ro
|
- /lib/modules:/lib/modules:ro
|
||||||
- /run:/run
|
- /run:/run
|
||||||
environment:
|
environment:
|
||||||
|
@ -29,6 +29,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
NeutronOvsAgentBase:
|
NeutronOvsAgentBase:
|
||||||
type: ../../puppet/services/neutron-ovs-agent.yaml
|
type: ../../puppet/services/neutron-ovs-agent.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -64,9 +67,13 @@ outputs:
|
|||||||
privileged: true
|
privileged: true
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/neutron-openvswitch-agent.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/neutron-openvswitch-agent.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/neutron/etc/neutron/:/etc/neutron/:ro
|
- /var/lib/config-data/neutron/etc/neutron/:/etc/neutron/:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /lib/modules:/lib/modules:ro
|
- /lib/modules:/lib/modules:ro
|
||||||
- /run:/run
|
- /run:/run
|
||||||
environment:
|
environment:
|
||||||
|
@ -33,6 +33,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
NovaApiBase:
|
NovaApiBase:
|
||||||
type: ../../puppet/services/nova-api.yaml
|
type: ../../puppet/services/nova-api.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -126,10 +129,13 @@ outputs:
|
|||||||
privileged: true
|
privileged: true
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/nova_api.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/nova_api.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/nova/etc/nova/:/etc/nova/:ro
|
- /var/lib/config-data/nova/etc/nova/:/etc/nova/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
step_5:
|
step_5:
|
||||||
|
@ -29,6 +29,8 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
NovaComputeBase:
|
NovaComputeBase:
|
||||||
type: ../../puppet/services/nova-compute.yaml
|
type: ../../puppet/services/nova-compute.yaml
|
||||||
@ -66,11 +68,15 @@ outputs:
|
|||||||
user: root
|
user: root
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/nova-compute.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/nova-compute.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/nova_libvirt/etc/nova/:/etc/nova/:ro
|
- /var/lib/config-data/nova_libvirt/etc/nova/:/etc/nova/:ro
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
- /etc/iscsi:/etc/iscsi
|
- /etc/iscsi:/etc/iscsi
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /lib/modules:/lib/modules:ro
|
- /lib/modules:/lib/modules:ro
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /var/lib/nova:/var/lib/nova
|
- /var/lib/nova:/var/lib/nova
|
||||||
|
@ -34,6 +34,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
NovaConductorBase:
|
NovaConductorBase:
|
||||||
type: ../../puppet/services/nova-conductor.yaml
|
type: ../../puppet/services/nova-conductor.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -73,10 +76,13 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/nova_conductor.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/nova_conductor.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/nova/etc/nova/:/etc/nova/:ro
|
- /var/lib/config-data/nova/etc/nova/:/etc/nova/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
|
@ -33,6 +33,8 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
NovaIronicBase:
|
NovaIronicBase:
|
||||||
type: ../../puppet/services/nova-ironic.yaml
|
type: ../../puppet/services/nova-ironic.yaml
|
||||||
@ -70,9 +72,13 @@ outputs:
|
|||||||
user: root
|
user: root
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/nova_ironic.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/nova_ironic.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/nova/etc/nova/:/etc/nova/:ro
|
- /var/lib/config-data/nova/etc/nova/:/etc/nova/:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
- /etc/iscsi:/etc/iscsi
|
- /etc/iscsi:/etc/iscsi
|
||||||
|
@ -35,6 +35,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
NovaLibvirtBase:
|
NovaLibvirtBase:
|
||||||
type: ../../puppet/services/nova-libvirt.yaml
|
type: ../../puppet/services/nova-libvirt.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -73,9 +76,13 @@ outputs:
|
|||||||
privileged: true
|
privileged: true
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/nova-libvirt.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/nova-libvirt.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/nova_libvirt/etc/libvirt/:/etc/libvirt/:ro
|
- /var/lib/config-data/nova_libvirt/etc/libvirt/:/etc/libvirt/:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /lib/modules:/lib/modules:ro
|
- /lib/modules:/lib/modules:ro
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
- /run:/run
|
- /run:/run
|
||||||
|
@ -29,6 +29,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
NovaPlacementBase:
|
NovaPlacementBase:
|
||||||
type: ../../puppet/services/nova-placement.yaml
|
type: ../../puppet/services/nova-placement.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -70,12 +73,15 @@ outputs:
|
|||||||
user: root
|
user: root
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/nova_placement.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/nova_placement.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/nova_placement/etc/nova/:/etc/nova/:ro
|
- /var/lib/config-data/nova_placement/etc/nova/:/etc/nova/:ro
|
||||||
- /var/lib/config-data/nova_placement/etc/httpd/:/etc/httpd/:ro
|
- /var/lib/config-data/nova_placement/etc/httpd/:/etc/httpd/:ro
|
||||||
- /var/lib/config-data/nova_placement/var/www/:/var/www/:ro
|
- /var/lib/config-data/nova_placement/var/www/:/var/www/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
upgrade_tasks:
|
upgrade_tasks:
|
||||||
|
@ -33,6 +33,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
NovaSchedulerBase:
|
NovaSchedulerBase:
|
||||||
type: ../../puppet/services/nova-scheduler.yaml
|
type: ../../puppet/services/nova-scheduler.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -72,10 +75,13 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/nova_scheduler.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/nova_scheduler.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/nova/etc/nova/:/etc/nova/:ro
|
- /var/lib/config-data/nova/etc/nova/:/etc/nova/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
|
@ -29,6 +29,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
PankoApiPuppetBase:
|
PankoApiPuppetBase:
|
||||||
type: ../../puppet/services/panko-api.yaml
|
type: ../../puppet/services/panko-api.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -76,9 +79,12 @@ outputs:
|
|||||||
detach: false
|
detach: false
|
||||||
privileged: false
|
privileged: false
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/config-data/panko/etc/panko:/etc/panko:ro
|
- /var/lib/config-data/panko/etc/panko:/etc/panko:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- logs:/var/log
|
- logs:/var/log
|
||||||
command: /usr/bin/panko-dbsync
|
command: /usr/bin/panko-dbsync
|
||||||
step_4:
|
step_4:
|
||||||
@ -89,11 +95,14 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/panko-api.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/panko-api.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/panko/etc/panko/:/etc/panko/:ro
|
- /var/lib/config-data/panko/etc/panko/:/etc/panko/:ro
|
||||||
- /var/lib/config-data/panko/etc/httpd/:/etc/httpd/:ro
|
- /var/lib/config-data/panko/etc/httpd/:/etc/httpd/:ro
|
||||||
- /var/lib/config-data/panko/var/www/:/var/www/:ro
|
- /var/lib/config-data/panko/var/www/:/var/www/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
|
@ -33,6 +33,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
RabbitmqBase:
|
RabbitmqBase:
|
||||||
type: ../../puppet/services/rabbitmq.yaml
|
type: ../../puppet/services/rabbitmq.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -69,10 +72,13 @@ outputs:
|
|||||||
net: host
|
net: host
|
||||||
privileged: false
|
privileged: false
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/rabbitmq.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/rabbitmq.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/rabbitmq/etc/rabbitmq/:/etc/rabbitmq/:ro
|
- /var/lib/config-data/rabbitmq/etc/rabbitmq/:/etc/rabbitmq/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /var/lib/rabbitmq:/var/lib/rabbitmq
|
- /var/lib/rabbitmq:/var/lib/rabbitmq
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
@ -95,10 +101,13 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/rabbitmq.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/rabbitmq.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/rabbitmq/etc/rabbitmq/:/etc/rabbitmq/:ro
|
- /var/lib/config-data/rabbitmq/etc/rabbitmq/:/etc/rabbitmq/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /var/lib/rabbitmq:/var/lib/rabbitmq
|
- /var/lib/rabbitmq:/var/lib/rabbitmq
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
|
@ -29,6 +29,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
SwiftProxyBase:
|
SwiftProxyBase:
|
||||||
type: ../../puppet/services/swift-proxy.yaml
|
type: ../../puppet/services/swift-proxy.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -65,12 +68,15 @@ outputs:
|
|||||||
user: swift
|
user: swift
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/swift_proxy.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/swift_proxy.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
# FIXME I'm mounting /etc/swift as rw. Are the rings written to
|
# FIXME I'm mounting /etc/swift as rw. Are the rings written to
|
||||||
# at all during runtime?
|
# at all during runtime?
|
||||||
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /srv/node:/srv/node
|
- /srv/node:/srv/node
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
|
@ -41,6 +41,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
SwiftStorageBase:
|
SwiftStorageBase:
|
||||||
type: ../../puppet/services/swift-storage.yaml
|
type: ../../puppet/services/swift-storage.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -114,10 +117,13 @@ outputs:
|
|||||||
user: swift
|
user: swift
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/swift_account_auditor.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/swift_account_auditor.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /srv/node:/srv/node
|
- /srv/node:/srv/node
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
@ -129,10 +135,13 @@ outputs:
|
|||||||
user: swift
|
user: swift
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/swift_account_reaper.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/swift_account_reaper.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /srv/node:/srv/node
|
- /srv/node:/srv/node
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
@ -143,10 +152,13 @@ outputs:
|
|||||||
user: swift
|
user: swift
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/swift_account_replicator.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/swift_account_replicator.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /srv/node:/srv/node
|
- /srv/node:/srv/node
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
@ -157,10 +169,13 @@ outputs:
|
|||||||
user: swift
|
user: swift
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/swift_account_server.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/swift_account_server.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /srv/node:/srv/node
|
- /srv/node:/srv/node
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
@ -174,10 +189,13 @@ outputs:
|
|||||||
user: swift
|
user: swift
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/swift_container_auditor.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/swift_container_auditor.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /srv/node:/srv/node
|
- /srv/node:/srv/node
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
@ -188,10 +206,13 @@ outputs:
|
|||||||
user: swift
|
user: swift
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/swift_container_replicator.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/swift_container_replicator.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /srv/node:/srv/node
|
- /srv/node:/srv/node
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
@ -202,10 +223,13 @@ outputs:
|
|||||||
user: swift
|
user: swift
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/swift_container_updater.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/swift_container_updater.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /srv/node:/srv/node
|
- /srv/node:/srv/node
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
@ -216,10 +240,13 @@ outputs:
|
|||||||
user: swift
|
user: swift
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/swift_container_server.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/swift_container_server.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /srv/node:/srv/node
|
- /srv/node:/srv/node
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
@ -233,10 +260,13 @@ outputs:
|
|||||||
user: swift
|
user: swift
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/swift_object_auditor.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/swift_object_auditor.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /srv/node:/srv/node
|
- /srv/node:/srv/node
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
@ -247,10 +277,13 @@ outputs:
|
|||||||
user: swift
|
user: swift
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/swift_object_expirer.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/swift_object_expirer.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /srv/node:/srv/node
|
- /srv/node:/srv/node
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
@ -261,10 +294,13 @@ outputs:
|
|||||||
user: swift
|
user: swift
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/swift_object_replicator.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/swift_object_replicator.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /srv/node:/srv/node
|
- /srv/node:/srv/node
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
@ -275,10 +311,13 @@ outputs:
|
|||||||
user: swift
|
user: swift
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/swift_object_updater.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/swift_object_updater.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /srv/node:/srv/node
|
- /srv/node:/srv/node
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
@ -289,10 +328,13 @@ outputs:
|
|||||||
user: swift
|
user: swift
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/swift_object_server.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/swift_object_server.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
- /var/lib/config-data/swift/etc/swift:/etc/swift:rw
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /srv/node:/srv/node
|
- /srv/node:/srv/node
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
|
@ -29,6 +29,9 @@ parameters:
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
ContainersCommon:
|
||||||
|
type: ./containers-common.yaml
|
||||||
|
|
||||||
ZaqarBase:
|
ZaqarBase:
|
||||||
type: ../../puppet/services/zaqar.yaml
|
type: ../../puppet/services/zaqar.yaml
|
||||||
properties:
|
properties:
|
||||||
@ -67,10 +70,13 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/zaqar.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/zaqar.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/zaqar/etc/zaqar/:/etc/zaqar/:ro
|
- /var/lib/config-data/zaqar/etc/zaqar/:/etc/zaqar/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
zaqar_websocket:
|
zaqar_websocket:
|
||||||
@ -79,10 +85,13 @@ outputs:
|
|||||||
privileged: false
|
privileged: false
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
yaql:
|
||||||
|
expression: $.data.common.concat($.data.service)
|
||||||
|
data:
|
||||||
|
common: {get_attr: [ContainersCommon, volumes]}
|
||||||
|
service:
|
||||||
- /var/lib/kolla/config_files/zaqar_websocket.json:/var/lib/kolla/config_files/config.json:ro
|
- /var/lib/kolla/config_files/zaqar_websocket.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
- /var/lib/config-data/zaqar/etc/zaqar/:/etc/zaqar/:ro
|
- /var/lib/config-data/zaqar/etc/zaqar/:/etc/zaqar/:ro
|
||||||
- /etc/hosts:/etc/hosts:ro
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
upgrade_tasks:
|
upgrade_tasks:
|
||||||
|
Loading…
Reference in New Issue
Block a user