Hello Michal Please find request info
</controller> <interface type='bridge'> <mac address='52:54:00:8f:ab:4c'/> <source bridge='pon'/> <virtualport type='openvswitch'> <parameters interfaceid='7de3210a-399d-4c45-9fc6-2328851b25c9'/> </virtualport> <model type='e1000e'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </interface> <serial type='pty'> ################################################################################################## 2023-09-08 16:08:34.470+0000: 1060: info : libvirt version: 8.0.0, package: 1ubuntu7.5 (Marc Deslauriers <marc.deslauri...@ubuntu.com> Fri, 26 May 2023 10:08:33 -0400) 2023-09-08 16:08:34.470+0000: 1060: info : hostname: coloby-ThinkPad-E15-Gen-2 2023-09-08 16:08:34.470+0000: 1060: error : virCommandWait:2748 : internal error: Child process (ovs-vsctl --timeout=5 -- --may-exist add-port pon vnet0 -- set Interface vnet0 'external-ids:attached-mac="52:54:00:93:19:c3"' -- set Interface vnet0 'external-ids:iface-id="e671811c-1e48-42f8-a68b-c7bb63f210ec"' -- set Interface vnet0 'external-ids:vm-id="cdd5063a-1e08-4528-a352-c16f5d73efe6"' -- set Interface vnet0 external-ids:iface-status=active) unexpected exit status 126: libvirt: error : cannot execute binary ovs-vsctl: Permission denied 2023-09-08 16:08:34.470+0000: 1060: error : virNetDevOpenvswitchAddPort:187 : internal error: Unable to add port vnet0 to OVS bridge pon 2023-09-08 16:08:34.516+0000: 1060: error : virCommandWait:2748 : internal error: Child process (ovs-vsctl --timeout=5 -- --if-exists del-port) unexpected exit status 126: libvirt: error : cannot execute binary ovs-vsctl: Permission denied 2023-09-08 16:08:34.516+0000: 1060: error : virNetDevOpenvswitchRemovePort:211 : internal error: Unable to delete port (null) from OVS 2023-09-08 16:08:34.519+0000: 1060: error : virCommandWait:2748 : internal error: Child process (ovs-vsctl --timeout=5 --no-heading --columns=_uuid find queue 'external-ids:vm-id="cdd5063a-1e08-4528-a352-c16f5d73efe6"' 'external-ids:ifname="(null)"') unexpected exit status 126: libvirt: error : cannot execute binary ovs-vsctl: Permission denied 2023-09-08 16:08:34.522+0000: 1060: error : virCommandWait:2748 : internal error: Child process (ovs-vsctl --timeout=5 --no-heading --columns=_uuid find qos 'external-ids:vm-id="cdd5063a-1e08-4528-a352-c16f5d73efe6"' 'external-ids:ifname="(null)"') unexpected exit status 126: libvirt: error : cannot execute binary ovs-vsctl: Permission denied 2023-09-08 16:08:34.524+0000: 1060: error : virCommandWait:2748 : internal error: Child process (ovs-vsctl --timeout=5 set Interface ingress_policing_rate=0 ingress_policing_burst=0) unexpected exit status 126: libvirt: error : cannot execute binary ovs-vsctl: Permission denied 2023-09-08 16:08:34.524+0000: 1060: error : virNetDevOpenvswitchInterfaceClearRxQos:915 : internal error: Unable to reset ingress on port (null) 2023-09-11 06:48:19.148+0000: 1056: info : libvirt version: 8.0.0, package: 1ubuntu7.5 (Marc Deslauriers <marc.deslauri...@ubuntu.com> Fri, 26 May 2023 10:08:33 -0400) 2023-09-11 06:48:19.148+0000: 1056: info : hostname: coloby-ThinkPad-E15-Gen-2 2023-09-11 06:48:19.148+0000: 1056: error : virNetDevGetMTU:420 : Cannot get interface MTU on 'pon': No such device 2023-09-11 06:48:19.212+0000: 1056: error : virCommandWait:2748 : internal error: Child process (ovs-vsctl --timeout=5 -- --if-exists del-port) unexpected exit status 126: libvirt: error : cannot execute binary ovs-vsctl: Permission denied 2023-09-11 06:48:19.212+0000: 1056: error : virNetDevOpenvswitchRemovePort:211 : internal error: Unable to delete port (null) from OVS 2023-09-11 06:48:19.215+0000: 1056: error : virCommandWait:2748 : internal error: Child process (ovs-vsctl --timeout=5 --no-heading --columns=_uuid find queue 'external-ids:vm-id="cdd5063a-1e08-4528-a352-c16f5d73efe6"' 'external-ids:ifname="(null)"') unexpected exit status 126: libvirt: error : cannot execute binary ovs-vsctl: Permission denied 2023-09-11 06:48:19.218+0000: 1056: error : virCommandWait:2748 : internal error: Child process (ovs-vsctl --timeout=5 --no-heading --columns=_uuid find qos 'external-ids:vm-id="cdd5063a-1e08-4528-a352-c16f5d73efe6"' 'external-ids:ifname="(null)"') unexpected exit status 126: libvirt: error : cannot execute binary ovs-vsctl: Permission denied 2023-09-11 06:48:19.221+0000: 1056: error : virCommandWait:2748 : internal error: Child process (ovs-vsctl --timeout=5 set Interface ingress_policing_rate=0 ingress_policing_burst=0) unexpected exit status 126: libvirt: error : cannot execute binary ovs-vsctl: Permission denied 2023-09-11 06:48:19.221+0000: 1056: error : virNetDevOpenvswitchInterfaceClearRxQos:915 : internal error: Unable to reset ingress on port (null) 2023-09-11 06:48:44.363+0000: 1056: error : virCommandWait:2748 : internal error: Child process (ovs-vsctl --timeout=5 -- --may-exist add-port pon vnet1 -- set Interface vnet1 'external-ids:attached-mac="52:54:00:93:19:c3"' -- set Interface vnet1 'external-ids:iface-id="e671811c-1e48-42f8-a68b-c7bb63f210ec"' -- set Interface vnet1 'external-ids:vm-id="cdd5063a-1e08-4528-a352-c16f5d73efe6"' -- set Interface vnet1 external-ids:iface-status=active) unexpected exit status 126: libvirt: error : cannot execute binary ovs-vsctl: Permission denied 2023-09-11 06:48:44.363+0000: 1056: error : virNetDevOpenvswitchAddPort:187 : internal error: Unable to add port vnet1 to OVS bridge pon 2023-09-11 06:48:44.407+0000: 1056: error : virCommandWait:2748 : internal error: Child process (ovs-vsctl --timeout=5 -- --if-exists del-port) unexpected exit status 126: libvirt: error : cannot execute binary ovs-vsctl: Permission denied 2023-09-11 06:48:44.407+0000: 1056: error : virNetDevOpenvswitchRemovePort:211 : internal error: Unable to delete port (null) from OVS 2023-09-11 06:48:44.409+0000: 1056: error : virCommandWait:2748 : internal error: Child process (ovs-vsctl --timeout=5 --no-heading --columns=_uuid find queue 'external-ids:vm-id="cdd5063a-1e08-4528-a352-c16f5d73efe6"' 'external-ids:ifname="(null)"') unexpected exit status 126: libvirt: error : cannot execute binary ovs-vsctl: Permission denied @ "/var/log/libvirt/libvirtd.log" 86 lines, 13778 bytes Internal -----Message d'origine----- De : Michal Prívozník <mpriv...@redhat.com> Envoyé : lundi 11 septembre 2023 12:21 À : Laurent Coloby <laurent.col...@se.com>; Ilya Maximets <i.maxim...@ovn.org>; Eelco Chaudron <echau...@redhat.com> Cc : b...@openvswitch.org Objet : Re: [ovs-discuss] open vswitch and libvirt [External email: Use caution with links and attachments] ________________________________ On 9/11/23 10:28, Laurent Coloby via discuss wrote: > Hello Ilya > > The installation of the packet is correct > > This morning I have created a new VM , a new bridge ( with this package > installed ) and the result is always same > > > > The steps I have done > > - virsh edit VM to add the item <virtualport type ='openvswitch'/> > > #sudo ovs-ctl start > #sudo ovs-vsctl add-br pon > #sudo tunctl - t tap64 > #sudo ovs-vsctl add-port pon tap64 > > #virsh start VM > Can you pass the <interface/> part of your domain XML for the ovs bridge? Also, can you please enable the debug logs and paste the appropriate error message reported by ovs-vsctl? Meanwhile, I've fixed libvirt and with next release the error messages will be passed to users automatically: https://gitlab.com/libvirt/libvirt/-/commit/16ad37c119c66a8a0bb0dce57ccc7847b7050350 Michal _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss