yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #86422
[Bug 1923700] Re: Report correct error when external DNS(designate) recordset quota limit exceeds
Reviewed: https://review.opendev.org/c/openstack/neutron/+/786175
Committed: https://opendev.org/openstack/neutron/commit/c16f88d1481f59e8547c406ac24b670723a3b1da
Submitter: "Zuul (22348)"
Branch: master
commit c16f88d1481f59e8547c406ac24b670723a3b1da
Author: kpdev <kinpaa@xxxxxxxxx>
Date: Wed Apr 14 09:38:45 2021 +0200
Report ExternalDNSOverQuota exception for recordset quota error
When floating IP or port with DNS records are created and the recordset
quota value of the external dns service (e.g. designate) exceeds limit,
the recordset creation fails. Report the exact reason of failure i.e.
ExternalDNSOverQuota instead of HttpException.
Depends-On: https://review.opendev.org/c/openstack/neutron-lib/+/786174
Closes-Bug: #1923700
Change-Id: Ie1dd5c26ec0eb1875d2a6a176838598117678f4a
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1923700
Title:
Report correct error when external DNS(designate) recordset quota
limit exceeds
Status in neutron:
Fix Released
Bug description:
When a Neutron FIP is created with --dns-name and --dns-domain options
and respective project where the designate zone (either forward or
reverse) is located has not enough recordset quota - user will get an
HTTP 500 error.
Basically, Neutron should propagate the OverQuota error instead of
shocking users with HTTP 500.
Actual Output:
$ openstack floating ip create --dns-domain example.org. --dns-name floatingip public
Error while executing command: HttpException: 500, Request Failed: internal server error while processing your request.
Expected Output:
$ openstack floating ip create --dns-domain example.org. --dns-name floatingip public
Error while executing command: ConflictException: 409, External DNS Quota exceeded for resources: recordset.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1923700/+subscriptions
References