Unintended assignment of "syslog"

Bug #1510844 reported by Ivan Berezovskiy
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Critical
Ivan Berezovskiy

Bug Description

Upstream bug: https://bugs.launchpad.net/oslo.log/+bug/1499620

We've faced this bug on our BVT: https://product-ci.infra.mirantis.net/job/8.0.all/84/downstreambuildview/
Problem is here that neutron-server service can't start because of following error:

Traceback (most recent call last):
  File "/usr/bin/neutron-server", line 10, in <module>
    sys.exit(main_wsgi_eventlet())
  File "/usr/lib/python2.7/dist-packages/neutron/cmd/eventlet/server/__init__.py", line 19, in main_wsgi_eventlet
    wsgi_eventlet.main()
  File "/usr/lib/python2.7/dist-packages/neutron/server/wsgi_eventlet.py", line 51, in main
    server.boot_server(_eventlet_wsgi_server)
  File "/usr/lib/python2.7/dist-packages/neutron/server/__init__.py", line 35, in boot_server
    server_func()
  File "/usr/lib/python2.7/dist-packages/neutron/server/wsgi_eventlet.py", line 28, in _eventlet_wsgi_server
    neutron_api = service.serve_wsgi(service.NeutronApiService)
  File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 106, in serve_wsgi
    LOG.exception(_LE('Unrecoverable error: please check log '
  File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 195, in __exit__
    six.reraise(self.type_, self.value, self.tb)
  File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 102, in serve_wsgi
    service = cls.create()
  File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 94, in create
    config.setup_logging()
  File "/usr/lib/python2.7/dist-packages/neutron/common/config.py", line 214, in setup_logging
    logging.setup(cfg.CONF, product_name)
  File "/usr/lib/python2.7/dist-packages/oslo_log/log.py", line 246, in setup
    _setup_logging_from_conf(conf, product_name, version)
  File "/usr/lib/python2.7/dist-packages/oslo_log/log.py", line 337, in _setup_logging_from_conf
    facility = _find_facility(conf.syslog_log_facility)
  File "/usr/lib/python2.7/dist-packages/oslo_log/log.py", line 302, in _find_facility
    for fac in valid_facilities))
TypeError: syslog facility must be one of:

We need to backport fix for upstream oslo.log bug: https://bugs.launchpad.net/oslo.log/+bug/1499620
Patch for this bug is https://review.openstack.org/#/c/235954/1

Tags: area-oslo
Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

Upstream patch should come from upstream with merge commit: https://review.fuel-infra.org/#/c/13228/

Changed in mos:
status: Confirmed → In Progress
Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :
Changed in mos:
status: In Progress → Fix Committed
no longer affects: mos/7.0.x
no longer affects: mos/7.0.x
tags: added: area-oslo
Revision history for this message
Aleksei Stepanov (penguinolog) wrote :

Not reproduced on fuel-8.0-518-2016-02-03_07-53-27.iso

Changed in mos:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.