Hi!

 Also, I just tried this:

ifdown ovsbr0p1
ifdown eth0

ovs-vsctl del-port ovsbr0p1
ovs-vsctl del-br ovsbr0
ovs-vsctl show (empty / clean)

ovs-vsctl add-br br0
ovs-vsctl add-port br0 eth0
ovs-vsctl list-br

New /etc/network/interfaces:

------
# The primary network interface
auto eth0
iface eth0 inet static
address 10.32.14.2
netmask 24
# gateway 10.32.14.1

auto br0
iface br0 inet manual
up ifconfig $IFACE 0.0.0.0 up
 down ifconfig $IFACE down
------

 And now I can select the bridge (br0) on virt-manager but, same error when
I try to start it:

 "Unable to complete install: 'Unable to add bridge br0 port vnet0:
Operation not supported'"

 I just read this:
http://blog.allanglesit.com/2012/03/linux-kvm-ubuntu-12-04-with-openvswitch/-
since I'm using Ubuntu 12.04 but, no difference, same error...

 I really appreciate ANY help from you guys!

Thanks!
Thiago

On 18 January 2013 18:40, Martinx - ジェームズ <[email protected]> wrote:

> Hi!
>
>  I'm trying Open vSwitch after much delay... Can't use brctl anymore...
>  =P
>
>  I have Ubuntu 12.04 64 bits, Open vSwitch 1.4.0+build0, with Ubuntu
> Cloud Archives <https://wiki.ubuntu.com/ServerTeam/CloudArchive>repository 
> enabled... Which provides libvirt 0.9.13 for Ubuntu 12.04 LTS.
>
>  What I'm doing?
>
> ovs-vsctl add-br ovsbr0
> ovs-vsctl add-port ovsbr0 eth0
> ovs-vsctl add-port ovsbr0 ovsbr0p1 -- set interface ovsbr0p1 type=internal
>
> My /etc/network/interfaces have:
> ---
> # The primary network interface
> auto eth0
> iface eth0 inet manual
> up ifconfig $IFACE 0.0.0.0 up
>  down ifconfig $IFACE down
>
> auto ovsbr0p1
> iface ovsbr0p1 inet static
> address 10.32.14.2
>  netmask 24
> ---
>
>  But when open virt-manager, I can't select the ovsbr0p1 (or ovsbr0)...
> They are "unselectable" (gray)...
>
>  What am I missing?
>
>  I followed this guide to help me:
> http://blog.allanglesit.com/2012/10/linux-kvm-ubuntu-12-10-with-openvswitch/
>
>  When I tried to manually select the ovsbr0 or ovsbr0p1, virt-manager
> returns:
>
> ------
> Traceback (most recent call last):
> File “/usr/share/virt-manager/virtManager/asyncjob.py”, line 45, in
> cb_wrapper
> callback(asyncjob, *args, **kwargs)
> File “/usr/share/virt-manager/virtManager/create.py”, line 1909, in
> do_install
> guest.start_install(False, meter=meter)
> File “/usr/lib/python2.7/dist-packages/virtinst/Guest.py”, line 1236, in
> start_install
> noboot)
> File “/usr/lib/python2.7/dist-packages/virtinst/Guest.py”, line 1304, in
> _create_guest
> dom = self.conn.createLinux(start_xml or final_xml, 0)
> File “/usr/lib/python2.7/dist-packages/libvirt.py”, line 2501, in
> createLinux
> if ret is None:raise libvirtError(‘virDomainCreateLinux() failed’,
> conn=self)
> libvirtError: Unable to add bridge ovsbr0p1 port vnet0: Operation not
> supported
> ------
>
>  I do not have openvswitch-brcompat installed. And I don't think I need it.
>
> Thanks!
> Thiago
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to