← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1385295] [NEW] use_syslog=True does not log to syslog via /dev/log anymore

 

You have been subscribed to a public bug:

python-oslo.log SRU:
[Impact]

 * Nova services not able to write log to syslog

[Test Case]

 * 1. Set use_syslog to True in nova.conf/cinder.conf
   2. stop rsyslog service
   3. restart nova/cinder services
   4. restart rsyslog service
   5. Log is not written to syslog after rsyslog is brought up.

[Regression Potential]

 * none


Reproduced on:
https://github.com/openstack-dev/devstack 514c82030cf04da742d16582a23cc64962fdbda1
/opt/stack/keystone/keystone.egg-info/PKG-INFO:Version: 2015.1.dev95.g20173b1
/opt/stack/heat/heat.egg-info/PKG-INFO:Version: 2015.1.dev213.g8354c98
/opt/stack/glance/glance.egg-info/PKG-INFO:Version: 2015.1.dev88.g6bedcea
/opt/stack/cinder/cinder.egg-info/PKG-INFO:Version: 2015.1.dev110.gc105259

How to reproduce:
Set
 use_syslog=True
 syslog_log_facility=LOG_SYSLOG
for Openstack config files and restart processes inside their screens

Expected:
Openstack logs logged to syslog as well

Actual:
Nothing goes to syslog

** Affects: oslo.log
     Importance: High
     Assignee: John Stanford (jxstanford)
         Status: Fix Released

** Affects: cinder (Ubuntu)
     Importance: Medium
         Status: Invalid

** Affects: nova
     Importance: Medium
         Status: Invalid

** Affects: python-oslo.log (Ubuntu)
     Importance: High
     Assignee: Liang Chen (cbjchen)
         Status: In Progress


** Tags: in-stable-kilo patch
-- 
use_syslog=True does not log to syslog via /dev/log anymore
https://bugs.launchpad.net/bugs/1385295
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova).