← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1636607] [NEW] Authenticating with user 'admin' from the UI fails - Error in keystone.log

 

Public bug reported:

I am setting up OpenStack Mitaka on Ubuntu 14.04 server by following :
http://docs.openstack.org/mitaka/install-guide-ubuntu/

Once I install the dashboard, when I try to login using the 'admin'
account, it gives me the following error on the UI 'An error occurred
authenticating. Please try again later.'

On further investigation, I see the following error in
/var/log/apache2/keystone.log

If you notice the last line, it is referring to 'build_auth_contet' in
keystone-paste.ini which might be a typo for build_auth_context


2016-10-25 12:11:24.768822 2016-10-25 12:11:24.768 30696 WARNING keystone.assignment.core [-] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
2016-10-25 12:11:24.887918 mod_wsgi (pid=30696): Target WSGI script '/usr/bin/keystone-wsgi-public' cannot be loaded as Python module.
2016-10-25 12:11:24.887945 mod_wsgi (pid=30696): Exception occurred processing WSGI script '/usr/bin/keystone-wsgi-public'.
2016-10-25 12:11:24.887979 Traceback (most recent call last):
2016-10-25 12:11:24.887995   File "/usr/bin/keystone-wsgi-public", line 36, in <module>
2016-10-25 12:11:24.888020     application = initialize_public_application()
2016-10-25 12:11:24.888033   File "/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 62, in initialize_public_application
2016-10-25 12:11:24.888062     return initialize_application('main')
2016-10-25 12:11:24.888071   File "/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 53, in initialize_application
2016-10-25 12:11:24.888083     startup_application_fn=loadapp)
2016-10-25 12:11:24.888092   File "/usr/lib/python2.7/dist-packages/keystone/server/common.py", line 51, in setup_backends
2016-10-25 12:11:24.888118     res = startup_application_fn()
2016-10-25 12:11:24.888126   File "/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 50, in loadapp
2016-10-25 12:11:24.888139     'config:%s' % config.find_paste_config(), name)
2016-10-25 12:11:24.888147   File "/usr/lib/python2.7/dist-packages/keystone/version/service.py", line 53, in loadapp
2016-10-25 12:11:24.888252     controllers.latest_app = deploy.loadapp(conf, name=name)
2016-10-25 12:11:24.888267   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2016-10-25 12:11:24.888448     return loadobj(APP, uri, name=name, **kw)
2016-10-25 12:11:24.888461   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2016-10-25 12:11:24.888475     return context.create()
2016-10-25 12:11:24.888484   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-10-25 12:11:24.888498     return self.object_type.invoke(self)
2016-10-25 12:11:24.888508   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2016-10-25 12:11:24.888534     **context.local_conf)
2016-10-25 12:11:24.888544   File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2016-10-25 12:11:24.888593     val = callable(*args, **kw)
2016-10-25 12:11:24.888605   File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 28, in urlmap_factory
2016-10-25 12:11:24.888685     app = loader.get_app(app_name, global_conf=global_conf)
2016-10-25 12:11:24.888710   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2016-10-25 12:11:24.888726     name=name, global_conf=global_conf).create()
2016-10-25 12:11:24.888738   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 362, in app_context
2016-10-25 12:11:24.888765     APP, name=name, global_conf=global_conf)
2016-10-25 12:11:24.888774   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 450, in get_context
2016-10-25 12:11:24.888788     global_additions=global_additions)
2016-10-25 12:11:24.888797   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 562, in _pipeline_app_context
2016-10-25 12:11:24.888810     for name in pipeline[:-1]]
2016-10-25 12:11:24.888819   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 408, in get_context
2016-10-25 12:11:24.888833     object_type, name=name)
2016-10-25 12:11:24.888841   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 587, in find_config_section
2016-10-25 12:11:24.888854     self.filename))
2016-10-25 12:11:24.888871 LookupError: No section 'build_auth_contet' (prefixed by 'filter') found in config /etc/keystone/keystone-paste.ini

Thanks,
Kiran Vemuri

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  Authenticating with user 'admin' from the UI fails  - Error in
  keystone.log

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  I am setting up OpenStack Mitaka on Ubuntu 14.04 server by following :
  http://docs.openstack.org/mitaka/install-guide-ubuntu/

  Once I install the dashboard, when I try to login using the 'admin'
  account, it gives me the following error on the UI 'An error occurred
  authenticating. Please try again later.'

  On further investigation, I see the following error in
  /var/log/apache2/keystone.log

  If you notice the last line, it is referring to 'build_auth_contet' in
  keystone-paste.ini which might be a typo for build_auth_context


  2016-10-25 12:11:24.768822 2016-10-25 12:11:24.768 30696 WARNING keystone.assignment.core [-] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the assignment driver will need to be expicitly configured if different than the default (SQL).
  2016-10-25 12:11:24.887918 mod_wsgi (pid=30696): Target WSGI script '/usr/bin/keystone-wsgi-public' cannot be loaded as Python module.
  2016-10-25 12:11:24.887945 mod_wsgi (pid=30696): Exception occurred processing WSGI script '/usr/bin/keystone-wsgi-public'.
  2016-10-25 12:11:24.887979 Traceback (most recent call last):
  2016-10-25 12:11:24.887995   File "/usr/bin/keystone-wsgi-public", line 36, in <module>
  2016-10-25 12:11:24.888020     application = initialize_public_application()
  2016-10-25 12:11:24.888033   File "/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 62, in initialize_public_application
  2016-10-25 12:11:24.888062     return initialize_application('main')
  2016-10-25 12:11:24.888071   File "/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 53, in initialize_application
  2016-10-25 12:11:24.888083     startup_application_fn=loadapp)
  2016-10-25 12:11:24.888092   File "/usr/lib/python2.7/dist-packages/keystone/server/common.py", line 51, in setup_backends
  2016-10-25 12:11:24.888118     res = startup_application_fn()
  2016-10-25 12:11:24.888126   File "/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 50, in loadapp
  2016-10-25 12:11:24.888139     'config:%s' % config.find_paste_config(), name)
  2016-10-25 12:11:24.888147   File "/usr/lib/python2.7/dist-packages/keystone/version/service.py", line 53, in loadapp
  2016-10-25 12:11:24.888252     controllers.latest_app = deploy.loadapp(conf, name=name)
  2016-10-25 12:11:24.888267   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
  2016-10-25 12:11:24.888448     return loadobj(APP, uri, name=name, **kw)
  2016-10-25 12:11:24.888461   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
  2016-10-25 12:11:24.888475     return context.create()
  2016-10-25 12:11:24.888484   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
  2016-10-25 12:11:24.888498     return self.object_type.invoke(self)
  2016-10-25 12:11:24.888508   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
  2016-10-25 12:11:24.888534     **context.local_conf)
  2016-10-25 12:11:24.888544   File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
  2016-10-25 12:11:24.888593     val = callable(*args, **kw)
  2016-10-25 12:11:24.888605   File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 28, in urlmap_factory
  2016-10-25 12:11:24.888685     app = loader.get_app(app_name, global_conf=global_conf)
  2016-10-25 12:11:24.888710   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
  2016-10-25 12:11:24.888726     name=name, global_conf=global_conf).create()
  2016-10-25 12:11:24.888738   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 362, in app_context
  2016-10-25 12:11:24.888765     APP, name=name, global_conf=global_conf)
  2016-10-25 12:11:24.888774   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 450, in get_context
  2016-10-25 12:11:24.888788     global_additions=global_additions)
  2016-10-25 12:11:24.888797   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 562, in _pipeline_app_context
  2016-10-25 12:11:24.888810     for name in pipeline[:-1]]
  2016-10-25 12:11:24.888819   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 408, in get_context
  2016-10-25 12:11:24.888833     object_type, name=name)
  2016-10-25 12:11:24.888841   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 587, in find_config_section
  2016-10-25 12:11:24.888854     self.filename))
  2016-10-25 12:11:24.888871 LookupError: No section 'build_auth_contet' (prefixed by 'filter') found in config /etc/keystone/keystone-paste.ini

  Thanks,
  Kiran Vemuri

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


Follow ups