Project

General

Profile

Actions

Bug #7545

closed

service-wait should disable proxy usage in case environmental variables exist

Added by Justin Sherrill almost 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Justin Sherrill over 9 years ago

  • Bugzilla link set to 1156516
Actions #2

Updated by Eric Helms over 9 years ago

  • Target version set to 63
Actions #3

Updated by Eric Helms over 9 years ago

  • Pull request https://github.com/Katello/puppet-service_wait/pull/6 added
  • Pull request deleted ()
Actions #4

Updated by Eric Helms over 9 years ago

  • Status changed from New to Ready For Testing
Actions #5

Updated by Eric Helms over 9 years ago

  • Target version changed from 63 to 66
Actions #6

Updated by Eric Helms over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF