[ovs-discuss] libvirt: error : cannot execute binary ovs-vsctl: Permission denied

Cristina Palomo Regidor cristina.palomo.regidor at ericsson.com
Mon Sep 23 09:25:06 UTC 2013


Hello, executing the command virsh start scn1 we are getting this error:

sccf1-dell2:/usr/bin # virsh start scn1
error: Failed to start domain scn1
error: Unable to add port vnet0 to OVS bridge virbr0: Operation not permitted

And looking into livbirt log, it seems that it is giving permission denied.


2013-09-23 11:13:46.077+0000: 6738: error : virCommandWait:2353 : internal error Child process (ovs-vsctl --timeout=5 -- --may-exist add-port virbr0 vnet0 -- set Interface vnet0 'external-ids:attached-mac="2a:65:fe:77:fe:d1"' -- set Interface vnet0 'external-ids:iface-id="f78b1c1a-1e6b-41ff-ac6a-6e734003bbc0"' -- set Interface vnet0 'external-ids:vm-id="37f02c75-5e26-d980-4431-dd364524f105"' -- set Interface vnet0 external-ids:iface-status=active) unexpected exit status 1: libvirt:  error : cannot execute binary ovs-vsctl: Permission denied

But we have permissions in the binaries:

sccf1-dell2:/var/log/libvirt # ls -ltr /usr/bin/ovs-vsctl
lrwxrwxrwx 1 root root 24 Sep 20 16:59 /usr/bin/ovs-vsctl -> /usr/local/bin/ovs-vsctl

sccf1-dell2:/var/log/libvirt # ls -ltr /usr/local/bin/ovs-vsctl
-rwxr-xr-x 1 root root 3287469 Sep 20 12:26 /usr/local/bin/ovs-vsctl

Anyone could help?
Thanks and BR/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130923/740136b1/attachment.html>


More information about the discuss mailing list