Hi all,
We have problem in that our vRA8 IPAM Infoblox integration is continuous filling our Infoblox's logs. It appears vRA connects to Infoblox, does nothing and then shortly after, it reconnects and does nothing, repeat.
Can this interval be changed? Can't find any workflow or actions for Infoblox.
Any help or advise?
Cheers,
Carly Warly
Check in Cloud Assembly the action runs. For us, vRA connects every 10 minutes and fetches the available subnets:
I don't think this can be changed.
Hi xian,
Thanks for getting back to me, this is the problem, it runs twice a minute 😞
Carl
We have two instances of vRA 8.3 and both have the same problem, running Infoblox_GetIPRanges, 2 to 3 times a minute.
Carl
Did some more digging in the logs, it appears that it runs Infoblox_GetIPRanges 6 times in quick fire every 10 mins. So every 10mins it runs Infoblox_GetIPRanges, as soon as it finished it runs it again 5 more times?
I think it's might be, because our environment is so large it need to run it 6 times to get all it's info...
Looking at limiting via Infoblox.IPAM.NetworkContainerFilter, Infoblox.IPAM.NetworkContainerFilter, Infoblox.IPAM.RangeFilter...
That's a good idea, probably the plugin gets paged results so fetches the remaining items. I'd expect only one entry though in Action Runs...
Can you see any messages in the Action Run logs, like "Querying for infoblox networks with page: ..." ?
def do_get_ip_ranges(self, auth_credentials, cert):
next_page_id['network_next_page_id'] = None
next_page_id['range_next_page_id'] = None
connector_host = self.inputs['endpoint']['endpointProperties']['hostName']
connector_options = build_connector_options(self.inputs, connector_host, cert, auth_credentials)
connector_options['paging'] = True
connector_options['max_results'] = self.inputs['pagingAndSorting']['maxResults']
global conn
conn = connector.Connector(connector_options)
connector.Connector._get_object = _new_get_object
result_networks = []
skip, page = get_page_token(self.inputs, 'network')
if skip is False:
logging.info(f"Querying for infoblox networks with page: {page}")
networks = conn.get_object('network', payload=page,
return_fields=['default', 'extattrs', 'options', 'comment', 'members', 'network_container'])
result_networks = convert_networks(networks)
skip, page = get_page_token(self.inputs, 'range')
if skip is False:
logging.info(f"Querying for infoblox ranges with page: {page}")
ranges = conn.get_object('range', payload=page,
return_fields=['default', 'extattrs', 'options', 'comment', 'member'])
result_ranges = convert_ranges(ranges)
result_networks.extend(result_ranges)
result = {
"ipRanges": result_networks
}
if next_page_id['network_next_page_id'] is not None or next_page_id['range_next_page_id'] is not None:
result["nextPageToken"] = json.dumps(next_page_id)
return result
Or you may want to limit the api user permissions so fewer networks are visible:
Infoblox_GetIPBlocks was running once & Infoblox_GetIPRanges 5 times, each pulling back a page worth of information.
I have managed using Infoblox.IPAM.NetworkFilter & Infoblox.IPAM.RangeFilter to drop it down to two calls, one each.
Is there any way I can run this once an hour, I know our environment is larger than normal but neither the block or ranges change that much, that I need to poll every 10 mins?
Do you have example of what you entered for values. Been playing around and it is not limiting my range.
I just got into vRA 8 / Cloud Assembly. Up until now, Infoblox plugin integration has been great. But now with a /8, several /16 and /17's, we have the same problem you reported. Can you please share where you set these properties?
Damion Terrell . + (He/Him) + . * . + @ + . * . + .
Core IT Service Specialist * . + * . + . + . + * +
UNM – IT Platforms – VIS + . . . . . . . . .
. + . + * . + * .
* . . + . . . . + . + * + .
“You learn the job of the person above you, * + . + * @
and you teach your job to the person below you..” . * +
hello there,
from memory used two Infoblox.IPAM.RangeFilter on our two vra installs, live & dev, under Cloud Assembly - Intergrations - Infoblox
live was for all /23 subnets & dev, only 192.168.16.0 & 192.168.104.0 subnets
network~=10\.\d{1,3}\.\d{1,3}\.0\/23
network~=192\.168\.(16|104)\.0\/24
hope it helps,
Carl