** Summary changed:

- IPv6 fails when "<interface type='direct'>", on top of OVS
+ virt-manager does not support ovs bridge

** Description changed:

+ Summary: if eth0 is bridged to a unix bridge br0, virt-manager can create
+ a vm connected through that bridge.  However if eth0 is bridged to a 
openvswitch
+ bridge ovsbr1, then virt-manager cannot create a vm connected through that
+ bridge (fails when starting up).  It needs to be taught to add the
+ <virtualport type='openvswitch'> tag into the <interface> section.
+ 
+ ========================================
+ Original description:
+ ========================================
  Hello!
  
  * Hypervisor is daily / latest Ubuntu 14.04 and guest is Ubuntu 12.04
  and 14.04
  
  -
  KVM                                            1.7.0+dfsg-3ubuntu1
  openvswitch-switch               2.0.1+git20140120-0ubuntu1
  libvirt0                                       1.2.1-0ubuntu5
  -
  
  When I create a KVM Virtual Machine with Virt-Manager, my guests have
  the following content:
  
  ---
      <interface type='direct'>
        <mac address='52:54:00:99:0d:f5'/>
        <source dev='ovsbr1' mode='bridge'/>
        <virtualport type='openvswitch'>
          <parameters interfaceid='3f1a9ee2-bef8-4cdf-88ad-6904f317348a'/>
        </virtualport>
        <model type='virtio'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x03' 
function='0x0'/>
      </interface>
  ---
  
  IPv4 works as expected but IPv6 doesn't.
  
  Then, if I edit the guest XML file with "virsh edit guest-1", and change
  <interface> like this:
  
  ---
      <interface type='bridge'>
        <mac address='52:54:00:99:0d:f5'/>
        <source bridge='ovsbr1'/>
        <virtualport type='openvswitch'>
          <parameters interfaceid='3f1a9ee2-bef8-4cdf-88ad-6904f317348a'/>
        </virtualport>
        <model type='virtio'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x03' 
function='0x0'/>
      </interface>
  ---
  
  The both IPv4 and IPv6 works!
  
  So, I guess that there is something wrong with libvirt...
  
- 
  The OVS bridges was created at the host with:
  
  --
  ovs-vsctl add-br ovsbr1
  ovs-vsctl add-port ovsbr1 eth1
  --
  
  * The OpenvSwitch bridges are Okay *
  
  Thanks!
  Thiago

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1279176

Title:
  virt-manager does not support ovs bridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1279176/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to