[libvirt-users] Using source installed open vswitch with libvirt(or virsh).

Laine Stump laine at laine.org
Fri May 31 16:56:09 UTC 2013


On 05/27/2013 05:22 AM, ??? wrote:
>
>  
> At that time, /var/log/libvirt/libvirtd.log 
> (these are also translated)
> -----------------------------------------
> 2013-05-23 04:32:14.588+0000: 11455: error : virNetDevGetMTU:343 :
> Cannot get interface MTU on 'ovsbr0': No such device 
> 2013-05-23 04:32:14.678+0000: 11455: error : virExecWithHook:419 :
> Cannot find 'ovs-vsctl' in path: No such file or directory
> 2013-05-23 04:32:14.679+0000: 11455: error :
> virNetDevOpenvswitchRemovePort:173 : Unable to delete port (null) from
> OVS: command does not allowed.
> -----------------------------------------
>  
>  
> I think above errors comes from install location of OVS as written in
> libvirtd.log.


Correct. When you built and installed openvswitch, it apparently was
installed in some alternate place (/usr/local?) that isn't in the PATH
supplied to libvirtd when it starts.

The simplest solution would be to find ovs-vsctl, and make a symlink to
it from /usr/bin/ovs-vsctl.

BTW, since you're apparently already building upstream libvirt from
source, I'll repeat Eric's request to try libvirt-1.0.5 or the
libvirt-1.0.6-rc2 instead of 1.0.0; many things have been accomplished
in the last 6 months.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130531/811fc20b/attachment.htm>


More information about the libvirt-users mailing list