Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Lbaas in Kilo error

Hi Guys,

i'm trying to install and configure lbaas for kilo. when i enabled lbaas inside service_plugin and restart the neutron-server. i will get below error and my neutron-server will keep respawning.

2015-06-07 13:20:57.941 20425 INFO neutron.manager [-] Loading Plugin: lbaas
2015-06-07 13:20:57.941 20425 ERROR neutron.common.config [-] Unable to load neutron from configuration file /etc/neutron/api-paste.ini.
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config Traceback (most recent call last):
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/neutron/common/config.py", line 227, in load_paste_app
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     app = deploy.loadapp("config:%s" % config_path, name=app_name)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     return loadobj(APP, uri, name=name, **kw)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     return context.create()
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     return self.object_type.invoke(self)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     **context.local_conf)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     val = callable(*args, **kw)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 28, in urlmap_factory
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     app = loader.get_app(app_name, global_conf=global_conf)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     name=name, global_conf=global_conf).create()
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     return self.object_type.invoke(self)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     **context.local_conf)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     val = callable(*args, **kw)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/neutron/auth.py", line 71, in pipeline_factory
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     app = loader.get_app(pipeline[-1])
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     name=name, global_conf=global_conf).create()
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     return self.object_type.invoke(self)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in invoke
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     return fix_call(context.object, context.global_conf, **context.local_conf)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     val = callable(*args, **kw)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/router.py", line 71, in factory
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     return cls(**local_config)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/router.py", line 75, in __init__
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     plugin = manager.NeutronManager.get_plugin()
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/neutron/manager.py", line 222, in get_plugin
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     return weakref.proxy(cls.get_instance().plugin)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/neutron/manager.py", line 216, in get_instance
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     cls._create_instance()
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 445, in inner
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     return f(*args, **kwargs)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/neutron/manager.py", line 202, in _create_instance
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     cls._instance = cls()
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/neutron/manager.py", line 128, in __init__
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     self._load_service_plugins()
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/neutron/manager.py", line 175, in _load_service_plugins
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     provider)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/neutron/manager.py", line 133, in _get_plugin_instance
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     mgr = driver.DriverManager(namespace, plugin_provider)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/stevedore/driver.py", line 45, in __init__
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     verify_requirements=verify_requirements,
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/stevedore/named.py", line 55, in __init__
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     verify_requirements)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 170, in _load_plugins
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     self._on_load_failure_callback(self, ep, err)
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/stevedore/driver.py", line 50, in _default_on_load_failure
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config     raise err
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config ImportError: No module named neutron_lbaas.services.loadbalancer.plugin
2015-06-07 13:20:57.941 20425 TRACE neutron.common.config 
2015-06-07 13:20:57.943 20425 ERROR neutron.service [-] Unrecoverable error: please check log for details.
2015-06-07 13:20:57.943 20425 TRACE neutron.service Traceback (most recent call last):
2015-06-07 13:20:57.943 20425 TRACE neutron.service   File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 103, in serve_wsgi
2015-06-07 13:20:57.943 20425 TRACE neutron.service     service.start()
2015-06-07 13:20:57.943 20425 TRACE neutron.service   File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 74, in start
2015-06-07 13:20:57.943 20425 TRACE neutron.service     self.wsgi_app = _run_wsgi(self.app_name)
2015-06-07 13:20:57.943 20425 TRACE neutron.service   File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 169, in _run_wsgi
2015-06-07 13:20:57.943 20425 TRACE neutron.service     app = config.load_paste_app(app_name)
2015-06-07 13:20:57.943 20425 TRACE neutron.service   File "/usr/lib/python2.7/dist-packages/neutron/common/config.py", line 234, in load_paste_app
2015-06-07 13:20:57.943 20425 TRACE neutron.service     raise RuntimeError(msg)
2015-06-07 13:20:57.943 20425 TRACE neutron.service RuntimeError: Unable to load neutron from configuration file /etc/neutron/api-paste.ini.
2015-06-07 13:20:57.943 20425 TRACE neutron.service

Please advise how can i troubleshoot this? if i disabled lbaas, neutron-server will be able to start without any issue.

thanks.