Ask Your Question
0

OpenStack and OpenDaylight integration - Keystone issue [closed]

asked 2016-03-14 08:35:55 -0500

harshavardhan gravatar image

updated 2016-03-14 09:40:50 -0500

Hi there! I'm trying to integrate OpenDaylight Beryllium and OpenStack Liberty. I followed all the steps mentioned in this page. After installing python-pip and networking_odl with commands

apt-get install python-pip
pip install networking_odl

Keystone got destroyed. All the commands throws error

No handlers could be found for logger “keystoneclient.auth.identity.generic.base” ERROR (InternalServerError): Internal Server Error (HTTP 500)

Keystone log in apache2 folder shows following

2016-03-14 19:24:01.930398 No handlers could be found for logger "oslo_config.cfg"
2016-03-14 19:24:02.248054 mod_wsgi (pid=4579): Target WSGI script '/usr/bin/keystone-wsgi-admin' cannot be loaded as Python module.
2016-03-14 19:24:02.248133 mod_wsgi (pid=4579): Exception occurred processing WSGI script '/usr/bin/keystone-wsgi-admin'.
2016-03-14 19:24:02.248208 Traceback (most recent call last):
2016-03-14 19:24:02.248264   File "/usr/bin/keystone-wsgi-admin", line 36, in <module>
2016-03-14 19:24:02.248328     application = initialize_admin_application()
2016-03-14 19:24:02.248355   File "/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 78, in initialize_admin_application
2016-03-14 19:24:02.248386     return initialize_application('admin')
2016-03-14 19:24:02.248404   File "/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 64, in initialize_application
2016-03-14 19:24:02.248437     startup_application_fn=loadapp)
2016-03-14 19:24:02.248457   File "/usr/lib/python2.7/dist-packages/keystone/server/common.py", line 51, in setup_backends
2016-03-14 19:24:02.248479     res = startup_application_fn()
2016-03-14 19:24:02.248501   File "/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 61, in loadapp
2016-03-14 19:24:02.248525     'config:%s' % config.find_paste_config(), name)
2016-03-14 19:24:02.248537   File "/usr/lib/python2.7/dist-packages/keystone/service.py", line 46, in loadapp
2016-03-14 19:24:02.248641     controllers.latest_app = deploy.loadapp(conf, name=name)
2016-03-14 19:24:02.248658   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2016-03-14 19:24:02.248922     return loadobj(APP, uri, name=name, **kw)
2016-03-14 19:24:02.248943   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2016-03-14 19:24:02.248967     return context.create()
2016-03-14 19:24:02.248979   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-03-14 19:24:02.248995     return self.object_type.invoke(self)
2016-03-14 19:24:02.249006   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2016-03-14 19:24:02.249021     **context.local_conf)
2016-03-14 19:24:02.249032   File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2016-03-14 19:24:02.249103     val = callable(*args, **kw)
2016-03-14 19:24:02.249121   File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 28, in urlmap_factory
2016-03-14 19:24:02.249228     app = loader.get_app(app_name, global_conf=global_conf)
2016-03-14 19:24:02.249245   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2016-03-14 19:24:02.249266     name=name, global_conf=global_conf).create()
2016-03-14 19:24:02.249278   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by harshavardhan
close date 2016-03-15 07:28:48.618631

Comments

Hi, keystone by default in liberty is running under apache/httpd service. If you try to start keystone service, it will tell you Address already in use. Restart apache service to restart keystone

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-03-14 08:48:28 -0500 )edit

@Eduardo Gonzalez Thanks for replying after restarting apache service i am still facing the issue. For example command nova list throws No handlers could be found for logger "keystoneclient.auth.identity.generic.base" ERROR (InternalServerError): Internal Server Error (HTTP 500)

any other solution

harshavardhan gravatar imageharshavardhan ( 2016-03-14 08:58:57 -0500 )edit

Seems like odl installation requirements broke keystone dependencies VersionConflict 'pbr>=1.6' against pbr 0.11.1

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-03-14 11:43:03 -0500 )edit

@Eduardo Gonzalez what will be the solution to this? how can i resolve the conflict?Thank you!

harshavardhan gravatar imageharshavardhan ( 2016-03-14 13:29:51 -0500 )edit

1 answer

Sort by » oldest newest most voted
1

answered 2016-03-15 07:28:21 -0500

harshavardhan gravatar image

This issue is due to version conflict with PBR. OpenDaylight installed a version 0.11.1 of PBR, overwriting what Liberty(pbr>=1.6) had laid down. update pbr using

sudo pip install pbr==1.8.0

Hope this helps someone!

edit flag offensive delete link more

Comments

Hi! Thanks to you I solved the problem related to:

ContextualVersionConflict [...] 'pbr>=1.6'), set(['keystone']))

But still facing a Internal Server Error (HTTP 500) while using Neutron commands (i.e., neutron router-create R1)

LOG: No handlers could be found for logger "oslo_config.cfg"
Fabrizio gravatar imageFabrizio ( 2016-04-05 11:28:37 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-03-14 08:35:55 -0500

Seen: 441 times

Last updated: Mar 15 '16