Designate DNS (RFE) – “api_export_size”, immediate “413 over_quota” instead of “202”
Bug #1960495 reported by
Arkady Shtempler
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:/
test name: test_api_
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: | 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.