Public bug reported: Starting neutron-server with syslog on causes the following exception:
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: Seems the bug is in oslo-log, and it is fixed upstream: https://github.com/openstack/oslo.log/commit/69e0ba3d75f0fa6411e9f3e8344049a625979fd8 The global syslog object was overwritten unintentionally, and if the logging is initialized more than once, then the _find_facility function blows up. The version with the bug: python-oslo.log 1.11.0-1~cloud0 ** Affects: python-oslo.log (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to python-oslo.log in Ubuntu. https://bugs.launchpad.net/bugs/1520543 Title: syslog logging is broken in neutron-server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-oslo.log/+bug/1520543/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs