Enable keystone db sync to log to stdout
This tells the db sync to use stdout instead of a specific log file when stdout logging is enabled bp logging-stdout-rsyslog Depends-On: Id9e8c641a6b00725d2f5c9623b05854a1b4e2af2 Change-Id: I25d15aac6adfab1dfd11d558404930736aace977
This commit is contained in:
parent
ea2952d502
commit
543f8463e6
|
@ -150,8 +150,10 @@ outputs:
|
|||
- /etc/pki/tls/private/httpd:/etc/pki/tls/private/httpd:ro
|
||||
- ''
|
||||
environment:
|
||||
- KOLLA_BOOTSTRAP=True
|
||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||
list_concat:
|
||||
- - KOLLA_BOOTSTRAP=True
|
||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||
- {get_attr: [KeystoneLogging, environment]}
|
||||
command: ['/usr/bin/bootstrap_host_exec', 'keystone', '/usr/local/bin/kolla_start']
|
||||
keystone:
|
||||
start_order: 2
|
||||
|
|
|
@ -27,6 +27,9 @@ outputs:
|
|||
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:
|
||||
|
|
|
@ -51,6 +51,10 @@ outputs:
|
|||
command: ['/bin/bash', '-c', 'mkdir -p /var/log/keystone && rm -f /var/log/keystone/keystone.log && mkfifo /var/log/keystone/keystone.log && while true; do cat /var/log/keystone/keystone.log; done']
|
||||
volumes:
|
||||
- KeystoneLogs:/var/log/
|
||||
environment:
|
||||
description: Extra environment variables needed for the service to log to stdout.
|
||||
value:
|
||||
- EXTRA_KEYSTONE_MANAGE_ARGS=--log-dir= --log-file=
|
||||
volumes:
|
||||
description: The volumes needed to log to stdout or a sidecar container.
|
||||
value:
|
||||
|
|
Loading…
Reference in New Issue