search for: vsctl

Displaying 20 results from an estimated 76 matches for "vsctl".

2014 Mar 06
5
create ovs port without root
Hello! How can i operate with openvswitch without root rights? For example - i can add my user to kvm group and create vm from libvirt with my own user, but now i'm failed with creating port. errors in logs: Mar 06 14:04:46 selfip.ru ovs-vsctl[19065]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --timeout=5 -- --if-exists del-port Mar 06 14:04:46 selfip.ru ovs-vsctl[19065]: ovs|00002|vsctl|ERR|'del-port' command requires at least 1 arguments Mar 06 14:04:46 selfip.ru libvirtd[6418]: internal error: Child process (ovs-vsctl --timeout=...
2014 Mar 07
1
Re: create ovs port without root
Thanks for answers,but as I see libvirt call ovs-vsctl that tries to connect to ovs-vswitchd socket,that have rw to root.how can I specify socket permissions in vswitchd? On Thu, Mar 06, 2014 at 02:05:15PM +0400, Vasiliy Tolstov wrote: > Hello! How can i operate with openvswitch without root rights? > For example - i can add my user to kvm group...
2011 Aug 03
0
openvswitch on xen 4.x
..."Invalid device: ${netdev} is up and has a valid IP address!" >&2 exit 1 fi show_status () { local dev=$1 local bridge=$2 echo ''============================================================'' echo ''vSwitch interfaces'' ovs-vsctl list-ifaces ${bridge} echo '' '' echo ''vSwitch ports'' ovs-vsctl list-ports ${bridge} echo ''============================================================'' } op_start () { if [ "${bridge}" = "null" ] ; then...
2016 May 14
1
Re: libvirt + openvswitch, <parameters interfaceid='x'/> seems less-than-useful?
...9;/> <model type='virtio'/> <alias name='net2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </interface> .... cuckoo vm up: monitor0 _uuid is 969ef76c... # ovs-vsctl --columns=name,_uuid,external-ids list Interface | grep -A3 monitor0 name : "monitor0" _uuid : 969ef76c-c802-4e9f-97e0-9a06ce133252 external_ids : {attached-mac="52:54:00:f5:29:72", iface-id="23e982f3-f344-48a2-8bed-b584acb95616", if...
2017 Jul 20
0
OVS+DPDK Problem
.../usr/local/var/run/openvswitch ovsdb-tool create /usr/local/etc/openvswitch/conf.db /usr/local/share/openvswitch/vswitch.ovsschema 5. Starting OVS + DPDK ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock --remote=db:Open_vSwitch,Open_vSwitch,manager_options --pidfile --detach ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-socket-mem=" 1024,1024" ovs-ctl --no-ovsdb-server --db-sock="$DB_SOCK" start 6. Cheking driver mapping for NICs driverctl -v list-devices | grep -i net $DPDK_DIR/too...
2014 Mar 06
0
Re: [ovs-discuss] create ovs port without root
The error that you're showing doesn't appear to be related to permissions; the "ovs-vsctl del-port" command requires that you specify the port that you want to delete. --Justin On Mar 6, 2014, at 2:05 AM, Vasiliy Tolstov <v.tolstov@selfip.ru> wrote: > Hello! How can i operate with openvswitch without root rights? > For example - i can add my user to kvm group and cr...
2016 May 13
2
libvirt + openvswitch, <parameters interfaceid='x'/> seems less-than-useful?
...9;{uuid here}'/>, but libvirt keeps deleting/creating ports and the OVS internal UUID changes, which means any setting applied in OVS (e.g. setting a port as a mirror) is lost during the add/delete cycle. With my cuckoo sandbox vm up: (no bfc10d05 UUID in ports, the mirror port UUID) # ovs-vsctl list bridge _uuid : 16847994-eb75-4e71-a913-50edd8a89252 mirrors : [bfc10d05-846e-4653-8417-27e1f648da93] name : "malware0" ports : [3931cb83-1f85-4fc8-880d-ffe299a85857, 6c6e3d97-d55b-4d55-8179-302412242664, 8eb4e13b-b5ea-4994-8e95-8...
2018 Jan 23
2
Create virtual machine failed using virDomainCreateXML
...#39;/><virtualport type='openvswitch'/><address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/></interface> I looked at the system log and it looked like an ovs port problem: 4560 Jan 22 17:43:33 ubuntu-24 ovs-vsctl: ovs|00001|vsctl|INFO|Called as ovs-vsctl --timeout=5 -- --if-exists del-port vnet110 -- add-port lcs_br_1 vnet110 -- set Interface vnet110 "external- ids:attached-mac=\"52:54:00:21:63:25\"" -- set Interface vnet110 "external-ids:iface-id=\"d0e5c770-6f03-4703-b107-...
2012 Jul 09
1
OpenVswitch with KVM virtual machines
...s follows: ____ ____ / VM1\______br0_______/ em1\ \____/ | \____/ | _|_ /VM2\ \____/ virbr0 is the virtual network switch VM1 and VM2 are on the same subnet having tap interfaces vnet0 and vnet1 respectively. em1 is the default network interface. $sudo ovs-vsctl add-br br0 $sudo ovs-vsctl add-port br0 em1 $sudo ifconfig br0 <ip address of em1> $sudo ip route del default dev em1 $sudo ip route add default dev br0 (Using the above commands, I was able to connect to the internet) $sudo brctl delif virbr0 vnet0 $sudo ovs-vsctl add-port br0 vnet0 $sudo b...
2020 Mar 30
2
Ovs error when starting vm: ovs-vsctl: 'del-port' command requires at least 1 arguments
...oblems starting VMs that make use of openvswitch portgroups. When I start a VM, I get this error message on virsh: > virsh # start testvm > error: Failed to start domain testvm > error: An error occurred, but the cause is unknown The system log contains: > Mar 30 09:45:39 tplinux ovs-vsctl[2763]: ovs|00001|db_ctl_base|ERR|'del-port' command requires at least 1 arguments > Mar 30 09:45:39 tplinux libvirtd[735]: internal error: Child process (ovs-vsctl --timeout=5 -- --if-exists del-port) unexpected exit status 1: ovs-vsctl: 'del-port' command requires at least 1 arg...
2013 Jul 17
2
Libvirt "tc ingress qdisc" automatically removed by ovs vlan tag setting, how?
...n='0x0'/> </interface> ... # tc qdisc ls dev tap0a2b02ca-48 qdisc htb 1: root refcnt 2 r2q 10 default 1 direct_packets_stat 0 qdisc sfq 2: parent 1:1 limit 127p quantum 1514b perturb 10sec qdisc ingress ffff: parent ffff:fff1 ---------------- (<-- already showed up) # ovs-vsctl set port tap0a2b02ca-48 tag=1 # tc qdisc ls dev tap0a2b02ca-48 qdisc htb 1: root refcnt 2 r2q 10 default 1 direct_packets_stat 0 qdisc sfq 2: parent 1:1 limit 127p quantum 1514b perturb 10sec (<-- ingress qdisc is gone) After that, if add this qdisc manually and re-set vlan tag, problem no long...
2014 Mar 07
0
Re: create ovs port without root
...00, Vasiliy Tolstov wrote: > Hello! How can i operate with openvswitch without root rights? > For example - i can add my user to kvm group and create vm from > libvirt with my own user, but now i'm failed with creating port. > > errors in logs: > Mar 06 14:04:46 selfip.ru ovs-vsctl[19065]: > ovs|00001|vsctl|INFO|Called as ovs-vsctl --timeout=5 -- --if-exists > del-port > Mar 06 14:04:46 selfip.ru ovs-vsctl[19065]: > ovs|00002|vsctl|ERR|'del-port' command requires at least 1 arguments > Mar 06 14:04:46 selfip.ru libvirtd[6418]: internal error: Child >...
2020 Jan 04
3
Connecting a VM to an existing OVS bridge
Hi, I have an existing OVS bridge, that I can see in ovs-vsctl and use for other purposes. I've edited the machine's XML as instructed in http://docs.openvswitch.org/en/latest/howto/libvirt/ When I try to start the VM, i get error: Cannot get interface MTU on 'ovsbr': No such device Any ideas? (Note: I can't see the ovs switch in brctl...
2019 Mar 15
2
Error starting domain: internal error: Unable to add port vnet0 to OVS bridge br0
...in startup self._backend.create() File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1035, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: internal error: Unable to add port vnet0 to OVS bridge br0 My output for ovs-vsctl show: 3c28f516-dd5c-43cf-bea1-7c068668d1f6 Bridge "br0" Port "enp0s31f6" Interface "enp0s31f6" Port "br0" Interface "br0" type: internal ovs_version: "2.11.90" *However, when...
2019 Mar 26
0
Re: Error starting domain: internal error: Unable to add port vnet0 to OVS bridge br0
...o the list is *much* more likely to reach someone who knows the answer than is a private message to a single person. On 3/26/19 10:03 AM, Harsh Gondaliya wrote: > Mar 26 19:25:01 dpdk-OptiPlex-5040 libvirtd.service: 20423: error : > virCommandWait:2553 : internal error: Child process (ovs-vsctl > --timeout=5 -- --if-exists del-port vnet0 -- add-port br0 vnet0 -- set > Interface vnet0 'external-ids:attached-mac="52:54:00:90:c6:c3"' -- set > Interface vnet0 > 'external-ids:iface-id="a9700eff-03a7-4c47-a112-429fc20677a2"' -- set > Inter...
2013 May 07
1
Libvirt 1.0.5 with Openvswitch 1.11.90: unable to add bridge br0 port vnet0 operation not supported
Howdy, Running the most recent OVS and libvirt I'm running into the following error message with virt-install: root at qemu-kvm:~/libvirt-1.0.5#<mailto:root at qemu-kvm:~/libvirt-1.0.5#> ovs-vsctl -V ovs-vsctl (Open vSwitch) 1.11.90 Compiled May 6 2013 22:37:22 root at qemu-kvm:~/libvirt-1.0.5#<mailto:root at qemu-kvm:~/libvirt-1.0.5#> root at qemu-kvm:~/libvirt-1.0.5#<mailto:root at qemu-kvm:~/libvirt-1.0.5#> virt-install --connect qemu:///system --name DSL2 --ram 1024 --vcpus...
2012 Jul 12
1
[ovs-discuss] OpenVswitch with KVM virtual machines
...9;t need a flow table entry. VM3 is in a different subnet. So, when I ping from VM1 to VM3 or viceversa, they aren't reachable to each other. However, the packets do not arrive at the controller at all. Could you suggest me what might possibly be wrong. This is how the bridge looks: $sudo ovs-vsctl br0 show Bridge "br0" Port "vnet1" Interface "vnet1" Port "br0" Interface "br0" type: internal Port "vnet0" Interface "vnet0" Port "vnet2" Interface "vnet2" ovs_version: "1.4.0" Than...
2020 Mar 30
0
Re: Ovs error when starting vm: ovs-vsctl: 'del-port' command requires at least 1 arguments
On 30. 3. 2020 11:10, Thomas Pircher wrote: > Hi, > > my system got updated to libvirt 6.0.0 (from 5.6.0) this morning, and > now I'm having problems starting VMs that make use of openvswitch > portgroups. I don't see any changes between 5.6.0 and now done to openvswitch in libvirt (apart from harmless code reworks towards glib). > > When I start a VM, I get this
2020 Mar 31
1
Re: Ovs error when starting vm: ovs-vsctl: 'del-port' command requires at least 1 arguments
Michal Prívozník wrote: > Can you please turn on debug logs and share them? > > https://wiki.libvirt.org/page/DebugLogs Thanks for replying, I have downgraded libvirt back to version 5.6.0 (and VMs were again able to start), but I will try to reproduce the problem on another machine in the next few days and post the logs here. Thanks, Thomas
2012 Mar 23
1
[libvirt] Problem with Open vSwitch and dnsmasq
....it; paolo.smiraglia at polito.it; dev at openvswitch.org On Thu, Mar 22, 2012 at 11:11 AM, Daniele Milani <dano1988 at hotmail.it> wrote: I think I could try the first solution. Can you explain me how do I create the port used by dnsmasq? For example, is it correct to execute # ovs-vsctl add-port virbr1 port2 tag=2 to create a port for the vLan whose tag is 2 named "port2"? Try something like this: ovs-vsctl add-port virbr1 port2 tag=2 ovs-vsctl set Interface port2 type=internal ifconfig port2 10.0.0.1 ifconfig port2 up /usr/sbin/dnsmasq --strict-order --bind-interfac...