<div dir="ltr">You can check this file: <a href="https://github.com/openstack/neutron/blob/master/neutron/common/profiler.py">https://github.com/openstack/neutron/blob/master/neutron/common/profiler.py</a>.<div>If you would like to install with kolla-ansible, osprofiler configure should be manual added to /etc/kolla/config/neutron/(some thign herre) (i guess)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 28, 2023 at 2:57 PM Slawek Kaplonski <<a href="mailto:skaplons@redhat.com">skaplons@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><p style="margin:0px">Hi,</p>
<br><p style="margin:0px">Dnia wtorek, 28 lutego 2023 03:39:23 CET hai wu pisze:</p>
<p style="margin:0px">> There is this `profiler` section for osprofiler for</p>
<p style="margin:0px">> nova.conf/glance-api.conf/cinder.conf/keystone.conf.</p>
<p style="margin:0px">> </p>
<p style="margin:0px">> But there's no such section for neutron.conf, why? I could not find</p>
<p style="margin:0px">> this section in even the latest neutron.conf document.</p>
<p style="margin:0px">> </p>
<p style="margin:0px">> Thus I could not get `openstack network list --os-profile MY_KEY_HERE` to work.</p>
<p style="margin:0px">> </p>
<p style="margin:0px">> </p>
<br><p style="margin:0px">maybe it's not documented (and that would be bug worth reporting) but You can use it with neutron for sure. We are doing that e.g. in neutron-ovs-rally-task CI job. See neutron config example from that job [1]. And result of profiling is then in the rally page [2] in the "Scenario Data" tab.</p>
<br><p style="margin:0px">[1] <a href="https://a5ee3d263fc9f9b0b1b0-8b0899cb6c8c0582fa25b52fb6031f3e.ssl.cf5.rackcdn.com/874931/1/check/neutron-ovs-rally-task/e29e551/controller/logs/etc/neutron/neutron_conf.txt" target="_blank">https://a5ee3d263fc9f9b0b1b0-8b0899cb6c8c0582fa25b52fb6031f3e.ssl.cf5.rackcdn.com/874931/1/check/neutron-ovs-rally-task/e29e551/controller/logs/etc/neutron/neutron_conf.txt</a></p>
<p style="margin:0px">[2] <a href="https://a5ee3d263fc9f9b0b1b0-8b0899cb6c8c0582fa25b52fb6031f3e.ssl.cf5.rackcdn.com/874931/1/check/neutron-ovs-rally-task/e29e551/results/report.html#/NeutronNetworks.create_and_bind_ports/output" target="_blank">https://a5ee3d263fc9f9b0b1b0-8b0899cb6c8c0582fa25b52fb6031f3e.ssl.cf5.rackcdn.com/874931/1/check/neutron-ovs-rally-task/e29e551/results/report.html#/NeutronNetworks.create_and_bind_ports/output</a></p>
<br><p style="margin:0px">-- </p>
<p style="margin:0px">Slawek Kaplonski</p>
<p style="margin:0px">Principal Software Engineer</p>
<p style="margin:0px">Red Hat</p>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Thu.</div>