Project

General

Profile

Actions

Bug #22394

closed

Cannot add smart proxy

Added by James Shewey about 6 years ago. Updated about 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
DNS plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When attempting to configure an Infoblox running NIOS 8.2 as a smart proxy, the errors:

Unable to communicate with the proxy: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([RestClient::Unauthorized]: 401 Unauthorized) for proxy 
https://infoblox.example.com/wapi/v2.0/features
Please check the proxy is configured and running on the host.

This makes it seem as if http basic auth is not being attempted despite setting the dns_provider in /etc/foreman-proxy/settings.d/dns.yml and setting a username and password in /etc/foreman-proxy/settings.d/dns_infoblox.yml that I confirmed was working via the web interface on the Infoblox appliance. Furthermore, using an account on the infoblox, I have confirmed that https://infoblox.example.com/wapi/v2.0/features, https://infoblox.example.com/wapi/features, https://infoblox.example.com/features and https://infoblox.example.com/wapi/v2.7/features do not exist, so I expect that some exception is needed for feature discovery in the case of infoblox smart proxies.

Actions #1

Updated by James Shewey about 6 years ago

  • Status changed from New to Rejected

What was unclear to me is that the foreman-proxy service needed to broker the connection to the infoblox. I was attempting to add the infoblox itself as a smart proxy. Despite this being enabled in settings.d/dns_infoblox.yaml, it also needed to be set to enabled in settings.d/dns.yaml. Closing bug.

Actions

Also available in: Atom PDF