On Mon, Sep 23, 2013 at 2:25 AM, Cristina Palomo Regidor
<cristina.palomo.regi...@ericsson.com> wrote:
> 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.

To run ovs-vsctl commands, you need root permissions. It may be the issue here.


>
>
>
>
>
> 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/
>
>
> _______________________________________________
> discuss mailing list
> discuss@openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to