分享

systemctl start neutron-server.service 报错了

very_99 发表于 2016-1-8 17:36:10 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 2 33165
systemctl start neutron-server.service
Job for neutron-server.service failed because the control process exited with error code. See "systemctl status neutron-server.service" and "journalctl -xe" for details.

log信息如下:


[mw_shl_code=bash,true]

2016-01-08 17:32:42.559 4691 INFO neutron.common.config [-] Logging enabled!
2016-01-08 17:32:42.560 4691 INFO neutron.common.config [-] /usr/bin/neutron-server version 7.0.2
2016-01-08 17:32:42.561 4691 INFO neutron.common.config [-] Logging enabled!
2016-01-08 17:32:42.562 4691 INFO neutron.common.config [-] /usr/bin/neutron-server version 7.0.2
2016-01-08 17:32:42.562 4691 INFO neutron.common.config [-] Config paste file: /usr/share/neutron/api-paste.ini
2016-01-08 17:32:42.571 4691 INFO neutron.manager [-] Loading core plugin: m12
2016-01-08 17:32:42.572 4691 ERROR neutron.service [-] Unrecoverable error: please check log for details.
2016-01-08 17:32:42.572 4691 ERROR neutron.service Traceback (most recent call last):
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/neutron/service.py", line 103, in serve_wsgi
2016-01-08 17:32:42.572 4691 ERROR neutron.service     service.start()
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/neutron/service.py", line 76, in start
2016-01-08 17:32:42.572 4691 ERROR neutron.service     self.wsgi_app = _run_wsgi(self.app_name)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/neutron/service.py", line 208, in _run_wsgi
2016-01-08 17:32:42.572 4691 ERROR neutron.service     app = config.load_paste_app(app_name)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/neutron/common/config.py", line 246, in load_paste_app
2016-01-08 17:32:42.572 4691 ERROR neutron.service     app = deploy.loadapp("config:%s" % config_path, name=app_name)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2016-01-08 17:32:42.572 4691 ERROR neutron.service     return loadobj(APP, uri, name=name, **kw)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2016-01-08 17:32:42.572 4691 ERROR neutron.service     return context.create()
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-01-08 17:32:42.572 4691 ERROR neutron.service     return self.object_type.invoke(self)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2016-01-08 17:32:42.572 4691 ERROR neutron.service     **context.local_conf)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 56, in fix_call
2016-01-08 17:32:42.572 4691 ERROR neutron.service     val = callable(*args, **kw)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/paste/urlmap.py", line 25, in urlmap_factory
2016-01-08 17:32:42.572 4691 ERROR neutron.service     app = loader.get_app(app_name, global_conf=global_conf)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2016-01-08 17:32:42.572 4691 ERROR neutron.service     name=name, global_conf=global_conf).create()
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-01-08 17:32:42.572 4691 ERROR neutron.service     return self.object_type.invoke(self)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2016-01-08 17:32:42.572 4691 ERROR neutron.service     **context.local_conf)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 56, in fix_call
2016-01-08 17:32:42.572 4691 ERROR neutron.service     val = callable(*args, **kw)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/neutron/auth.py", line 71, in pipeline_factory
2016-01-08 17:32:42.572 4691 ERROR neutron.service     app = loader.get_app(pipeline[-1])
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2016-01-08 17:32:42.572 4691 ERROR neutron.service     name=name, global_conf=global_conf).create()
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-01-08 17:32:42.572 4691 ERROR neutron.service     return self.object_type.invoke(self)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke
2016-01-08 17:32:42.572 4691 ERROR neutron.service     return fix_call(context.object, context.global_conf, **context.local_conf)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 56, in fix_call
2016-01-08 17:32:42.572 4691 ERROR neutron.service     val = callable(*args, **kw)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/neutron/api/v2/router.py", line 73, in factory
2016-01-08 17:32:42.572 4691 ERROR neutron.service     return cls(**local_config)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/neutron/api/v2/router.py", line 77, in __init__
2016-01-08 17:32:42.572 4691 ERROR neutron.service     plugin = manager.NeutronManager.get_plugin()
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 248, in get_plugin
2016-01-08 17:32:42.572 4691 ERROR neutron.service     return weakref.proxy(cls.get_instance().plugin)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 242, in get_instance
2016-01-08 17:32:42.572 4691 ERROR neutron.service     cls._create_instance()
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 254, in inner
2016-01-08 17:32:42.572 4691 ERROR neutron.service     return f(*args, **kwargs)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 228, in _create_instance
2016-01-08 17:32:42.572 4691 ERROR neutron.service     cls._instance = cls()
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 121, in __init__
2016-01-08 17:32:42.572 4691 ERROR neutron.service     plugin_provider)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 160, in _get_plugin_instance
2016-01-08 17:32:42.572 4691 ERROR neutron.service     plugin_class = self.load_class_for_provider(namespace, plugin_provider)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 150, in load_class_for_provider
2016-01-08 17:32:42.572 4691 ERROR neutron.service     plugin_class = importutils.import_class(plugin_provider)
2016-01-08 17:32:42.572 4691 ERROR neutron.service   File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 27, in import_class
2016-01-08 17:32:42.572 4691 ERROR neutron.service     __import__(mod_str)
2016-01-08 17:32:42.572 4691 ERROR neutron.service ValueError: Empty module name
2016-01-08 17:32:42.572 4691 ERROR neutron.service
2016-01-08 17:32:42.575 4691 CRITICAL neutron [-] ValueError: Empty module name
2016-01-08 17:32:42.575 4691 ERROR neutron Traceback (most recent call last):
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/bin/neutron-server", line 10, in <module>
2016-01-08 17:32:42.575 4691 ERROR neutron     sys.exit(main_wsgi_eventlet())
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/cmd/eventlet/server/__init__.py", line 19, in main_wsgi_eventlet
2016-01-08 17:32:42.575 4691 ERROR neutron     wsgi_eventlet.main()
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/server/wsgi_eventlet.py", line 50, in main
2016-01-08 17:32:42.575 4691 ERROR neutron     server.boot_server(_eventlet_wsgi_server)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/server/__init__.py", line 35, in boot_server
2016-01-08 17:32:42.575 4691 ERROR neutron     server_func()
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/server/wsgi_eventlet.py", line 27, in _eventlet_wsgi_server
2016-01-08 17:32:42.575 4691 ERROR neutron     neutron_api = service.serve_wsgi(service.NeutronApiService)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/service.py", line 106, in serve_wsgi
2016-01-08 17:32:42.575 4691 ERROR neutron     LOG.exception(_LE('Unrecoverable error: please check log '
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__
2016-01-08 17:32:42.575 4691 ERROR neutron     six.reraise(self.type_, self.value, self.tb)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/service.py", line 103, in serve_wsgi
2016-01-08 17:32:42.575 4691 ERROR neutron     service.start()
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/service.py", line 76, in start
2016-01-08 17:32:42.575 4691 ERROR neutron     self.wsgi_app = _run_wsgi(self.app_name)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/service.py", line 208, in _run_wsgi
2016-01-08 17:32:42.575 4691 ERROR neutron     app = config.load_paste_app(app_name)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/common/config.py", line 246, in load_paste_app
2016-01-08 17:32:42.575 4691 ERROR neutron     app = deploy.loadapp("config:%s" % config_path, name=app_name)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2016-01-08 17:32:42.575 4691 ERROR neutron     return loadobj(APP, uri, name=name, **kw)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2016-01-08 17:32:42.575 4691 ERROR neutron     return context.create()
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-01-08 17:32:42.575 4691 ERROR neutron     return self.object_type.invoke(self)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2016-01-08 17:32:42.575 4691 ERROR neutron     **context.local_conf)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 56, in fix_call
2016-01-08 17:32:42.575 4691 ERROR neutron     val = callable(*args, **kw)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/paste/urlmap.py", line 25, in urlmap_factory
2016-01-08 17:32:42.575 4691 ERROR neutron     app = loader.get_app(app_name, global_conf=global_conf)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2016-01-08 17:32:42.575 4691 ERROR neutron     name=name, global_conf=global_conf).create()
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-01-08 17:32:42.575 4691 ERROR neutron     return self.object_type.invoke(self)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2016-01-08 17:32:42.575 4691 ERROR neutron     **context.local_conf)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 56, in fix_call
2016-01-08 17:32:42.575 4691 ERROR neutron     val = callable(*args, **kw)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/auth.py", line 71, in pipeline_factory
2016-01-08 17:32:42.575 4691 ERROR neutron     app = loader.get_app(pipeline[-1])
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2016-01-08 17:32:42.575 4691 ERROR neutron     name=name, global_conf=global_conf).create()
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-01-08 17:32:42.575 4691 ERROR neutron     return self.object_type.invoke(self)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke
2016-01-08 17:32:42.575 4691 ERROR neutron     return fix_call(context.object, context.global_conf, **context.local_conf)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 56, in fix_call
2016-01-08 17:32:42.575 4691 ERROR neutron     val = callable(*args, **kw)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/api/v2/router.py", line 73, in factory
2016-01-08 17:32:42.575 4691 ERROR neutron     return cls(**local_config)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/api/v2/router.py", line 77, in __init__
2016-01-08 17:32:42.575 4691 ERROR neutron     plugin = manager.NeutronManager.get_plugin()
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 248, in get_plugin
2016-01-08 17:32:42.575 4691 ERROR neutron     return weakref.proxy(cls.get_instance().plugin)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 242, in get_instance
2016-01-08 17:32:42.575 4691 ERROR neutron     cls._create_instance()
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 254, in inner
2016-01-08 17:32:42.575 4691 ERROR neutron     return f(*args, **kwargs)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 228, in _create_instance
2016-01-08 17:32:42.575 4691 ERROR neutron     cls._instance = cls()
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 121, in __init__
2016-01-08 17:32:42.575 4691 ERROR neutron     plugin_provider)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 160, in _get_plugin_instance
2016-01-08 17:32:42.575 4691 ERROR neutron     plugin_class = self.load_class_for_provider(namespace, plugin_provider)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 150, in load_class_for_provider
2016-01-08 17:32:42.575 4691 ERROR neutron     plugin_class = importutils.import_class(plugin_provider)
2016-01-08 17:32:42.575 4691 ERROR neutron   File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 27, in import_class
2016-01-08 17:32:42.575 4691 ERROR neutron     __import__(mod_str)
2016-01-08 17:32:42.575 4691 ERROR neutron ValueError: Empty module name
2016-01-08 17:32:42.575 4691 ERROR neutron
[/mw_shl_code]


已有(2)人评论

跳转到指定楼层
arsenduan 发表于 2016-1-8 19:18:24
可能是这个配置文件有问题neutron.conf
楼主按照官网核实下,是否都正确了。

回复

使用道具 举报

very_99 发表于 2016-1-8 23:07:12
arsenduan 发表于 2016-1-8 19:18
可能是这个配置文件有问题neutron.conf
楼主按照官网核实下,是否都正确了。

好像是我理解有问题了。

看aboutyun的安装步骤(版本不同 有差异), controller也安装neutron一些东西 我以为只要network节点上安装。

官网是network和controller装一起了。  

求指点一下。  哪个文档有介绍neutron在哪个节点具体装什么配什么吗

谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条