Hi,
i couldn't able to resolve the issue with above steps.i got the following
error in virt-manager.
Error starting domain: Unable to add bridge 1511 port vnet0: Operation not
supported
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 96, in
cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 117, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/domain.py", line 1162, in
startup
self._backend.create()
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 866, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: Unable to add bridge 1511 port vnet0: Operation not supported
Thanking you,
jayakeerthi k
On Mon, Feb 23, 2015 at 10:53 PM, Scott Lowe <[email protected]>
wrote:
> Please see my responses inline, prefixed by [SL].
>
> jayakeerthi k <[email protected]> wrote:
>
> > sorry for the delay,
> > libvirt version is 1.2.2
> > ovs_version: "2.0.2"
> > i'm installing it through Virt-manager.
> > xml file is
> >
> > <snip>
> >
> > <interface type='bridge'>
> > <mac address='52:54:00:f1:51:47'/>
> > <source bridge='1511'/>
> > <model type='virtio'/>
> > <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
> function='0x0'/>
> > </interface>
>
>
> [SL] This section is the issue. The guest domain (VM) is set to use a
> bridge ("1511"?), but you haven't specified "virtualport type=openvswitch",
> so Libvirt isn't able to properly communicate with OVS.
>
> If you look at the example XML that I supplied here:
>
> <http://blog.scottlowe.org/2012/11/12/libvirt-ovs-integration-revisited/>
>
> then you can see a snippet of network XML configuration that *will* work
> with OVS. This should get you started down the right path.
>
> Good luck!
>
> > On Thu, Feb 19, 2015 at 10:47 PM, Scott Lowe <[email protected]>
> wrote:
> > Please see my responses inline, prefixed by [SL].
> >
> > jayakeerthi k <[email protected]> wrote:
> >
> > > OK..
> > >
> > > when i try to create vm i'm gettting error unable to add vnet0 port on
> the
> > > bridge br3.
> >
> > [SL] Jayakeerthi, can you share the following information to help us help
> > you?
> >
> > - The network portion of the domain XML configuration for your VM
> (obtained
> > via 'virsh dumpxml <vm-name>'
> >
> > - The versions of OVS and libvirt installed on your system
> >
> > - The command(s) you are using to create and/or start the VM
> >
> > Feel free to use a service like pastebin.com to share the domain XML
> > configuration, if you'd like.
> >
> > Thanks!
> >
> > >> On Thu, Feb 19, 2015 at 10:01 AM, Ben Pfaff <[email protected]> wrote:
> > >>
> > >> I don't think you can. KVM creates the port, OVS only handles
> switching.
> > >>
> > >>> On Thu, Feb 19, 2015 at 09:08:49AM +0530, jayakeerthi k wrote:
> > >>>
> > >>> how to create port's in openvswitch that can be assigned to vm
> created
> > >>> with KVM?
>
>
> --
> Scott
>
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss