Custom Search

SUBSCRIBE

SUBSCRIBE : 300 + Free Video Tutorials Programming (Python, golang, Julia), DevOps

Sunday, April 26, 2015

neutron.manager ImportError: No module named cfgm_common

How to Fox it
http://fosshelp.blogspot.in/2015/04/howto-opencontrail-install-cfgmcommon.html

===Error:===

2014-12-15 03:46:42.777 INFO neutron.manager [-] Loading Plugin: neutron_plugin_contrail.plugins.opencontrail.loadbalancer.plugin.LoadBalancerPlugin
2014-12-15 03:46:42.778 DEBUG stevedore.extension [-] found extension EntryPoint.parse('dummy = neutron.tests.unit.dummy_plugin:DummyServicePlugin')
 from (pid=50813) _load_plugins /usr/local/lib/python2.7/dist-packages/stevedore/extension.py:156
2014-12-15 03:46:42.778 DEBUG stevedore.extension [-] found extension EntryPoint.parse('firewall = neutron.services.firewall.fwaas_plugin:FirewallPl
ugin') from (pid=50813) _load_plugins /usr/local/lib/python2.7/dist-packages/stevedore/extension.py:156
2014-12-15 03:46:42.778 DEBUG stevedore.extension [-] found extension EntryPoint.parse('metering = neutron.services.metering.metering_plugin:Meterin
gPlugin') from (pid=50813) _load_plugins /usr/local/lib/python2.7/dist-packages/stevedore/extension.py:156
2014-12-15 03:46:42.778 DEBUG stevedore.extension [-] found extension EntryPoint.parse('router = neutron.services.l3_router.l3_router_plugin:L3Route
rPlugin') from (pid=50813) _load_plugins /usr/local/lib/python2.7/dist-packages/stevedore/extension.py:156
2014-12-15 03:46:42.778 DEBUG stevedore.extension [-] found extension EntryPoint.parse('vpnaas = neutron.services.vpn.plugin:VPNDriverPlugin') from
(pid=50813) _load_plugins /usr/local/lib/python2.7/dist-packages/stevedore/extension.py:156
2014-12-15 03:46:42.778 DEBUG stevedore.extension [-] found extension EntryPoint.parse('lbaas = neutron.services.loadbalancer.plugin:LoadBalancerPlu
gin') from (pid=50813) _load_plugins /usr/local/lib/python2.7/dist-packages/stevedore/extension.py:156
2014-12-15 03:46:42.779 ERROR neutron.manager [-] Error loading plugin by name, No 'neutron.service_plugins' driver found, looking for 'neutron_plug
in_contrail.plugins.opencontrail.loadbalancer.plugin.LoadBalancerPlugin'
2014-12-15 03:46:42.779 TRACE neutron.manager Traceback (most recent call last):
2014-12-15 03:46:42.779 TRACE neutron.manager   File "/opt/stack/neutron/neutron/manager.py", line 137, in _get_plugin_instance
2014-12-15 03:46:42.779 TRACE neutron.manager     plugin_class = importutils.import_class(plugin_provider)
2014-12-15 03:46:42.779 TRACE neutron.manager   File "/opt/stack/neutron/neutron/openstack/common/importutils.py", line 28, in import_class
2014-12-15 03:46:42.779 TRACE neutron.manager     __import__(mod_str)
2014-12-15 03:46:42.779 TRACE neutron.manager   File "/opt/stack/neutron/neutron_plugin_contrail/plugins/opencontrail/loadbalancer/plugin.py", line
4, in
2014-12-15 03:46:42.779 TRACE neutron.manager     from loadbalancer_db import LoadBalancerPluginDb
2014-12-15 03:46:42.779 TRACE neutron.manager   File "/opt/stack/neutron/neutron_plugin_contrail/plugins/opencontrail/loadbalancer/loadbalancer_db.p
y", line 10, in
2014-12-15 03:46:42.779 TRACE neutron.manager     from cfgm_common import exceptions as vnc_exc
2014-12-15 03:46:42.779 TRACE neutron.manager ImportError: No module named cfgm_common
2014-12-15 03:46:42.779 TRACE neutron.manager
2014-12-15 03:46:42.780 ERROR neutron.manager [-] Error loading plugin by class, No module named cfgm_common
2014-12-15 03:46:42.780 TRACE neutron.manager Traceback (most recent call last):
2014-12-15 03:46:42.780 TRACE neutron.manager   File "/opt/stack/neutron/neutron/manager.py", line 137, in _get_plugin_instance
2014-12-15 03:46:42.780 TRACE neutron.manager     plugin_class = importutils.import_class(plugin_provider)
2014-12-15 03:46:42.780 TRACE neutron.manager   File "/opt/stack/neutron/neutron/openstack/common/importutils.py", line 28, in import_class
2014-12-15 03:46:42.780 TRACE neutron.manager     __import__(mod_str)
2014-12-15 03:46:42.780 TRACE neutron.manager   File "/opt/stack/neutron/neutron_plugin_contrail/plugins/opencontrail/loadbalancer/plugin.py", line 4, in
2014-12-15 03:46:42.780 TRACE neutron.manager     from loadbalancer_db import LoadBalancerPluginDb
2014-12-15 03:46:42.780 TRACE neutron.manager   File "/opt/stack/neutron/neutron_plugin_contrail/plugins/opencontrail/loadbalancer/loadbalancer_db.py", line 10, in
2014-12-15 03:46:42.780 TRACE neutron.manager     from cfgm_common import exceptions as vnc_exc
2014-12-15 03:46:42.780 TRACE neutron.manager ImportError: No module named cfgm_common
2014-12-15 03:46:42.780 TRACE neutron.manager
2014-12-15 03:46:42.780 DEBUG neutron.openstack.common.lockutils [-] Semaphore / lock released "_create_instance" from (pid=50813) inner /opt/stack/neutron/neutron/openstack/common/lockutils.py:252
2014-12-15 03:46:42.781 ERROR neutron.common.config [-] Unable to load neutron from configuration file /etc/neutron/api-paste.ini.
2014-12-15 03:46:42.781 TRACE neutron.common.config Traceback (most recent call last):
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/opt/stack/neutron/neutron/common/config.py", line 170, in load_paste_app
2014-12-15 03:46:42.781 TRACE neutron.common.config     app = deploy.loadapp("config:%s" % config_path, name=app_name)
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2014-12-15 03:46:42.781 TRACE neutron.common.config     return loadobj(APP, uri, name=name, **kw)
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2014-12-15 03:46:42.781 TRACE neutron.common.config     return context.create()
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2014-12-15 03:46:42.781 TRACE neutron.common.config     return self.object_type.invoke(self)
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2014-12-15 03:46:42.781 TRACE neutron.common.config     **context.local_conf)
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2014-12-15 03:46:42.781 TRACE neutron.common.config     val = callable(*args, **kw)
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 28, in urlmap_factory
2014-12-15 03:46:42.781 TRACE neutron.common.config     app = loader.get_app(app_name, global_conf=global_conf)
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2014-12-15 03:46:42.781 TRACE neutron.common.config     name=name, global_conf=global_conf).create()
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2014-12-15 03:46:42.781 TRACE neutron.common.config     return self.object_type.invoke(self)
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2014-12-15 03:46:42.781 TRACE neutron.common.config     **context.local_conf)
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2014-12-15 03:46:42.781 TRACE neutron.common.config     val = callable(*args, **kw)
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/opt/stack/neutron/neutron/auth.py", line 69, in pipeline_factory
2014-12-15 03:46:42.781 TRACE neutron.common.config     app = loader.get_app(pipeline[-1])
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2014-12-15 03:46:42.781 TRACE neutron.common.config     name=name, global_conf=global_conf).create()
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2014-12-15 03:46:42.781 TRACE neutron.common.config     return self.object_type.invoke(self)
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in invoke
2014-12-15 03:46:42.781 TRACE neutron.common.config     return fix_call(context.object, context.global_conf, **context.local_conf)
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2014-12-15 03:46:42.781 TRACE neutron.common.config     val = callable(*args, **kw)
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/opt/stack/neutron/neutron/api/v2/router.py", line 72, in factory
2014-12-15 03:46:42.781 TRACE neutron.common.config     return cls(**local_config)
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/opt/stack/neutron/neutron/api/v2/router.py", line 76, in __init__
2014-12-15 03:46:42.781 TRACE neutron.common.config     plugin = manager.NeutronManager.get_plugin()
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/opt/stack/neutron/neutron/manager.py", line 222, in get_plugin
2014-12-15 03:46:42.781 TRACE neutron.common.config     return weakref.proxy(cls.get_instance().plugin)
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/opt/stack/neutron/neutron/manager.py", line 216, in get_instance
2014-12-15 03:46:42.781 TRACE neutron.common.config     cls._create_instance()
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/opt/stack/neutron/neutron/openstack/common/lockutils.py", line 249, in inner
2014-12-15 03:46:42.781 TRACE neutron.common.config     return f(*args, **kwargs)
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/opt/stack/neutron/neutron/manager.py", line 202, in _create_instance
2014-12-15 03:46:42.781 TRACE neutron.common.config     cls._instance = cls()
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/opt/stack/neutron/neutron/manager.py", line 127, in __init__
2014-12-15 03:46:42.781 TRACE neutron.common.config     self._load_service_plugins()
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/opt/stack/neutron/neutron/manager.py", line 175, in _load_service_plugins
2014-12-15 03:46:42.781 TRACE neutron.common.config     provider)
2014-12-15 03:46:42.781 TRACE neutron.common.config   File "/opt/stack/neutron/neutron/manager.py", line 141, in _get_plugin_instance
2014-12-15 03:46:42.781 TRACE neutron.common.config     raise ImportError(_("Plugin not found."))
2014-12-15 03:46:42.781 TRACE neutron.common.config ImportError: Plugin not found.
2014-12-15 03:46:42.781 TRACE neutron.common.config
2014-12-15 03:46:42.782 ERROR neutron.service [-] Error occurred: trying old api-paste.ini.
2014-12-15 03:46:42.782 TRACE neutron.service Traceback (most recent call last):
2014-12-15 03:46:42.782 TRACE neutron.service   File "/opt/stack/neutron/neutron/service.py", line 105, in serve_wsgi
2014-12-15 03:46:42.782 TRACE neutron.service     service.start()
2014-12-15 03:46:42.782 TRACE neutron.service   File "/opt/stack/neutron/neutron/service.py", line 74, in start
2014-12-15 03:46:42.782 TRACE neutron.service     self.wsgi_app = _run_wsgi(self.app_name)
2014-12-15 03:46:42.782 TRACE neutron.service   File "/opt/stack/neutron/neutron/service.py", line 173, in _run_wsgi
2014-12-15 03:46:42.782 TRACE neutron.service     app = config.load_paste_app(app_name)
2014-12-15 03:46:42.782 TRACE neutron.service   File "/opt/stack/neutron/neutron/common/config.py", line 177, in load_paste_app
2014-12-15 03:46:42.782 TRACE neutron.service     raise RuntimeError(msg)
2014-12-15 03:46:42.782 TRACE neutron.service RuntimeError: Unable to load neutron from configuration file /etc/neutron/api-paste.ini.
2014-12-15 03:46:42.782 TRACE neutron.service
2014-12-15 03:46:42.783 INFO neutron.common.config [-] Logging enabled!



log_opt_values /usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py:2002
2014-12-15 03:46:42.803 INFO neutron.common.config [-] Config paste file: /etc/neutron/api-paste.ini
2014-12-15 03:46:42.804 ERROR neutron.common.config [-] Unable to load quantum from configuration file /etc/neutron/api-paste.ini.
2014-12-15 03:46:42.804 TRACE neutron.common.config Traceback (most recent call last):
2014-12-15 03:46:42.804 TRACE neutron.common.config   File "/opt/stack/neutron/neutron/common/config.py", line 170, in load_paste_app
2014-12-15 03:46:42.804 TRACE neutron.common.config     app = deploy.loadapp("config:%s" % config_path, name=app_name)
2014-12-15 03:46:42.804 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2014-12-15 03:46:42.804 TRACE neutron.common.config     return loadobj(APP, uri, name=name, **kw)
2014-12-15 03:46:42.804 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 271, in loadobj
2014-12-15 03:46:42.804 TRACE neutron.common.config     global_conf=global_conf)
2014-12-15 03:46:42.804 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext
2014-12-15 03:46:42.804 TRACE neutron.common.config     global_conf=global_conf)
2014-12-15 03:46:42.804 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig
2014-12-15 03:46:42.804 TRACE neutron.common.config     return loader.get_context(object_type, name, global_conf)
2014-12-15 03:46:42.804 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 408, in get_context
2014-12-15 03:46:42.804 TRACE neutron.common.config     object_type, name=name)
2014-12-15 03:46:42.804 TRACE neutron.common.config   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 587, in find_config_section
2014-12-15 03:46:42.804 TRACE neutron.common.config     self.filename))
2014-12-15 03:46:42.804 TRACE neutron.common.config LookupError: No section 'quantum' (prefixed by 'app' or 'application' or 'composite' or 'composit' or 'pipeline' or 'filter-app') found in config /etc/neutron/api-paste.ini
2014-12-15 03:46:42.804 TRACE neutron.common.config
2014-12-15 03:46:42.804 ERROR neutron.service [-] Unrecoverable error: please check log for details.
2014-12-15 03:46:42.804 TRACE neutron.service Traceback (most recent call last):
2014-12-15 03:46:42.804 TRACE neutron.service   File "/opt/stack/neutron/neutron/service.py", line 109, in serve_wsgi
2014-12-15 03:46:42.804 TRACE neutron.service     service.start()
2014-12-15 03:46:42.804 TRACE neutron.service   File "/opt/stack/neutron/neutron/service.py", line 74, in start
2014-12-15 03:46:42.804 TRACE neutron.service     self.wsgi_app = _run_wsgi(self.app_name)
2014-12-15 03:46:42.804 TRACE neutron.service   File "/opt/stack/neutron/neutron/service.py", line 173, in _run_wsgi
2014-12-15 03:46:42.804 TRACE neutron.service     app = config.load_paste_app(app_name)
2014-12-15 03:46:42.804 TRACE neutron.service   File "/opt/stack/neutron/neutron/common/config.py", line 177, in load_paste_app
2014-12-15 03:46:42.804 TRACE neutron.service     raise RuntimeError(msg)
2014-12-15 03:46:42.804 TRACE neutron.service RuntimeError: Unable to load quantum from configuration file /etc/neutron/api-paste.ini.
2014-12-15 03:46:42.804 TRACE neutron.service
ERROR: Unable to load quantum from configuration file /etc/neutron/api-paste.ini.
q-svc failed to start


No comments:

Post a Comment