Convert Docker*Image parameters

This converts all Docker*Image parameter varients into
Container*Image varients.

The commit was autogenerated with the following shell commands:

for file in $(grep -lr Docker.*Image --include \*.yaml --exclude-dir releasenotes); do
  sed -e "s|Docker\([^ ]*Image\)|Container\1|g" -i $file
done

Change-Id: Iab06efa5616975b99aa5772a65b415629f8d7882
Depends-On: I7d62a3424ccb7b01dc101329018ebda896ea8ff3
Depends-On: Ib1dc0c08ce7971a03639acc42b1e738d93a52f98
This commit is contained in:
Dan Prince 2019-05-13 10:13:04 -04:00 committed by Alex Schultz
parent 24608f6513
commit a68151d02a
143 changed files with 650 additions and 651 deletions

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized aodh service OpenStack containerized aodh service
parameters: parameters:
DockerAodhApiImage: ContainerAodhApiImage:
description: image description: image
type: string type: string
DockerAodhConfigImage: ContainerAodhConfigImage:
description: The container image to use for the aodh config_volume description: The container image to use for the aodh config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -142,7 +142,7 @@ outputs:
- "\n" - "\n"
- - "include tripleo::profile::base::aodh::api" - - "include tripleo::profile::base::aodh::api"
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerAodhConfigImage} config_image: {get_param: ContainerAodhConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/aodh_api.json: /var/lib/kolla/config_files/aodh_api.json:
command: /usr/sbin/httpd -DFOREGROUND command: /usr/sbin/httpd -DFOREGROUND
@ -163,7 +163,7 @@ outputs:
# db sync runs before permissions set by kolla_config # db sync runs before permissions set by kolla_config
step_2: step_2:
aodh_init_log: aodh_init_log:
image: &aodh_api_image {get_param: DockerAodhApiImage} image: &aodh_api_image {get_param: ContainerAodhApiImage}
net: none net: none
user: root user: root
volumes: volumes:

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Aodh Evaluator service OpenStack containerized Aodh Evaluator service
parameters: parameters:
DockerAodhEvaluatorImage: ContainerAodhEvaluatorImage:
description: image description: image
type: string type: string
DockerAodhConfigImage: ContainerAodhConfigImage:
description: The container image to use for the aodh config_volume description: The container image to use for the aodh config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -76,7 +76,7 @@ outputs:
- "\n" - "\n"
- - "include tripleo::profile::base::aodh::evaluator" - - "include tripleo::profile::base::aodh::evaluator"
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerAodhConfigImage} config_image: {get_param: ContainerAodhConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/aodh_evaluator.json: /var/lib/kolla/config_files/aodh_evaluator.json:
command: /usr/bin/aodh-evaluator command: /usr/bin/aodh-evaluator
@ -92,7 +92,7 @@ outputs:
docker_config: docker_config:
step_4: step_4:
aodh_evaluator: aodh_evaluator:
image: {get_param: DockerAodhEvaluatorImage} image: {get_param: ContainerAodhEvaluatorImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Aodh Listener service OpenStack containerized Aodh Listener service
parameters: parameters:
DockerAodhListenerImage: ContainerAodhListenerImage:
description: image description: image
type: string type: string
DockerAodhConfigImage: ContainerAodhConfigImage:
description: The container image to use for the aodh config_volume description: The container image to use for the aodh config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -77,7 +77,7 @@ outputs:
- "\n" - "\n"
- - "include tripleo::profile::base::aodh::listener" - - "include tripleo::profile::base::aodh::listener"
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerAodhConfigImage} config_image: {get_param: ContainerAodhConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/aodh_listener.json: /var/lib/kolla/config_files/aodh_listener.json:
command: /usr/bin/aodh-listener command: /usr/bin/aodh-listener
@ -93,7 +93,7 @@ outputs:
docker_config: docker_config:
step_4: step_4:
aodh_listener: aodh_listener:
image: {get_param: DockerAodhListenerImage} image: {get_param: ContainerAodhListenerImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Aodh Notifier service OpenStack containerized Aodh Notifier service
parameters: parameters:
DockerAodhNotifierImage: ContainerAodhNotifierImage:
description: image description: image
type: string type: string
DockerAodhConfigImage: ContainerAodhConfigImage:
description: The container image to use for the aodh config_volume description: The container image to use for the aodh config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -77,7 +77,7 @@ outputs:
- "\n" - "\n"
- - "include tripleo::profile::base::aodh::notifier" - - "include tripleo::profile::base::aodh::notifier"
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerAodhConfigImage} config_image: {get_param: ContainerAodhConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/aodh_notifier.json: /var/lib/kolla/config_files/aodh_notifier.json:
command: /usr/bin/aodh-notifier command: /usr/bin/aodh-notifier
@ -93,7 +93,7 @@ outputs:
docker_config: docker_config:
step_4: step_4:
aodh_notifier: aodh_notifier:
image: {get_param: DockerAodhNotifierImage} image: {get_param: ContainerAodhNotifierImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always

View File

@ -4,16 +4,16 @@ description: >
OpenStack containerized Barbican API service OpenStack containerized Barbican API service
parameters: parameters:
DockerBarbicanApiImage: ContainerBarbicanApiImage:
description: image description: image
type: string type: string
DockerBarbicanConfigImage: ContainerBarbicanConfigImage:
description: The container image to use for the barbican config_volume description: The container image to use for the barbican config_volume
type: string type: string
DockerBarbicanKeystoneListenerImage: ContainerBarbicanKeystoneListenerImage:
description: image description: image
type: string type: string
DockerBarbicanWorkerImage: ContainerBarbicanWorkerImage:
description: image description: image
type: string type: string
EndpointMap: EndpointMap:
@ -281,7 +281,7 @@ outputs:
- "\n" - "\n"
- - "include ::tripleo::profile::base::barbican::api" - - "include ::tripleo::profile::base::barbican::api"
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerBarbicanConfigImage} config_image: {get_param: ContainerBarbicanConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/barbican_api.json: /var/lib/kolla/config_files/barbican_api.json:
command: /usr/sbin/httpd -DFOREGROUND command: /usr/sbin/httpd -DFOREGROUND
@ -432,7 +432,7 @@ outputs:
- if: - if:
- atos_hsm_enabled - atos_hsm_enabled
- barbican_init_atos_directory: - barbican_init_atos_directory:
image: &barbican_api_image {get_param: DockerBarbicanApiImage} image: &barbican_api_image {get_param: ContainerBarbicanApiImage}
user: root user: root
volumes: volumes:
- /etc/proteccio:/etc/proteccio - /etc/proteccio:/etc/proteccio
@ -681,7 +681,7 @@ outputs:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
- barbican_keystone_listener: - barbican_keystone_listener:
start_order: 6 start_order: 6
image: {get_param: DockerBarbicanKeystoneListenerImage} image: {get_param: ContainerBarbicanKeystoneListenerImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always
@ -697,7 +697,7 @@ outputs:
environment: *kolla_env environment: *kolla_env
- barbican_worker: - barbican_worker:
start_order: 7 start_order: 7
image: {get_param: DockerBarbicanWorkerImage} image: {get_param: ContainerBarbicanWorkerImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always

View File

@ -3,10 +3,10 @@ heat_template_version: rocky
description: > description: >
OpenStack containerized Liquidio compute service OpenStack containerized Liquidio compute service
parameters: parameters:
DockerLiquidioImage: ContainerLiquidioImage:
description: The container image to use for the Liquidio Service description: The container image to use for the Liquidio Service
type: string type: string
DockerLiquidioConfigImage: ContainerLiquidioConfigImage:
description: The container image to use for the Liquidio config generation description: The container image to use for the Liquidio config generation
type: string type: string
EndpointMap: EndpointMap:
@ -88,7 +88,7 @@ outputs:
puppet_tags: liquidio_config puppet_tags: liquidio_config
step_config: | step_config: |
include ::tripleo::host::liquidio::compute include ::tripleo::host::liquidio::compute
config_image: {get_param: DockerLiquidioConfigImage} config_image: {get_param: ContainerLiquidioConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/liquidio_config.json: /var/lib/kolla/config_files/liquidio_config.json:
command: "/usr/bin/liquidio-compute start" command: "/usr/bin/liquidio-compute start"
@ -105,7 +105,7 @@ outputs:
step_5: step_5:
liquidio_compute_service: liquidio_compute_service:
start_order: 10 start_order: 10
image: {get_param: DockerLiquidioImage} image: {get_param: ContainerLiquidioImage}
net: host net: host
detach: true detach: true
user: root user: root

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Ceilometer Agent Central service OpenStack containerized Ceilometer Agent Central service
parameters: parameters:
DockerCeilometerCentralImage: ContainerCeilometerCentralImage:
description: image description: image
type: string type: string
DockerCeilometerConfigImage: ContainerCeilometerConfigImage:
description: The container image to use for the ceilometer config_volume description: The container image to use for the ceilometer config_volume
type: string type: string
CeilometerAgentCentralLoggingSource: CeilometerAgentCentralLoggingSource:
@ -89,7 +89,7 @@ outputs:
puppet_tags: ceilometer_config puppet_tags: ceilometer_config
step_config: | step_config: |
include ::tripleo::profile::base::ceilometer::agent::polling include ::tripleo::profile::base::ceilometer::agent::polling
config_image: {get_param: DockerCeilometerConfigImage} config_image: {get_param: ContainerCeilometerConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/ceilometer_agent_central.json: /var/lib/kolla/config_files/ceilometer_agent_central.json:
command: /usr/bin/ceilometer-polling --polling-namespaces central --logfile /var/log/ceilometer/central.log command: /usr/bin/ceilometer-polling --polling-namespaces central --logfile /var/log/ceilometer/central.log
@ -102,7 +102,7 @@ outputs:
step_3: step_3:
ceilometer_init_log: ceilometer_init_log:
start_order: 0 start_order: 0
image: &ceilometer_agent_central_image {get_param: DockerCeilometerCentralImage} image: &ceilometer_agent_central_image {get_param: ContainerCeilometerCentralImage}
net: none net: none
user: root user: root
command: ['/bin/bash', '-c', 'chown -R ceilometer:ceilometer /var/log/ceilometer'] command: ['/bin/bash', '-c', 'chown -R ceilometer:ceilometer /var/log/ceilometer']

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Ceilometer Agent Compute service OpenStack containerized Ceilometer Agent Compute service
parameters: parameters:
DockerCeilometerComputeImage: ContainerCeilometerComputeImage:
description: image description: image
type: string type: string
DockerCeilometerConfigImage: ContainerCeilometerConfigImage:
description: The container image to use for the ceilometer config_volume description: The container image to use for the ceilometer config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -85,7 +85,7 @@ outputs:
puppet_tags: ceilometer_config puppet_tags: ceilometer_config
step_config: step_config:
include ::tripleo::profile::base::ceilometer::agent::polling include ::tripleo::profile::base::ceilometer::agent::polling
config_image: {get_param: DockerCeilometerConfigImage} config_image: {get_param: ContainerCeilometerConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/ceilometer_agent_compute.json: /var/lib/kolla/config_files/ceilometer_agent_compute.json:
command: /usr/bin/ceilometer-polling --polling-namespaces compute --logfile /var/log/ceilometer/compute.log command: /usr/bin/ceilometer-polling --polling-namespaces compute --logfile /var/log/ceilometer/compute.log
@ -97,7 +97,7 @@ outputs:
docker_config: docker_config:
step_4: step_4:
ceilometer_agent_compute: ceilometer_agent_compute:
image: {get_param: DockerCeilometerComputeImage} image: {get_param: ContainerCeilometerComputeImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Ceilometer Agent Ipmi service OpenStack containerized Ceilometer Agent Ipmi service
parameters: parameters:
DockerCeilometerIpmiImage: ContainerCeilometerIpmiImage:
description: image description: image
type: string type: string
DockerCeilometerConfigImage: ContainerCeilometerConfigImage:
description: The container image to use for the ceilometer config_volume description: The container image to use for the ceilometer config_volume
type: string type: string
CeilometerAgentIpmiLoggingSource: CeilometerAgentIpmiLoggingSource:
@ -97,7 +97,7 @@ outputs:
puppet_tags: ceilometer_config puppet_tags: ceilometer_config
step_config: | step_config: |
include ::tripleo::profile::base::ceilometer::agent::polling include ::tripleo::profile::base::ceilometer::agent::polling
config_image: {get_param: DockerCeilometerConfigImage} config_image: {get_param: ContainerCeilometerConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/ceilometer-agent-ipmi.json: /var/lib/kolla/config_files/ceilometer-agent-ipmi.json:
command: /usr/bin/ceilometer-polling --polling-namespaces ipmi command: /usr/bin/ceilometer-polling --polling-namespaces ipmi
@ -110,7 +110,7 @@ outputs:
step_3: step_3:
ceilometer_init_log: ceilometer_init_log:
start_order: 0 start_order: 0
image: &ceilometer_agent_ipmi_image {get_param: DockerCeilometerIpmiImage} image: &ceilometer_agent_ipmi_image {get_param: ContainerCeilometerIpmiImage}
net: none net: none
user: root user: root
command: ['/bin/bash', '-c', 'chown -R ceilometer:ceilometer /var/log/ceilometer'] command: ['/bin/bash', '-c', 'chown -R ceilometer:ceilometer /var/log/ceilometer']

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Ceilometer Agent Notification service OpenStack containerized Ceilometer Agent Notification service
parameters: parameters:
DockerCeilometerNotificationImage: ContainerCeilometerNotificationImage:
description: image description: image
type: string type: string
DockerCeilometerConfigImage: ContainerCeilometerConfigImage:
description: The container image to use for the ceilometer config_volume description: The container image to use for the ceilometer config_volume
type: string type: string
CeilometerAgentNotificationLoggingSource: CeilometerAgentNotificationLoggingSource:
@ -89,7 +89,7 @@ outputs:
puppet_tags: ceilometer_config puppet_tags: ceilometer_config
step_config: | step_config: |
include ::tripleo::profile::base::ceilometer::agent::notification include ::tripleo::profile::base::ceilometer::agent::notification
config_image: {get_param: DockerCeilometerConfigImage} config_image: {get_param: ContainerCeilometerConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/ceilometer_agent_notification.json: /var/lib/kolla/config_files/ceilometer_agent_notification.json:
command: /usr/bin/ceilometer-agent-notification --logfile /var/log/ceilometer/agent-notification.log command: /usr/bin/ceilometer-agent-notification --logfile /var/log/ceilometer/agent-notification.log
@ -113,7 +113,7 @@ outputs:
step_3: step_3:
ceilometer_init_log: ceilometer_init_log:
start_order: 0 start_order: 0
image: &ceilometer_agent_notification_image {get_param: DockerCeilometerNotificationImage} image: &ceilometer_agent_notification_image {get_param: ContainerCeilometerNotificationImage}
net: none net: none
user: root user: root
command: ['/bin/bash', '-c', 'chown -R ceilometer:ceilometer /var/log/ceilometer'] command: ['/bin/bash', '-c', 'chown -R ceilometer:ceilometer /var/log/ceilometer']

View File

@ -156,7 +156,7 @@ parameters:
description: The password for the swift service account description: The password for the swift service account
type: string type: string
hidden: true hidden: true
DockerCephDaemonImage: ContainerCephDaemonImage:
description: image description: image
type: string type: string
CephAnsiblePlaybookVerbosity: CephAnsiblePlaybookVerbosity:
@ -190,7 +190,7 @@ parameters:
conditions: conditions:
custom_registry_host: custom_registry_host:
yaql: yaql:
data: {get_param: DockerCephDaemonImage} data: {get_param: ContainerCephDaemonImage}
expression: $.data.split('/')[0].matches('(\.|:)') expression: $.data.split('/')[0].matches('(\.|:)')
perform_upgrade: perform_upgrade:
equals: [{get_param: StackUpdateType}, 'UPGRADE'] equals: [{get_param: StackUpdateType}, 'UPGRADE']
@ -201,7 +201,7 @@ conditions:
- '' - ''
resources: resources:
DockerImageUrlParts: ContainerImageUrlParts:
type: OS::Heat::Value type: OS::Heat::Value
properties: properties:
type: json type: json
@ -211,21 +211,21 @@ resources:
- custom_registry_host - custom_registry_host
- yaql: - yaql:
expression: let(location => $.data.rightSplit(':', 1)[0]) -> regex('(?:https?://)?(.*?)/(.*)').split($location)[1] expression: let(location => $.data.rightSplit(':', 1)[0]) -> regex('(?:https?://)?(.*?)/(.*)').split($location)[1]
data: {get_param: DockerCephDaemonImage} data: {get_param: ContainerCephDaemonImage}
- docker.io - docker.io
image: image:
if: if:
- custom_registry_host - custom_registry_host
- yaql: - yaql:
expression: let(location => $.data.rightSplit(':', 1)[0]) -> regex('(?:https?://)?(.*?)/(.*)').split($location)[2] expression: let(location => $.data.rightSplit(':', 1)[0]) -> regex('(?:https?://)?(.*?)/(.*)').split($location)[2]
data: {get_param: DockerCephDaemonImage} data: {get_param: ContainerCephDaemonImage}
- yaql: - yaql:
expression: $.data.rightSplit(':', 1)[0] expression: $.data.rightSplit(':', 1)[0]
data: {get_param: DockerCephDaemonImage} data: {get_param: ContainerCephDaemonImage}
image_tag: image_tag:
yaql: yaql:
expression: $.data.rightSplit(':', 1)[1] expression: $.data.rightSplit(':', 1)[1]
data: {get_param: DockerCephDaemonImage} data: {get_param: ContainerCephDaemonImage}
CephBaseAnsibleVars: CephBaseAnsibleVars:
type: OS::Heat::Value type: OS::Heat::Value
@ -236,9 +236,9 @@ resources:
fsid: { get_param: CephClusterFSID } fsid: { get_param: CephClusterFSID }
cluster: { get_param: CephClusterName } cluster: { get_param: CephClusterName }
docker: true docker: true
ceph_docker_registry: {get_attr: [DockerImageUrlParts, value, host]} ceph_docker_registry: {get_attr: [ContainerImageUrlParts, value, host]}
ceph_docker_image: {get_attr: [DockerImageUrlParts, value, image]} ceph_docker_image: {get_attr: [ContainerImageUrlParts, value, image]}
ceph_docker_image_tag: {get_attr: [DockerImageUrlParts, value, image_tag]} ceph_docker_image_tag: {get_attr: [ContainerImageUrlParts, value, image_tag]}
containerized_deployment: true containerized_deployment: true
public_network: public_network:
list_join: list_join:

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Cinder API service OpenStack containerized Cinder API service
parameters: parameters:
DockerCinderApiImage: ContainerCinderApiImage:
description: image description: image
type: string type: string
DockerCinderConfigImage: ContainerCinderConfigImage:
description: The container image to use for the cinder config_volume description: The container image to use for the cinder config_volume
type: string type: string
CinderApiLoggingSource: CinderApiLoggingSource:
@ -215,7 +215,7 @@ outputs:
- "\n" - "\n"
- - "include ::tripleo::profile::base::cinder::api" - - "include ::tripleo::profile::base::cinder::api"
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerCinderConfigImage} config_image: {get_param: ContainerCinderConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/cinder_api.json: /var/lib/kolla/config_files/cinder_api.json:
command: /usr/sbin/httpd -DFOREGROUND command: /usr/sbin/httpd -DFOREGROUND
@ -246,7 +246,7 @@ outputs:
docker_config: docker_config:
step_2: step_2:
cinder_api_init_logs: cinder_api_init_logs:
image: &cinder_api_image {get_param: DockerCinderApiImage} image: &cinder_api_image {get_param: ContainerCinderApiImage}
net: none net: none
privileged: false privileged: false
user: root user: root

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Cinder Backup service OpenStack containerized Cinder Backup service
parameters: parameters:
DockerCinderBackupImage: ContainerCinderBackupImage:
description: image description: image
type: string type: string
DockerCinderConfigImage: ContainerCinderConfigImage:
description: The container image to use for the cinder config_volume description: The container image to use for the cinder config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -150,7 +150,7 @@ outputs:
params: params:
DRIVER: {get_param: CinderBackupBackend} DRIVER: {get_param: CinderBackupBackend}
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerCinderConfigImage} config_image: {get_param: ContainerCinderConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/cinder_backup.json: /var/lib/kolla/config_files/cinder_backup.json:
command: /usr/bin/cinder-backup --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf command: /usr/bin/cinder-backup --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf
@ -186,7 +186,7 @@ outputs:
step_3: step_3:
cinder_backup_init_logs: cinder_backup_init_logs:
start_order: 0 start_order: 0
image: &cinder_backup_image {get_param: DockerCinderBackupImage} image: &cinder_backup_image {get_param: ContainerCinderBackupImage}
net: none net: none
privileged: false privileged: false
user: root user: root

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Cinder Backup service OpenStack containerized Cinder Backup service
parameters: parameters:
DockerCinderBackupImage: ContainerCinderBackupImage:
description: image description: image
type: string type: string
DockerCinderConfigImage: ContainerCinderConfigImage:
description: The container image to use for the cinder config_volume description: The container image to use for the cinder config_volume
type: string type: string
CinderBackupBackend: CinderBackupBackend:
@ -115,7 +115,7 @@ outputs:
list_join: list_join:
- ':' - ':'
- - yaql: - - yaql:
data: {get_param: DockerCinderBackupImage} data: {get_param: ContainerCinderBackupImage}
expression: $.data.rightSplit(separator => ":", maxSplits => 1)[0] expression: $.data.rightSplit(separator => ":", maxSplits => 1)[0]
- 'pcmklatest' - 'pcmklatest'
tripleo::profile::pacemaker::cinder::backup_bundle::docker_volumes: {get_attr: [CinderCommon, cinder_backup_volumes]} tripleo::profile::pacemaker::cinder::backup_bundle::docker_volumes: {get_attr: [CinderCommon, cinder_backup_volumes]}
@ -140,7 +140,7 @@ outputs:
- "\n" - "\n"
- - {get_attr: [CinderBackupBase, role_data, puppet_config, step_config]} - - {get_attr: [CinderBackupBase, role_data, puppet_config, step_config]}
- "include ::tripleo::profile::pacemaker::cinder::backup" - "include ::tripleo::profile::pacemaker::cinder::backup"
config_image: {get_param: DockerCinderConfigImage} config_image: {get_param: ContainerCinderConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/cinder_backup.json: /var/lib/kolla/config_files/cinder_backup.json:
command: /usr/bin/cinder-backup --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf command: /usr/bin/cinder-backup --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf
@ -169,7 +169,7 @@ outputs:
step_3: step_3:
cinder_backup_init_logs: cinder_backup_init_logs:
start_order: 0 start_order: 0
image: {get_param: DockerCinderBackupImage} image: {get_param: ContainerCinderBackupImage}
net: none net: none
privileged: false privileged: false
user: root user: root
@ -194,7 +194,7 @@ outputs:
'if [ x"${TRIPLEO_MINOR_UPDATE,,}" != x"true" ] && /usr/sbin/pcs resource show openstack-cinder-backup; then /usr/sbin/pcs resource restart --wait=PCMKTIMEOUT openstack-cinder-backup; echo "openstack-cinder-backup restart invoked"; fi' 'if [ x"${TRIPLEO_MINOR_UPDATE,,}" != x"true" ] && /usr/sbin/pcs resource show openstack-cinder-backup; then /usr/sbin/pcs resource restart --wait=PCMKTIMEOUT openstack-cinder-backup; echo "openstack-cinder-backup restart invoked"; fi'
params: params:
PCMKTIMEOUT: {get_param: PcmkConfigRestartTimeout} PCMKTIMEOUT: {get_param: PcmkConfigRestartTimeout}
image: {get_param: DockerCinderBackupImage} image: {get_param: ContainerCinderBackupImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}
@ -217,7 +217,7 @@ outputs:
- puppet_debug_enabled - puppet_debug_enabled
- - '--debug --verbose' - - '--debug --verbose'
- - '' - - ''
image: {get_param: DockerCinderBackupImage} image: {get_param: ContainerCinderBackupImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, container_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
@ -236,7 +236,7 @@ outputs:
import_role: import_role:
name: tripleo-container-tag name: tripleo-container-tag
vars: vars:
container_image: {get_param: DockerCinderBackupImage} container_image: {get_param: ContainerCinderBackupImage}
container_image_latest: *cinder_backup_image_pcmklatest container_image_latest: *cinder_backup_image_pcmklatest
update_tasks: update_tasks:
- name: Cinder-Backup fetch and retag container image for pacemaker - name: Cinder-Backup fetch and retag container image for pacemaker
@ -244,7 +244,7 @@ outputs:
block: &cinder_backup_fetch_retag_container_tasks block: &cinder_backup_fetch_retag_container_tasks
- name: Get docker Cinder-Backup image - name: Get docker Cinder-Backup image
set_fact: set_fact:
docker_image: {get_param: DockerCinderBackupImage} docker_image: {get_param: ContainerCinderBackupImage}
docker_image_latest: *cinder_backup_image_pcmklatest docker_image_latest: *cinder_backup_image_pcmklatest
- name: Get previous Cinder-Backup image id - name: Get previous Cinder-Backup image id
shell: "{{container_cli}} images | awk '/cinder-backup.* pcmklatest/{print $3}' | uniq" shell: "{{container_cli}} images | awk '/cinder-backup.* pcmklatest/{print $3}' | uniq"

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Cinder Scheduler service OpenStack containerized Cinder Scheduler service
parameters: parameters:
DockerCinderSchedulerImage: ContainerCinderSchedulerImage:
description: image description: image
type: string type: string
DockerCinderConfigImage: ContainerCinderConfigImage:
description: The container image to use for the cinder config_volume description: The container image to use for the cinder config_volume
type: string type: string
CinderSchedulerLoggingSource: CinderSchedulerLoggingSource:
@ -91,7 +91,7 @@ outputs:
- - "include ::tripleo::profile::base::cinder::scheduler" - - "include ::tripleo::profile::base::cinder::scheduler"
- - {get_attr: [CinderBase, role_data, step_config]} - - {get_attr: [CinderBase, role_data, step_config]}
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerCinderConfigImage} config_image: {get_param: ContainerCinderConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/cinder_scheduler.json: /var/lib/kolla/config_files/cinder_scheduler.json:
command: /usr/bin/cinder-scheduler --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf command: /usr/bin/cinder-scheduler --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf
@ -107,7 +107,7 @@ outputs:
docker_config: docker_config:
step_2: step_2:
cinder_scheduler_init_logs: cinder_scheduler_init_logs:
image: &cinder_scheduler_image {get_param: DockerCinderSchedulerImage} image: &cinder_scheduler_image {get_param: ContainerCinderSchedulerImage}
net: none net: none
privileged: false privileged: false
user: root user: root

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Cinder Volume service OpenStack containerized Cinder Volume service
parameters: parameters:
DockerCinderVolumeImage: ContainerCinderVolumeImage:
description: image description: image
type: string type: string
DockerCinderConfigImage: ContainerCinderConfigImage:
description: The container image to use for the cinder config_volume description: The container image to use for the cinder config_volume
type: string type: string
DockerCinderVolumeUlimit: DockerCinderVolumeUlimit:
@ -275,7 +275,7 @@ outputs:
- - "include ::tripleo::profile::base::lvm" - - "include ::tripleo::profile::base::lvm"
- "include ::tripleo::profile::base::cinder::volume" - "include ::tripleo::profile::base::cinder::volume"
- get_attr: [MySQLClient, role_data, step_config] - get_attr: [MySQLClient, role_data, step_config]
config_image: {get_param: DockerCinderConfigImage} config_image: {get_param: ContainerCinderConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/cinder_volume.json: /var/lib/kolla/config_files/cinder_volume.json:
command: /usr/bin/cinder-volume --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf command: /usr/bin/cinder-volume --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf
@ -308,7 +308,7 @@ outputs:
step_3: step_3:
cinder_volume_init_logs: cinder_volume_init_logs:
start_order: 0 start_order: 0
image: &cinder_volume_image {get_param: DockerCinderVolumeImage} image: &cinder_volume_image {get_param: ContainerCinderVolumeImage}
net: none net: none
privileged: false privileged: false
user: root user: root

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Cinder Volume service OpenStack containerized Cinder Volume service
parameters: parameters:
DockerCinderVolumeImage: ContainerCinderVolumeImage:
description: image description: image
type: string type: string
DockerCinderConfigImage: ContainerCinderConfigImage:
description: The container image to use for the cinder config_volume description: The container image to use for the cinder config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -101,7 +101,7 @@ outputs:
list_join: list_join:
- ':' - ':'
- - yaql: - - yaql:
data: {get_param: DockerCinderVolumeImage} data: {get_param: ContainerCinderVolumeImage}
expression: $.data.rightSplit(separator => ":", maxSplits => 1)[0] expression: $.data.rightSplit(separator => ":", maxSplits => 1)[0]
- 'pcmklatest' - 'pcmklatest'
tripleo::profile::pacemaker::cinder::volume_bundle::docker_volumes: {get_attr: [CinderCommon, cinder_volume_volumes]} tripleo::profile::pacemaker::cinder::volume_bundle::docker_volumes: {get_attr: [CinderCommon, cinder_volume_volumes]}
@ -128,7 +128,7 @@ outputs:
- - "include ::tripleo::profile::base::lvm" - - "include ::tripleo::profile::base::lvm"
- - "include ::tripleo::profile::pacemaker::cinder::volume" - - "include ::tripleo::profile::pacemaker::cinder::volume"
- get_attr: [MySQLClient, role_data, step_config] - get_attr: [MySQLClient, role_data, step_config]
config_image: {get_param: DockerCinderConfigImage} config_image: {get_param: ContainerCinderConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/cinder_volume.json: /var/lib/kolla/config_files/cinder_volume.json:
command: /usr/bin/cinder-volume --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf command: /usr/bin/cinder-volume --config-file /usr/share/cinder/cinder-dist.conf --config-file /etc/cinder/cinder.conf
@ -154,7 +154,7 @@ outputs:
step_3: step_3:
cinder_volume_init_logs: cinder_volume_init_logs:
start_order: 0 start_order: 0
image: {get_param: DockerCinderVolumeImage} image: {get_param: ContainerCinderVolumeImage}
net: none net: none
privileged: false privileged: false
user: root user: root
@ -179,7 +179,7 @@ outputs:
'if [ x"${TRIPLEO_MINOR_UPDATE,,}" != x"true" ] && /usr/sbin/pcs resource show openstack-cinder-volume; then /usr/sbin/pcs resource restart --wait=PCMKTIMEOUT openstack-cinder-volume; echo "openstack-cinder-volume restart invoked"; fi' 'if [ x"${TRIPLEO_MINOR_UPDATE,,}" != x"true" ] && /usr/sbin/pcs resource show openstack-cinder-volume; then /usr/sbin/pcs resource restart --wait=PCMKTIMEOUT openstack-cinder-volume; echo "openstack-cinder-volume restart invoked"; fi'
params: params:
PCMKTIMEOUT: {get_param: PcmkConfigRestartTimeout} PCMKTIMEOUT: {get_param: PcmkConfigRestartTimeout}
image: {get_param: DockerCinderVolumeImage} image: {get_param: ContainerCinderVolumeImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}
@ -202,7 +202,7 @@ outputs:
- puppet_debug_enabled - puppet_debug_enabled
- - '--debug --verbose' - - '--debug --verbose'
- - '' - - ''
image: {get_param: DockerCinderVolumeImage} image: {get_param: ContainerCinderVolumeImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, container_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
@ -221,7 +221,7 @@ outputs:
import_role: import_role:
name: tripleo-container-tag name: tripleo-container-tag
vars: vars:
container_image: {get_param: DockerCinderVolumeImage} container_image: {get_param: ContainerCinderVolumeImage}
container_image_latest: *cinder_volume_image_pcmklatest container_image_latest: *cinder_volume_image_pcmklatest
update_tasks: update_tasks:
- name: Cinder-Volume fetch and retag container image for pacemaker - name: Cinder-Volume fetch and retag container image for pacemaker
@ -229,7 +229,7 @@ outputs:
block: &cinder_volume_fetch_retag_container_tasks block: &cinder_volume_fetch_retag_container_tasks
- name: Get docker Cinder-Volume image - name: Get docker Cinder-Volume image
set_fact: set_fact:
docker_image: {get_param: DockerCinderVolumeImage} docker_image: {get_param: ContainerCinderVolumeImage}
docker_image_latest: *cinder_volume_image_pcmklatest docker_image_latest: *cinder_volume_image_pcmklatest
- name: Get previous Cinder-Volume image id - name: Get previous Cinder-Volume image id
shell: "{{container_cli}} images | awk '/cinder-volume.* pcmklatest/{print $3}' | uniq" shell: "{{container_cli}} images | awk '/cinder-volume.* pcmklatest/{print $3}' | uniq"

View File

@ -4,10 +4,10 @@ description: >
MySQL service deployment using puppet MySQL service deployment using puppet
parameters: parameters:
DockerMysqlImage: ContainerMysqlImage:
description: image description: image
type: string type: string
DockerMysqlConfigImage: ContainerMysqlConfigImage:
description: The container image to use for the mysql config_volume description: The container image to use for the mysql config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -95,7 +95,7 @@ outputs:
- "\n" - "\n"
- - "['Mysql_datadir', 'Mysql_user', 'Mysql_database', 'Mysql_grant', 'Mysql_plugin'].each |String $val| { noop_resource($val) }" - - "['Mysql_datadir', 'Mysql_user', 'Mysql_database', 'Mysql_grant', 'Mysql_plugin'].each |String $val| { noop_resource($val) }"
- {get_attr: [MysqlBase, role_data, step_config]} - {get_attr: [MysqlBase, role_data, step_config]}
config_image: &mysql_config_image {get_param: DockerMysqlConfigImage} config_image: &mysql_config_image {get_param: ContainerMysqlConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/mysql.json: /var/lib/kolla/config_files/mysql.json:
command: /usr/libexec/mysqld --user=mysql command: /usr/libexec/mysqld --user=mysql
@ -123,7 +123,7 @@ outputs:
# Kolla_bootstrap runs before permissions set by kolla_config # Kolla_bootstrap runs before permissions set by kolla_config
step_1: step_1:
mysql_init_logs: mysql_init_logs:
image: &mysql_image {get_param: DockerMysqlImage} image: &mysql_image {get_param: ContainerMysqlImage}
net: none net: none
privileged: false privileged: false
user: root user: root
@ -286,7 +286,7 @@ outputs:
mysql_json: "{{ mysql_paunch_docker.stdout if mysql_paunch_docker.changed else mysql_paunch.stdout | from_json }}" mysql_json: "{{ mysql_paunch_docker.stdout if mysql_paunch_docker.changed else mysql_paunch.stdout | from_json }}"
- name: Mysql container image after upgrade - name: Mysql container image after upgrade
set_fact: set_fact:
post_upgrade_mysql_image: {get_param: DockerMysqlImage} post_upgrade_mysql_image: {get_param: ContainerMysqlImage}
- name: Redo log clean-up script - name: Redo log clean-up script
set_fact: set_fact:
# The purpose of this script is to start mysql so that it # The purpose of this script is to start mysql so that it

View File

@ -4,10 +4,10 @@ description: >
MySQL service deployment with pacemaker bundle MySQL service deployment with pacemaker bundle
parameters: parameters:
DockerMysqlImage: ContainerMysqlImage:
description: image description: image
type: string type: string
DockerMysqlConfigImage: ContainerMysqlConfigImage:
description: The container image to use for the mysql config_volume description: The container image to use for the mysql config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -130,7 +130,7 @@ outputs:
list_join: list_join:
- ':' - ':'
- - yaql: - - yaql:
data: {get_param: DockerMysqlImage} data: {get_param: ContainerMysqlImage}
expression: $.data.rightSplit(separator => ":", maxSplits => 1)[0] expression: $.data.rightSplit(separator => ":", maxSplits => 1)[0]
- 'pcmklatest' - 'pcmklatest'
tripleo::profile::pacemaker::database::mysql_bundle::control_port: 3123 tripleo::profile::pacemaker::database::mysql_bundle::control_port: 3123
@ -168,7 +168,7 @@ outputs:
- - "['Mysql_datadir', 'Mysql_user', 'Mysql_database', 'Mysql_grant', 'Mysql_plugin'].each |String $val| { noop_resource($val) }" - - "['Mysql_datadir', 'Mysql_user', 'Mysql_database', 'Mysql_grant', 'Mysql_plugin'].each |String $val| { noop_resource($val) }"
- "exec {'wait-for-settle': command => '/bin/true' }" - "exec {'wait-for-settle': command => '/bin/true' }"
- "include ::tripleo::profile::pacemaker::database::mysql_bundle" - "include ::tripleo::profile::pacemaker::database::mysql_bundle"
config_image: {get_param: DockerMysqlConfigImage} config_image: {get_param: ContainerMysqlConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/mysql.json: /var/lib/kolla/config_files/mysql.json:
command: /usr/sbin/pacemaker_remoted command: /usr/sbin/pacemaker_remoted
@ -204,7 +204,7 @@ outputs:
mysql_data_ownership: mysql_data_ownership:
start_order: 0 start_order: 0
detach: false detach: false
image: {get_param: DockerMysqlImage} image: {get_param: ContainerMysqlImage}
net: host net: host
user: root user: root
# Kolla does only non-recursive chown # Kolla does only non-recursive chown
@ -214,7 +214,7 @@ outputs:
mysql_bootstrap: mysql_bootstrap:
start_order: 1 start_order: 1
detach: false detach: false
image: {get_param: DockerMysqlImage} image: {get_param: ContainerMysqlImage}
net: host net: host
user: root user: root
# Kolla bootstraps aren't idempotent, explicitly checking if bootstrap was done # Kolla bootstraps aren't idempotent, explicitly checking if bootstrap was done
@ -278,7 +278,7 @@ outputs:
'if [ x"${TRIPLEO_MINOR_UPDATE,,}" != x"true" ] && /usr/sbin/pcs resource show galera-bundle; then /usr/sbin/pcs resource restart --wait=PCMKTIMEOUT galera-bundle; echo "galera-bundle restart invoked"; fi' 'if [ x"${TRIPLEO_MINOR_UPDATE,,}" != x"true" ] && /usr/sbin/pcs resource show galera-bundle; then /usr/sbin/pcs resource restart --wait=PCMKTIMEOUT galera-bundle; echo "galera-bundle restart invoked"; fi'
params: params:
PCMKTIMEOUT: {get_param: PcmkConfigRestartTimeout} PCMKTIMEOUT: {get_param: PcmkConfigRestartTimeout}
image: {get_param: DockerMysqlImage} image: {get_param: ContainerMysqlImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}
@ -301,7 +301,7 @@ outputs:
- puppet_debug_enabled - puppet_debug_enabled
- - '--debug' - - '--debug'
- - '' - - ''
image: {get_param: DockerMysqlImage} image: {get_param: ContainerMysqlImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, container_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
@ -340,7 +340,7 @@ outputs:
import_role: import_role:
name: tripleo-container-tag name: tripleo-container-tag
vars: vars:
container_image: {get_param: DockerMysqlImage} container_image: {get_param: ContainerMysqlImage}
container_image_latest: *mysql_image_pcmklatest container_image_latest: *mysql_image_pcmklatest
update_tasks: update_tasks:
- name: Mariadb fetch and retag container image for pacemaker - name: Mariadb fetch and retag container image for pacemaker
@ -348,7 +348,7 @@ outputs:
block: &mysql_fetch_retag_container_tasks block: &mysql_fetch_retag_container_tasks
- name: Get docker Mariadb image - name: Get docker Mariadb image
set_fact: set_fact:
docker_image: {get_param: DockerMysqlImage} docker_image: {get_param: ContainerMysqlImage}
docker_image_latest: *mysql_image_pcmklatest docker_image_latest: *mysql_image_pcmklatest
- name: Get previous Mariadb image id - name: Get previous Mariadb image id
shell: "{{container_cli}} images | awk '/mariadb.* pcmklatest/{print $3}' | uniq" shell: "{{container_cli}} images | awk '/mariadb.* pcmklatest/{print $3}' | uniq"

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Redis services OpenStack containerized Redis services
parameters: parameters:
DockerRedisImage: ContainerRedisImage:
description: image description: image
type: string type: string
DockerRedisConfigImage: ContainerRedisConfigImage:
description: The container image to use for the redis config_volume description: The container image to use for the redis config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -127,7 +127,7 @@ outputs:
- "\n" - "\n"
- - include ::tripleo::profile::base::database::redis - - include ::tripleo::profile::base::database::redis
- {get_attr: [RedisBase, role_data, step_config]} - {get_attr: [RedisBase, role_data, step_config]}
config_image: {get_param: DockerRedisConfigImage} config_image: {get_param: ContainerRedisConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/redis.json: /var/lib/kolla/config_files/redis.json:
command: /usr/bin/redis-server /etc/redis.conf command: /usr/bin/redis-server /etc/redis.conf
@ -153,7 +153,7 @@ outputs:
- redis_init_logs: - redis_init_logs:
start_order: 0 start_order: 0
detach: false detach: false
image: &redis_image {get_param: DockerRedisImage} image: &redis_image {get_param: ContainerRedisImage}
net: none net: none
privileged: false privileged: false
user: root user: root

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Redis services OpenStack containerized Redis services
parameters: parameters:
DockerRedisImage: ContainerRedisImage:
description: image description: image
type: string type: string
DockerRedisConfigImage: ContainerRedisConfigImage:
description: The container image to use for the redis config_volume description: The container image to use for the redis config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -100,7 +100,7 @@ outputs:
list_join: list_join:
- ':' - ':'
- - yaql: - - yaql:
data: {get_param: DockerRedisImage} data: {get_param: ContainerRedisImage}
expression: $.data.rightSplit(separator => ":", maxSplits => 1)[0] expression: $.data.rightSplit(separator => ":", maxSplits => 1)[0]
- 'pcmklatest' - 'pcmklatest'
tripleo::profile::pacemaker::database::redis_bundle::control_port: 3124 tripleo::profile::pacemaker::database::redis_bundle::control_port: 3124
@ -160,7 +160,7 @@ outputs:
puppet_tags: 'exec' puppet_tags: 'exec'
step_config: | step_config: |
include ::tripleo::profile::pacemaker::database::redis_bundle include ::tripleo::profile::pacemaker::database::redis_bundle
config_image: &redis_config_image {get_param: DockerRedisConfigImage} config_image: &redis_config_image {get_param: ContainerRedisConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/redis.json: /var/lib/kolla/config_files/redis.json:
command: /usr/sbin/pacemaker_remoted command: /usr/sbin/pacemaker_remoted
@ -226,7 +226,7 @@ outputs:
'if [ x"${TRIPLEO_MINOR_UPDATE,,}" != x"true" ] && /usr/sbin/pcs resource show redis-bundle; then /usr/sbin/pcs resource restart --wait=PCMKTIMEOUT redis-bundle; echo "redis-bundle restart invoked"; fi' 'if [ x"${TRIPLEO_MINOR_UPDATE,,}" != x"true" ] && /usr/sbin/pcs resource show redis-bundle; then /usr/sbin/pcs resource restart --wait=PCMKTIMEOUT redis-bundle; echo "redis-bundle restart invoked"; fi'
params: params:
PCMKTIMEOUT: {get_param: PcmkConfigRestartTimeout} PCMKTIMEOUT: {get_param: PcmkConfigRestartTimeout}
image: {get_param: DockerRedisConfigImage} image: {get_param: ContainerRedisConfigImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}
@ -312,7 +312,7 @@ outputs:
import_role: import_role:
name: tripleo-container-tag name: tripleo-container-tag
vars: vars:
container_image: {get_param: DockerRedisImage} container_image: {get_param: ContainerRedisImage}
container_image_latest: *redis_image_pcmklatest container_image_latest: *redis_image_pcmklatest
update_tasks: update_tasks:
- name: Redis fetch and retag container image for pacemaker - name: Redis fetch and retag container image for pacemaker
@ -320,7 +320,7 @@ outputs:
block: &redis_fetch_retag_container_tasks block: &redis_fetch_retag_container_tasks
- name: Get docker Redis image - name: Get docker Redis image
set_fact: set_fact:
docker_image: {get_param: DockerRedisImage} docker_image: {get_param: ContainerRedisImage}
docker_image_latest: *redis_image_pcmklatest docker_image_latest: *redis_image_pcmklatest
- name: Get previous Redis image id - name: Get previous Redis image id
shell: "{{container_cli}} images | awk '/redis.* pcmklatest/{print $3}' | uniq" shell: "{{container_cli}} images | awk '/redis.* pcmklatest/{print $3}' | uniq"

View File

@ -5,10 +5,10 @@ description: >
This service is deprecated and will be removed in future releases. This service is deprecated and will be removed in future releases.
parameters: parameters:
DockerFluentdImage: ContainerFluentdImage:
description: image description: image
type: string type: string
DockerFluentdConfigImage: ContainerFluentdConfigImage:
description: The container image to use fluentd config_volume description: The container image to use fluentd config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -91,7 +91,7 @@ outputs:
puppet_tags: config puppet_tags: config
step_config: | step_config: |
include ::tripleo::profile::base::logging::fluentd include ::tripleo::profile::base::logging::fluentd
config_image: {get_param: DockerFluentdConfigImage} config_image: {get_param: ContainerFluentdConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/fluentd.json: /var/lib/kolla/config_files/fluentd.json:
command: /usr/bin/fluentd -c /etc/fluentd/fluent.conf -o /var/log/fluentd/fluentd.log command: /usr/bin/fluentd -c /etc/fluentd/fluent.conf -o /var/log/fluentd/fluentd.log
@ -110,7 +110,7 @@ outputs:
docker_config: docker_config:
step_3: step_3:
fluentd: fluentd:
image: {get_param: DockerFluentdImage} image: {get_param: ContainerFluentdImage}
net: host net: host
privileged: true privileged: true
user: root user: root

View File

@ -5,10 +5,10 @@ description: >
This service is deprecated and will be remove in future releases. This service is deprecated and will be remove in future releases.
parameters: parameters:
DockerSensuClientImage: ContainerSensuClientImage:
description: image description: image
type: string type: string
DockerSensuConfigImage: ContainerSensuConfigImage:
description: The container image to use for the sensu config_volume description: The container image to use for the sensu config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -164,7 +164,7 @@ outputs:
config_volume: sensu config_volume: sensu
puppet_tags: sensu_rabbitmq_config,sensu_client_config,sensu_check_config,sensu_check puppet_tags: sensu_rabbitmq_config,sensu_client_config,sensu_check_config,sensu_check
step_config: include ::tripleo::profile::base::monitoring::sensu step_config: include ::tripleo::profile::base::monitoring::sensu
config_image: {get_param: DockerSensuConfigImage} config_image: {get_param: ContainerSensuConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/sensu-client.json: /var/lib/kolla/config_files/sensu-client.json:
command: /usr/bin/sensu-client -d /etc/sensu/conf.d/ -l /var/log/sensu/sensu-client.log command: /usr/bin/sensu-client -d /etc/sensu/conf.d/ -l /var/log/sensu/sensu-client.log
@ -180,7 +180,7 @@ outputs:
docker_config: docker_config:
step_3: step_3:
sensu_client: sensu_client:
image: {get_param: DockerSensuClientImage} image: {get_param: ContainerSensuClientImage}
net: host net: host
privileged: true privileged: true
# NOTE(mmagr) kolla image changes the user to 'sensu', we need it # NOTE(mmagr) kolla image changes the user to 'sensu', we need it

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Nova Consoleauth service OpenStack containerized Nova Consoleauth service
parameters: parameters:
DockerNovaConsoleauthImage: ContainerNovaConsoleauthImage:
description: image description: image
type: string type: string
DockerNovaConfigImage: ContainerNovaConfigImage:
description: The container image to use for the nova config_volume description: The container image to use for the nova config_volume
type: string type: string
NovaConsoleauthLoggingSource: NovaConsoleauthLoggingSource:
@ -56,7 +56,7 @@ resources:
NovaLogging: NovaLogging:
type: OS::TripleO::Services::Logging::NovaCommon type: OS::TripleO::Services::Logging::NovaCommon
properties: properties:
DockerNovaImage: {get_param: DockerNovaConsoleauthImage} ContainerNovaImage: {get_param: ContainerNovaConsoleauthImage}
NovaServiceName: 'consoleauth' NovaServiceName: 'consoleauth'
NovaBase: NovaBase:
@ -96,7 +96,7 @@ outputs:
- "\n" - "\n"
- - include tripleo::profile::base::nova::consoleauth - - include tripleo::profile::base::nova::consoleauth
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerNovaConfigImage} config_image: {get_param: ContainerNovaConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/nova_consoleauth.json: /var/lib/kolla/config_files/nova_consoleauth.json:
command: command:
@ -116,7 +116,7 @@ outputs:
docker_config: docker_config:
step_4: step_4:
nova_consoleauth: nova_consoleauth:
image: {get_param: DockerNovaConsoleauthImage} image: {get_param: ContainerNovaConsoleauthImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always

View File

@ -6,10 +6,10 @@ description: >
be disabled in future releases. be disabled in future releases.
parameters: parameters:
DockerOpendaylightApiImage: ContainerOpendaylightApiImage:
description: image description: image
type: string type: string
DockerOpendaylightConfigImage: ContainerOpendaylightConfigImage:
description: image description: image
type: string type: string
EndpointMap: EndpointMap:
@ -193,7 +193,7 @@ outputs:
puppet_tags: odl_user,odl_keystore puppet_tags: odl_user,odl_keystore
step_config: | step_config: |
include tripleo::profile::base::neutron::opendaylight include tripleo::profile::base::neutron::opendaylight
config_image: {get_param: DockerOpendaylightConfigImage} config_image: {get_param: ContainerOpendaylightConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/opendaylight_api.json: /var/lib/kolla/config_files/opendaylight_api.json:
command: /opt/opendaylight/bin/karaf server command: /opt/opendaylight/bin/karaf server
@ -210,7 +210,7 @@ outputs:
step_1: step_1:
opendaylight_api: opendaylight_api:
start_order: 0 start_order: 0
image: &odl_api_image {get_param: DockerOpendaylightApiImage} image: &odl_api_image {get_param: ContainerOpendaylightApiImage}
privileged: false privileged: false
net: host net: host
detach: true detach: true

View File

@ -6,10 +6,10 @@ description: >
will be disabled in future releases. will be disabled in future releases.
parameters: parameters:
DockerPankoApiImage: ContainerPankoApiImage:
description: image description: image
type: string type: string
DockerPankoConfigImage: ContainerPankoConfigImage:
description: The container image to use for the panko config_volume description: The container image to use for the panko config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -229,7 +229,7 @@ outputs:
- "\n" - "\n"
- - "include tripleo::profile::base::panko::api" - - "include tripleo::profile::base::panko::api"
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerPankoConfigImage} config_image: {get_param: ContainerPankoConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/panko_api.json: /var/lib/kolla/config_files/panko_api.json:
command: /usr/sbin/httpd -DFOREGROUND command: /usr/sbin/httpd -DFOREGROUND
@ -251,7 +251,7 @@ outputs:
get_attr: [PankoApiLogging, docker_config, step_2] get_attr: [PankoApiLogging, docker_config, step_2]
step_3: step_3:
panko_db_sync: panko_db_sync:
image: &panko_api_image {get_param: DockerPankoApiImage} image: &panko_api_image {get_param: ContainerPankoApiImage}
net: host net: host
detach: false detach: false
privileged: false privileged: false

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized EC2 API service OpenStack containerized EC2 API service
parameters: parameters:
DockerEc2ApiImage: ContainerEc2ApiImage:
description: image description: image
type: string type: string
DockerEc2ApiConfigImage: ContainerEc2ApiConfigImage:
description: The container image to use for the ec2_api config_volume description: The container image to use for the ec2_api config_volume
type: string type: string
Ec2ApiLoggingSource: Ec2ApiLoggingSource:
@ -226,7 +226,7 @@ outputs:
- "\n" - "\n"
- - "include tripleo::profile::base::nova::ec2api" - - "include tripleo::profile::base::nova::ec2api"
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerEc2ApiConfigImage} config_image: {get_param: ContainerEc2ApiConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/ec2_api.json: /var/lib/kolla/config_files/ec2_api.json:
command: /usr/bin/ec2-api command: /usr/bin/ec2-api
@ -265,7 +265,7 @@ outputs:
# db sync runs before permissions set by kolla_config # db sync runs before permissions set by kolla_config
step_2: step_2:
ec2_api_init_logs: ec2_api_init_logs:
image: &ec2_api_image {get_param: DockerEc2ApiImage} image: &ec2_api_image {get_param: ContainerEc2ApiImage}
net: none net: none
privileged: false privileged: false
user: root user: root

View File

@ -4,10 +4,10 @@ description: >
Containerized etcd services Containerized etcd services
parameters: parameters:
DockerEtcdImage: ContainerEtcdImage:
description: image description: image
type: string type: string
DockerEtcdConfigImage: ContainerEtcdConfigImage:
description: The container image to use for the etcd config_volume description: The container image to use for the etcd config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -107,7 +107,7 @@ outputs:
# BEGIN DOCKER SETTINGS # BEGIN DOCKER SETTINGS
puppet_config: puppet_config:
config_volume: etcd config_volume: etcd
config_image: &etcd_config_image {get_param: DockerEtcdConfigImage} config_image: &etcd_config_image {get_param: ContainerEtcdConfigImage}
step_config: step_config:
list_join: list_join:
- "\n" - "\n"
@ -128,7 +128,7 @@ outputs:
docker_config: docker_config:
step_2: step_2:
etcd: etcd:
image: {get_param: DockerEtcdImage} image: {get_param: ContainerEtcdImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Designate API service OpenStack containerized Designate API service
parameters: parameters:
DockerDesignateApiImage: ContainerDesignateApiImage:
description: image description: image
type: string type: string
DockerDesignateConfigImage: ContainerDesignateConfigImage:
description: The container image to use for the designate config_volume description: The container image to use for the designate config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -123,7 +123,7 @@ outputs:
puppet_tags: designate_config puppet_tags: designate_config
step_config: | step_config: |
include tripleo::profile::base::designate::api include tripleo::profile::base::designate::api
config_image: {get_param: DockerDesignateConfigImage} config_image: {get_param: ContainerDesignateConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/designate_api.json: /var/lib/kolla/config_files/designate_api.json:
command: /usr/bin/designate-api --config-file=/etc/designate/designate.conf --log-file=/var/log/designate/api.log command: /usr/bin/designate-api --config-file=/etc/designate/designate.conf --log-file=/var/log/designate/api.log
@ -140,7 +140,7 @@ outputs:
step_4: step_4:
designate_api: designate_api:
start_order: 15 start_order: 15
image: &designate_api_image {get_param: DockerDesignateApiImage} image: &designate_api_image {get_param: ContainerDesignateApiImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Designate Central service OpenStack containerized Designate Central service
parameters: parameters:
DockerDesignateCentralImage: ContainerDesignateCentralImage:
description: image description: image
type: string type: string
DockerDesignateConfigImage: ContainerDesignateConfigImage:
description: The container image to use for the designate config_volume description: The container image to use for the designate config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -116,7 +116,7 @@ outputs:
- - {get_attr: [DesignateBase, role_data, step_config]} - - {get_attr: [DesignateBase, role_data, step_config]}
- "include tripleo::profile::base::designate::central" - "include tripleo::profile::base::designate::central"
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerDesignateConfigImage} config_image: {get_param: ContainerDesignateConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/designate_central.json: /var/lib/kolla/config_files/designate_central.json:
command: /usr/bin/designate-central --config-file=/etc/designate/designate.conf --log-file=/var/log/designate/central.log command: /usr/bin/designate-central --config-file=/etc/designate/designate.conf --log-file=/var/log/designate/central.log
@ -133,7 +133,7 @@ outputs:
# db sync runs before permissions set by kolla_config # db sync runs before permissions set by kolla_config
step_2: step_2:
designate_init_logs: designate_init_logs:
image: &designate_central_image {get_param: DockerDesignateCentralImage} image: &designate_central_image {get_param: ContainerDesignateCentralImage}
net: none net: none
privileged: false privileged: false
user: root user: root

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Designate MiniDNS service OpenStack containerized Designate MiniDNS service
parameters: parameters:
DockerDesignateMDNSImage: ContainerDesignateMDNSImage:
description: image description: image
type: string type: string
DockerDesignateConfigImage: ContainerDesignateConfigImage:
description: The container image to use for the designate config_volume description: The container image to use for the designate config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -121,7 +121,7 @@ outputs:
- - {get_attr: [DesignateBase, role_data, step_config]} - - {get_attr: [DesignateBase, role_data, step_config]}
- "include tripleo::profile::base::designate::mdns" - "include tripleo::profile::base::designate::mdns"
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerDesignateConfigImage} config_image: {get_param: ContainerDesignateConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/designate_mdns.json: /var/lib/kolla/config_files/designate_mdns.json:
command: /usr/bin/designate-mdns --config-file=/etc/designate/designate.conf --log-file=/var/log/designate/mdns.log command: /usr/bin/designate-mdns --config-file=/etc/designate/designate.conf --log-file=/var/log/designate/mdns.log
@ -137,7 +137,7 @@ outputs:
docker_config: docker_config:
step_4: step_4:
designate_mdns: designate_mdns:
image: &designate_mdns_image {get_param: DockerDesignateMDNSImage} image: &designate_mdns_image {get_param: ContainerDesignateMDNSImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Designate Producer service OpenStack containerized Designate Producer service
parameters: parameters:
DockerDesignateProducerImage: ContainerDesignateProducerImage:
description: image description: image
type: string type: string
DockerDesignateConfigImage: ContainerDesignateConfigImage:
description: The container image to use for the designate config_volume description: The container image to use for the designate config_volume
type: string type: string
DesignateProducerLoggingSource: DesignateProducerLoggingSource:
@ -96,7 +96,7 @@ outputs:
- "\n" - "\n"
- - {get_attr: [DesignateBase, role_data, step_config]} - - {get_attr: [DesignateBase, role_data, step_config]}
- "include tripleo::profile::base::designate::producer" - "include tripleo::profile::base::designate::producer"
config_image: {get_param: DockerDesignateConfigImage} config_image: {get_param: ContainerDesignateConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/designate_producer.json: /var/lib/kolla/config_files/designate_producer.json:
command: /usr/bin/designate-producer --config-file=/etc/designate/designate.conf --log-file=/var/log/designate/producer.log command: /usr/bin/designate-producer --config-file=/etc/designate/designate.conf --log-file=/var/log/designate/producer.log
@ -112,7 +112,7 @@ outputs:
docker_config: docker_config:
step_4: step_4:
designate_producer: designate_producer:
image: &designate_producer_image {get_param: DockerDesignateProducerImage} image: &designate_producer_image {get_param: ContainerDesignateProducerImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Designate Sink service OpenStack containerized Designate Sink service
parameters: parameters:
DockerDesignateSinkImage: ContainerDesignateSinkImage:
description: image description: image
type: string type: string
DockerDesignateConfigImage: ContainerDesignateConfigImage:
description: The container image to use for the designate config_volume description: The container image to use for the designate config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -86,7 +86,7 @@ outputs:
- "\n" - "\n"
- - {get_attr: [DesignateBase, role_data, step_config]} - - {get_attr: [DesignateBase, role_data, step_config]}
- "include tripleo::profile::base::designate::sink" - "include tripleo::profile::base::designate::sink"
config_image: {get_param: DockerDesignateConfigImage} config_image: {get_param: ContainerDesignateConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/designate_sink.json: /var/lib/kolla/config_files/designate_sink.json:
command: /usr/bin/designate-sink --config-file=/etc/designate/designate.conf --log-file=/var/log/designate/sink.log command: /usr/bin/designate-sink --config-file=/etc/designate/designate.conf --log-file=/var/log/designate/sink.log
@ -102,7 +102,7 @@ outputs:
docker_config: docker_config:
step_4: step_4:
designate_sink: designate_sink:
image: &designate_sink_image {get_param: DockerDesignateSinkImage} image: &designate_sink_image {get_param: ContainerDesignateSinkImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always

View File

@ -4,13 +4,13 @@ description: >
OpenStack containerized Designate Worker service OpenStack containerized Designate Worker service
parameters: parameters:
DockerDesignateWorkerImage: ContainerDesignateWorkerImage:
description: image description: image
type: string type: string
DockerDesignateBackendBIND9Image: ContainerDesignateBackendBIND9Image:
description: image description: image
type: string type: string
DockerDesignateConfigImage: ContainerDesignateConfigImage:
description: The container image to use for the designate config_volume description: The container image to use for the designate config_volume
type: string type: string
DesignateWorkerLoggingSource: DesignateWorkerLoggingSource:
@ -150,7 +150,7 @@ outputs:
- - {get_attr: [DesignateBase, role_data, step_config]} - - {get_attr: [DesignateBase, role_data, step_config]}
- "include tripleo::profile::base::designate::worker" - "include tripleo::profile::base::designate::worker"
- include ::designate::backend::bind9 - include ::designate::backend::bind9
config_image: {get_param: DockerDesignateConfigImage} config_image: {get_param: ContainerDesignateConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/designate_worker.json: /var/lib/kolla/config_files/designate_worker.json:
command: /usr/bin/designate-worker --config-file=/etc/designate/designate.conf --log-file=/var/log/designate/worker.log command: /usr/bin/designate-worker --config-file=/etc/designate/designate.conf --log-file=/var/log/designate/worker.log
@ -187,7 +187,7 @@ outputs:
docker_config: docker_config:
step_4: step_4:
designate_worker: designate_worker:
image: &designate_worker_image {get_param: DockerDesignateWorkerImage} image: &designate_worker_image {get_param: ContainerDesignateWorkerImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always
@ -204,7 +204,7 @@ outputs:
environment: environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
designate_backend_bind9: designate_backend_bind9:
image: {get_param: DockerDesignateBackendBIND9Image} image: {get_param: ContainerDesignateBackendBIND9Image}
net: host net: host
privileged: true privileged: true
restart: always restart: always

View File

@ -228,10 +228,10 @@ parameters:
default: [] default: []
description: list of optional volumes to be mounted description: list of optional volumes to be mounted
type: comma_delimited_list type: comma_delimited_list
DockerGlanceApiImage: ContainerGlanceApiImage:
description: image description: image
type: string type: string
DockerGlanceApiConfigImage: ContainerGlanceApiConfigImage:
description: The container image to use for the glance_api config_volume description: The container image to use for the glance_api config_volume
type: string type: string
@ -469,7 +469,7 @@ outputs:
include ::glance::cache::pruner include ::glance::cache::pruner
- '' - ''
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerGlanceApiConfigImage} config_image: {get_param: ContainerGlanceApiConfigImage}
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 --config-file /etc/glance/glance-image-import.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
@ -510,7 +510,7 @@ outputs:
get_attr: [GlanceLogging, docker_config, step_2] get_attr: [GlanceLogging, docker_config, step_2]
step_3: step_3:
glance_api_db_sync: glance_api_db_sync:
image: &glance_api_image {get_param: DockerGlanceApiImage} image: &glance_api_image {get_param: ContainerGlanceApiImage}
net: host net: host
privileged: false privileged: false
detach: false detach: false

View File

@ -4,7 +4,7 @@ description: >
OpenStack containerized Glance API service OpenStack containerized Glance API service
parameters: parameters:
DockerGlanceApiImage: ContainerGlanceApiImage:
description: image description: image
type: string type: string
@ -22,7 +22,7 @@ outputs:
# Kolla_bootstrap/db_sync runs before permissions set by kolla_config # Kolla_bootstrap/db_sync runs before permissions set by kolla_config
step_2: step_2:
glance_init_logs: glance_init_logs:
image: {get_param: DockerGlanceApiImage} image: {get_param: ContainerGlanceApiImage}
net: none net: none
privileged: false privileged: false
user: root user: root

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized gnocchi service OpenStack containerized gnocchi service
parameters: parameters:
DockerGnocchiApiImage: ContainerGnocchiApiImage:
description: image description: image
type: string type: string
DockerGnocchiConfigImage: ContainerGnocchiConfigImage:
description: The container image to use for the gnocchi config_volume description: The container image to use for the gnocchi config_volume
type: string type: string
GnocchiApiLoggingSource: GnocchiApiLoggingSource:
@ -225,7 +225,7 @@ outputs:
puppet_tags: gnocchi_api_paste_ini,gnocchi_config puppet_tags: gnocchi_api_paste_ini,gnocchi_config
step_config: | step_config: |
include ::tripleo::profile::base::gnocchi::api include ::tripleo::profile::base::gnocchi::api
config_image: {get_param: DockerGnocchiConfigImage} config_image: {get_param: ContainerGnocchiConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/gnocchi_api.json: /var/lib/kolla/config_files/gnocchi_api.json:
command: /usr/sbin/httpd -DFOREGROUND command: /usr/sbin/httpd -DFOREGROUND
@ -274,7 +274,7 @@ outputs:
# db sync runs before permissions set by kolla_config # db sync runs before permissions set by kolla_config
step_2: step_2:
gnocchi_init_log: gnocchi_init_log:
image: &gnocchi_api_image {get_param: DockerGnocchiApiImage} image: &gnocchi_api_image {get_param: ContainerGnocchiApiImage}
net: none net: none
user: root user: root
volumes: volumes:

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Gnocchi Metricd service OpenStack containerized Gnocchi Metricd service
parameters: parameters:
DockerGnocchiMetricdImage: ContainerGnocchiMetricdImage:
description: image description: image
type: string type: string
DockerGnocchiConfigImage: ContainerGnocchiConfigImage:
description: The container image to use for the gnocchi config_volume description: The container image to use for the gnocchi config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -104,7 +104,7 @@ outputs:
- "\n" - "\n"
- - "include ::tripleo::profile::base::gnocchi::metricd" - - "include ::tripleo::profile::base::gnocchi::metricd"
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerGnocchiConfigImage} config_image: {get_param: ContainerGnocchiConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/gnocchi_metricd.json: /var/lib/kolla/config_files/gnocchi_metricd.json:
command: /usr/bin/gnocchi-metricd command: /usr/bin/gnocchi-metricd
@ -133,7 +133,7 @@ outputs:
step_5: step_5:
gnocchi_metricd: gnocchi_metricd:
start_order: 1 start_order: 1
image: {get_param: DockerGnocchiMetricdImage} image: {get_param: ContainerGnocchiMetricdImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Gnocchi Statsd service OpenStack containerized Gnocchi Statsd service
parameters: parameters:
DockerGnocchiStatsdImage: ContainerGnocchiStatsdImage:
description: image description: image
type: string type: string
DockerGnocchiConfigImage: ContainerGnocchiConfigImage:
description: The container image to use for the gnocchi config_volume description: The container image to use for the gnocchi config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -98,7 +98,7 @@ outputs:
- "\n" - "\n"
- - "include ::tripleo::profile::base::gnocchi::statsd" - - "include ::tripleo::profile::base::gnocchi::statsd"
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerGnocchiConfigImage} config_image: {get_param: ContainerGnocchiConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/gnocchi_statsd.json: /var/lib/kolla/config_files/gnocchi_statsd.json:
command: /usr/bin/gnocchi-statsd command: /usr/bin/gnocchi-statsd
@ -127,7 +127,7 @@ outputs:
step_5: step_5:
gnocchi_statsd: gnocchi_statsd:
start_order: 1 start_order: 1
image: {get_param: DockerGnocchiStatsdImage} image: {get_param: ContainerGnocchiStatsdImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized HAproxy service OpenStack containerized HAproxy service
parameters: parameters:
DockerHAProxyImage: ContainerHAProxyImage:
description: image description: image
type: string type: string
DockerHAProxyConfigImage: ContainerHAProxyConfigImage:
description: The container image to use for the haproxy config_volume description: The container image to use for the haproxy config_volume
type: string type: string
ServiceData: ServiceData:
@ -198,7 +198,7 @@ outputs:
puppet_tags: haproxy_config puppet_tags: haproxy_config
step_config: | step_config: |
class {'::tripleo::profile::base::haproxy': manage_firewall => false} class {'::tripleo::profile::base::haproxy': manage_firewall => false}
config_image: {get_param: DockerHAProxyConfigImage} config_image: {get_param: ContainerHAProxyConfigImage}
volumes: volumes:
list_concat: list_concat:
- if: - if:
@ -250,7 +250,7 @@ outputs:
- get_attr: [HAProxyLogging, docker_config, step_1] - get_attr: [HAProxyLogging, docker_config, step_1]
- haproxy: - haproxy:
start_order: 1 start_order: 1
image: {get_param: DockerHAProxyImage} image: {get_param: ContainerHAProxyImage}
net: host net: host
restart: always restart: always
security_opt: label=disable security_opt: label=disable

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized HAproxy service for pacemaker OpenStack containerized HAproxy service for pacemaker
parameters: parameters:
DockerHAProxyImage: ContainerHAProxyImage:
description: image description: image
type: string type: string
DockerHAProxyConfigImage: ContainerHAProxyConfigImage:
description: The container image to use for the haproxy config_volume description: The container image to use for the haproxy config_volume
type: string type: string
ServiceData: ServiceData:
@ -144,7 +144,7 @@ outputs:
tripleo::haproxy::haproxy_log_address: {get_param: HAProxySyslogAddress} tripleo::haproxy::haproxy_log_address: {get_param: HAProxySyslogAddress}
tripleo::haproxy::haproxy_log_facility: {get_param: HAProxySyslogFacility} tripleo::haproxy::haproxy_log_facility: {get_param: HAProxySyslogFacility}
- haproxy_docker: true - haproxy_docker: true
tripleo::profile::pacemaker::haproxy_bundle::haproxy_docker_image: &haproxy_image {get_param: DockerHAProxyImage} tripleo::profile::pacemaker::haproxy_bundle::haproxy_docker_image: &haproxy_image {get_param: ContainerHAProxyImage}
tripleo::profile::pacemaker::haproxy_bundle::container_backend: {get_param: ContainerCli} tripleo::profile::pacemaker::haproxy_bundle::container_backend: {get_param: ContainerCli}
# the list of directories that contain the certs to bind mount in the countainer # the list of directories that contain the certs to bind mount in the countainer
# bind-mounting the directories rather than all the cert, key and pem files ensures # bind-mounting the directories rather than all the cert, key and pem files ensures
@ -169,7 +169,7 @@ outputs:
list_join: list_join:
- ':' - ':'
- - yaql: - - yaql:
data: {get_param: DockerHAProxyImage} data: {get_param: ContainerHAProxyImage}
expression: $.data.rightSplit(separator => ":", maxSplits => 1)[0] expression: $.data.rightSplit(separator => ":", maxSplits => 1)[0]
- 'pcmklatest' - 'pcmklatest'
# BEGIN DOCKER SETTINGS # BEGIN DOCKER SETTINGS
@ -183,7 +183,7 @@ outputs:
- "class tripleo::firewall(){}; define tripleo::firewall::rule( $port = undef, $dport = undef, $sport = undef, $proto = undef, $action = undef, $state = undef, $source = undef, $iniface = undef, $chain = undef, $destination = undef, $extras = undef){}" - "class tripleo::firewall(){}; define tripleo::firewall::rule( $port = undef, $dport = undef, $sport = undef, $proto = undef, $action = undef, $state = undef, $source = undef, $iniface = undef, $chain = undef, $destination = undef, $extras = undef){}"
- "['pcmk_bundle', 'pcmk_resource', 'pcmk_property', 'pcmk_constraint', 'pcmk_resource_default'].each |String $val| { noop_resource($val) }" - "['pcmk_bundle', 'pcmk_resource', 'pcmk_property', 'pcmk_constraint', 'pcmk_resource_default'].each |String $val| { noop_resource($val) }"
- 'include ::tripleo::profile::pacemaker::haproxy_bundle' - 'include ::tripleo::profile::pacemaker::haproxy_bundle'
config_image: {get_param: DockerHAProxyConfigImage} config_image: {get_param: ContainerHAProxyConfigImage}
volumes: &deployed_cert_mount volumes: &deployed_cert_mount
yaql: yaql:
expression: $.data.select($+":"+$+":ro") expression: $.data.select($+":"+$+":ro")
@ -245,7 +245,7 @@ outputs:
'if [ x"${TRIPLEO_MINOR_UPDATE,,}" != x"true" ] && /usr/sbin/pcs resource show haproxy-bundle; then /usr/sbin/pcs resource restart --wait=PCMKTIMEOUT haproxy-bundle; echo "haproxy-bundle restart invoked"; fi' 'if [ x"${TRIPLEO_MINOR_UPDATE,,}" != x"true" ] && /usr/sbin/pcs resource show haproxy-bundle; then /usr/sbin/pcs resource restart --wait=PCMKTIMEOUT haproxy-bundle; echo "haproxy-bundle restart invoked"; fi'
params: params:
PCMKTIMEOUT: {get_param: PcmkConfigRestartTimeout} PCMKTIMEOUT: {get_param: PcmkConfigRestartTimeout}
image: {get_param: DockerHAProxyImage} image: {get_param: ContainerHAProxyImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}
@ -269,7 +269,7 @@ outputs:
- puppet_debug_enabled - puppet_debug_enabled
- - '--debug' - - '--debug'
- - '' - - ''
image: {get_param: DockerHAProxyImage} image: {get_param: ContainerHAProxyImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, container_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
@ -331,7 +331,7 @@ outputs:
import_role: import_role:
name: tripleo-container-tag name: tripleo-container-tag
vars: vars:
container_image: {get_param: DockerHAProxyImage} container_image: {get_param: ContainerHAProxyImage}
container_image_latest: *haproxy_image_pcmklatest container_image_latest: *haproxy_image_pcmklatest
- name: Run puppet on the host to apply IPtables rules - name: Run puppet on the host to apply IPtables rules
when: step|int == 2 when: step|int == 2
@ -401,7 +401,7 @@ outputs:
block: &haproxy_fetch_retag_container_tasks block: &haproxy_fetch_retag_container_tasks
- name: Get docker Haproxy image - name: Get docker Haproxy image
set_fact: set_fact:
docker_image: {get_param: DockerHAProxyImage} docker_image: {get_param: ContainerHAProxyImage}
docker_image_latest: *haproxy_image_pcmklatest docker_image_latest: *haproxy_image_pcmklatest
- name: Get previous Haproxy image id - name: Get previous Haproxy image id
shell: "{{container_cli}} images | awk '/haproxy.* pcmklatest/{print $3}' | uniq" shell: "{{container_cli}} images | awk '/haproxy.* pcmklatest/{print $3}' | uniq"

View File

@ -4,11 +4,11 @@ description: >
OpenStack containerized Heat API CFN service OpenStack containerized Heat API CFN service
parameters: parameters:
DockerHeatApiCfnImage: ContainerHeatApiCfnImage:
description: image description: image
type: string type: string
# puppet needs the heat-wsgi-api-cfn binary from centos-binary-heat-api-cfn # puppet needs the heat-wsgi-api-cfn binary from centos-binary-heat-api-cfn
DockerHeatApiCfnConfigImage: ContainerHeatApiCfnConfigImage:
description: The container image to use for the heat_api_cfn config_volume description: The container image to use for the heat_api_cfn config_volume
type: string type: string
HeatApiCfnLoggingSource: HeatApiCfnLoggingSource:
@ -162,7 +162,7 @@ outputs:
puppet_tags: heat_config,file,concat,file_line puppet_tags: heat_config,file,concat,file_line
step_config: | step_config: |
include ::tripleo::profile::base::heat::api_cfn include ::tripleo::profile::base::heat::api_cfn
config_image: {get_param: DockerHeatApiCfnConfigImage} config_image: {get_param: ContainerHeatApiCfnConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/heat_api_cfn.json: /var/lib/kolla/config_files/heat_api_cfn.json:
command: /usr/sbin/httpd -DFOREGROUND command: /usr/sbin/httpd -DFOREGROUND
@ -184,7 +184,7 @@ outputs:
get_attr: [HeatApiCfnLogging, docker_config, step_2] get_attr: [HeatApiCfnLogging, docker_config, step_2]
step_4: step_4:
heat_api_cfn: heat_api_cfn:
image: {get_param: DockerHeatApiCfnImage} image: {get_param: ContainerHeatApiCfnImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always

View File

@ -4,11 +4,11 @@ description: >
OpenStack containerized Heat API service OpenStack containerized Heat API service
parameters: parameters:
DockerHeatApiImage: ContainerHeatApiImage:
description: image description: image
type: string type: string
# puppet needs the heat-wsgi-api binary from centos-binary-heat-api # puppet needs the heat-wsgi-api binary from centos-binary-heat-api
DockerHeatApiConfigImage: ContainerHeatApiConfigImage:
description: The container image to use for the heat_api config_volume description: The container image to use for the heat_api config_volume
type: string type: string
HeatApiLoggingSource: HeatApiLoggingSource:
@ -178,7 +178,7 @@ outputs:
puppet_tags: heat_config,file,concat,file_line puppet_tags: heat_config,file,concat,file_line
step_config: | step_config: |
include ::tripleo::profile::base::heat::api include ::tripleo::profile::base::heat::api
config_image: {get_param: DockerHeatApiConfigImage} config_image: {get_param: ContainerHeatApiConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/heat_api.json: /var/lib/kolla/config_files/heat_api.json:
command: /usr/sbin/httpd -DFOREGROUND command: /usr/sbin/httpd -DFOREGROUND
@ -211,7 +211,7 @@ outputs:
get_attr: [HeatApiLogging, docker_config, step_2] get_attr: [HeatApiLogging, docker_config, step_2]
step_4: step_4:
heat_api: heat_api:
image: {get_param: DockerHeatApiImage} image: {get_param: ContainerHeatApiImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always
@ -244,7 +244,7 @@ outputs:
- -
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
heat_api_cron: heat_api_cron:
image: {get_param: DockerHeatApiImage} image: {get_param: ContainerHeatApiImage}
net: host net: host
user: root user: root
privileged: false privileged: false

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Heat Engine service OpenStack containerized Heat Engine service
parameters: parameters:
DockerHeatEngineImage: ContainerHeatEngineImage:
description: image description: image
type: string type: string
DockerHeatConfigImage: ContainerHeatConfigImage:
description: The container image to use for the heat config_volume description: The container image to use for the heat config_volume
type: string type: string
HeatEngineLoggingSource: HeatEngineLoggingSource:
@ -211,7 +211,7 @@ outputs:
- "\n" - "\n"
- - include ::tripleo::profile::base::heat::engine - - include ::tripleo::profile::base::heat::engine
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerHeatConfigImage} config_image: {get_param: ContainerHeatConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/heat_engine.json: /var/lib/kolla/config_files/heat_engine.json:
command: command:
@ -234,7 +234,7 @@ outputs:
get_attr: [HeatEngineLogging, docker_config, step_2] get_attr: [HeatEngineLogging, docker_config, step_2]
step_3: step_3:
heat_engine_db_sync: heat_engine_db_sync:
image: &heat_engine_image {get_param: DockerHeatEngineImage} image: &heat_engine_image {get_param: ContainerHeatEngineImage}
net: host net: host
privileged: false privileged: false
detach: false detach: false

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Horizon service OpenStack containerized Horizon service
parameters: parameters:
DockerHorizonImage: ContainerHorizonImage:
description: image description: image
type: string type: string
DockerHorizonConfigImage: ContainerHorizonConfigImage:
description: The container image to use for the horizon config_volume description: The container image to use for the horizon config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -206,7 +206,7 @@ outputs:
puppet_tags: horizon_config puppet_tags: horizon_config
step_config: | step_config: |
include ::tripleo::profile::base::horizon include ::tripleo::profile::base::horizon
config_image: {get_param: DockerHorizonConfigImage} config_image: {get_param: ContainerHorizonConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/horizon.json: /var/lib/kolla/config_files/horizon.json:
command: /usr/sbin/httpd -DFOREGROUND command: /usr/sbin/httpd -DFOREGROUND
@ -240,7 +240,7 @@ outputs:
docker_config: docker_config:
step_2: step_2:
horizon_fix_perms: horizon_fix_perms:
image: &horizon_image {get_param: DockerHorizonImage} image: &horizon_image {get_param: ContainerHorizonImage}
net: none net: none
user: root user: root
# NOTE Set ownership for /var/log/horizon/horizon.log file here, # NOTE Set ownership for /var/log/horizon/horizon.log file here,

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Ironic API service OpenStack containerized Ironic API service
parameters: parameters:
DockerIronicApiImage: ContainerIronicApiImage:
description: image description: image
type: string type: string
DockerIronicApiConfigImage: ContainerIronicApiConfigImage:
description: The container image to use for the ironic_api config_volume description: The container image to use for the ironic_api config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -185,7 +185,7 @@ outputs:
- "\n" - "\n"
- - include ::tripleo::profile::base::ironic::api - - include ::tripleo::profile::base::ironic::api
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerIronicApiConfigImage} config_image: {get_param: ContainerIronicApiConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/ironic_api.json: /var/lib/kolla/config_files/ironic_api.json:
command: /usr/sbin/httpd -DFOREGROUND command: /usr/sbin/httpd -DFOREGROUND
@ -206,7 +206,7 @@ outputs:
# db sync runs before permissions set by kolla_config # db sync runs before permissions set by kolla_config
step_2: step_2:
ironic_init_logs: ironic_init_logs:
image: &ironic_api_image {get_param: DockerIronicApiImage} image: &ironic_api_image {get_param: ContainerIronicApiImage}
net: none net: none
privileged: false privileged: false
user: root user: root

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Ironic Conductor service OpenStack containerized Ironic Conductor service
parameters: parameters:
DockerIronicConductorImage: ContainerIronicConductorImage:
description: image description: image
type: string type: string
DockerIronicConfigImage: ContainerIronicConfigImage:
description: The container image to use for the ironic config_volume description: The container image to use for the ironic config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -443,7 +443,7 @@ outputs:
- "\n" - "\n"
- - include ::tripleo::profile::base::ironic::conductor - - include ::tripleo::profile::base::ironic::conductor
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerIronicConfigImage} config_image: {get_param: ContainerIronicConfigImage}
volumes: volumes:
- /var/lib/ironic:/var/lib/ironic:z - /var/lib/ironic:/var/lib/ironic:z
kolla_config: kolla_config:
@ -502,7 +502,7 @@ outputs:
- configure_swift_temp_url - configure_swift_temp_url
- create_swift_temp_url_key: - create_swift_temp_url_key:
start_order: 70 start_order: 70
image: &ironic_conductor_image {get_param: DockerIronicConductorImage} image: &ironic_conductor_image {get_param: ContainerIronicConductorImage}
net: host net: host
detach: false detach: false
volumes: volumes:

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Ironic Inspector service (EXPERIMENTAL) OpenStack containerized Ironic Inspector service (EXPERIMENTAL)
parameters: parameters:
DockerIronicInspectorImage: ContainerIronicInspectorImage:
description: image description: image
type: string type: string
DockerIronicInspectorConfigImage: ContainerIronicInspectorConfigImage:
description: The container image to use for the ironic_inspector config_volume description: The container image to use for the ironic_inspector config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -304,7 +304,7 @@ outputs:
- "\n" - "\n"
- - include ::tripleo::profile::base::ironic_inspector - - include ::tripleo::profile::base::ironic_inspector
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerIronicInspectorConfigImage} config_image: {get_param: ContainerIronicInspectorConfigImage}
volumes: volumes:
- /var/lib/ironic:/var/lib/ironic:z - /var/lib/ironic:/var/lib/ironic:z
- /var/lib/ironic-inspector/dhcp-hostsdir:/var/lib/ironic-inspector/dhcp-hostsdir:z - /var/lib/ironic-inspector/dhcp-hostsdir:/var/lib/ironic-inspector/dhcp-hostsdir:z
@ -342,7 +342,7 @@ outputs:
ironic_inspector_init_log: ironic_inspector_init_log:
start_order: 0 start_order: 0
image: &ironic_inspector_image image: &ironic_inspector_image
get_param: DockerIronicInspectorImage get_param: ContainerIronicInspectorImage
net: none net: none
user: root user: root
volumes: volumes:

View File

@ -4,10 +4,10 @@ description: >
OpenStack ironic-neutron-agent service OpenStack ironic-neutron-agent service
parameters: parameters:
DockerIronicNeutronAgentImage: ContainerIronicNeutronAgentImage:
description: The container image to use for the ironic-neutron-agent description: The container image to use for the ironic-neutron-agent
type: string type: string
DockerNeutronConfigImage: ContainerNeutronConfigImage:
description: The container image to use for the neutron config_volume description: The container image to use for the neutron config_volume
type: string type: string
ServiceData: ServiceData:
@ -86,7 +86,7 @@ outputs:
puppet_tags: neutron_config,ironic_neutron_agent_config puppet_tags: neutron_config,ironic_neutron_agent_config
step_config: step_config:
include tripleo::profile::base::neutron::agents::networking_baremetal include tripleo::profile::base::neutron::agents::networking_baremetal
config_image: {get_param: DockerNeutronConfigImage} config_image: {get_param: ContainerNeutronConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/ironic_neutron_agent.json: /var/lib/kolla/config_files/ironic_neutron_agent.json:
command: /usr/bin/ironic-neutron-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ironic_neutron_agent.ini --config-dir /etc/neutron/conf.d/common command: /usr/bin/ironic-neutron-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ironic_neutron_agent.ini --config-dir /etc/neutron/conf.d/common
@ -103,7 +103,7 @@ outputs:
step_4: step_4:
ironic_neutron_agent: ironic_neutron_agent:
start_order: 80 start_order: 80
image: {get_param: DockerIronicNeutronAgentImage} image: {get_param: ContainerIronicNeutronAgentImage}
net: host net: host
pid: host pid: host
privileged: true privileged: true

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Ironic PXE service OpenStack containerized Ironic PXE service
parameters: parameters:
DockerIronicPxeImage: ContainerIronicPxeImage:
description: image description: image
type: string type: string
DockerIronicConfigImage: ContainerIronicConfigImage:
description: The container image to use for the ironic config_volume description: The container image to use for the ironic config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -54,7 +54,7 @@ outputs:
config_volume: ironic config_volume: ironic
puppet_tags: ironic_config puppet_tags: ironic_config
step_config: '' step_config: ''
config_image: {get_param: DockerIronicConfigImage} config_image: {get_param: ContainerIronicConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/ironic_pxe_http.json: /var/lib/kolla/config_files/ironic_pxe_http.json:
command: /usr/sbin/httpd -DFOREGROUND command: /usr/sbin/httpd -DFOREGROUND
@ -108,7 +108,7 @@ outputs:
step_4: step_4:
ironic_pxe_tftp: ironic_pxe_tftp:
start_order: 90 start_order: 90
image: &ironic_pxe_image {get_param: DockerIronicPxeImage} image: &ironic_pxe_image {get_param: ContainerIronicPxeImage}
command: ['/bin/bash', '-c', 'BIND_HOST=$(hiera ironic::pxe::tftp_bind_host -c /etc/puppet/hiera.yaml); /usr/sbin/in.tftpd --foreground --user root --address $BIND_HOST:69 --map-file /var/lib/ironic/tftpboot/map-file /var/lib/ironic/tftpboot'] command: ['/bin/bash', '-c', 'BIND_HOST=$(hiera ironic::pxe::tftp_bind_host -c /etc/puppet/hiera.yaml); /usr/sbin/in.tftpd --foreground --user root --address $BIND_HOST:69 --map-file /var/lib/ironic/tftpboot/map-file /var/lib/ironic/tftpboot']
net: host net: host
privileged: false privileged: false

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Iscsid service OpenStack containerized Iscsid service
parameters: parameters:
DockerIscsidImage: ContainerIscsidImage:
description: image description: image
type: string type: string
DockerIscsidConfigImage: ContainerIscsidConfigImage:
description: The container image to use for the iscsid config_volume description: The container image to use for the iscsid config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -55,7 +55,7 @@ outputs:
puppet_tags: iscsid_config puppet_tags: iscsid_config
step_config: | step_config: |
include ::tripleo::profile::base::iscsid include ::tripleo::profile::base::iscsid
config_image: {get_param: DockerIscsidConfigImage} config_image: {get_param: ContainerIscsidConfigImage}
volumes: volumes:
# NOTE(bogdando) Containerized or running on baremetal services # NOTE(bogdando) Containerized or running on baremetal services
# on a node must use the same iSCSI Qualified Name (IQN). # on a node must use the same iSCSI Qualified Name (IQN).
@ -75,7 +75,7 @@ outputs:
step_3: step_3:
iscsid: iscsid:
start_order: 2 start_order: 2
image: {get_param: DockerIscsidImage} image: {get_param: ContainerIscsidImage}
net: host net: host
privileged: true privileged: true
restart: always restart: always

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Keepalived service OpenStack containerized Keepalived service
parameters: parameters:
DockerKeepalivedImage: ContainerKeepalivedImage:
description: image description: image
type: string type: string
DockerKeepalivedConfigImage: ContainerKeepalivedConfigImage:
description: The container image to use for the keepalived config_volume description: The container image to use for the keepalived config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -97,7 +97,7 @@ outputs:
puppet_tags: 'file' puppet_tags: 'file'
step_config: | step_config: |
include ::tripleo::profile::base::keepalived include ::tripleo::profile::base::keepalived
config_image: {get_param: DockerKeepalivedConfigImage} config_image: {get_param: ContainerKeepalivedConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/keepalived.json: /var/lib/kolla/config_files/keepalived.json:
command: /usr/sbin/keepalived -nldD | tee -a /var/log/keepalived.log command: /usr/sbin/keepalived -nldD | tee -a /var/log/keepalived.log
@ -110,7 +110,7 @@ outputs:
step_1: step_1:
keepalived: keepalived:
start_order: 0 start_order: 0
image: {get_param: DockerKeepalivedImage} image: {get_param: ContainerKeepalivedImage}
net: host net: host
privileged: true privileged: true
restart: always restart: always

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Keystone service OpenStack containerized Keystone service
parameters: parameters:
DockerKeystoneImage: ContainerKeystoneImage:
description: image description: image
type: string type: string
DockerKeystoneConfigImage: ContainerKeystoneConfigImage:
description: The container image to use for the keystone config_volume description: The container image to use for the keystone config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -684,7 +684,7 @@ outputs:
- | - |
include ::tripleo::profile::base::keystone include ::tripleo::profile::base::keystone
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: &keystone_config_image {get_param: DockerKeystoneConfigImage} config_image: &keystone_config_image {get_param: ContainerKeystoneConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/keystone.json: /var/lib/kolla/config_files/keystone.json:
command: /usr/sbin/httpd -DFOREGROUND command: /usr/sbin/httpd -DFOREGROUND
@ -720,7 +720,7 @@ outputs:
get_attr: [KeystoneLogging, docker_config, step_2] get_attr: [KeystoneLogging, docker_config, step_2]
step_3: step_3:
keystone_db_sync: keystone_db_sync:
image: &keystone_image {get_param: DockerKeystoneImage} image: &keystone_image {get_param: ContainerKeystoneImage}
net: host net: host
user: root user: root
privileged: false privileged: false

View File

@ -4,7 +4,7 @@ description: >
OpenStack containerized Barbican API service OpenStack containerized Barbican API service
parameters: parameters:
DockerBarbicanApiImage: ContainerBarbicanApiImage:
description: image description: image
type: string type: string
@ -25,7 +25,7 @@ outputs:
value: value:
step_2: step_2:
barbican_init_log: barbican_init_log:
image: {get_param: DockerBarbicanApiImage} image: {get_param: ContainerBarbicanApiImage}
net: none net: none
user: root user: root
volumes: *barbican_api_volumes volumes: *barbican_api_volumes

View File

@ -4,7 +4,7 @@ description: >
OpenStack containerized Glance API service OpenStack containerized Glance API service
parameters: parameters:
DockerHeatEngineImage: ContainerHeatEngineImage:
description: image description: image
type: string type: string
@ -21,7 +21,7 @@ outputs:
# Kolla_bootstrap/db_sync runs before permissions set by kolla_config # Kolla_bootstrap/db_sync runs before permissions set by kolla_config
step_2: step_2:
heat_init_log: heat_init_log:
image: {get_param: DockerHeatEngineImage} image: {get_param: ContainerHeatEngineImage}
net: none net: none
user: root user: root
volumes: volumes:

View File

@ -4,7 +4,7 @@ description: >
OpenStack containerized Keystone service OpenStack containerized Keystone service
parameters: parameters:
DockerKeystoneImage: ContainerKeystoneImage:
description: image description: image
type: string type: string
@ -23,7 +23,7 @@ outputs:
step_2: step_2:
keystone_init_log: keystone_init_log:
start_order: 1 start_order: 1
image: {get_param: DockerKeystoneImage} image: {get_param: ContainerKeystoneImage}
net: none net: none
user: root user: root
command: ['/bin/bash', '-c', 'chown -R keystone:keystone /var/log/keystone'] command: ['/bin/bash', '-c', 'chown -R keystone:keystone /var/log/keystone']

View File

@ -4,7 +4,7 @@ description: >
OpenStack containerized Neutron API service OpenStack containerized Neutron API service
parameters: parameters:
DockerNeutronApiImage: ContainerNeutronApiImage:
description: image description: image
type: string type: string
NeutronServiceName: NeutronServiceName:
@ -33,7 +33,7 @@ outputs:
# db sync runs before permissions set by kolla_config # db sync runs before permissions set by kolla_config
step_2: step_2:
neutron_init_logs: neutron_init_logs:
image: {get_param: DockerNeutronApiImage} image: {get_param: ContainerNeutronApiImage}
net: none net: none
privileged: false privileged: false
user: root user: root

View File

@ -4,7 +4,7 @@ description: >
Template for nova-api's logging to files Template for nova-api's logging to files
parameters: parameters:
DockerNovaApiImage: ContainerNovaApiImage:
description: image description: image
type: string type: string
DeployIdentifier: DeployIdentifier:
@ -29,7 +29,7 @@ outputs:
step_2: step_2:
# db sync runs before permissions set by kolla_config # db sync runs before permissions set by kolla_config
nova_api_init_logs: nova_api_init_logs:
image: {get_param: DockerNovaApiImage} image: {get_param: ContainerNovaApiImage}
net: none net: none
privileged: false privileged: false
user: root user: root

View File

@ -4,7 +4,7 @@ description: >
Template for nova's logging to files Template for nova's logging to files
parameters: parameters:
DockerNovaImage: ContainerNovaImage:
description: image description: image
type: string type: string
NovaServiceName: NovaServiceName:
@ -46,7 +46,7 @@ outputs:
step_2: step_2:
map_replace: map_replace:
- CONTAINERNAME: - CONTAINERNAME:
image: {get_param: DockerNovaImage} image: {get_param: ContainerNovaImage}
net: none net: none
privileged: false privileged: false
user: root user: root

View File

@ -4,7 +4,7 @@ description: >
Template for nova-metadata's logging to files Template for nova-metadata's logging to files
parameters: parameters:
DockerNovaMetadataImage: ContainerNovaMetadataImage:
description: image description: image
type: string type: string
@ -22,7 +22,7 @@ outputs:
value: value:
step_2: step_2:
nova_metadata_init_logs: nova_metadata_init_logs:
image: {get_param: DockerNovaMetadataImage} image: {get_param: ContainerNovaMetadataImage}
net: none net: none
privileged: false privileged: false
user: root user: root

View File

@ -4,7 +4,7 @@ description: >
OpenStack containerized Panko service OpenStack containerized Panko service
parameters: parameters:
DockerPankoApiImage: ContainerPankoApiImage:
description: image description: image
type: string type: string
@ -25,7 +25,7 @@ outputs:
value: value:
step_2: step_2:
panko_init_log: panko_init_log:
image: {get_param: DockerPankoApiImage} image: {get_param: ContainerPankoApiImage}
net: none net: none
user: root user: root
volumes: *panko_api_volumes volumes: *panko_api_volumes

View File

@ -4,7 +4,7 @@ description: >
Template for placement's logging to files Template for placement's logging to files
parameters: parameters:
DockerPlacementImage: ContainerPlacementImage:
description: image description: image
type: string type: string
@ -23,7 +23,7 @@ outputs:
step_2: step_2:
placement_init_log: placement_init_log:
start_order: 1 start_order: 1
image: {get_param: DockerPlacementImage} image: {get_param: ContainerPlacementImage}
net: none net: none
user: root user: root
command: ['/bin/bash', '-c', 'chown -R placement:placement /var/log/placement'] command: ['/bin/bash', '-c', 'chown -R placement:placement /var/log/placement']

View File

@ -4,7 +4,7 @@ description: >
Containerized rsyslog-sidecar service Containerized rsyslog-sidecar service
parameters: parameters:
DockerRsyslogSidecarConfigImage: ContainerRsyslogSidecarConfigImage:
description: The container image to use for the rsyslog-sidecar config_volume description: The container image to use for the rsyslog-sidecar config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -51,7 +51,7 @@ outputs:
puppet_tags: file puppet_tags: file
step_config: | step_config: |
include ::tripleo::profile::base::rsyslog::sidecar include ::tripleo::profile::base::rsyslog::sidecar
config_image: {get_param: DockerRsyslogSidecarConfigImage} config_image: {get_param: ContainerRsyslogSidecarConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/rsyslog_sidecar.json: /var/lib/kolla/config_files/rsyslog_sidecar.json:
command: /usr/sbin/rsyslogd -n command: /usr/sbin/rsyslogd -n

View File

@ -4,7 +4,7 @@ description: >
OpenStack containerized Barbican service OpenStack containerized Barbican service
parameters: parameters:
DockerBarbicanApiImage: ContainerBarbicanApiImage:
description: image description: image
type: string type: string
@ -23,7 +23,7 @@ outputs:
step_2: step_2:
barbican_api_apache_error_logs: barbican_api_apache_error_logs:
start_order: 1 start_order: 1
image: {get_param: DockerBarbicanApiImage} image: {get_param: ContainerBarbicanApiImage}
user: root user: root
privileged: false privileged: false
restart: always restart: always
@ -34,7 +34,7 @@ outputs:
- BarbicanApiLogs:/var/log/ - BarbicanApiLogs:/var/log/
barbican_api_apache_access_logs: barbican_api_apache_access_logs:
start_order: 1 start_order: 1
image: {get_param: DockerBarbicanApiImage} image: {get_param: ContainerBarbicanApiImage}
user: root user: root
privileged: false privileged: false
restart: always restart: always
@ -45,7 +45,7 @@ outputs:
- BarbicanApiLogs:/var/log/ - BarbicanApiLogs:/var/log/
barbican_api_logs: barbican_api_logs:
start_order: 2 start_order: 2
image: {get_param: DockerBarbicanApiImage} image: {get_param: ContainerBarbicanApiImage}
user: barbican user: barbican
privileged: false privileged: false
restart: always restart: always

View File

@ -4,7 +4,7 @@ description: >
OpenStack containerized HAProxy API service OpenStack containerized HAProxy API service
parameters: parameters:
DockerRsyslogSidecarImage: ContainerRsyslogSidecarImage:
description: image description: image
type: string type: string
@ -19,7 +19,7 @@ outputs:
step_1: step_1:
haproxy_logs: haproxy_logs:
start_order: 0 start_order: 0
image: {get_param: DockerRsyslogSidecarImage} image: {get_param: ContainerRsyslogSidecarImage}
user: root user: root
restart: always restart: always
volumes: volumes:

View File

@ -4,7 +4,7 @@ description: >
OpenStack containerized Heat API CFN service OpenStack containerized Heat API CFN service
parameters: parameters:
DockerHeatApiCfnImage: ContainerHeatApiCfnImage:
description: image description: image
type: string type: string
@ -20,7 +20,7 @@ outputs:
step_2: step_2:
heat_api_cfn_apache_error_logs: heat_api_cfn_apache_error_logs:
start_order: 1 start_order: 1
image: {get_param: DockerHeatApiCfnImage} image: {get_param: ContainerHeatApiCfnImage}
user: root user: root
privileged: false privileged: false
restart: always restart: always
@ -31,7 +31,7 @@ outputs:
- HeatApiCfnLogs:/var/log/ - HeatApiCfnLogs:/var/log/
heat_api_cfn_apache_access_logs: heat_api_cfn_apache_access_logs:
start_order: 1 start_order: 1
image: {get_param: DockerHeatApiCfnImage} image: {get_param: ContainerHeatApiCfnImage}
user: root user: root
privileged: false privileged: false
restart: always restart: always
@ -42,7 +42,7 @@ outputs:
- HeatApiCfnLogs:/var/log/ - HeatApiCfnLogs:/var/log/
heat_api_cfn_logs: heat_api_cfn_logs:
start_order: 2 start_order: 2
image: {get_param: DockerHeatApiCfnImage} image: {get_param: ContainerHeatApiCfnImage}
user: heat user: heat
privileged: false privileged: false
restart: always restart: always

View File

@ -4,7 +4,7 @@ description: >
OpenStack containerized Heat API service OpenStack containerized Heat API service
parameters: parameters:
DockerHeatApiImage: ContainerHeatApiImage:
description: image description: image
type: string type: string
@ -20,7 +20,7 @@ outputs:
step_2: step_2:
heat_api_apache_error_logs: heat_api_apache_error_logs:
start_order: 1 start_order: 1
image: {get_param: DockerHeatApiImage} image: {get_param: ContainerHeatApiImage}
user: root user: root
privileged: false privileged: false
restart: always restart: always
@ -31,7 +31,7 @@ outputs:
- HeatApiLogs:/var/log/ - HeatApiLogs:/var/log/
heat_api_apache_access_logs: heat_api_apache_access_logs:
start_order: 1 start_order: 1
image: {get_param: DockerHeatApiImage} image: {get_param: ContainerHeatApiImage}
user: root user: root
privileged: false privileged: false
restart: always restart: always
@ -42,7 +42,7 @@ outputs:
- HeatApiLogs:/var/log/ - HeatApiLogs:/var/log/
heat_api_logs: heat_api_logs:
start_order: 2 start_order: 2
image: {get_param: DockerHeatApiImage} image: {get_param: ContainerHeatApiImage}
user: heat user: heat
privileged: false privileged: false
restart: always restart: always

View File

@ -4,7 +4,7 @@ description: >
OpenStack containerized Keystone service OpenStack containerized Keystone service
parameters: parameters:
DockerKeystoneImage: ContainerKeystoneImage:
description: image description: image
type: string type: string
@ -20,7 +20,7 @@ outputs:
step_2: step_2:
keystone_apache_error_logs: keystone_apache_error_logs:
start_order: 1 start_order: 1
image: {get_param: DockerKeystoneImage} image: {get_param: ContainerKeystoneImage}
user: root user: root
privileged: false privileged: false
restart: always restart: always
@ -31,7 +31,7 @@ outputs:
- KeystoneLogs:/var/log/ - KeystoneLogs:/var/log/
keystone_apache_access_logs: keystone_apache_access_logs:
start_order: 1 start_order: 1
image: {get_param: DockerKeystoneImage} image: {get_param: ContainerKeystoneImage}
user: root user: root
privileged: false privileged: false
restart: always restart: always
@ -42,7 +42,7 @@ outputs:
- KeystoneLogs:/var/log/ - KeystoneLogs:/var/log/
keystone_logs: keystone_logs:
start_order: 2 start_order: 2
image: {get_param: DockerKeystoneImage} image: {get_param: ContainerKeystoneImage}
user: keystone user: keystone
privileged: false privileged: false
restart: always restart: always

View File

@ -4,7 +4,7 @@ description: >
Template for nova-api's logging to stdout Template for nova-api's logging to stdout
parameters: parameters:
DockerNovaApiImage: ContainerNovaApiImage:
description: image description: image
type: string type: string
@ -24,7 +24,7 @@ outputs:
step_2: step_2:
nova_api_apache_error_logs: nova_api_apache_error_logs:
start_order: 1 start_order: 1
image: {get_param: DockerNovaApiImage} image: {get_param: ContainerNovaApiImage}
user: root user: root
privileged: false privileged: false
restart: always restart: always
@ -35,7 +35,7 @@ outputs:
- NovaApiLogs:/var/log/ - NovaApiLogs:/var/log/
nova_api_apache_access_logs: nova_api_apache_access_logs:
start_order: 1 start_order: 1
image: {get_param: DockerNovaApiImage} image: {get_param: ContainerNovaApiImage}
user: root user: root
privileged: false privileged: false
restart: always restart: always
@ -46,7 +46,7 @@ outputs:
- NovaApiLogs:/var/log/ - NovaApiLogs:/var/log/
nova_api_logs: nova_api_logs:
start_order: 2 start_order: 2
image: {get_param: DockerNovaApiImage} image: {get_param: ContainerNovaApiImage}
user: nova user: nova
privileged: false privileged: false
restart: always restart: always

View File

@ -4,7 +4,7 @@ description: >
Template for nova's logging to stdout Template for nova's logging to stdout
parameters: parameters:
DockerNovaImage: ContainerNovaImage:
description: image description: image
type: string type: string
NovaServiceName: NovaServiceName:

View File

@ -4,7 +4,7 @@ description: >
Template for nova-metadata's logging to stdout Template for nova-metadata's logging to stdout
parameters: parameters:
DockerNovaMetadataImage: ContainerNovaMetadataImage:
description: image description: image
type: string type: string
@ -24,7 +24,7 @@ outputs:
step_2: step_2:
nova_metadata_apache_error_logs: nova_metadata_apache_error_logs:
start_order: 1 start_order: 1
image: {get_param: DockerNovaMetadataImage} image: {get_param: ContainerNovaMetadataImage}
user: root user: root
privileged: false privileged: false
restart: always restart: always
@ -35,7 +35,7 @@ outputs:
- NovaMetadataLogs:/var/log/ - NovaMetadataLogs:/var/log/
nova_metadata_apache_access_logs: nova_metadata_apache_access_logs:
start_order: 1 start_order: 1
image: {get_param: DockerNovaMetadataImage} image: {get_param: ContainerNovaMetadataImage}
user: root user: root
privileged: false privileged: false
restart: always restart: always
@ -46,7 +46,7 @@ outputs:
- NovaMetadataLogs:/var/log/ - NovaMetadataLogs:/var/log/
nova_metadata_logs: nova_metadata_logs:
start_order: 2 start_order: 2
image: {get_param: DockerNovaMetadataImage} image: {get_param: ContainerNovaMetadataImage}
user: nova user: nova
privileged: false privileged: false
restart: always restart: always

View File

@ -4,7 +4,7 @@ description: >
OpenStack containerized Keystone service OpenStack containerized Keystone service
parameters: parameters:
DockerPankoApiImage: ContainerPankoApiImage:
description: image description: image
type: string type: string
@ -23,7 +23,7 @@ outputs:
step_2: step_2:
panko_api_apache_error_logs: panko_api_apache_error_logs:
start_order: 1 start_order: 1
image: {get_param: DockerPankoApiImage} image: {get_param: ContainerPankoApiImage}
user: root user: root
privileged: false privileged: false
restart: always restart: always
@ -34,7 +34,7 @@ outputs:
- PankoApiLogs:/var/log/ - PankoApiLogs:/var/log/
panko_api_apache_access_logs: panko_api_apache_access_logs:
start_order: 1 start_order: 1
image: {get_param: DockerPankoApiImage} image: {get_param: ContainerPankoApiImage}
user: root user: root
privileged: false privileged: false
restart: always restart: always
@ -45,7 +45,7 @@ outputs:
- PankoApiLogs:/var/log/ - PankoApiLogs:/var/log/
panko_api_logs: panko_api_logs:
start_order: 2 start_order: 2
image: {get_param: DockerPankoApiImage} image: {get_param: ContainerPankoApiImage}
user: panko user: panko
privileged: false privileged: false
restart: always restart: always

View File

@ -4,7 +4,7 @@ description: >
Template for placement's logging to stdout Template for placement's logging to stdout
parameters: parameters:
DockerPlacementImage: ContainerPlacementImage:
description: image description: image
type: string type: string
@ -24,7 +24,7 @@ outputs:
step_2: step_2:
placement_apache_error_logs: placement_apache_error_logs:
start_order: 1 start_order: 1
image: {get_param: DockerPlacementImage} image: {get_param: ContainerPlacementImage}
user: root user: root
privileged: false privileged: false
restart: always restart: always
@ -35,7 +35,7 @@ outputs:
- PlacementLogs:/var/log/ - PlacementLogs:/var/log/
placement_apache_access_logs: placement_apache_access_logs:
start_order: 1 start_order: 1
image: {get_param: DockerPlacementImage} image: {get_param: ContainerPlacementImage}
user: root user: root
privileged: false privileged: false
restart: always restart: always
@ -46,7 +46,7 @@ outputs:
- PlacementLogs:/var/log/ - PlacementLogs:/var/log/
placement_logs: placement_logs:
start_order: 2 start_order: 2
image: {get_param: DockerPlacementImage} image: {get_param: ContainerPlacementImage}
user: placement user: placement
privileged: false privileged: false
restart: always restart: always

View File

@ -4,10 +4,10 @@ description: >
Containerized logrotate with crond for containerized service logs rotation Containerized logrotate with crond for containerized service logs rotation
parameters: parameters:
DockerCrondImage: ContainerCrondImage:
description: image description: image
type: string type: string
DockerCrondConfigImage: ContainerCrondConfigImage:
description: The container image to use for the crond config_volume description: The container image to use for the crond config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -91,7 +91,7 @@ outputs:
puppet_config: puppet_config:
config_volume: crond config_volume: crond
step_config: 'include ::tripleo::profile::base::logging::logrotate' step_config: 'include ::tripleo::profile::base::logging::logrotate'
config_image: {get_param: DockerCrondConfigImage} config_image: {get_param: ContainerCrondConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/logrotate-crond.json: /var/lib/kolla/config_files/logrotate-crond.json:
command: /usr/sbin/crond -s -n command: /usr/sbin/crond -s -n
@ -103,7 +103,7 @@ outputs:
docker_config: docker_config:
step_4: step_4:
logrotate_crond: logrotate_crond:
image: {get_param: DockerCrondImage} image: {get_param: ContainerCrondImage}
net: none net: none
pid: host pid: host
privileged: true privileged: true

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Manila API service OpenStack containerized Manila API service
parameters: parameters:
DockerManilaApiImage: ContainerManilaApiImage:
description: image description: image
type: string type: string
DockerManilaConfigImage: ContainerManilaConfigImage:
description: The container image to use for the manila config_volume description: The container image to use for the manila config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -164,7 +164,7 @@ outputs:
- "\n" - "\n"
- - "include ::tripleo::profile::base::manila::api" - - "include ::tripleo::profile::base::manila::api"
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerManilaConfigImage} config_image: {get_param: ContainerManilaConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/manila_api.json: /var/lib/kolla/config_files/manila_api.json:
command: /usr/sbin/httpd -DFOREGROUND command: /usr/sbin/httpd -DFOREGROUND
@ -184,7 +184,7 @@ outputs:
docker_config: docker_config:
step_2: step_2:
manila_init_logs: manila_init_logs:
image: &manila_api_image {get_param: DockerManilaApiImage} image: &manila_api_image {get_param: ContainerManilaApiImage}
net: none net: none
user: root user: root
volumes: volumes:

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Manila Scheduler service OpenStack containerized Manila Scheduler service
parameters: parameters:
DockerManilaSchedulerImage: ContainerManilaSchedulerImage:
description: image description: image
type: string type: string
DockerManilaConfigImage: ContainerManilaConfigImage:
description: The container image to use for the manila config_volume description: The container image to use for the manila config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -73,7 +73,7 @@ outputs:
- "\n" - "\n"
- - "include ::tripleo::profile::base::manila::scheduler" - - "include ::tripleo::profile::base::manila::scheduler"
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerManilaConfigImage} config_image: {get_param: ContainerManilaConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/manila_scheduler.json: /var/lib/kolla/config_files/manila_scheduler.json:
command: /usr/bin/manila-scheduler --config-file /usr/share/manila/manila-dist.conf --config-file /etc/manila/manila.conf command: /usr/bin/manila-scheduler --config-file /usr/share/manila/manila-dist.conf --config-file /etc/manila/manila.conf
@ -89,7 +89,7 @@ outputs:
docker_config: docker_config:
step_4: step_4:
manila_scheduler: manila_scheduler:
image: {get_param: DockerManilaSchedulerImage} image: {get_param: ContainerManilaSchedulerImage}
net: host net: host
restart: always restart: always
healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]} healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Manila Share service OpenStack containerized Manila Share service
parameters: parameters:
DockerManilaShareImage: ContainerManilaShareImage:
description: image description: image
type: string type: string
DockerManilaConfigImage: ContainerManilaConfigImage:
description: image description: image
type: string type: string
EndpointMap: EndpointMap:
@ -119,7 +119,7 @@ outputs:
- "\n" - "\n"
- - "include ::tripleo::profile::base::manila::share" - - "include ::tripleo::profile::base::manila::share"
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerManilaConfigImage} config_image: {get_param: ContainerManilaConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/manila_share.json: /var/lib/kolla/config_files/manila_share.json:
command: /usr/bin/manila-share --config-file /usr/share/manila/manila-dist.conf --config-file /etc/manila/manila.conf command: /usr/bin/manila-share --config-file /usr/share/manila/manila-dist.conf --config-file /etc/manila/manila.conf
@ -147,7 +147,7 @@ outputs:
docker_config: docker_config:
step_4: step_4:
manila_share: manila_share:
image: &manila_share_image {get_param: DockerManilaShareImage} image: &manila_share_image {get_param: ContainerManilaShareImage}
net: host net: host
restart: always restart: always
volumes: {get_attr: [ManilaShareCommon, manila_share_volumes]} volumes: {get_attr: [ManilaShareCommon, manila_share_volumes]}

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Manila Share service OpenStack containerized Manila Share service
parameters: parameters:
DockerManilaShareImage: ContainerManilaShareImage:
description: image description: image
type: string type: string
DockerManilaConfigImage: ContainerManilaConfigImage:
description: image description: image
type: string type: string
EndpointMap: EndpointMap:
@ -94,7 +94,7 @@ outputs:
list_join: list_join:
- ':' - ':'
- - yaql: - - yaql:
data: {get_param: DockerManilaShareImage} data: {get_param: ContainerManilaShareImage}
expression: $.data.rightSplit(separator => ":", maxSplits => 1)[0] expression: $.data.rightSplit(separator => ":", maxSplits => 1)[0]
- 'pcmklatest' - 'pcmklatest'
tripleo::profile::pacemaker::manila::share_bundle::docker_volumes: {get_attr: [ManilaCommon, manila_share_volumes]} tripleo::profile::pacemaker::manila::share_bundle::docker_volumes: {get_attr: [ManilaCommon, manila_share_volumes]}
@ -113,7 +113,7 @@ outputs:
- "\n" - "\n"
- - "include ::tripleo::profile::pacemaker::manila" - - "include ::tripleo::profile::pacemaker::manila"
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerManilaConfigImage} config_image: {get_param: ContainerManilaConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/manila_share.json: /var/lib/kolla/config_files/manila_share.json:
command: /usr/bin/manila-share --config-file /usr/share/manila/manila-dist.conf --config-file /etc/manila/manila.conf command: /usr/bin/manila-share --config-file /usr/share/manila/manila-dist.conf --config-file /etc/manila/manila.conf
@ -135,7 +135,7 @@ outputs:
step_3: step_3:
manila_share_init_logs: manila_share_init_logs:
start_order: 0 start_order: 0
image: {get_param: DockerManilaShareImage} image: {get_param: ContainerManilaShareImage}
net: none net: none
privileged: false privileged: false
user: root user: root
@ -160,7 +160,7 @@ outputs:
'if [ x"${TRIPLEO_MINOR_UPDATE,,}" != x"true" ] && /usr/sbin/pcs resource show openstack-manila-share; then /usr/sbin/pcs resource restart --wait=PCMKTIMEOUT openstack-manila-share; echo "openstack-manila-share restart invoked"; fi' 'if [ x"${TRIPLEO_MINOR_UPDATE,,}" != x"true" ] && /usr/sbin/pcs resource show openstack-manila-share; then /usr/sbin/pcs resource restart --wait=PCMKTIMEOUT openstack-manila-share; echo "openstack-manila-share restart invoked"; fi'
params: params:
PCMKTIMEOUT: {get_param: PcmkConfigRestartTimeout} PCMKTIMEOUT: {get_param: PcmkConfigRestartTimeout}
image: {get_param: DockerManilaShareImage} image: {get_param: ContainerManilaShareImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}
@ -183,7 +183,7 @@ outputs:
- puppet_debug_enabled - puppet_debug_enabled
- - '--debug' - - '--debug'
- - '' - - ''
image: {get_param: DockerManilaShareImage} image: {get_param: ContainerManilaShareImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, container_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
@ -222,7 +222,7 @@ outputs:
import_role: import_role:
name: tripleo-container-tag name: tripleo-container-tag
vars: vars:
container_image: {get_param: DockerManilaShareImage} container_image: {get_param: ContainerManilaShareImage}
container_image_latest: *manila_share_image_pcmklatest container_image_latest: *manila_share_image_pcmklatest
update_tasks: update_tasks:
- name: Manila-Share fetch and retag container image for pacemaker - name: Manila-Share fetch and retag container image for pacemaker
@ -230,7 +230,7 @@ outputs:
block: &manila_share_fetch_retag_container_tasks block: &manila_share_fetch_retag_container_tasks
- name: Get docker Manila-Share image - name: Get docker Manila-Share image
set_fact: set_fact:
docker_image: {get_param: DockerManilaShareImage} docker_image: {get_param: ContainerManilaShareImage}
docker_image_latest: *manila_share_image_pcmklatest docker_image_latest: *manila_share_image_pcmklatest
- name: Get previous Manila-Share image id - name: Get previous Manila-Share image id
shell: "{{container_cli}} images | awk '/manila-share.* pcmklatest/{print $3}' | uniq" shell: "{{container_cli}} images | awk '/manila-share.* pcmklatest/{print $3}' | uniq"

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Memcached services OpenStack containerized Memcached services
parameters: parameters:
DockerMemcachedImage: ContainerMemcachedImage:
description: image description: image
type: string type: string
DockerMemcachedConfigImage: ContainerMemcachedConfigImage:
description: The container image to use for the memcached config_volume description: The container image to use for the memcached config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -152,13 +152,13 @@ outputs:
puppet_tags: 'file' puppet_tags: 'file'
step_config: | step_config: |
include ::tripleo::profile::base::memcached include ::tripleo::profile::base::memcached
config_image: {get_param: DockerMemcachedConfigImage} config_image: {get_param: ContainerMemcachedConfigImage}
kolla_config: {} kolla_config: {}
docker_config: docker_config:
step_1: step_1:
memcached: memcached:
start_order: 0 start_order: 0
image: {get_param: DockerMemcachedImage} image: {get_param: ContainerMemcachedImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Qpid dispatch router service OpenStack containerized Qpid dispatch router service
parameters: parameters:
DockerQdrouterdImage: ContainerQdrouterdImage:
description: image description: image
type: string type: string
DockerQdrouterdConfigImage: ContainerQdrouterdConfigImage:
description: The container image to use for the qdrouterd config_volume description: The container image to use for the qdrouterd config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -100,7 +100,7 @@ outputs:
config_volume: qdrouterd config_volume: qdrouterd
step_config: | step_config: |
include ::tripleo::profile::base::qdr include ::tripleo::profile::base::qdr
config_image: {get_param: DockerQdrouterdConfigImage} config_image: {get_param: ContainerQdrouterdConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/qdrouterd.json: /var/lib/kolla/config_files/qdrouterd.json:
command: /usr/sbin/qdrouterd -c /etc/qpid-dispatch/qdrouterd.conf command: /usr/sbin/qdrouterd -c /etc/qpid-dispatch/qdrouterd.conf
@ -118,7 +118,7 @@ outputs:
qdrouterd_init_logs: qdrouterd_init_logs:
start_order: 0 start_order: 0
detach: false detach: false
image: &qdrouterd_image {get_param: DockerQdrouterdImage} image: &qdrouterd_image {get_param: ContainerQdrouterdImage}
net: none net: none
privileged: false privileged: false
user: root user: root

View File

@ -4,10 +4,10 @@ description: >
Containerized collectd service Containerized collectd service
parameters: parameters:
DockerCollectdImage: ContainerCollectdImage:
description: image description: image
type: string type: string
DockerCollectdConfigImage: ContainerCollectdConfigImage:
description: The container image to use for the collectd config_volume description: The container image to use for the collectd config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -448,7 +448,7 @@ outputs:
config_volume: collectd config_volume: collectd
puppet_tags: collectd_client_config puppet_tags: collectd_client_config
step_config: include ::tripleo::profile::base::metrics::collectd step_config: include ::tripleo::profile::base::metrics::collectd
config_image: {get_param: DockerCollectdConfigImage} config_image: {get_param: ContainerCollectdConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/collectd.json: /var/lib/kolla/config_files/collectd.json:
command: /usr/sbin/collectd -f command: /usr/sbin/collectd -f
@ -468,7 +468,7 @@ outputs:
docker_config: docker_config:
step_5: step_5:
collectd: collectd:
image: {get_param: DockerCollectdImage} image: {get_param: ContainerCollectdImage}
net: host net: host
pid: host pid: host
privileged: true privileged: true

View File

@ -4,10 +4,10 @@ description: >
Qpid dispatch router service for metrics and monitoring purposes Qpid dispatch router service for metrics and monitoring purposes
parameters: parameters:
DockerMetricsQdrImage: ContainerMetricsQdrImage:
description: image description: image
type: string type: string
DockerMetricsQdrConfigImage: ContainerMetricsQdrConfigImage:
description: The container image to use for the qdrouterd config_volume description: The container image to use for the qdrouterd config_volume
type: string type: string
ServiceData: ServiceData:
@ -229,7 +229,7 @@ outputs:
config_volume: metrics-qdr config_volume: metrics-qdr
step_config: | step_config: |
include ::tripleo::profile::base::metrics::qdr include ::tripleo::profile::base::metrics::qdr
config_image: {get_param: DockerMetricsQdrConfigImage} config_image: {get_param: ContainerMetricsQdrConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/metrics-qdr.json: /var/lib/kolla/config_files/metrics-qdr.json:
command: /usr/sbin/qdrouterd -c /etc/qpid-dispatch/qdrouterd.conf command: /usr/sbin/qdrouterd -c /etc/qpid-dispatch/qdrouterd.conf
@ -258,7 +258,7 @@ outputs:
metrics_qdr_init_logs: metrics_qdr_init_logs:
start_order: 0 start_order: 0
detach: false detach: false
image: &qdrouterd_image {get_param: DockerMetricsQdrImage} image: &qdrouterd_image {get_param: ContainerMetricsQdrImage}
net: none net: none
privileged: false privileged: false
user: root user: root

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Mistral API service OpenStack containerized Mistral API service
parameters: parameters:
DockerMistralApiImage: ContainerMistralApiImage:
description: image description: image
type: string type: string
DockerMistralConfigImage: ContainerMistralConfigImage:
description: The container image to use for the mistral config_volume description: The container image to use for the mistral config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -141,7 +141,7 @@ outputs:
- "\n" - "\n"
- - include ::tripleo::profile::base::mistral::api - - include ::tripleo::profile::base::mistral::api
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerMistralConfigImage} config_image: {get_param: ContainerMistralConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/mistral_api.json: /var/lib/kolla/config_files/mistral_api.json:
command: /usr/bin/mistral-server --config-file=/etc/mistral/mistral.conf --log-file=/var/log/mistral/api.log --server=api command: /usr/bin/mistral-server --config-file=/etc/mistral/mistral.conf --log-file=/var/log/mistral/api.log --server=api
@ -158,7 +158,7 @@ outputs:
# db sync runs before permissions set by kolla_config # db sync runs before permissions set by kolla_config
step_2: step_2:
mistral_init_logs: mistral_init_logs:
image: &mistral_api_image {get_param: DockerMistralApiImage} image: &mistral_api_image {get_param: ContainerMistralApiImage}
net: none net: none
privileged: false privileged: false
user: root user: root

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Mistral Engine service OpenStack containerized Mistral Engine service
parameters: parameters:
DockerMistralEngineImage: ContainerMistralEngineImage:
description: image description: image
type: string type: string
DockerMistralConfigImage: ContainerMistralConfigImage:
description: The container image to use for the mistral config_volume description: The container image to use for the mistral config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -97,7 +97,7 @@ outputs:
- "\n" - "\n"
- - include ::tripleo::profile::base::mistral::engine - - include ::tripleo::profile::base::mistral::engine
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerMistralConfigImage} config_image: {get_param: ContainerMistralConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/mistral_engine.json: /var/lib/kolla/config_files/mistral_engine.json:
command: /usr/bin/mistral-server --config-file=/etc/mistral/mistral.conf --log-file=/var/log/mistral/engine.log --server=engine command: /usr/bin/mistral-server --config-file=/etc/mistral/mistral.conf --log-file=/var/log/mistral/engine.log --server=engine
@ -113,7 +113,7 @@ outputs:
docker_config: docker_config:
step_4: step_4:
mistral_engine: mistral_engine:
image: {get_param: DockerMistralEngineImage} image: {get_param: ContainerMistralEngineImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Mistral Event Engine service OpenStack containerized Mistral Event Engine service
parameters: parameters:
DockerMistralEventEngineImage: ContainerMistralEventEngineImage:
description: image description: image
type: string type: string
DockerMistralConfigImage: ContainerMistralConfigImage:
description: The container image to use for the mistral config_volume description: The container image to use for the mistral config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -72,7 +72,7 @@ outputs:
- "\n" - "\n"
- - include ::tripleo::profile::base::mistral - - include ::tripleo::profile::base::mistral
- get_attr: [MySQLClient, role_data, step_config] - get_attr: [MySQLClient, role_data, step_config]
config_image: {get_param: DockerMistralConfigImage} config_image: {get_param: ContainerMistralConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/mistral_event_engine.json: /var/lib/kolla/config_files/mistral_event_engine.json:
command: /usr/bin/mistral-server --config-file=/etc/mistral/mistral.conf --log-file=/var/log/mistral/event-engine.log --server=event-engine command: /usr/bin/mistral-server --config-file=/etc/mistral/mistral.conf --log-file=/var/log/mistral/event-engine.log --server=event-engine
@ -88,7 +88,7 @@ outputs:
docker_config: docker_config:
step_4: step_4:
mistral_event_engine: mistral_event_engine:
image: {get_param: DockerMistralEventEngineImage} image: {get_param: ContainerMistralEventEngineImage}
net: host net: host
privileged: false privileged: false
restart: always restart: always

View File

@ -4,14 +4,14 @@ description: >
OpenStack containerized Mistral Executor service OpenStack containerized Mistral Executor service
parameters: parameters:
DockerMistralExecutorImage: ContainerMistralExecutorImage:
description: image description: image
type: string type: string
DockerMistralExecutorUlimit: DockerMistralExecutorUlimit:
default: ['nofile=1024'] default: ['nofile=1024']
description: ulimit for Mistral Executor Container description: ulimit for Mistral Executor Container
type: comma_delimited_list type: comma_delimited_list
DockerMistralConfigImage: ContainerMistralConfigImage:
description: The container image to use for the mistral config_volume description: The container image to use for the mistral config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -113,7 +113,7 @@ outputs:
- "\n" - "\n"
- - include ::tripleo::profile::base::mistral::executor - - include ::tripleo::profile::base::mistral::executor
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerMistralConfigImage} config_image: {get_param: ContainerMistralConfigImage}
volumes: volumes:
list_concat: list_concat:
- -
@ -140,7 +140,7 @@ outputs:
docker_config: docker_config:
step_4: step_4:
mistral_executor: mistral_executor:
image: {get_param: DockerMistralExecutorImage} image: {get_param: ContainerMistralExecutorImage}
ulimit: {get_param: DockerMistralExecutorUlimit} ulimit: {get_param: DockerMistralExecutorUlimit}
net: host net: host
privileged: false privileged: false

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Multipathd service OpenStack containerized Multipathd service
parameters: parameters:
DockerMultipathdImage: ContainerMultipathdImage:
description: image description: image
type: string type: string
DockerMultipathdConfigImage: ContainerMultipathdConfigImage:
description: The container image to use for the multipathd config_volume description: The container image to use for the multipathd config_volume
type: string type: string
EndpointMap: EndpointMap:
@ -53,7 +53,7 @@ outputs:
puppet_config: puppet_config:
config_volume: multipathd config_volume: multipathd
step_config: '' step_config: ''
config_image: {get_param: DockerMultipathdConfigImage} config_image: {get_param: ContainerMultipathdConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/multipathd.json: /var/lib/kolla/config_files/multipathd.json:
command: /usr/sbin/multipathd -d command: /usr/sbin/multipathd -d
@ -66,7 +66,7 @@ outputs:
step_3: step_3:
multipathd: multipathd:
start_order: 1 start_order: 1
image: {get_param: DockerMultipathdImage} image: {get_param: ContainerMultipathdImage}
net: host net: host
privileged: true privileged: true
restart: always restart: always

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Neutron API service OpenStack containerized Neutron API service
parameters: parameters:
DockerNeutronApiImage: ContainerNeutronApiImage:
description: image description: image
type: string type: string
DockerNeutronConfigImage: ContainerNeutronConfigImage:
description: The container image to use for the neutron config_volume description: The container image to use for the neutron config_volume
type: string type: string
NeutronApiLoggingSource: NeutronApiLoggingSource:
@ -306,7 +306,7 @@ outputs:
- "\n" - "\n"
- - include tripleo::profile::base::neutron::server - - include tripleo::profile::base::neutron::server
- {get_attr: [MySQLClient, role_data, step_config]} - {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerNeutronConfigImage} config_image: {get_param: ContainerNeutronConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/neutron_api.json: /var/lib/kolla/config_files/neutron_api.json:
command: command:
@ -339,7 +339,7 @@ outputs:
get_attr: [NeutronLogging, docker_config, step_2] get_attr: [NeutronLogging, docker_config, step_2]
step_3: step_3:
neutron_db_sync: neutron_db_sync:
image: &neutron_api_image {get_param: DockerNeutronApiImage} image: &neutron_api_image {get_param: ContainerNeutronApiImage}
net: host net: host
privileged: false privileged: false
detach: false detach: false

View File

@ -30,7 +30,7 @@ parameters:
description: Mapping of service endpoint -> protocol. Typically set description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry. via parameter_defaults in the resource registry.
type: json type: json
DockerNeutronConfigImage: ContainerNeutronConfigImage:
description: The container image to use for the neutron config_volume description: The container image to use for the neutron config_volume
type: string type: string
BgpvpnServiceProvider: BgpvpnServiceProvider:
@ -56,6 +56,6 @@ outputs:
puppet_tags: neutron_bgpvpn_service_config puppet_tags: neutron_bgpvpn_service_config
step_config: | step_config: |
include ::tripleo::profile::base::neutron::bgpvpn include ::tripleo::profile::base::neutron::bgpvpn
config_image: {get_param: DockerNeutronConfigImage} config_image: {get_param: ContainerNeutronConfigImage}
kolla_config: {} kolla_config: {}
docker_config: {} docker_config: {}

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Neutron DHCP service OpenStack containerized Neutron DHCP service
parameters: parameters:
DockerNeutronDHCPImage: ContainerNeutronDHCPImage:
description: image description: image
type: string type: string
DockerNeutronConfigImage: ContainerNeutronConfigImage:
description: The container image to use for the neutron config_volume description: The container image to use for the neutron config_volume
type: string type: string
DockerNeutronDHCPAgentUlimit: DockerNeutronDHCPAgentUlimit:
@ -164,10 +164,10 @@ outputs:
- get_attr: [NeutronLogging, config_settings] - get_attr: [NeutronLogging, config_settings]
- tripleo::profile::base::neutron::dhcp_agent_wrappers::enable_dnsmasq_wrapper: {get_param: NeutronEnableDnsmasqDockerWrapper} - tripleo::profile::base::neutron::dhcp_agent_wrappers::enable_dnsmasq_wrapper: {get_param: NeutronEnableDnsmasqDockerWrapper}
tripleo::profile::base::neutron::dhcp_agent_wrappers::dnsmasq_process_wrapper: '/var/lib/neutron/dnsmasq_wrapper' tripleo::profile::base::neutron::dhcp_agent_wrappers::dnsmasq_process_wrapper: '/var/lib/neutron/dnsmasq_wrapper'
tripleo::profile::base::neutron::dhcp_agent_wrappers::dnsmasq_image: {get_param: DockerNeutronDHCPImage} tripleo::profile::base::neutron::dhcp_agent_wrappers::dnsmasq_image: {get_param: ContainerNeutronDHCPImage}
tripleo::profile::base::neutron::dhcp_agent_wrappers::enable_haproxy_wrapper: {get_param: NeutronEnableHaproxyDockerWrapper} tripleo::profile::base::neutron::dhcp_agent_wrappers::enable_haproxy_wrapper: {get_param: NeutronEnableHaproxyDockerWrapper}
tripleo::profile::base::neutron::dhcp_agent_wrappers::haproxy_process_wrapper: '/var/lib/neutron/dhcp_haproxy_wrapper' tripleo::profile::base::neutron::dhcp_agent_wrappers::haproxy_process_wrapper: '/var/lib/neutron/dhcp_haproxy_wrapper'
tripleo::profile::base::neutron::dhcp_agent_wrappers::haproxy_image: {get_param: DockerNeutronDHCPImage} tripleo::profile::base::neutron::dhcp_agent_wrappers::haproxy_image: {get_param: ContainerNeutronDHCPImage}
tripleo::profile::base::neutron::dhcp_agent_wrappers::debug: tripleo::profile::base::neutron::dhcp_agent_wrappers::debug:
if: if:
- service_wrapper_debug_unset - service_wrapper_debug_unset
@ -233,7 +233,7 @@ outputs:
puppet_tags: neutron_config,neutron_dhcp_agent_config puppet_tags: neutron_config,neutron_dhcp_agent_config
step_config: | step_config: |
include tripleo::profile::base::neutron::dhcp include tripleo::profile::base::neutron::dhcp
config_image: {get_param: DockerNeutronConfigImage} config_image: {get_param: ContainerNeutronConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/neutron_dhcp.json: /var/lib/kolla/config_files/neutron_dhcp.json:
command: command:
@ -278,7 +278,7 @@ outputs:
- '4' - '4'
- 'file' - 'file'
- 'include ::tripleo::profile::base::neutron::dhcp_agent_wrappers' - 'include ::tripleo::profile::base::neutron::dhcp_agent_wrappers'
image: {get_param: DockerNeutronDHCPImage} image: {get_param: ContainerNeutronDHCPImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, container_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
@ -288,7 +288,7 @@ outputs:
step_4: step_4:
neutron_dhcp: neutron_dhcp:
start_order: 10 start_order: 10
image: {get_param: DockerNeutronDHCPImage} image: {get_param: ContainerNeutronDHCPImage}
net: host net: host
pid: host pid: host
privileged: true privileged: true

View File

@ -30,7 +30,7 @@ parameters:
description: Mapping of service endpoint -> protocol. Typically set description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry. via parameter_defaults in the resource registry.
type: json type: json
DockerNeutronConfigImage: ContainerNeutronConfigImage:
description: The container image to use for the neutron config_volume description: The container image to use for the neutron config_volume
type: string type: string
L2gwServiceDefaultInterfaceName: L2gwServiceDefaultInterfaceName:
@ -76,6 +76,6 @@ outputs:
puppet_tags: neutron_l2gw_service_config puppet_tags: neutron_l2gw_service_config
step_config: | step_config: |
include tripleo::profile::base::neutron::l2gw include tripleo::profile::base::neutron::l2gw
config_image: {get_param: DockerNeutronConfigImage} config_image: {get_param: ContainerNeutronConfigImage}
kolla_config: {} kolla_config: {}
docker_config: {} docker_config: {}

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Neutron L3 agent OpenStack containerized Neutron L3 agent
parameters: parameters:
DockerNeutronL3AgentImage: ContainerNeutronL3AgentImage:
description: image description: image
type: string type: string
DockerNeutronConfigImage: ContainerNeutronConfigImage:
description: The container image to use for the neutron config_volume description: The container image to use for the neutron config_volume
type: string type: string
DockerNeutronL3AgentUlimit: DockerNeutronL3AgentUlimit:
@ -169,16 +169,16 @@ outputs:
tripleo::profile::base::neutron::l3_agent_wrappers::keepalived_process_wrapper: '/var/lib/neutron/keepalived_wrapper' tripleo::profile::base::neutron::l3_agent_wrappers::keepalived_process_wrapper: '/var/lib/neutron/keepalived_wrapper'
# TODO(beagles): this can be removed after a cleanup of the related puppet-tripleo code. # TODO(beagles): this can be removed after a cleanup of the related puppet-tripleo code.
tripleo::profile::base::neutron::l3_agent_wrappers::keepalived_state_change_wrapper: '/var/lib/neutron/keepalived_state_change_wrapper' tripleo::profile::base::neutron::l3_agent_wrappers::keepalived_state_change_wrapper: '/var/lib/neutron/keepalived_state_change_wrapper'
tripleo::profile::base::neutron::l3_agent_wrappers::keepalived_image: {get_param: DockerNeutronL3AgentImage} tripleo::profile::base::neutron::l3_agent_wrappers::keepalived_image: {get_param: ContainerNeutronL3AgentImage}
tripleo::profile::base::neutron::l3_agent_wrappers::enable_haproxy_wrapper: {get_param: NeutronEnableHaproxyDockerWrapper} tripleo::profile::base::neutron::l3_agent_wrappers::enable_haproxy_wrapper: {get_param: NeutronEnableHaproxyDockerWrapper}
tripleo::profile::base::neutron::l3_agent_wrappers::haproxy_process_wrapper: '/var/lib/neutron/l3_haproxy_wrapper' tripleo::profile::base::neutron::l3_agent_wrappers::haproxy_process_wrapper: '/var/lib/neutron/l3_haproxy_wrapper'
tripleo::profile::base::neutron::l3_agent_wrappers::haproxy_image: {get_param: DockerNeutronL3AgentImage} tripleo::profile::base::neutron::l3_agent_wrappers::haproxy_image: {get_param: ContainerNeutronL3AgentImage}
tripleo::profile::base::neutron::l3_agent_wrappers::enable_dibbler_wrapper: {get_param: NeutronEnableDibblerDockerWrapper} tripleo::profile::base::neutron::l3_agent_wrappers::enable_dibbler_wrapper: {get_param: NeutronEnableDibblerDockerWrapper}
tripleo::profile::base::neutron::l3_agent_wrappers::dibbler_process_wrapper: '/var/lib/neutron/dibbler_wrapper' tripleo::profile::base::neutron::l3_agent_wrappers::dibbler_process_wrapper: '/var/lib/neutron/dibbler_wrapper'
tripleo::profile::base::neutron::l3_agent_wrappers::dibbler_image: {get_param: DockerNeutronL3AgentImage} tripleo::profile::base::neutron::l3_agent_wrappers::dibbler_image: {get_param: ContainerNeutronL3AgentImage}
tripleo::profile::base::neutron::l3_agent_wrappers::enable_radvd_wrapper: {get_param: NeutronEnableRadvdDockerWrapper} tripleo::profile::base::neutron::l3_agent_wrappers::enable_radvd_wrapper: {get_param: NeutronEnableRadvdDockerWrapper}
tripleo::profile::base::neutron::l3_agent_wrappers::radvd_process_wrapper: '/var/lib/neutron/radvd_wrapper' tripleo::profile::base::neutron::l3_agent_wrappers::radvd_process_wrapper: '/var/lib/neutron/radvd_wrapper'
tripleo::profile::base::neutron::l3_agent_wrappers::radvd_image: {get_param: DockerNeutronL3AgentImage} tripleo::profile::base::neutron::l3_agent_wrappers::radvd_image: {get_param: ContainerNeutronL3AgentImage}
tripleo::profile::base::neutron::l3_agent_wrappers::debug: tripleo::profile::base::neutron::l3_agent_wrappers::debug:
if: if:
- service_debug_unset - service_debug_unset
@ -211,7 +211,7 @@ outputs:
config_volume: neutron config_volume: neutron
step_config: | step_config: |
include tripleo::profile::base::neutron::l3 include tripleo::profile::base::neutron::l3
config_image: {get_param: DockerNeutronConfigImage} config_image: {get_param: ContainerNeutronConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/neutron_l3_agent.json: /var/lib/kolla/config_files/neutron_l3_agent.json:
command: command:
@ -247,7 +247,7 @@ outputs:
- '4' - '4'
- 'file' - 'file'
- 'include ::tripleo::profile::base::neutron::l3_agent_wrappers' - 'include ::tripleo::profile::base::neutron::l3_agent_wrappers'
image: {get_param: DockerNeutronL3AgentImage} image: {get_param: ContainerNeutronL3AgentImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, container_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
@ -257,7 +257,7 @@ outputs:
step_4: step_4:
neutron_l3_agent: neutron_l3_agent:
start_order: 10 start_order: 10
image: {get_param: DockerNeutronL3AgentImage} image: {get_param: ContainerNeutronL3AgentImage}
net: host net: host
pid: host pid: host
privileged: true privileged: true

View File

@ -4,10 +4,10 @@ description: >
OpenStack containerized Neutron Metadata agent OpenStack containerized Neutron Metadata agent
parameters: parameters:
DockerNeutronMetadataImage: ContainerNeutronMetadataImage:
description: image description: image
type: string type: string
DockerNeutronConfigImage: ContainerNeutronConfigImage:
description: The container image to use for the neutron config_volume description: The container image to use for the neutron config_volume
type: string type: string
NeutronMetadataAgentLoggingSource: NeutronMetadataAgentLoggingSource:
@ -155,7 +155,7 @@ outputs:
config_volume: neutron config_volume: neutron
step_config: | step_config: |
include tripleo::profile::base::neutron::metadata include tripleo::profile::base::neutron::metadata
config_image: {get_param: DockerNeutronConfigImage} config_image: {get_param: ContainerNeutronConfigImage}
kolla_config: kolla_config:
/var/lib/kolla/config_files/neutron_metadata_agent.json: /var/lib/kolla/config_files/neutron_metadata_agent.json:
command: command:
@ -179,7 +179,7 @@ outputs:
step_4: step_4:
neutron_metadata_agent: neutron_metadata_agent:
start_order: 10 start_order: 10
image: {get_param: DockerNeutronMetadataImage} image: {get_param: ContainerNeutronMetadataImage}
net: host net: host
pid: host pid: host
privileged: true privileged: true

View File

@ -4,10 +4,10 @@ description: >
OpenStack Neutron openvswitch service OpenStack Neutron openvswitch service
parameters: parameters:
DockerOpenvswitchImage: ContainerOpenvswitchImage:
description: image description: image
type: string type: string
DockerNeutronConfigImage: ContainerNeutronConfigImage:
description: The container image to use for the neutron config_volume description: The container image to use for the neutron config_volume
type: string type: string
DockerOpenvswitchUlimit: DockerOpenvswitchUlimit:
@ -219,7 +219,7 @@ outputs:
puppet_tags: neutron_config,neutron_agent_ovs,neutron_plugin_ml2 puppet_tags: neutron_config,neutron_agent_ovs,neutron_plugin_ml2
step_config: | step_config: |
include ::tripleo::profile::base::neutron::ovs include ::tripleo::profile::base::neutron::ovs
config_image: {get_param: DockerNeutronConfigImage} config_image: {get_param: ContainerNeutronConfigImage}
# We need to mount /run for puppet_config step. This is because # We need to mount /run for puppet_config step. This is because
# puppet-vswitch runs the commands "ovs-vsctl list open_vswitch ." # puppet-vswitch runs the commands "ovs-vsctl list open_vswitch ."
# when running vswitch::ovs::enable_hw_offload: true # when running vswitch::ovs::enable_hw_offload: true
@ -256,7 +256,7 @@ outputs:
step_3: step_3:
neutron_ovs_bridge: neutron_ovs_bridge:
detach: false detach: false
image: {get_param: DockerNeutronConfigImage} image: {get_param: ContainerNeutronConfigImage}
net: host net: host
pid: host pid: host
user: root user: root
@ -292,7 +292,7 @@ outputs:
step_4: step_4:
neutron_ovs_agent: neutron_ovs_agent:
start_order: 10 start_order: 10
image: {get_param: DockerOpenvswitchImage} image: {get_param: ContainerOpenvswitchImage}
net: host net: host
pid: host pid: host
privileged: true privileged: true

View File

@ -4,7 +4,7 @@ description: >
OpenStack Neutron OVS DPDK configured with Puppet for Compute Role (Containerized) OpenStack Neutron OVS DPDK configured with Puppet for Compute Role (Containerized)
parameters: parameters:
DockerNeutronConfigImage: ContainerNeutronConfigImage:
description: The container image to use for the neutron config_volume description: The container image to use for the neutron config_volume
type: string type: string
ServiceData: ServiceData:
@ -132,7 +132,7 @@ outputs:
puppet_tags: neutron_config,neutron_agent_ovs,neutron_plugin_ml2 puppet_tags: neutron_config,neutron_agent_ovs,neutron_plugin_ml2
step_config: step_config:
get_attr: [NeutronOvsAgent, role_data, puppet_config, step_config] get_attr: [NeutronOvsAgent, role_data, puppet_config, step_config]
config_image: {get_param: DockerNeutronConfigImage} config_image: {get_param: ContainerNeutronConfigImage}
# We need to mount /run for puppet_config step. This is because # We need to mount /run for puppet_config step. This is because
# puppet-vswitch runs the commands "ovs-vsctl list open_vswitch ." # puppet-vswitch runs the commands "ovs-vsctl list open_vswitch ."
# when running vswitch::ovs::enable_hw_offload: true # when running vswitch::ovs::enable_hw_offload: true

View File

@ -19,7 +19,7 @@ parameters:
via parameter_defaults in the resource registry. This via parameter_defaults in the resource registry. This
mapping overrides those in ServiceNetMapDefaults. mapping overrides those in ServiceNetMapDefaults.
type: json type: json
DockerNeutronConfigImage: ContainerNeutronConfigImage:
description: The container image to use for the neutron config_volume description: The container image to use for the neutron config_volume
type: string type: string
DefaultPasswords: DefaultPasswords:
@ -67,6 +67,6 @@ outputs:
puppet_tags: neutron_plugin_ml2 puppet_tags: neutron_plugin_ml2
step_config: | step_config: |
include ::tripleo::profile::base::neutron::plugins::ml2 include ::tripleo::profile::base::neutron::plugins::ml2
config_image: {get_param: DockerNeutronConfigImage} config_image: {get_param: ContainerNeutronConfigImage}
kolla_config: {} kolla_config: {}
docker_config: {} docker_config: {}

View File

@ -19,7 +19,7 @@ parameters:
via parameter_defaults in the resource registry. This via parameter_defaults in the resource registry. This
mapping overrides those in ServiceNetMapDefaults. mapping overrides those in ServiceNetMapDefaults.
type: json type: json
DockerNeutronConfigImage: ContainerNeutronConfigImage:
description: The container image to use for the neutron config_volume description: The container image to use for the neutron config_volume
type: string type: string
DefaultPasswords: DefaultPasswords:
@ -95,6 +95,6 @@ outputs:
puppet_tags: neutron_plugin_ml2 puppet_tags: neutron_plugin_ml2
step_config: | step_config: |
include ::tripleo::profile::base::neutron::plugins::ml2 include ::tripleo::profile::base::neutron::plugins::ml2
config_image: {get_param: DockerNeutronConfigImage} config_image: {get_param: ContainerNeutronConfigImage}
kolla_config: {} kolla_config: {}
docker_config: {} docker_config: {}

View File

@ -19,7 +19,7 @@ parameters:
via parameter_defaults in the resource registry. This via parameter_defaults in the resource registry. This
mapping overrides those in ServiceNetMapDefaults. mapping overrides those in ServiceNetMapDefaults.
type: json type: json
DockerNeutronConfigImage: ContainerNeutronConfigImage:
description: The container image to use for the neutron config_volume description: The container image to use for the neutron config_volume
type: string type: string
DefaultPasswords: DefaultPasswords:
@ -66,7 +66,7 @@ outputs:
puppet_tags: {get_param: NeutronPluginMl2PuppetTags} puppet_tags: {get_param: NeutronPluginMl2PuppetTags}
step_config: step_config:
get_attr: [NeutronBase, role_data, step_config] get_attr: [NeutronBase, role_data, step_config]
config_image: {get_param: DockerNeutronConfigImage} config_image: {get_param: ContainerNeutronConfigImage}
kolla_config: {} kolla_config: {}
docker_config: {} docker_config: {}
host_prep_tasks: [] host_prep_tasks: []

View File

@ -31,7 +31,7 @@ parameters:
Mapping of service endpoint -> protocol. Typically set Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry. via parameter_defaults in the resource registry.
type: json type: json
DockerNeutronConfigImage: ContainerNeutronConfigImage:
description: The container image to use for the neutron config_volume description: The container image to use for the neutron config_volume
type: string type: string
MlnxSDNUsername: MlnxSDNUsername:
@ -80,6 +80,6 @@ outputs:
puppet_tags: neutron_plugin_ml2 puppet_tags: neutron_plugin_ml2
step_config: | step_config: |
include ::tripleo::profile::base::neutron::plugins::ml2 include ::tripleo::profile::base::neutron::plugins::ml2
config_image: {get_param: DockerNeutronConfigImage} config_image: {get_param: ContainerNeutronConfigImage}
kolla_config: {} kolla_config: {}
docker_config: {} docker_config: {}

View File

@ -19,7 +19,7 @@ parameters:
via parameter_defaults in the resource registry. This via parameter_defaults in the resource registry. This
mapping overrides those in ServiceNetMapDefaults. mapping overrides those in ServiceNetMapDefaults.
type: json type: json
DockerNeutronConfigImage: ContainerNeutronConfigImage:
description: The container image to use for the neutron config_volume description: The container image to use for the neutron config_volume
type: string type: string
DefaultPasswords: DefaultPasswords:
@ -106,6 +106,6 @@ outputs:
step_config: step_config:
get_attr: | get_attr: |
include tripleo::profile::base::neutron::plugins::nsx include tripleo::profile::base::neutron::plugins::nsx
config_image: {get_param: DockerNeutronConfigImage} config_image: {get_param: ContainerNeutronConfigImage}
kolla_config: {} kolla_config: {}
docker_config: {} docker_config: {}

Some files were not shown because too many files have changed in this diff Show More