Merge "Fix rsyslog issues" into stable/train

This commit is contained in:
Zuul 2020-01-15 02:51:31 +00:00 committed by Gerrit Code Review
commit fc8131ca1e
9 changed files with 11 additions and 46 deletions

View File

@ -87,11 +87,6 @@ parameters:
MonitoringSubscriptionGnocchiApi:
default: 'overcloud-gnocchi-api'
type: string
GnocchiApiLoggingSource:
type: json
default:
tag: openstack.gnocchi.api
path: /var/log/gnocchi/app.log
EnableInternalTLS:
type: boolean
default: false

View File

@ -15,7 +15,7 @@ parameters:
type: json
default:
tag: openstack.heat.api.cfn
path: /var/log/containers/heat/heat_api_cfn.log
file: /var/log/containers/heat/heat_api_cfn.log
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set

View File

@ -128,31 +128,6 @@ parameters:
default:
tag: openstack.keystone
file: /var/log/containers/keystone/keystone.log
KeystoneErrorLoggingSource:
type: json
default:
tag: openstack.keystone.error
file: /var/log/containers/httpd/keystone/error_log
KeystoneAdminAccessLoggingSource:
type: json
default:
tag: openstack.keystone.admin.access
file: /var/log/containers/httpd/keystone/keystone_wsgi_admin_access.log
KeystoneAdminErrorLoggingSource:
type: json
default:
tag: openstack.keystone.admin.error
file: /var/log/containers/httpd/keystone/keystone_wsgi_admin_error.log
KeystoneMainAcccessLoggingSource:
type: json
default:
tag: openstack.keystone.main.access
file: /var/log/containers/httpd/keystone/keystone_wsgi_main_access.log
KeystoneMainErrorLoggingSource:
type: json
default:
tag: openstack.keystone.wsgi.main.error
file: /var/log/containers/httpd/keystone/keystone_wsgi_main_error.log
KeystonePolicies:
description: |
A hash of policies to configure for Keystone.
@ -552,13 +527,7 @@ outputs:
- get_attr: [KeystoneLogging, config_settings]
service_config_settings:
rsyslog:
tripleo_logging_sources_keystone:
- {get_param: KeystoneLoggingSource}
- {get_param: KeystoneErrorLoggingSource}
- {get_param: KeystoneAdminAccessLoggingSource}
- {get_param: KeystoneAdminErrorLoggingSource}
- {get_param: KeystoneMainAcccessLoggingSource}
- {get_param: KeystoneMainErrorLoggingSource}
tripleo_logging_sources_keystone: {get_param: KeystoneLoggingSource}
mysql:
keystone::db::mysql::password: {get_param: AdminToken}
keystone::db::mysql::user: keystone

View File

@ -166,8 +166,8 @@ outputs:
- {get_param: RsyslogElasticsearchSetting}
- template: rsyslog-record
searchIndex: rsyslog-node-index
dynSearchIndex: on
errorfile: '/var/log/rsyslog-omelasticsearch.log'
dynSearchIndex: "on"
errorfile: '/var/log/rsyslog/omelasticsearch.log'
- if:
- use_tls
- tripleo::profile::base::logging::rsyslog::elasticsearch_tls_ca_cert: {get_param: RsyslogElasticsearchTlsCACert}
@ -212,6 +212,7 @@ outputs:
- /var/lib/config-data/puppet-generated/rsyslog/:/var/lib/kolla/config_files/src:ro
- /var/log/containers:/var/log/containers:ro
- /var/log/containers/rsyslog:/var/log/rsyslog:rw,z
- /var/log:/var/log/host:ro
- /var/lib/rsyslog.container:/var/lib/rsyslog:rw,z
environment:
KOLLA_CONFIG_STRATEGY: COPY_ALWAYS

View File

@ -71,7 +71,7 @@ parameters:
type: json
default:
tag: openstack.neutron.agent.l2gw
path: /var/log/neutron/l2gw-agent.log
file: /var/log/neutron/l2gw-agent.log
conditions:
service_debug_unset: {equals: [{get_param: NeutronL2gwAgentDebug}, '']}

View File

@ -14,7 +14,7 @@ parameters:
type: json
default:
tag: openstack.nova.api.metadata
file: /var/log/containers/nova/nova-api-metadata.log
file: /var/log/containers/nova/nova-metadata-api.log
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set

View File

@ -14,7 +14,7 @@ parameters:
type: json
default:
tag: openstack.nova.vncproxy
file: /var/log/containers/nova/nova-vncproxy.log
file: /var/log/containers/nova/nova-novncproxy.log
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set

View File

@ -14,7 +14,7 @@ parameters:
type: json
default:
tag: openstack.neutron.agent.ovn-metadata
path: /var/log/containers/neutron/networking-ovn-metadata-agent.log
file: /var/log/containers/neutron/networking-ovn-metadata-agent.log
OVNEnableHaproxyDockerWrapper:
description: Generate a wrapper script so that haproxy is launched in a separate container.
type: boolean

View File

@ -95,8 +95,8 @@ parameters:
type: json
default:
tag: system.pacemaker
file: /var/log/pacemaker.log,/var/log/cluster/corosync.log
startmsg.regex: ^[^ ]*\s*[^ ]* [^ ]* \[[^ ]*\] [^ ]*
file: /var/log/host/pacemaker.log
startmsg.regex: "^[a-zA-Z]{3} [0-9]{2} [:0-9]{8}"
UpgradeLeappEnabled:
description: Use Leapp for operating system upgrade
type: boolean