← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
         Status: New

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

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

Status in OpenStack Compute (Nova):
  New

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/nova/+bug/1431588/+subscriptions


Follow ups

References