5139180f3f
This revert to re-enable using tripleo_keystone depends on the patch to
tripleo_keystone and tripleo_container_standalone that fixes the
concatenation of volumes when internal tls is enabled.
This reverts commit aa1ad7a5df
.
Related-Bug: #1973863
Depends-On: I84c8c15e9e5adbc3798edf0e4ca7717527d0de47
Change-Id: I57dc45ba87a09a65cca4c735c7900bfe554be67d
60 lines
1.7 KiB
YAML
60 lines
1.7 KiB
YAML
heat_template_version: wallaby
|
|
|
|
description: >
|
|
OpenStack containerized Keystone service
|
|
|
|
parameters:
|
|
RoleParameters:
|
|
default: {}
|
|
description: Parameters specific to the role
|
|
type: json
|
|
ContainerKeystoneImage:
|
|
description: image
|
|
type: string
|
|
tags:
|
|
- role_specific
|
|
|
|
resources:
|
|
|
|
RoleParametersValue:
|
|
type: OS::Heat::Value
|
|
properties:
|
|
type: json
|
|
value:
|
|
map_replace:
|
|
- map_replace:
|
|
- ContainerKeystoneImage: ContainerKeystoneImage
|
|
- values: {get_param: [RoleParameters]}
|
|
- values:
|
|
ContainerKeystoneImage: {get_param: ContainerKeystoneImage}
|
|
|
|
outputs:
|
|
config_settings:
|
|
description: Extra hieradata needed to log to files in the host.
|
|
value: null
|
|
volumes:
|
|
description: The volumes needed to log to files in the host.
|
|
value: &keystone_volumes
|
|
- /var/log/containers/keystone:/var/log/keystone:z
|
|
- /var/log/containers/httpd/keystone:/var/log/httpd:z
|
|
docker_config:
|
|
description: Extra containers needed for logging to files in the host.
|
|
value:
|
|
step_2:
|
|
keystone_init_log:
|
|
start_order: 1
|
|
image: {get_attr: [RoleParametersValue, value, ContainerKeystoneImage]}
|
|
net: none
|
|
user: root
|
|
command: ['/bin/bash', '-c', 'chown -R keystone:keystone /var/log/keystone']
|
|
volumes: *keystone_volumes
|
|
environment:
|
|
description: Extra environment variables needed for the service to log to files.
|
|
value: null
|
|
host_prep_tasks:
|
|
description: Extra ansible tasks needed for logging to files in the host.
|
|
value:
|
|
- include_role:
|
|
name: tripleo_keystone
|
|
tasks_from: keystone-logging-install.yaml
|