← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1431588] Re: On Kilo 2015.1.0b2-1, Keystone server started OK but ran into error

 

The error indicates that an older version of keystone-paste.ini  was
used.  "XmlBody" have been removed in Kilo:
https://github.com/openstack/keystone/commit/4fdaab3b975f3c5f9ada7cd8e0621628fee38b70
#diff-85480cb91add9d148c9c660cd1220cc0

After the suggested patch was applied
(https://review.openstack.org/#/c/161859/ ) the issue was resolved since
this update keystone-paste.ini to reflect the latest version.

Marking as Invalid, feel free to re-open if you think otherwise.

** Changed in: keystone
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1431588

Title:
  On Kilo 2015.1.0b2-1, Keystone server started OK but ran into error

Status in OpenStack Identity (Keystone):
  Invalid

Bug description:
  Following error was logged in keystone.log

  2015-03-12 22:17:37    ERROR [keystone.common.wsgi] 'XmlBodyMiddlewareV2' object has no attribute 'application'
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/keystone/common/wsgi.py", line 443, in __call__
      response = request.get_response(self.application)
  AttributeError: 'XmlBodyMiddlewareV2' object has no attribute 'application'
  /usr/lib/python2.7/site-packages/keystone/common/wsgi.py





  
  The keystone.conf has following content.

  [root@stack71 ~]# cat /etc/keystone/keystone.conf
  [DEFAULT]
  #admin_token = 
  public_port = 5001
  admin_port = 35358
  tcp_keepalive = True
  tcp_keepidle = 180
  log_file = /var/log/keystone/keystone.log
  log_dir = /var/log/keystone
  log_format = %(asctime)s %(levelname)8s [%(name)s] %(message)s
  log_date_format = %Y-%m-%d %H:%M:%S
  admin_token = <token>
  [sql]
  connection = mysql://keystone:<passwd>@10.0.0.19/keystone
  [identity]
  [credential]
  [trust]
  [os_inherit]
  [catalog]
  [endpoint_filter]
  [token]
  #driver = keystone.token.backends.sql.Token
  provider = keystone.token.providers.pki.Provider
  expiration = 3600
  [cache]
  [policy]
  [ec2]
  [assignment]
  [oauth1]
  [ssl]
  enable = true
  certfile = /etc/keystone/ssl/certs/server01.crt
  keyfile = /etc/keystone/ssl/private/server01.key
  ca_certs = /etc/keystone/ssl/certs/ca.crt
  ca_key = /etc/keystone/ssl/private/ca.key
  cert_required = False
  [signing]
  [ldap]
  [auth]
  methods = external,password,token,oauth1
  password = keystone.auth.plugins.password.Password
  token = keystone.auth.plugins.token.Token
  oauth1 = keystone.auth.plugins.oauth1.OAuth
  [paste_deploy]
  config_file=keystone-paste.ini

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1431588/+subscriptions


References