-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infoblox implementation will throw exceptions when there are over 999 hosted zones #2102
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Comments
This is applicable for large organizations where there are thousands of hosted zones,... like mine. |
FYI @saileshgiri |
mmerrill3
pushed a commit
to mmerrill3/external-dns
that referenced
this issue
May 26, 2021
…-sigs#2102) Signed-off-by: mmerrill <mike@Mikes-MBP.fios-router.home>
mmerrill3
pushed a commit
to mmerrill3/external-dns
that referenced
this issue
May 27, 2021
…-sigs#2102) Signed-off-by: mmerrill <mike@Mikes-MBP.fios-router.home>
2 tasks
mmerrill3
pushed a commit
to mmerrill3/external-dns
that referenced
this issue
May 27, 2021
…-sigs#2102) Signed-off-by: mmerrill3 <jjpaacks@gmail.com>
2 tasks
mmerrill3
pushed a commit
to mmerrill3/external-dns
that referenced
this issue
May 27, 2021
…-sigs#2102) Signed-off-by: mmerrill3 <jjpaacks@gmail.com>
mmerrill3
added a commit
to mmerrill3/external-dns
that referenced
this issue
May 27, 2021
…-sigs#2102) Signed-off-by: mmerrill3 <jjpaacks@gmail.com>
mmerrill3
added a commit
to mmerrill3/external-dns
that referenced
this issue
May 27, 2021
…-sigs#2102) Signed-off-by: mmerrill3 <jjpaacks@gmail.com>
k8s-ci-robot
added a commit
that referenced
this issue
Jun 23, 2021
Adding ability to query Infoblox API using regex for fqdn (#2102)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened:
External-dns is ran with the configuration to use infoblox as the DNS provider. If the size of the hosted zones from the GET API "zone_auth" is larger than 999 hosted zones, the infoblox API will throw an exception
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Run external-dns with infoblox as the DNS provider. If there are more than 1000 results come back from zone_auth, infoblox will return an exception
Here is a shell file to replicate the issue, fill in a GRID_HOST that has more than 1000 hosted zones.
The output will be :
{ "Error": "AdmConProtoError: Result set too large (> 1000)",
"code": "Client.Ibap.Proto",
"text": "Result set too large (> 1000)",
"trace": " File "ibapapachemod.py", line 470, in handlerequest\n File "/infoblox/common/lib/python/infoblox/one/admin_conn/wapibase.py", line 1485, in execute\n File "/infoblox/common/lib/python/infoblox/one/admin_conn/wapibase.py", line 1439, in _exec_handler\n File "/infoblox/common/lib/python/infoblox/one/admin_conn/wapihandler.py", line 887, in execute\n File "/infoblox/common/lib/python/infoblox/one/wapibaseobj.py", line 1377, in read\n"
Anything else we need to know?:
Environment:
external-dns --version
): 0.8.0A proposed solution may be to allow querying for the hosted zones with a regular expression. See https://www.infoblox.com/wp-content/uploads/infoblox-deployment-infoblox-rest-api.pdf, where "zone_auth" API can be called with a regular expression for a fqdn. For example, to find hosted zones that start with staging in test.com:
curl -k -u admin:infoblox -X GET "https://gridmaster/wapi/v2.10.3/zone_auth?fqdn~=^staging.*.test.com$&_return_fields=fqdn&_return_as_object=1"
The text was updated successfully, but these errors were encountered: