Description of problem: Fixes syslog handler issue which is causing problems with Neutron services in Openstack Liberty. Upstream has already fixed that in oslo.log and we would like to have this fix in Redhat package: https://bugs.launchpad.net/oslo.log/+bug/1499620 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: Reproduced it in Liberty 1. In /etc/neutron/neutron.conf, set use_syslog=True 2. Restart neutron server and you will see the following stack Trace Identifier "syslog" is unintendedly reassigned in _setup_logging_from_conf() with OSSysLogHandler in oslo_log/log.py. It causes an error in _find_facility() which expects "syslog" as module. Actual results: oslo.log crashes Expected results: neutron server should be running fine with syslog enabled Additional info:
This was reproduced using RHELOSP8 Beta8 The fix for this issue has merged into stable/liberty branch of oslo.log (https://review.openstack.org/#/c/235954/) and is also available in the 1.12 release of oslo.log. The request here is to backport this fix, without which neutron breaks when using syslog, into the version of oslo.log shipping with RHELOSP8 Thanks
Tested on Liberty ( python-oslo-log-1.11.0-2.el7ost.noarch ) Reproduction steps: 1. In /etc/neutron/neutron.conf, set use_syslog=True 2. Restarted the neutron server the log "Identifier "syslog" is unintended..." was not found in the log after neutron server restart with use_syslog=True configured.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0636.html
Created attachment 1151625 [details] script which reproduces the issue with syslog handler