本文主要是介绍ovs-brcompatd is not running的解决办法,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
在openstack里启动openvswitch-switch服务service openvswitch-switch start的时候可能会出现
ovs-brcompatd is not running的错误,解决方法如下:
apt-get install openvswitch-controller openvswitch-brcompat
openvswitch-switch
aptitude install -y openvswitch-datapath-source aptitude install module-assistant
module-assistant auto-install openvswitch-datapath在这个过程中可能还会出现如下错误:
Bad luck, the kernel headers for the target kernel version could not be found and you did not specify other valid kernel headers to use...
这是头文件的问题, the kernel generic headers is missing the version.h file.
解决方法如下:ln -s /usr/src/linux-headers-`uname -r`/include/generated/uapi/linux/version.h /lib/modules/`uname -r`/build/include/linux/
编辑 /etc/default/openvswitch-switch
BRCOMPAT=yes
在这过后如果还是启动不了就强制加载:
先移除网桥模块:rmmod bridge
/etc/init.d/openvswitch-switch force-reload-kmod参考资料: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1094830
http://www.chenshake.com/install-on-ubuntu-12-04-open-vswitch/
https://ask.openstack.org/en/question/1427/ovs-plugin-error-failed-to-create-ovs-patch-port/
https://bugs.launchpad.net/ubuntu/+source/tp-smapi/+bug/1069432
这篇关于ovs-brcompatd is not running的解决办法的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!