企业网站设计开发服务,网站被k了,电商类公司网站应该怎么搭建,东莞网站建设哪里找Ovirt Node节点启动vm出现 error: Network not found: no network with matching name ‘vdsm-ovirtmgmt’ 错误的常见情况有以下几种#xff1a;常见情况有以下几种#xff1a;
网络配置丢失或未正确配置#xff1a; ○ 在 oVirt 或 libvirt 环境中#xff0c;如果网络配…Ovirt Node节点启动vm出现 error: Network not found: no network with matching name ‘vdsm-ovirtmgmt’ 错误的常见情况有以下几种常见情况有以下几种
网络配置丢失或未正确配置 ○ 在 oVirt 或 libvirt 环境中如果网络配置文件丢失、损坏或网络未正确配置虚拟机在启动时找不到名为 vdsm-ovirtmgmt 的网络。网络未激活 ○ 即使网络配置存在如果网络没有被激活或启动虚拟机也会找不到该网络导致此错误。libvirt 网络未定义或已删除 ○ 如果使用 libvirt 管理网络可能是 vdsm-ovirtmgmt 网络在 libvirt 中未定义或已经被删除。可以通过命令 virsh net-list --all 检查当前定义的网络。ovirtmgmt 网络与虚拟机配置不匹配 ○ 在 oVirt 中虚拟机依赖网络配置 vdsm-ovirtmgmt如果网络名被修改或网络配置不一致也可能导致这个错误。网络服务未运行 ○ 如果网络服务例如 ovirt-engine 或 libvirtd未启动或者服务运行异常虚拟机也可能无法找到指定的网络。
解决方法
1、查看虚拟网卡
[rootovirt ~]# virsh net-list
Please enter your authentication name:vdsmovirt Please enter your password: Name State Autostart Persistent------------------------------------------------ ;vdsmdummy; active no no2、添加配置文件 [rootovirt ~]# vim /etc/libvirt/qemu/networks/vdsm-ovirtmgmt.xml
!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:virsh net-edit vdsm-ovirtmgmt
or other application using the libvirt API.
--networknamevdsm-ovirtmgmt/nameuuid3312c517-79c8-48c5-8889-fee92aea1873/uuidforward modebridge/bridge nameovirtmgmt/
/network3、定义网卡启动
[rootovirt ~]# virsh net-define /etc/libvirt/qemu/networks/vdsm-ovirtmgmt.xml
[rootovirt ~]# virsh net-start vdsm-ovirtmgmt
[rootovirt ~]# virvirsh net-autostart vdsm-ovirtmgmt默认密码shibboleth4、再次查看虚拟网卡可以用了正常启动虚拟机 [rootovirt ~]# virsh net-list