ovs-brcompatd is not running的解决办法

本文介绍了在OpenStack环境中启动OpenVSwitch时遇到ovs-brcompat未运行错误的解决步骤。包括安装必要的软件包、配置内核头文件链接及强制加载网桥模块等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值