Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1117343 - OSAD cannot connect to Spacewalk via a Squid proxy
Summary: OSAD cannot connect to Spacewalk via a Squid proxy
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 2.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Stephen Herr
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space22 space23
TreeView+ depends on / blocked
 
Reported: 2014-07-08 13:33 UTC by Milan Zázrivec
Modified: 2015-04-14 19:02 UTC (History)
9 users (show)

Fixed In Version: osad-5.11.47-1
Doc Type: Bug Fix
Doc Text:
Clone Of: 567789
Environment:
Last Closed: 2015-04-14 19:02:50 UTC
Embargoed:


Attachments (Terms of Use)

Description Milan Zázrivec 2014-07-08 13:33:43 UTC
+++ This bug was initially created as a clone of Bug #567789 +++

Description of problem:
osad cannot connect to Spacewalk via a Squid proxy.

Version-Release number of selected component (if applicable):
osad-5.11.27-1

How reproducible:
Always

Steps to Reproduce:
1. Spacewalk 2.1, registered client(s), Squid proxy in between
2. Configure your client (/etc/sysconfig/rhn/up2date) to use http proxy,
optionally with authentication
3. Install & start osad on your client

Actual results:
osad will attempt to connecto to the parent Spacewalk rather than
the configured Squid proxy.

Expected results:
osad will honor & use http proxy settings.

Additional info:
N/A

Comment 1 Milan Zázrivec 2014-07-08 13:56:49 UTC
spacewalk.git master: 401b64c6ccc1a09fcda05280fbf745c838cbc32c

Comment 2 Milan Zázrivec 2014-07-17 08:40:58 UTC
Spacewalk 2.2 has been released:

    https://fedorahosted.org/spacewalk/wiki/ReleaseNotes22

Comment 3 Stephen Herr 2014-11-04 20:06:02 UTC
This fix has a problem, if using an unauthenticated proxy and having set enableProxyAuth=0 in /etc/sysconfig/rhn/up2date, you will get this error:

Error caught:
Traceback (most recent call last):
  File "/usr/share/rhn/osad/jabber_lib.py", line 119, in main
    c = self.setup_connection(no_fork=no_fork)
  File "/usr/share/rhn/osad/jabber_lib.py", line 253, in setup_connection
    c = self._get_jabber_client(js)
  File "/usr/share/rhn/osad/jabber_lib.py", line 306, in _get_jabber_client
    if cf['enable_proxy_auth']:
KeyError: 'enable_proxy_auth'

Committing to Spacewalk master:
50b9546ad2854c27fab998a1734fcdc71eaf9b82

Comment 4 Grant Gainey 2015-03-23 16:58:52 UTC
Moving bugs to ON_QA as we move to release Spacewalk 2.3

Comment 5 Grant Gainey 2015-04-14 19:02:50 UTC
Spacewalk 2.3 has been released. See

https://fedorahosted.org/spacewalk/wiki/ReleaseNotes23


Note You need to log in before you can comment on or make changes to this bug.