openstack网络节点中neutron-openvswitch错误

在网络节点中安装nova-compute与neutron-plugin-openvswitch-agent neutron-plugin-ml2时,nova-compute启动正常,但当重启计算节点后,service nova-compute restart 提示unknown instance,nova-compute.log中没有错误输出,但在openvswitch-agent.log中提示如下:ERROR neutron.agent.linux.ovsdb_monitor [-] Error received from ovsdb monitor: ovsdb-client: unix:/var/run/openvswitch/db.sock: receive failed (End of file) ERROR neutron.agent.linux.ovs_lib [-] Unable to execute ['ovs-ofctl', 'dump-flows', 'br-int', 'table=22']. Exception: Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-ofctl', 'dump-flows', 'br-int', 'table=22']Exit code: 1Stdout: ''Stderr: 'ovs-ofctl: br-int is not a bridge or a socket

我的错误是没有删除 nova.sqlite文件,执行rm -f /var/lib/nova/nova.sqlite命令重启nova-compute openvswitch-switch服务即可(太坑爹了找了好长时间)

你可能感兴趣的:(openstack)