| Summary: | oslo.log: Unintended assignment of "syslog" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | kahou <kalei> | ||||
| Component: | python-oslo-log | Assignee: | Victor Stinner <vstinner> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Alexander Stafeyev <astafeye> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 8.0 (Liberty) | CC: | apevec, charcrou, chhudson, fdinitto, jschluet, lhh, mburns, sgotliv, skulkarn, tfreger | ||||
| Target Milestone: | ga | Keywords: | ZStream | ||||
| Target Release: | 8.0 (Liberty) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | python-oslo-log-1.11.0-2.el7ost | Doc Type: | Bug Fix | ||||
| Doc Text: |
Cause:
The bug impacts OpenStack services (like neutron) configured to use syslog (use_syslog=True). An identifier (syslog) is unintendedly reassigned in the oslo.log code.
Consequence:
oslo.log crashes and fails to log messages from OpenStack services. Errors are logged in the service logs (ex: /var/log/neutron/neutron-server.log).
Fix:
Use a different identifier to not reassign the "syslog" name in the code.
Result:
oslo.log now logs correclty messages of OpenStack services configured to use syslog.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-04-15 13:47:56 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1194008 | ||||||
| Attachments: |
|
||||||
|
Description
kahou
2016-03-30 17:20:50 UTC
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
|