Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenStack and OpenDaylight integration - Keystone issue

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)

netstat shows

netstat -plant |grep 5000
tcp6 0 0 :::5000 :::* LISTEN 2233/apache2
netstat -plant |grep 35357
tcp6 0 0 :::35357 :::* LISTEN 2233/apache2

Stoping and Starting keystone with command service keystone systemd-start throws

root@controller:~# service keystone stop
keystone stop/waiting
root@controller:~# service keystone systemd-start 
No handlers could be found for logger "oslo_config.cfg"
2016-03-14 18:42:01.504 3958 WARNING root [-] Running keystone via eventlet is deprecated as of Kilo in favor of running in a WSGI server (e.g. mod_wsgi). Support for keystone under eventlet will be removed in the "M"-Release.
2016-03-14 18:42:01.515 3958 ERROR keystone.common.environment.eventlet_server [-] Could not bind to 0.0.0.0:35357
2016-03-14 18:42:01.516 3958 ERROR root [-] Failed to start the admin server
2016-03-14 18:42:01.516 3958 ERROR root Traceback (most recent call last):
2016-03-14 18:42:01.516 3958 ERROR root   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 88, in serve
2016-03-14 18:42:01.516 3958 ERROR root     server.launch_with(launcher)
2016-03-14 18:42:01.516 3958 ERROR root   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 54, in launch_with
2016-03-14 18:42:01.516 3958 ERROR root     self.server.listen()
2016-03-14 18:42:01.516 3958 ERROR root   File "/usr/lib/python2.7/dist-packages/keystone/common/environment/eventlet_server.py", line 110, in listen
2016-03-14 18:42:01.516 3958 ERROR root     backlog=backlog)
2016-03-14 18:42:01.516 3958 ERROR root   File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 43, in listen
2016-03-14 18:42:01.516 3958 ERROR root     sock.bind(addr)
2016-03-14 18:42:01.516 3958 ERROR root   File "/usr/lib/python2.7/socket.py", line 224, in meth
2016-03-14 18:42:01.516 3958 ERROR root     return getattr(self._sock,name)(*args)
2016-03-14 18:42:01.516 3958 ERROR root error: [Errno 98] Address already in use
2016-03-14 18:42:01.516 3958 ERROR root 
2016-03-14 18:42:01.517 3958 CRITICAL keystone [-] error: [Errno 98] Address already in use
2016-03-14 18:42:01.517 3958 ERROR keystone Traceback (most recent call last):
2016-03-14 18:42:01.517 3958 ERROR keystone   File "/usr/bin/keystone-all", line 10, in <module>
2016-03-14 18:42:01.517 3958 ERROR keystone     sys.exit(main())
2016-03-14 18:42:01.517 3958 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/cmd/all.py", line 39, in main
2016-03-14 18:42:01.517 3958 ERROR keystone     eventlet_server.run(possible_topdir)
2016-03-14 18:42:01.517 3958 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 156, in run
2016-03-14 18:42:01.517 3958 ERROR keystone     serve(*servers)
2016-03-14 18:42:01.517 3958 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 88, in serve
2016-03-14 18:42:01.517 3958 ERROR keystone     server.launch_with(launcher)
2016-03-14 18:42:01.517 3958 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 54, in launch_with
2016-03-14 18:42:01.517 3958 ERROR keystone     self.server.listen()
2016-03-14 18:42:01.517 3958 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/environment/eventlet_server.py", line 110, in listen
2016-03-14 18:42:01.517 3958 ERROR keystone     backlog=backlog)
2016-03-14 18:42:01.517 3958 ERROR keystone   File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 43, in listen
2016-03-14 18:42:01.517 3958 ERROR keystone     sock.bind(addr)
2016-03-14 18:42:01.517 3958 ERROR keystone   File "/usr/lib/python2.7/socket.py", line 224, in meth
2016-03-14 18:42:01.517 3958 ERROR keystone     return getattr(self._sock,name)(*args)
2016-03-14 18:42:01.517 3958 ERROR keystone error: [Errno 98] Address already in use
2016-03-14 18:42:01.517 3958 ERROR keystone

Please help me with solving the issue. Thank you!

OpenStack and OpenDaylight integration - Keystone issue

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", line 362, in app_context
2016-03-14 19:24:02.249294     APP, name=name, global_conf=global_conf)
2016-03-14 19:24:02.249304   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 450, in get_context
2016-03-14 19:24:02.249319     global_additions=global_additions)
2016-03-14 19:24:02.249330   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 559, in _pipeline_app_context
2016-03-14 19:24:02.249345     APP, pipeline[-1], global_conf)
2016-03-14 19:24:02.249356   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 454, in get_context
2016-03-14 19:24:02.249371     section)
2016-03-14 19:24:02.249381   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 476, in _context_from_use
2016-03-14 19:24:02.249396     object_type, name=use, global_conf=global_conf)
2016-03-14 19:24:02.249406   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 406, in get_context
2016-03-14 19:24:02.249420     global_conf=global_conf)
2016-03-14 19:24:02.249449   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
2016-03-14 19:24:02.249467     global_conf=global_conf)
2016-03-14 19:24:02.249478   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 328, in _loadegg
2016-03-14 19:24:02.249494     return loader.get_context(object_type, name, global_conf)
2016-03-14 19:24:02.249504   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 620, in get_context
2016-03-14 19:24:02.249525     object_type, name=name)
2016-03-14 19:24:02.249538   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 640, in find_egg_entry_point
2016-03-14 19:24:02.249554     pkg_resources.require(self.spec)
2016-03-14 19:24:02.249570   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 952, in require
2016-03-14 19:24:02.250661     needed = self.resolve(parse_requirements(requirements))
2016-03-14 19:24:02.250695   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 844, in resolve
2016-03-14 19:24:02.250729     raise VersionConflict(dist, req).with_context(dependent_req)
2016-03-14 19:24:02.250866 ContextualVersionConflict: (pbr 0.11.1 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('pbr>=1.6'), set(['keystone']))

netstat shows

netstat -plant |grep 5000
tcp6 0 0 :::5000 :::* LISTEN 2233/apache2
netstat -plant |grep 35357
tcp6 0 0 :::35357 :::* LISTEN 2233/apache2

Stoping and Starting keystone with command service keystone systemd-start throws

root@controller:~# service keystone stop
keystone stop/waiting
root@controller:~# service keystone systemd-start 
No handlers could be found for logger "oslo_config.cfg"
2016-03-14 18:42:01.504 3958 WARNING root [-] Running keystone via eventlet is deprecated as of Kilo in favor of running in a WSGI server (e.g. mod_wsgi). Support for keystone under eventlet will be removed in the "M"-Release.
2016-03-14 18:42:01.515 3958 ERROR keystone.common.environment.eventlet_server [-] Could not bind to 0.0.0.0:35357
2016-03-14 18:42:01.516 3958 ERROR root [-] Failed to start the admin server
2016-03-14 18:42:01.516 3958 ERROR root Traceback (most recent call last):
2016-03-14 18:42:01.516 3958 ERROR root   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 88, in serve
2016-03-14 18:42:01.516 3958 ERROR root     server.launch_with(launcher)
2016-03-14 18:42:01.516 3958 ERROR root   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 54, in launch_with
2016-03-14 18:42:01.516 3958 ERROR root     self.server.listen()
2016-03-14 18:42:01.516 3958 ERROR root   File "/usr/lib/python2.7/dist-packages/keystone/common/environment/eventlet_server.py", line 110, in listen
2016-03-14 18:42:01.516 3958 ERROR root     backlog=backlog)
2016-03-14 18:42:01.516 3958 ERROR root   File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 43, in listen
2016-03-14 18:42:01.516 3958 ERROR root     sock.bind(addr)
2016-03-14 18:42:01.516 3958 ERROR root   File "/usr/lib/python2.7/socket.py", line 224, in meth
2016-03-14 18:42:01.516 3958 ERROR root     return getattr(self._sock,name)(*args)
2016-03-14 18:42:01.516 3958 ERROR root error: [Errno 98] Address already in use
2016-03-14 18:42:01.516 3958 ERROR root 
2016-03-14 18:42:01.517 3958 CRITICAL keystone [-] error: [Errno 98] Address already in use
2016-03-14 18:42:01.517 3958 ERROR keystone Traceback (most recent call last):
2016-03-14 18:42:01.517 3958 ERROR keystone   File "/usr/bin/keystone-all", line 10, in <module>
2016-03-14 18:42:01.517 3958 ERROR keystone     sys.exit(main())
2016-03-14 18:42:01.517 3958 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/cmd/all.py", line 39, in main
2016-03-14 18:42:01.517 3958 ERROR keystone     eventlet_server.run(possible_topdir)
2016-03-14 18:42:01.517 3958 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 156, in run
2016-03-14 18:42:01.517 3958 ERROR keystone     serve(*servers)
2016-03-14 18:42:01.517 3958 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 88, in serve
2016-03-14 18:42:01.517 3958 ERROR keystone     server.launch_with(launcher)
2016-03-14 18:42:01.517 3958 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 54, in launch_with
2016-03-14 18:42:01.517 3958 ERROR keystone     self.server.listen()
2016-03-14 18:42:01.517 3958 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/environment/eventlet_server.py", line 110, in listen
2016-03-14 18:42:01.517 3958 ERROR keystone     backlog=backlog)
2016-03-14 18:42:01.517 3958 ERROR keystone   File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 43, in listen
2016-03-14 18:42:01.517 3958 ERROR keystone     sock.bind(addr)
2016-03-14 18:42:01.517 3958 ERROR keystone   File "/usr/lib/python2.7/socket.py", line 224, in meth
2016-03-14 18:42:01.517 3958 ERROR keystone     return getattr(self._sock,name)(*args)
2016-03-14 18:42:01.517 3958 ERROR keystone error: [Errno 98] Address already in use
2016-03-14 18:42:01.517 3958 ERROR keystone

Please help me with solving the issue. Thank you!