闲者博客 - device https://bk1314.com/tag/device/ zh-CN Tue, 10 May 2022 23:37:11 +0800 Tue, 10 May 2022 23:37:11 +0800 nokvm关于启动虚拟机 提示ovsbr1 No such device 临时解决办法。 https://bk1314.com/75.html https://bk1314.com/75.html Tue, 10 May 2022 23:37:11 +0800 飞鱼

节点安装脚本默认会选择打包好的本地rpm包进行安装,因系统环境不一致因素程序在本地安装失败的情况下会选择在线yum安装,近期yum源安装会找不到openvswitch安装包导致无法创建ovsbr1网卡,我们将在下个版本修复这个问题。

手动解决方法

找到安装包目录的rpms目录手动执行:

# 安装openvswitch rpm包
rpm -ivh openvswitch-2.0.0-7.el7.x86_64.rpm

# 启动并设置开机自启动
systemctl start openvswitch && systemctl enable openvswitch

# 创建ovsbr1网卡
ovs-vsctl add-br ovsbr1

]]>
0 https://bk1314.com/75.html#comments https://bk1314.com/feed/tag/device/