Keystone component fails when enabling use_syslog_rfc_format in keystone.conf

Solution In Progress - Updated -

Issue

  • Keystone will fail to start when enabling syslog format for logging in /etc/keystone/keystone.conf

  • The following error message will be thrown in /var/log/keystone/keystone.log

Traceback (most recent call last):
  File "/usr/bin/keystone-all", line 107, in <module>
    config.setup_logging()
  File "/usr/lib/python2.6/site-packages/keystone/config.py", line 56, in setup_logging
    log.setup('keystone')
  File "/usr/lib/python2.6/site-packages/keystone/openstack/common/log.py", line 461, in setup
    _setup_logging_from_conf(product_name, version)
  File "/usr/lib/python2.6/site-packages/keystone/openstack/common/log.py", line 517, in _setup_logging_from_conf
    facility=facility)
  File "/usr/lib/python2.6/site-packages/keystone/openstack/common/log.py", line 498, in __init__
    super(RFCSysLogHandler, self).__init__(*args, **kwargs)
TypeError: super() argument 1 must be type, not classobj
  • The following parameter are set in /etc/keystone/keystone.conf
use_syslog=true
use_syslog_rfc_format=true
syslog_log_facility=LOG_USER

Environment

  • Red Hat OpenStack 5.0 (RHOS)
  • Red Hat Enterprise Linux 6.0 (RHEL)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content