Bug 2161229
| Summary: | Add rate-limiting to metadata agents | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Bernard Cafarelli <bcafarel> |
| Component: | openstack-neutron | Assignee: | Miguel Lavalle <mlavalle> |
| Status: | CLOSED ERRATA | QA Contact: | Eran Kuris <ekuris> |
| Severity: | medium | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 17.0 (Wallaby) | CC: | bfrenkel, chrisw, dhughes, ekuris, gthiemon, jschluet, mariel, mlavalle, pgrist, scohen, smsallem, vkhitrin, ykarel |
| Target Milestone: | z1 | Keywords: | Triaged |
| Target Release: | 17.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-neutron-18.6.1-1.20230518200974.el9ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-09-20 00:29:44 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Bernard Cafarelli
2023-01-16 10:50:05 UTC
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 |