Designate DNS (RFE) – “api_export_size”, immediate “413 over_quota” instead of “202”

Bug #1960495 reported by Arkady Shtempler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
New
Undecided
Unassigned

Bug Description

### Scenario ###
As admin set the “api_export_size” to X
Create a Zone and start adding recordsets to exceed X

### Actual Result ###
When the X+1 quota is actually reached, export API (asynchronous) responds with 202.

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

Notes:
1) For reproducing: https://review.opendev.org/c/openstack/designate-tempest-plugin/+/827934
test name: test_api_export_size_quota
2) From Michael:
The issue here is that the zone export API is an asynchronous API. The test will get back a 202 status that Designate has accepted the request. If you do a followup call to "zone export show" you will see that the export went into ERROR.

Tags: designate
tags: added: designate
information type: Public → Public Security
information type: Public Security → Public
affects: ubuntu-release-upgrader (Ubuntu) → designate
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.