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

相關文章
相關標籤/搜索