Scott Lowe
2012-Sep-23 19:23 UTC
[libvirt-users] VLANs with Open vSwitch in libvirt 0.10.1
Hello all, I'm trying to take advantage of libvirt's VLAN and OVS support in the 0.10.1 release and consistently getting an "error: internal error corrupted profileid string" when starting a guest. I've defined a network using virsh; the configuration looks like this: <network> <name>ovs-network</name> <uuid>40c32a20-9eed-238c-895c-b9af7eaf72f1</uuid> <forward mode='bridge'/> <bridge name='ovsbr0' /> <virtualport type='openvswitch'/> <portgroup name='green' default='yes'> <virtualport> <parameters profileid='green-profile'/> </virtualport> </portgroup> <portgroup name='blue'> <vlan> <tag id='2'/> </vlan> <virtualport> <parameters profileid='blue-profile'/> </virtualport> </portgroup> </network> This network is listed when I run "virsh net-list --all" and is listed as active. In a guest, the network is defined like this: <interface type='network'> <mac address='52:54:00:a8:bf:8f'/> <source network='ovs-network'/> <virtualport type='openvswitch'> <parameters interfaceid='2913d936-6771-4983-1cdf-753c45ac24d2' profileid='green-profile'/> </virtualport> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </interface> This is running on Ubuntu 12.04.1 (and QEMU-KVM) with manually compiled libvirt 0.10.1 and OVS version 1.4.0+build0. For troubleshooting, I've undefined/re-define both the network and the guest, and restarted libvirtd in between. I've also tried different network names, different portgroup names, and different profileid's. I'm sure I'm missing something obvious but I can't seem to find it--any suggestions? Any and all help is appreciated. -- Scott
Apparently Analagous Threads
- Using source installed open vswitch with libvirt(or virsh).
- [libvirt] how did libvirt manage Virtual Network?
- Fwd: Re: [libvirt] how did libvirt manage Virtual Network?
- Define libvirt network portgroup with native untagged.
- Ovs error when starting vm: ovs-vsctl: 'del-port' command requires at least 1 arguments