Ask Your Question
0

Ubuntu 16.04.1 OpenStack Newton keystone installation problem

asked 2016-11-07 01:20:52 -0500

mbone gravatar image

updated 2016-11-07 08:13:32 -0500

rbowen gravatar image

Hello,

As a learning exercise I am trying to install OpenStack Newton on Ubuntu 16.0.4.1 LTS. I am following the documentation located here: http://docs.openstack.org/newton/inst...

Unfortunately I am stuck early in the process, at the first service to be installed, keystone. Specifically, verifying its installation. All steps before that went without error. However, at this page of the doc- http://docs.openstack.org/newton/inst... - I am getting errors when trying to execute the OpenStack create commands on this page. For example:

   openstack project create --domain default   --description "Service Project" service

Results in

Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.

Internal Server Error (HTTP 500)

These errors are in the /var/log/apache2/keystone.log:

2016-11-07 01:47:36.726880 2016-11-07 01:47:36.726 2616 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-11-07 01:47:37.133785 mod_wsgi (pid=2616): Target WSGI script '/usr/bin/keystone-wsgi-admin' cannot be loaded as Python module.
2016-11-07 01:47:37.133814 mod_wsgi (pid=2616): Exception occurred processing WSGI script '/usr/bin/keystone-wsgi-admin'.
2016-11-07 01:47:37.133833 Traceback (most recent call last):
2016-11-07 01:47:37.133852   File "/usr/bin/keystone-wsgi-admin", line 51, in <module>
2016-11-07 01:47:37.133879     application = initialize_admin_application()
2016-11-07 01:47:37.133889   File "/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 132, in initialize_admin_application
2016-11-07 01:47:37.133906     config_files=_get_config_files())
2016-11-07 01:47:37.133912   File "/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 69, in initialize_application
2016-11-07 01:47:37.133924     startup_application_fn=loadapp)
2016-11-07 01:47:37.133932   File "/usr/lib/python2.7/dist-packages/keystone/server/common.py", line 50, in setup_backends
2016-11-07 01:47:37.133945     res = startup_application_fn()
2016-11-07 01:47:37.133952   File "/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 66, in loadapp
2016-11-07 01:47:37.133962     'config:%s' % find_paste_config(), name)
2016-11-07 01:47:37.133970   File "/usr/lib/python2.7/dist-packages/keystone/version/service.py", line 53, in loadapp
2016-11-07 01:47:37.134039     controllers.latest_app = deploy.loadapp(conf, name=name)
2016-11-07 01:47:37.134048   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2016-11-07 01:47:37.134223     return loadobj(APP, uri, name=name, **kw)
2016-11-07 01:47:37.134230   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2016-11-07 01:47:37.134241     return context.create()
2016-11-07 01:47:37.134249   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-11-07 01:47:37.134260     return self.object_type.invoke(self)
2016-11-07 01:47:37.134267   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2016-11-07 01:47:37.134277     **context.local_conf ...
(more)
edit retag flag offensive close merge delete

Comments

I see you have three spaces in your command between default and --description

openstack project create --domain default --description "Service Project" service

try without the extra spaces:

openstack project create --domain default --description "Service Project" ser

rrottach gravatar imagerrottach ( 2016-11-07 15:12:46 -0500 )edit

Thanks for the response - unfortunately that did not make a difference, same error.

mbone gravatar imagembone ( 2016-11-07 19:52:41 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-11-07 20:57:24 -0500

mbone gravatar image

I found the error - yes a user error. I finally figured out what this error meant, which was the root cause: LookupError: No section 'auth' (prefixed by 'filter') found in config /etc/keystone/keystone-paste.ini

It was looking for a [filter:auth] section because I had left the string "auth" in one of the keystone-paste.ini pipeline definitions. Once I corrected that error it works.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-11-07 01:20:52 -0500

Seen: 528 times

Last updated: Nov 07 '16