Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

Neutron is not loading ,RuntimeError: Unable to load neutron from configuration file /etc/neutron/api-paste.ini.

openstack@openstack-1:~/devstack$ /usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2conf.ini Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future. 2016-02-22 21:37:39.105 INFO neutron.common.config [-] Logging enabled! 2016-02-22 21:37:39.105 INFO neutron.common.config [-] /usr/local/bin/neutron-server version 7.0.4.dev19 2016-02-22 21:37:39.106 DEBUG neutron.common.config [-] command line: /usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2conf.ini from (pid=18184) setuplogging /opt/stack/neutron/neutron/common/config.py:219 2016-02-22 21:37:39.107 INFO neutron.common.config [-] Logging enabled! 2016-02-22 21:37:39.108 INFO neutron.common.config [-] /usr/local/bin/neutron-server version 7.0.4.dev19 2016-02-22 21:37:39.108 DEBUG neutron.common.config [-] command line: /usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2conf.ini from (pid=18184) setuplogging /opt/stack/neutron/neutron/common/config.py:219 2016-02-22 21:37:39.109 INFO neutron.common.config [-] Config paste file: /etc/neutron/api-paste.ini 2016-02-22 21:37:39.120 DEBUG osloconcurrency.lockutils [-] Lock "manager" acquired by "neutron.manager.createinstance" :: waited 0.000s from (pid=18184) inner /usr/local/lib/python2.7/dist-packages/osloconcurrency/lockutils.py:270 2016-02-22 21:37:39.121 INFO neutron.manager [-] Loading core plugin: neutron.plugins.ml2.plugin.Ml2Plugin 2016-02-22 21:37:39.253 DEBUG neutron.quota.resourceregistry [-] Tracking information for resource: subnet configured from (pid=18184) settrackedresource /opt/stack/neutron/neutron/quota/resourceregistry.py:199 2016-02-22 21:37:39.253 DEBUG neutron.quota.resourceregistry [-] Tracking information for resource: network configured from (pid=18184) settrackedresource /opt/stack/neutron/neutron/quota/resourceregistry.py:199 2016-02-22 21:37:39.254 DEBUG neutron.quota.resourceregistry [-] Tracking information for resource: subnetpool configured from (pid=18184) settrackedresource /opt/stack/neutron/neutron/quota/resourceregistry.py:199 2016-02-22 21:37:39.254 DEBUG neutron.quota.resourceregistry [-] Tracking information for resource: securitygrouprule configured from (pid=18184) settrackedresource /opt/stack/neutron/neutron/quota/resourceregistry.py:199 2016-02-22 21:37:39.255 DEBUG neutron.quota.resourceregistry [-] Tracking information for resource: securitygroup configured from (pid=18184) settrackedresource /opt/stack/neutron/neutron/quota/resourceregistry.py:199 2016-02-22 21:37:39.255 DEBUG neutron.quota.resourceregistry [-] Tracking information for resource: port configured from (pid=18184) settrackedresource /opt/stack/neutron/neutron/quota/resourceregistry.py:199 2016-02-22 21:37:39.256 INFO neutron.plugins.ml2.managers [-] Configured type driver names: ['local'] 2016-02-22 21:37:39.258 INFO neutron.plugins.ml2.drivers.typelocal [-] ML2 LocalTypeDriver initialization complete 2016-02-22 21:37:39.259 INFO neutron.plugins.ml2.managers [-] Loaded type driver names: ['local'] 2016-02-22 21:37:39.260 INFO neutron.plugins.ml2.managers [-] Registered types: ['local'] 2016-02-22 21:37:39.261 INFO neutron.plugins.ml2.managers [-] Tenant networktypes: ['local'] 2016-02-22 21:37:39.263 INFO neutron.plugins.ml2.managers [-] Configured extension driver names: ['portsecurity'] 2016-02-22 21:37:39.274 INFO neutron.plugins.ml2.managers [-] Loaded extension driver names: ['portsecurity'] 2016-02-22 21:37:39.274 INFO neutron.plugins.ml2.managers [-] Registered extension drivers: ['portsecurity'] 2016-02-22 21:37:39.275 INFO neutron.plugins.ml2.managers [-] Configured mechanism driver names: ['opendaylight'] 2016-02-22 21:37:39.277 ERROR stevedore.extension [-] Could not load 'opendaylight': No module named networkingodl.common 2016-02-22 21:37:39.278 ERROR stevedore.extension [-] No module named networkingodl.common 2016-02-22 21:37:39.278 TRACE stevedore.extension Traceback (most recent call last): 2016-02-22 21:37:39.278 TRACE stevedore.extension File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 163, in _loadplugins 2016-02-22 21:37:39.278 TRACE stevedore.extension verifyrequirements, 2016-02-22 21:37:39.278 TRACE stevedore.extension File "/usr/local/lib/python2.7/dist-packages/stevedore/named.py", line 123, in _loadoneplugin 2016-02-22 21:37:39.278 TRACE stevedore.extension verifyrequirements, 2016-02-22 21:37:39.278 TRACE stevedore.extension File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 184, in loadoneplugin 2016-02-22 21:37:39.278 TRACE stevedore.extension plugin = ep.resolve() 2016-02-22 21:37:39.278 TRACE stevedore.extension File "/usr/local/lib/python2.7/dist-packages/pkgresources/init.py", line 2386, in resolve 2016-02-22 21:37:39.278 TRACE stevedore.extension module = import(self.modulename, fromlist=['name'], level=0) 2016-02-22 21:37:39.278 TRACE stevedore.extension File "/opt/stack/neutron/neutron/plugins/ml2/drivers/opendaylight/driver.py", line 16, in <module> 2016-02-22 21:37:39.278 TRACE stevedore.extension from networkingodl.common import constants as odlconst 2016-02-22 21:37:39.278 TRACE stevedore.extension ImportError: No module named networkingodl.common 2016-02-22 21:37:39.278 TRACE stevedore.extension 2016-02-22 21:37:39.283 DEBUG osloconcurrency.lockutils [-] Lock "manager" released by "neutron.manager.createinstance" :: held 0.163s from (pid=18184) inner /usr/local/lib/python2.7/dist-packages/osloconcurrency/lockutils.py:282 2016-02-22 21:37:39.284 ERROR neutron.common.config [-] Unable to load neutron from configuration file /etc/neutron/api-paste.ini. 2016-02-22 21:37:39.284 TRACE neutron.common.config Traceback (most recent call last): 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/opt/stack/neutron/neutron/common/config.py", line 246, in loadpasteapp 2016-02-22 21:37:39.284 TRACE neutron.common.config app = deploy.loadapp("config:%s" % configpath, name=appname) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp 2016-02-22 21:37:39.284 TRACE neutron.common.config return loadobj(APP, uri, name=name, kw) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj 2016-02-22 21:37:39.284 TRACE neutron.common.config return context.create() 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create 2016-02-22 21:37:39.284 TRACE neutron.common.config return self.objecttype.invoke(self) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke 2016-02-22 21:37:39.284 TRACE neutron.common.config **context.localconf) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fixcall 2016-02-22 21:37:39.284 TRACE neutron.common.config val = callable(*args, **kw) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/paste/urlmap.py", line 31, in urlmapfactory 2016-02-22 21:37:39.284 TRACE neutron.common.config app = loader.getapp(appname, globalconf=globalconf) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in getapp 2016-02-22 21:37:39.284 TRACE neutron.common.config name=name, globalconf=globalconf).create() 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create 2016-02-22 21:37:39.284 TRACE neutron.common.config return self.objecttype.invoke(self) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke 2016-02-22 21:37:39.284 TRACE neutron.common.config *context.local_conf) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call 2016-02-22 21:37:39.284 TRACE neutron.common.config val = callable(args, *kw) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/opt/stack/neutron/neutron/auth.py", line 71, in pipeline_factory 2016-02-22 21:37:39.284 TRACE neutron.common.config app = loader.get_app(pipeline[-1]) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app 2016-02-22 21:37:39.284 TRACE neutron.common.config name=name, global_conf=global_conf).create() 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create 2016-02-22 21:37:39.284 TRACE neutron.common.config return self.object_type.invoke(self) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in invoke 2016-02-22 21:37:39.284 TRACE neutron.common.config return fix_call(context.object, context.global_conf, *context.localconf) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fixcall 2016-02-22 21:37:39.284 TRACE neutron.common.config val = callable(args, *kw) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/opt/stack/neutron/neutron/api/v2/router.py", line 73, in factory 2016-02-22 21:37:39.284 TRACE neutron.common.config return cls(localconfig) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/opt/stack/neutron/neutron/api/v2/router.py", line 77, in init 2016-02-22 21:37:39.284 TRACE neutron.common.config plugin = manager.NeutronManager.getplugin() 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/opt/stack/neutron/neutron/manager.py", line 248, in getplugin 2016-02-22 21:37:39.284 TRACE neutron.common.config return weakref.proxy(cls.getinstance().plugin) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/opt/stack/neutron/neutron/manager.py", line 242, in getinstance 2016-02-22 21:37:39.284 TRACE neutron.common.config cls.createinstance() 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/osloconcurrency/lockutils.py", line 271, in inner 2016-02-22 21:37:39.284 TRACE neutron.common.config return f(args, *kwargs) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/opt/stack/neutron/neutron/manager.py", line 228, in createinstance 2016-02-22 21:37:39.284 TRACE neutron.common.config cls.instance = cls() 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/opt/stack/neutron/neutron/manager.py", line 121, in init 2016-02-22 21:37:39.284 TRACE neutron.common.config pluginprovider) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/opt/stack/neutron/neutron/manager.py", line 161, in getplugininstance 2016-02-22 21:37:39.284 TRACE neutron.common.config return pluginclass() 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/opt/stack/neutron/neutron/quota/resourceregistry.py", line 121, in wrapper 2016-02-22 21:37:39.284 TRACE neutron.common.config return f(*args, **kwargs) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/opt/stack/neutron/neutron/plugins/ml2/plugin.py", line 144, in init 2016-02-22 21:37:39.284 TRACE neutron.common.config self.mechanismmanager = managers.MechanismManager() 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/opt/stack/neutron/neutron/plugins/ml2/managers.py", line 311, in init 2016-02-22 21:37:39.284 TRACE neutron.common.config nameorder=True) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/stevedore/named.py", line 56, in init 2016-02-22 21:37:39.284 TRACE neutron.common.config self.initplugins(extensions) 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/stevedore/named.py", line 112, in _initplugins 2016-02-22 21:37:39.284 TRACE neutron.common.config self.extensions = [self[n] for n in self.names] 2016-02-22 21:37:39.284 TRACE neutron.common.config File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 284, in getitem 2016-02-22 21:37:39.284 TRACE neutron.common.config return self.extensionsbyname[name] 2016-02-22 21:37:39.284 TRACE neutron.common.config KeyError: 'opendaylight' 2016-02-22 21:37:39.284 TRACE neutron.common.config 2016-02-22 21:37:39.293 ERROR neutron.service [-] Unrecoverable error: please check log for details. 2016-02-22 21:37:39.293 TRACE neutron.service Traceback (most recent call last): 2016-02-22 21:37:39.293 TRACE neutron.service File "/opt/stack/neutron/neutron/service.py", line 103, in servewsgi 2016-02-22 21:37:39.293 TRACE neutron.service service.start() 2016-02-22 21:37:39.293 TRACE neutron.service File "/opt/stack/neutron/neutron/service.py", line 76, in start 2016-02-22 21:37:39.293 TRACE neutron.service self.wsgiapp = runwsgi(self.appname) 2016-02-22 21:37:39.293 TRACE neutron.service File "/opt/stack/neutron/neutron/service.py", line 208, in _runwsgi 2016-02-22 21:37:39.293 TRACE neutron.service app = config.loadpasteapp(appname) 2016-02-22 21:37:39.293 TRACE neutron.service File "/opt/stack/neutron/neutron/common/config.py", line 253, in loadpaste_app 2016-02-22 21:37:39.293 TRACE neutron.service raise RuntimeError(msg) 2016-02-22 21:37:39.293 TRACE neutron.service RuntimeError: Unable to load neutron from configuration file /etc/neutron/api-paste.ini. 2016-02-22 21:37:39.293 TRACE neutron.service ERROR: Unable to load neutron from configuration file /etc/neutron/api-paste.ini. openstack@openstack-1:~/devstack$ service iptable status iptable: unrecognized service openstack@openstack-1:~/devstack$ wget 192.168.56.101:8080 --2016-02-22 21:56:15-- http://192.168.56.101:8080/ Connecting to 192.168.56.101:8080... connected. HTTP request sent, awaiting response... 404 Not Found 2016-02-22 21:56:15 ERROR 404: Not Found.