ovs-brcompatd is not running的解决办法

在openstack里启动openvswitch-switch服务service openvswitch-switch start的时候可能会出现 linux

ovs-brcompatd is not running的错误,解决方法以下: ubuntu


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... api

这是头文件的问题, the kernel generic headers is missing the version.h file. ui

解决方法以下:ln -s /usr/src/linux-headers-`uname -r`/include/generated/uapi/linux/version.h /lib/modules/`uname -r`/build/include/linux/ spa

编辑 /etc/default/openvswitch-switch .net

BRCOMPAT=yes

在这事后若是仍是启动不了就强制加载: code

先移除网桥模块:rmmod bridge orm

/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/ ci

https://ask.openstack.org/en/question/1427/ovs-plugin-error-failed-to-create-ovs-patch-port/ rpc

https://bugs.launchpad.net/ubuntu/+source/tp-smapi/+bug/1069432