0

I'm not able to start a vm on kvm with the following error

[root@dev1 RHEL5-7]# virsh start demo-57-test
error: Failed to start domain demo-57-test
error: Unable to add port vnet0 to OVS bridge br0: Operation not permitted

I defined the vm using my xml file with the following command

virsh define

  • Are there several VM definitions with vnet0? I.e. does ip link show vnet0? Is there an interface br0? If there is one then maybe SELinux, AppArmor or something like that prevents this modification. – Hauke Laging Jan 29 '15 at 14:49
  • Interface br0 is defined and i can see that listed in ifconfig command. – redoc Jan 29 '15 at 14:53
  • But what about vnet0? BTW: You should get used to using ip instead of ifconfig. – Hauke Laging Jan 29 '15 at 14:59
  • @HaukeLaging Identified the issue. The xml I used to define my domain/vm has <virtualport type='openvswitch'> and since I don't have ovs running on this box it gave that error. After I removed that line from my xml, vm comes up fine. Thanks for the ip suggestion though(old habits die hard). – redoc Jan 29 '15 at 15:10
0

The xml I used to define my domain/vm has and since I don't have ovs running on this box it gave that error. After I removed that line from my xml, vm comes up fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.