360SDN.COM

neutron-server.service启动失败显示代理报错http://controller:9696/v2.0/agents.j

来源:  2019-04-17 10:05:58    评论:0点击:

启动neutron-server.service服务不成功,在显示代理中报错connection to http://controller:9696/v2.0/agents.json

[root@controller ~]# systemctl restart 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.

[root@controller ~]# neutron agent-list
Unable to establish connection to http://controller:9696/v2.0/agents.json


检查状态时显示

[root@controller ~]# systemctl status neutron-server.service
● neutron-server.service - OpenStack Neutron Server
   Loaded: loaded (/usr/lib/systemd/system/neutron-server.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2017-11-16 09:36:32 EST; 25s ago
  Process: 14404 ExecStart=/usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf --config-dir /usr/share/neutron/server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-server --log-file /var/log/neutron/server.log (code=exited, status=1/FAILURE)
 Main PID: 14404 (code=exited, status=1/FAILURE)

Nov 16 09:36:29 controller systemd[1]: Starting OpenStack Neutron Server...
Nov 16 09:36:30 controller neutron-server[14404]: Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registe...te reports.
Nov 16 09:36:30 controller neutron-server[14404]: Option "verbose" from group "DEFAULT" is deprecated for removal.  Its value may be silently ignored in the future.
Nov 16 09:36:31 controller neutron-server[14404]: Option "notification_driver" from group "DEFAULT" is deprecated. Use option "driver" from group "oslo_messaging_notifications".
Nov 16 09:36:32 controller systemd[1]: neutron-server.service: main process exited, code=exited, status=1/FAILURE
Nov 16 09:36:32 controller systemd[1]: Failed to start OpenStack Neutron Server.
Nov 16 09:36:32 controller systemd[1]: Unit neutron-server.service entered failed state.
Nov 16 09:36:32 controller systemd[1]: neutron-server.service failed.
Hint: Some lines were ellipsized, use -l to show in full.


neutron-server.service: main process exited, code=exited, status=1/FAILURE

只有个状态失败。。。


查看messages日志

tail -f /var/log/messages

Nov 16 09:47:33 controller systemd: Starting OpenStack Neutron Server...
Nov 16 09:47:33 controller neutron-server: Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.
Nov 16 09:47:34 controller neutron-server: Option "verbose" from group "DEFAULT" is deprecated for removal.  Its value may be silently ignored in the future.
Nov 16 09:47:35 controller neutron-server: Option "notification_driver" from group "DEFAULT" is deprecated. Use option "driver" from group "oslo_messaging_notifications".
Nov 16 09:47:35 controller systemd: neutron-server.service: main process exited, code=exited, status=1/FAILURE
Nov 16 09:47:35 controller systemd: Failed to start OpenStack Neutron Server.
Nov 16 09:47:35 controller systemd: Unit neutron-server.service entered failed state.
Nov 16 09:47:35 controller systemd: neutron-server.service failed.


Nov 16 09:47:35 controller systemd: neutron-server.service: main process exited, code=exited, status=1/FAILURE

还是只有个状态失败,没有什么有用的信息


后来干脆直接检查neutron.conf文件发现设置core_plugin=ml2时敲错了,更改设置后正常

[root@controller ~]# vi /etc/neutron/neutron.conf
[root@controller ~]# systemctl restart neutron-server.service 







原文:https://blog.csdn.net/controllerha/article/details/78811617
为您推荐

友情链接 |九搜汽车网 |手机ok生活信息网|ok生活信息网|ok微生活
 Powered by www.360SDN.COM   京ICP备11022651号-4 © 2012-2016 版权