This bugzilla goal is to complete upstream launchpad bug [0] and include it in OSP: At the moment, there is no limit on how many requests the metadata-agent will handle. Some users may sometimes run scripts in their instances that try to query the metadata endpoint at high rate (for example a bugged k8s cloud controller manager), causing an increased load on some or all the component above the metadata-agent. Spec was accepted and merged [1], but proposed code change was not fully completed [2] [0] https://bugs.launchpad.net/neutron/+bug/1989199 [1] https://review.opendev.org/c/openstack/neutron-specs/+/856831 [2] https://review.opendev.org/c/openstack/neutron/+/858879
verified on RHOS-17.1-RHEL-9-20230907.n.1 in compute node I edited the file: /var/lib/config-data/puppet-generated/neutron/etc/neutron/neutron.conf ``` with the following values: [metadata_rate_limiting] rate_limit_enabled = true base_query_rate_limit = 1 burst_window_duration = 10 burst_query_rate_limit = 10 ``` I restarted the service `tripleo_ovn_metadata_agent.service` from the vm ``` [cloud-user@vm1 ~]$ curl http://169.254.169.254 1.0 2007-01-19 2007-03-01 2007-08-29 2007-10-10 2007-12-15 2008-02-01 2008-09-01 2009-04-04 latest[cloud-user@vm1 ~]$ curl http://169.254.169.254 <html><body><h1>429 Too Many Requests</h1> You have sent too many requests in a given amount of time. </body></html> ```
Bracha has no permissions to move this but to `VERIFIED`.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Release of components for Red Hat OpenStack Platform 17.1.1 (Wallaby)), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:5138