dns-backend wget should ignore proxy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Designate-Bind Charm |
New
|
Undecided
|
Unassigned |
Bug Description
When working on a cloud that must use proxy settings to connect to the internet, the charm's internal communication with peers is trying to use the proxy. While in some circumstatnces, we can include all of the no-proxy ips for the cloud, but for clouds with more than a /23 for internal/admin networks, the no_proxy variable overruns with IPs.
It would be helpful for the internal charm to charm communications for passing data either use the relation or use no-proxy on the wget to pull zone-sync files.
Error is:
subprocess.
Fails when hitting proxy that doesn't have access to the dns-backend space:
root@juju-
--2018-10-23 15:13:17-- http://
Connecting to 10.55.0.15:8000... connected.
Proxy request sent, awaiting response... 500 Internal Server Error
2018-10-23 15:13:17 ERROR 500: Internal Server Error.
Works when ip of peer is in no_proxy variable.
root@juju-
--2018-10-23 15:14:01-- http://
Connecting to 10.55.12.135:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 133 [application/
Saving to: ‘1539981718.
1539981718.
workaround:
lib/charm/ openstack/ designate_ bind.py line 421, add '--no-proxy' to cmd list.