diff --git a/docker/services/keystone.yaml b/docker/services/keystone.yaml index 28e93b0563..88389aef70 100644 --- a/docker/services/keystone.yaml +++ b/docker/services/keystone.yaml @@ -15,6 +15,31 @@ parameters: default: tag: openstack.keystone 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: default: {} description: Mapping of service endpoint -> protocol. Typically set @@ -102,6 +127,11 @@ outputs: - keystone tripleo_fluentd_sources_keystone: - {get_param: KeystoneLoggingSource} + - {get_param: KeystoneErrorLoggingSource} + - {get_param: KeystoneAdminAccessLoggingSource} + - {get_param: KeystoneAdminErrorLoggingSource} + - {get_param: KeystoneMainAcccessLoggingSource} + - {get_param: KeystoneMainErrorLoggingSource} # BEGIN DOCKER SETTINGS puppet_config: config_volume: keystone diff --git a/puppet/services/keystone.yaml b/puppet/services/keystone.yaml index ace2487b74..d655012a4c 100644 --- a/puppet/services/keystone.yaml +++ b/puppet/services/keystone.yaml @@ -154,6 +154,31 @@ parameters: default: tag: openstack.keystone 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: type: boolean default: false @@ -530,6 +555,11 @@ outputs: - keystone tripleo_fluentd_sources_keystone: - {get_param: KeystoneLoggingSource} + - {get_param: KeystoneErrorLoggingSource} + - {get_param: KeystoneAdminAccessLoggingSource} + - {get_param: KeystoneAdminErrorLoggingSource} + - {get_param: KeystoneMainAcccessLoggingSource} + - {get_param: KeystoneMainErrorLoggingSource} mysql: keystone::db::mysql::password: {get_param: AdminToken} keystone::db::mysql::user: keystone diff --git a/tools/yaml-validate.py b/tools/yaml-validate.py index 7b8352c6b8..25bb71a22d 100755 --- a/tools/yaml-validate.py +++ b/tools/yaml-validate.py @@ -125,6 +125,11 @@ PARAMETER_DEFINITION_EXCLUSIONS = {'CephPools': ['description', 'HeatApiLoggingSource': ['default'], 'HeatEngineLoggingSource': ['default'], 'KeystoneLoggingSource': ['default'], + 'KeystoneErrorLoggingSource': ['default'], + 'KeystoneAdminAccessLoggingSource': ['default'], + 'KeystoneAdminErrorLoggingSource': ['default'], + 'KeystoneMainAcccessLoggingSource': ['default'], + 'KeystoneMainErrorLoggingSource': ['default'], 'MongoDbLoggingSource': ['default'], 'NeutronApiLoggingSource': ['default'], 'NeutronDhcpAgentLoggingSource': ['default'],