<div dir="ltr"><div>Hello Felipe:</div><div><br></div><div>Did you configure both the server and the agent? Probably you configured the server correctly, this is why you can create and apply the QoS policies.</div><div><br></div><div>But you also need to configure the OVS agent [1]. In the plugin ML2 config (by default /etc/neutron/plugins/ml2/ml2_conf.ini), you need to configure the agent extension:</div><div><pre><span class="gmail-k">[agent]</span>
<span class="gmail-na">extensions</span> <span class="gmail-o">=</span> <span class="gmail-s">qos</span></pre></div><div><br></div><div>Check this config file and then enable the OVS agent debug logs (restarting the agent). Check the logs for any QoS message there. You should also check:</div><div>- For BW limit ingress rules (ingress from the VM point of view, this is the default point of view): the OVS agent creates a QoS register and a queue register in the OVS DB table. You should see them using ovs-vsctl tool.</div><div>- For BW limit egress: the OVS agent modifies the port Interface table, setting the "ingress_policing_rate" and "ingress_policing_burst" (we don't do traffic shaping, we drop packets exceeding the max rate but it works).</div><div><br></div><div>I hope that helps you to debug what is happening there.</div><div><br></div><div>Regards.</div><div><br></div><div>[1]<a href="https://docs.openstack.org/neutron/rocky/admin/config-qos.html">https://docs.openstack.org/neutron/rocky/admin/config-qos.html</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 19, 2021 at 8:28 AM Felipe Mogollon <<a href="mailto:fmogollon@vicomtech.org">fmogollon@vicomtech.org</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>Hi,</div><div><br></div><div>I am using OVS as backend.</div><div><br></div><div>I can set networking limit by QoS and openstack accepts and can check QoS settings (bandwith, etc..) but nothing matters, I always get maximun transfer speed.</div><div><br></div><div>Regards</div><div><br></div><div>Felipe<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 16, 2021 at 3:47 PM Rodolfo Alonso Hernandez <<a href="mailto:ralonsoh@redhat.com" target="_blank">ralonsoh@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>Hello Felipe:</div><div><br></div><div>What network backend are you using? OVS, SR-IOV, OVN or Linux Bridge? Or any other out-of-tree backend?</div><div><br></div><div>Regards.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 16, 2021 at 2:32 PM Felipe Mogollon <<a href="mailto:fmogollon@vicomtech.org" target="_blank">fmogollon@vicomtech.org</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>Hi,</div><div><br></div><div>I am running openstack victoria installed using packstack.</div><div><br></div><div>Everything things to be fine except bandwidth limit. I have tried to limit internal traffic between two instances and between instances and "Internet" but I always get maximum  data transfer speed.</div><div><br></div><div>I have set up following rules</div><div><br></div><div>openstack network qos rule create --type bandwidth-limit --max-kbps 3     --max-burst-kbits 2 --ingress bw-choke</div><div>openstack network qos rule create --type bandwidth-limit --max-kbps 3     --max-burst-kbits 2 --egress bw-choke</div><div><br></div><div>and applied bw-choke policy to the internal network where my instances are deployed:</div><div><br></div><div>openstack network set --qos-policy bw-choke newdeploylab_private_network</div><div><br></div><div>and to ports where machines connect to subnet:</div><div><br></div><div>openstack port set --qos-policy bw-choke 503a07b8-2da0-4abe-8251-ede648ba42b4</div><div>openstack port set --qos-policy bw-choke 776d5fb3-639c-47cc-9b0f-6ec855397df7</div><div><br></div><div>but nothing happens.</div><div><br></div><div>Each time I try to download something from internet or copy data from an instance to another I always get maximum data transfer speed.</div><div><br></div><div></div><div></div><div>I have followed instructions from <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></div><div><br></div><div>Any ideas?<br></div><div><br></div><div><br>-- <br><div dir="ltr"><div><table cellspacing="0" cellpadding="2" border="0"><tbody><tr><td style="min-width:209px;max-width:209px" width="209"><a href="https://www.vicomtech.org" target="_blank"><img src="https://www.vicomtech.org/firmas/html/Vicomtech2020.png?date=1602661969" border="0"></a></td></tr><tr><td width="209"><br><span style="font-size:12px;color:black;font-family:CENTURY GOTHIC;font-weight:bold">Juan Felipe Mogollón Rodríguez</span><br><span style="font-size:12px;color:black;font-family:CENTURY GOTHIC">Researcher | Investigador</span><br></td></tr><tr><td style="border-width:2px;border-color:rgb(0,171,201);border-bottom:2px solid rgb(0,171,201)" width="209"><br><span style="font-size:12px;color:black;font-family:CENTURY GOTHIC"><a href="mailto:fmogollon@vicomtech.org" style="color:black" target="_blank">fmogollon@vicomtech.org</a></span><br><span style="font-size:12px;color:black;font-family:CENTURY GOTHIC">+[34] 943 30 92 30</span></td></tr><tr><td width="209"><span style="font-size:11px;color:black;font-family:CENTURY GOTHIC">Digital Media</span><br></td></tr><tr><td width="209"><br><a href="https://www.linkedin.com/company/vicomtech" target="_blank"><img src="https://www.vicomtech.org/firmas/html/linkedinCuadrado.png?date=1602661969" longdesc="https://ci3.googleusercontent.com/proxy/7UWqpYlE0MQkPCVESbNp1489z7ZFv8EOWuYr1Gq13m6rcg=s0-d-e1-ft#http://Linkedin" border="0"></a> <a href="https://www.youtube.com/user/VICOMTech" target="_blank"><img src="https://www.vicomtech.org/firmas/html/youtubeCuadrado.png?date=1602661969" longdesc="https://ci4.googleusercontent.com/proxy/mZe0Yb076jmwB-pTjVqQNp9dWSh9zxI1oShFIED2lNxM=s0-d-e1-ft#http://YouTube" border="0"></a> <a href="https://twitter.com/@Vicomtech" target="_blank"><img src="https://www.vicomtech.org/firmas/html/twitterCuadrado.png?date=1602661969" longdesc="https://ci6.googleusercontent.com/proxy/cxi_ZRnSH7REJhce_fO2Cez0OFaQ8d6Ry4oZsIfYvx5M=s0-d-e1-ft#http://Twitter" border="0"></a></td></tr><tr><td width="209"><br><span style="font-size:12px;color:black;font-family:CENTURY GOTHIC">member of: <a href="https://graphicsvision.ai/" target="_blank"><img src="https://www.vicomtech.org/firmas/html/gv2020.png?date=1602661969" longdesc="https://ci5.googleusercontent.com/proxy/M2nrNMHf8zTWII3Wy-wAdNUx0cFFglI1_QhutucRUJ4ao-ITaxHTGxi8lQ=s0-d-e1-ft#http://Graphicsvision.ai" style="vertical-align: middle;" border="0"></a></span></td></tr><tr><td width="209"><br><span style="font-size:10px;color:black;font-family:CENTURY GOTHIC;font-weight:normal;font-style:italic">La información que contiene este mensaje y sus adjuntos son confidenciales y están dirigidos exclusivamente a sus destinatarios. Si recibe este  mensaje por error, se ruega nos lo comunique y proceda a su borrado.<br><br>The information contained in this electronic message is intended only for the personal and confidential use of the recipients designated in the original message. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. </span></td></tr></tbody></table></div></div></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>