<div dir="ltr">For OVN qos, you need to set below in neutron.conf<div><br></div><div>core_plugin = ml2<br>service_plugins = ovn-router, qos, segments, port_forwarding<br></div><div><br></div><div>and below ones in ml2_conf.ini</div><div><br></div><div>[ml2]<br>type_drivers = flat,geneve,vlan<br>tenant_network_types = geneve<br>mechanism_drivers = ovn<br>extension_drivers = port_security, qos<br></div><div><br></div><div>Ammad</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 23, 2021 at 10:42 PM Erlon Cruz <<a href="mailto:sombrafam@gmail.com">sombrafam@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hmm,<div><br></div><div>My OVN deployment doesn't show the extension, and the OVS brings it by default, thought its not listed in the l3_agent.ini file.</div><div> Where do you set that for OVN? The OVS deployment have the l3_agent.ini, but OVN does not have an L3 agent.</div><div><br></div><div>Erlon</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em ter., 23 de nov. de 2021 às 11:38, Ammad Syed <<a href="mailto:syedammad83@gmail.com" target="_blank">syedammad83@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Erlon,<div><br></div><div>I have tested on xena and it works fine. See if you have qos-fip extension loaded in neution.</div><div><br></div><div># openstack extension list | grep -i qos-fip<br><br>| Floating IP QoS                                                                                                                                                | qos-fip                                 | The floating IP Quality of Service extension                                                                                                             |</div><div>Ammad</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 23, 2021 at 6:56 PM Erlon Cruz <<a href="mailto:sombrafam@gmail.com" target="_blank">sombrafam@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Ammad,<div><br></div><div>What OpenStack version did you tested? I have just performed the FIP test on Xena and it didn't work for me. See the results I posted.</div><div><br></div><div>Erlon</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em ter., 23 de nov. de 2021 às 10:47, Ammad Syed <<a href="mailto:syedammad83@gmail.com" target="_blank">syedammad83@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi Erlon,</div><div dir="auto"><br></div><div dir="auto">You can check below url for testing qos on FIP. I have tested it and it works fine.</div><div dir="auto"><br></div><div dir="auto"><div><a href="https://github.com/openstack/neutron/blob/master/doc/source/admin/config-qos.rst" target="_blank">https://github.com/openstack/neutron/blob/master/doc/source/admin/config-qos.rst</a></div><br></div><div dir="auto">Ammad<br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 23, 2021 at 6:06 PM Erlon Cruz <<a href="mailto:sombrafam@gmail.com" target="_blank">sombrafam@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Roman, Rodolfo,<div><br></div><div>I tested setting the QoS policy to the port (internal) instead of the network (external), and it works! I did some more testing on</div><div>the OVS vs OVN deployments and I can confirm the status you are saying. What I got was:</div><div><br></div><div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:14px;line-height:19px;white-space:pre-wrap;color:rgb(0,0,0)"><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">OVS:</div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">    FIP:</div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">        Setting on port: FAIL</div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">        Setting on network: OK</div><br><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">    Private network:</div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">        Setting on port: OK</div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">        Setting on network: OK</div><br><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">    Router:</div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">        Internal port: OK</div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">        External port: OK</div><br><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">OVN:</div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">    FIP:</div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">        Setting on port: FAIL</div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">        Setting on network: FAIL (I was trying this)</div><br><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">    Private network:</div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">        Setting on port: OK</div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">        Setting on network: OK</div><br><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">    Router:</div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">        Internal port: FAIL</div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">        External port: FAIL</div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback""><br></div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">Thanks a lot for your help!!</div></div></div></div><div dir="ltr"><div><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:14px;line-height:19px;white-space:pre-wrap;color:rgb(0,0,0)"><div style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback"">Erlon</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em ter., 23 de nov. de 2021 às 08:47, Rodolfo Alonso Hernandez <<a href="mailto:ralonsoh@redhat.com" target="_blank">ralonsoh@redhat.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello Erlon:</div><div><br></div><div>We really need to review the gaps document, at least for Xena.</div><div><br></div><div>As Roman said, we have been testing QoS in OVN successfully.<br></div><div><br></div><div>The current status of QoS in OVN is (at least for Xena):</div><div>- Fixed ports (VM ports): support for BW limit rules (egress/ingress) and DSCP (only egress). Neutron supports port network QoS inheritance (same as in your example). This is not for OVN but for any backend.<br></div><div>- FIPs: support for BW limit rules (egress/ingress). Still no network QoS inheritance (in progress). <br></div><div>- GW IP: no support yet.</div><div><br></div><div>Ping me in #openstack-neutron channel (ralonsoh) if you have more questions.</div><div><br></div><div>Regards.<br></div><div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 23, 2021 at 12:12 PM Roman Safronov <<a href="mailto:rsafrono@redhat.com" target="_blank">rsafrono@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Erlon,</div><div dir="ltr"><br><div>There was a bug with setting QoS on a network but it had been fixed long ago.</div><div><a href="https://bugs.launchpad.net/neutron/+bug/1851362" target="_blank">https://bugs.launchpad.net/neutron/+bug/1851362</a>  or <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1934096" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1934096</a><br></div><div>At least in our downstream CI we do not observe such issues with QoS+OVN. </div><div><br></div><div>From the commands I see that you apply the QoS rule on the external network, right?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 23, 2021 at 12:39 PM Erlon Cruz <<a href="mailto:sombrafam@gmail.com" target="_blank">sombrafam@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Roman,<div><br></div><div>Forgot to add that detail, since I run the same routine in a non-ovn deployment and it worked. But this is how I did it:</div><div><br></div><div><font face="monospace" style="font-family:monospace;color:rgb(0,0,0)">openstack network qos policy list<br>openstack network qos policy create bw-limiter<br>openstack network qos rule create --type bandwidth-limit --max-kbps 512 --max-burst-kbits 512 --egress bw-limiter<br>openstack network qos rule create --type bandwidth-limit --max-kbps 512 --max-burst-kbits 512 --ingress bw-limiter<br>openstack network set --qos-policy bw-limiter ext_net<br></font></div><div><br></div><div>I didn't set it in the port though, which is something I should do. I'll set it in the port too for testing but I think the above should</div><div>work regardless.</div><div><br></div><div>Erlon</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em seg., 22 de nov. de 2021 às 18:45, Roman Safronov <<a href="mailto:rsafrono@redhat.com" target="_blank">rsafrono@redhat.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Erlon,</div><div dir="ltr"><br></div><div dir="ltr">I have a couple of questions that probably will help to understand the issue better.<br><div>Have you applied the QoS rules on a port, network or floating ip?</div><div>Have you applied the QoS rules before starting the VM (before it's port is active) or after?</div><div><br></div><div>Thanks</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 22, 2021 at 10:53 PM Erlon Cruz <<a href="mailto:sombrafam@gmail.com" target="_blank">sombrafam@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi folks,<div><br></div><div>I have a question related to the Neutron supportability of OVN+QoS. I have checked the config reference for both </div><div>Victoria and Xena<a href="https://docs.openstack.org/neutron/xena/admin/config-qos.html" target="_blank">[1]</a><a href="https://docs.openstack.org/neutron/xena/admin/config-qos.html" target="_blank">[2]</a> and they are shown as supported (bw limit, eggress/ingress), but I tried to set up an env</div><div>with OVN+QoS but the rules are not being effective (VMs still download at maximum speed). I double-checked</div><div>the configuration in the neutron API and it brings the QoS settings<a href="https://gist.github.com/sombrafam/f8434c0505ed4dd3f912574e7ccebb82" target="_blank">[3]</a><a href="https://gist.github.com/sombrafam/785beb10f20439c4e50eb633f294ae82" target="_blank">[4]</a><a href="https://gist.github.com/sombrafam/b171a38d8cd16bd4dc77cfee3916dccd" target="_blank">[5]</a>, and the versions<a href="https://gist.github.com/sombrafam/5d098daa1df3f116d599c09c96eab173" target="_blank">[6]</a><a href="https://gist.github.com/sombrafam/d51102e3a32be5dc8ca03d7a23b6a998" target="_blank">[7]</a> I'm using should support it.</div><div><br></div><div>What makes me more confused is that there's a document<a href="https://docs.openstack.org/neutron/xena/ovn/gaps.html" target="_blank">[8]</a><a href="https://docs.openstack.org/neutron/victoria/ovn/gaps.html" target="_blank">[9]</a> with a gap analysis of the OVN vs OVS QoS functionality</div><div>and the document *is* being updated over the releases, but it still shows that QoS is not supported in OVN. </div><div><br></div><div>So, is there something I'm missing?</div><div><br></div><div>Erlon </div><div>_______________</div><div>[1] <a href="https://docs.openstack.org/neutron/victoria/admin/config-qos.html" target="_blank">https://docs.openstack.org/neutron/victoria/admin/config-qos.html</a><br></div><div>[2] <a href="https://docs.openstack.org/neutron/xena/admin/config-qos.html" target="_blank">https://docs.openstack.org/neutron/xena/admin/config-qos.html</a></div><div>[3] QoS Config: <a href="https://gist.github.com/sombrafam/f8434c0505ed4dd3f912574e7ccebb82" target="_blank">https://gist.github.com/sombrafam/f8434c0505ed4dd3f912574e7ccebb82</a></div><div>[4] neutron.conf: <a href="https://gist.github.com/sombrafam/785beb10f20439c4e50eb633f294ae82" target="_blank">https://gist.github.com/sombrafam/785beb10f20439c4e50eb633f294ae82</a></div><div>[5] ml2_conf.ini: <a href="https://gist.github.com/sombrafam/b171a38d8cd16bd4dc77cfee3916dccd" target="_blank">https://gist.github.com/sombrafam/b171a38d8cd16bd4dc77cfee3916dccd</a></div><div>[6] neutron-api-0 versions: <a href="https://gist.github.com/sombrafam/5d098daa1df3f116d599c09c96eab173" target="_blank">https://gist.github.com/sombrafam/5d098daa1df3f116d599c09c96eab173</a></div><div>[7] nova-compute-0 versions: <a href="https://gist.github.com/sombrafam/d51102e3a32be5dc8ca03d7a23b6a998" target="_blank">https://gist.github.com/sombrafam/d51102e3a32be5dc8ca03d7a23b6a998</a></div><div>[8] Gaps from ML2/OVS-OVN Xena: <a href="https://docs.openstack.org/neutron/xena/ovn/gaps.html" target="_blank">https://docs.openstack.org/neutron/xena/ovn/gaps.html</a></div><div>[9] Gaps from ML2/OVS-OVN Victoria: <a href="https://docs.openstack.org/neutron/victoria/ovn/gaps.html" target="_blank">https://docs.openstack.org/neutron/victoria/ovn/gaps.html</a><br></div><div><br></div><div><br></div></div>
</blockquote></div><br clear="all"><div><br></div><div dir="ltr"><div dir="ltr"><div style="font-family:RedHatText,sans-serif;font-size:medium;margin-top:12px;color:rgb(0,0,0)"></div></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div><br><div dir="ltr"><div dir="ltr"><div style="font-family:RedHatText,sans-serif;font-size:medium;margin-top:12px;color:rgb(0,0,0)"></div></div></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div></div>-- <br><div dir="ltr">Regards,<div><br></div><div><br></div><div>Syed Ammad Ali</div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">Regards,<div><br></div><div><br></div><div>Syed Ammad Ali</div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Regards,<div><br></div><div><br></div><div>Syed Ammad Ali</div></div>