Bug 2052959 - Designate DNS – “recordset_records” no “413 over_quota” response on quota exceed
Summary: Designate DNS – “recordset_records” no “413 over_quota” response on quota ex...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-designate
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 17.0
Assignee: Michael Johnson
QA Contact: Lilach Avraham
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-10 10:52 UTC by Arkady Shtempler
Modified: 2022-09-21 12:19 UTC (History)
4 users (show)

Fixed In Version: openstack-designate-12.0.2-0.20220529170342.2e55c3e.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-21 12:18:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1960497 0 None Waiting on Red Hat [BZ] Glibc support for LD_AUDIT needs to be fixed to support next generation DOE tool needs 2022-05-10 18:37:48 UTC
OpenStack gerrit 687230 0 None master: MERGED designate: Fix recordset_records quota enforcement (If8bc6043d95f52f67899a5ac69a2f72c8fd4de17) 2022-06-13 18:22:31 UTC
OpenStack gerrit 828843 0 None stable/wallaby: MERGED designate: Fix recordset_records quota enforcement (If8bc6043d95f52f67899a5ac69a2f72c8fd4de17) 2022-06-13 18:22:35 UTC
Red Hat Issue Tracker OSP-12600 0 None None None 2022-02-10 11:03:09 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:19:19 UTC

Description Arkady Shtempler 2022-02-10 10:52:46 UTC
### Scenario ###
As admin set the “recordset_records” to X
Create a Zone and try to add a recordset (with number of records is over X) to that zone.

### Actual Result ###
Recordset is successfully created

### Expected Result ###
Immediate “413 over_quota” response.

Notes:
1) For reproducing: https://review.opendev.org/c/openstack/designate-tempest-plugin/+/827934
test name: test_recordset_records_quota
2) From Michael:
This is a bug in the quota code. I can see that they are checking the quota for the existing records instead of the total including the new records.

Comment 10 errata-xmlrpc 2022-09-21 12:18:59 UTC
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.0 (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/RHEA-2022:6543


Note You need to log in before you can comment on or make changes to this bug.