Logging Added nova-metadata log file

The log file for nova-metadata service is not configured for fluentd.
This patch adds the configuration

Change-Id: Idb174705f39ea91062f0a9c06c101a3f1a3ae73a
This commit is contained in:
Juan Badia Payno 2018-04-13 14:13:00 +02:00
parent 83fdc0b30b
commit 7390124885
1 changed files with 11 additions and 0 deletions

View File

@ -37,6 +37,11 @@ parameters:
EnableInternalTLS:
type: boolean
default: false
NovaMetadataLoggingSource:
type: json
default:
tag: openstack.nova.api.metadata
path: /var/log/nova/nova-api-metadata.log
conditions:
nova_workers_zero: {equals : [{get_param: NovaWorkers}, 0]}
@ -93,5 +98,11 @@ outputs:
$NETWORK: {get_param: [ServiceNetMap, NovaMetadataNetwork]}
- {}
step_config: ""
service_config_settings:
fluentd:
tripleo_fluentd_groups_nova_metadata:
- nova
tripleo_fluentd_sources_nova_metadata:
- {get_param: NovaMetadataLoggingSource}
metadata_settings:
get_attr: [TLSProxyBase, role_data, metadata_settings]