Bug #7545
closedservice-wait should disable proxy usage in case environmental variables exist
Description
a user in #katello was hitting a installer issue:
[ERROR 2014-09-19 17:22:14 main] Could not start Service[tomcat6]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait tomcat6 start' returned 5: Starting tomcat6: [ OK ]
as it turned out the http_proxy and https_proxy environment variables were defined.
When he ran:
/usr/bin/wget --timeout=1 -4 --tries=5 --retry-connrefused --no-check-certificate https://localhost:8443/candlepin/status
he got:
| Resolving proxy.domain... 192.168.0.44 | Connecting to proxy.domain|192.168.0.44|:8080... connected. | Proxy tunneling failed: ForbiddenUnable to establish SSL connection.
Which indicated wget was trying to use his proxy.
We should tell wget and curl to not use a proxy:
looks like 'wget --no-proxy' and 'curl --noproxy *' should do this.
Updated by Eric Helms almost 10 years ago
- Pull request https://github.com/Katello/puppet-service_wait/pull/6 added
- Pull request deleted (
)
Updated by Eric Helms almost 10 years ago
- Status changed from New to Ready For Testing
Updated by Eric Helms almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello-installer|0125683ff7093692bf1e524cbde192923cb92c5b.