Merge "Added all keystone log files to fluentd"

This commit is contained in:
Zuul 2018-11-09 06:42:08 +00:00 committed by Gerrit Code Review
commit 90d022a129
3 changed files with 65 additions and 0 deletions

View File

@ -15,6 +15,31 @@ parameters:
default: default:
tag: openstack.keystone tag: openstack.keystone
path: /var/log/containers/keystone/keystone.log path: /var/log/containers/keystone/keystone.log
KeystoneErrorLoggingSource:
type: json
default:
tag: openstack.keystone.error
path: /var/log/containers/httpd/keystone/error_log
KeystoneAdminAccessLoggingSource:
type: json
default:
tag: openstack.keystone.admin.access
path: /var/log/containers/httpd/keystone/keystone_wsgi_admin_access.log
KeystoneAdminErrorLoggingSource:
type: json
default:
tag: openstack.keystone.admin.error
path: /var/log/containers/httpd/keystone/keystone_wsgi_admin_error.log
KeystoneMainAcccessLoggingSource:
type: json
default:
tag: openstack.keystone.main.access
path: /var/log/containers/httpd/keystone/keystone_wsgi_main_access.log
KeystoneMainErrorLoggingSource:
type: json
default:
tag: openstack.keystone.wsgi.main.error
path: /var/log/containers/httpd/keystone/keystone_wsgi_main_error.log
EndpointMap: EndpointMap:
default: {} default: {}
description: Mapping of service endpoint -> protocol. Typically set description: Mapping of service endpoint -> protocol. Typically set
@ -102,6 +127,11 @@ outputs:
- keystone - keystone
tripleo_fluentd_sources_keystone: tripleo_fluentd_sources_keystone:
- {get_param: KeystoneLoggingSource} - {get_param: KeystoneLoggingSource}
- {get_param: KeystoneErrorLoggingSource}
- {get_param: KeystoneAdminAccessLoggingSource}
- {get_param: KeystoneAdminErrorLoggingSource}
- {get_param: KeystoneMainAcccessLoggingSource}
- {get_param: KeystoneMainErrorLoggingSource}
# BEGIN DOCKER SETTINGS # BEGIN DOCKER SETTINGS
puppet_config: puppet_config:
config_volume: keystone config_volume: keystone

View File

@ -154,6 +154,31 @@ parameters:
default: default:
tag: openstack.keystone tag: openstack.keystone
path: /var/log/keystone/keystone.log path: /var/log/keystone/keystone.log
KeystoneErrorLoggingSource:
type: json
default:
tag: openstack.keystone.error
path: /var/log/httpd/keystone/error_log
KeystoneAdminAccessLoggingSource:
type: json
default:
tag: openstack.keystone.admin.access
path: /var/log/httpd/keystone/keystone_wsgi_admin_access.log
KeystoneAdminErrorLoggingSource:
type: json
default:
tag: openstack.keystone.admin.error
path: /var/log/httpd/keystone/keystone_wsgi_admin_error.log
KeystoneMainAcccessLoggingSource:
type: json
default:
tag: openstack.keystone.main.access
path: /var/log/httpd/keystone/keystone_wsgi_main_access.log
KeystoneMainErrorLoggingSource:
type: json
default:
tag: openstack.keystone.wsgi.main.error
path: /var/log/httpd/keystone/keystone_wsgi_main_error.log
EnableInternalTLS: EnableInternalTLS:
type: boolean type: boolean
default: false default: false
@ -530,6 +555,11 @@ outputs:
- keystone - keystone
tripleo_fluentd_sources_keystone: tripleo_fluentd_sources_keystone:
- {get_param: KeystoneLoggingSource} - {get_param: KeystoneLoggingSource}
- {get_param: KeystoneErrorLoggingSource}
- {get_param: KeystoneAdminAccessLoggingSource}
- {get_param: KeystoneAdminErrorLoggingSource}
- {get_param: KeystoneMainAcccessLoggingSource}
- {get_param: KeystoneMainErrorLoggingSource}
mysql: mysql:
keystone::db::mysql::password: {get_param: AdminToken} keystone::db::mysql::password: {get_param: AdminToken}
keystone::db::mysql::user: keystone keystone::db::mysql::user: keystone

View File

@ -125,6 +125,11 @@ PARAMETER_DEFINITION_EXCLUSIONS = {'CephPools': ['description',
'HeatApiLoggingSource': ['default'], 'HeatApiLoggingSource': ['default'],
'HeatEngineLoggingSource': ['default'], 'HeatEngineLoggingSource': ['default'],
'KeystoneLoggingSource': ['default'], 'KeystoneLoggingSource': ['default'],
'KeystoneErrorLoggingSource': ['default'],
'KeystoneAdminAccessLoggingSource': ['default'],
'KeystoneAdminErrorLoggingSource': ['default'],
'KeystoneMainAcccessLoggingSource': ['default'],
'KeystoneMainErrorLoggingSource': ['default'],
'MongoDbLoggingSource': ['default'], 'MongoDbLoggingSource': ['default'],
'NeutronApiLoggingSource': ['default'], 'NeutronApiLoggingSource': ['default'],
'NeutronDhcpAgentLoggingSource': ['default'], 'NeutronDhcpAgentLoggingSource': ['default'],