我创建了一个路由器,在其中我为路由器创建了一个接口:
但是你看,状态都是Down,如何调试界面?为什么一切都失败了?
修改-1
在/var/log/neutron/server.log
中,我使用cat server.log | grep router
,获取以下信息:
2017-08-04 08:56:13.835 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 08:56:50.830 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 08:57:27.826 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 08:58:04.822 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 08:58:41.817 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 08:59:18.813 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 08:59:55.809 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:00:32.805 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:01:09.800 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:01:46.796 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:02:23.792 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:03:00.788 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:03:37.783 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:04:14.779 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:04:51.775 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:05:28.771 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:06:05.766 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:06:42.762 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:07:19.757 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:07:56.753 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:08:33.750 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:09:10.746 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:09:47.743 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:10:24.739 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:11:01.735 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:11:38.731 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:12:15.728 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:12:52.724 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:13:29.721 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:14:06.718 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
2017-08-04 09:14:43.715 103451 ERROR neutron.db.agentschedulers_db [req-7a2dde4e-5aca-499d-8946-5bfd965cea93 - - - - -] Exception encountered during router rescheduling.
答案 0 :(得分:0)
因为你的港口'管理状态都在提高,所以有一些可能的原因如下。
答案 1 :(得分:0)
最后,我在/etc/neutron/plugins/ml2/ml2_conf.ini
配置文件中发现,我没有配置ml2 type_drivers
和mechanism_drivers
。所以我配置它们:
# openstack-config --set /etc/neutron/plugins/ml2/ml2_conf.ini ml2 type_drivers flat,vlan,vxlan
# openstack-config --set /etc/neutron/plugins/ml2/ml2_conf.ini ml2 mechanism_drivers linuxbridge,l2population
然后重启中子服务器:
systemctl restart neutron-server.service
systemctl restart neutron-l3-agent.service
现在,它运作正常。