[Bug 1960495] [NEW] Designate DNS (RFE) – “api_export_size”, immediate “413 over_quota” instead of “202”
Arkady Shtempler
1960495 at bugs.launchpad.net
Thu Feb 10 10:30:25 UTC 2022
Public bug reported:
### 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.
** Affects: designate
Importance: Undecided
Status: New
** Tags: designate
** Tags added: designate
** Package changed: ubuntu-release-upgrader (Ubuntu) => designate
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1960495
Title:
Designate DNS (RFE) – “api_export_size”, immediate “413 over_quota”
instead of “202”
Status in Designate:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/designate/+bug/1960495/+subscriptions
More information about the foundations-bugs
mailing list