Merge "Move keystone init log container to files logging template"
This commit is contained in:
commit
a0991433fa
@ -124,16 +124,7 @@ outputs:
|
|||||||
docker_config:
|
docker_config:
|
||||||
# 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:
|
||||||
map_merge:
|
get_attr: [KeystoneLogging, docker_config, step_2]
|
||||||
-
|
|
||||||
keystone_init_log:
|
|
||||||
start_order: 1
|
|
||||||
image: {get_param: DockerKeystoneImage}
|
|
||||||
user: root
|
|
||||||
command: ['/bin/bash', '-c', 'chown -R keystone:keystone /var/log/keystone']
|
|
||||||
volumes:
|
|
||||||
get_attr: [KeystoneLogging, volumes]
|
|
||||||
- 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: DockerKeystoneImage}
|
||||||
|
@ -12,14 +12,21 @@ outputs:
|
|||||||
config_settings:
|
config_settings:
|
||||||
description: Extra hieradata needed to log to files in the host.
|
description: Extra hieradata needed to log to files in the host.
|
||||||
value: null
|
value: null
|
||||||
docker_config:
|
|
||||||
description: Extra containers needed for logging to files in the host.
|
|
||||||
value: {}
|
|
||||||
volumes:
|
volumes:
|
||||||
description: The volumes needed to log to files in the host.
|
description: The volumes needed to log to files in the host.
|
||||||
value:
|
value: &keystone_volumes
|
||||||
- /var/log/containers/keystone:/var/log/keystone
|
- /var/log/containers/keystone:/var/log/keystone
|
||||||
- /var/log/containers/httpd/keystone:/var/log/httpd
|
- /var/log/containers/httpd/keystone:/var/log/httpd
|
||||||
|
docker_config:
|
||||||
|
description: Extra containers needed for logging to files in the host.
|
||||||
|
value:
|
||||||
|
step_2:
|
||||||
|
keystone_init_log:
|
||||||
|
start_order: 1
|
||||||
|
image: {get_param: DockerKeystoneImage}
|
||||||
|
user: root
|
||||||
|
command: ['/bin/bash', '-c', 'chown -R keystone:keystone /var/log/keystone']
|
||||||
|
volumes: *keystone_volumes
|
||||||
host_prep_tasks:
|
host_prep_tasks:
|
||||||
description: Extra ansible tasks needed for logging to files in the host.
|
description: Extra ansible tasks needed for logging to files in the host.
|
||||||
value:
|
value:
|
||||||
|
Loading…
Reference in New Issue
Block a user