Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1116898 - content sync via authenticated proxy using digest_pw method fails
Summary: content sync via authenticated proxy using digest_pw method fails
Keywords:
Status: CLOSED DUPLICATE of bug 1025890
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: sat6-pulp-future 1025890 1033011 1131719
TreeView+ depends on / blocked
 
Reported: 2014-07-07 14:40 UTC by Mike McCune
Modified: 2017-07-26 19:44 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1025890
Environment:
Last Closed: 2015-03-05 21:30:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mike McCune 2014-07-07 14:40:44 UTC
+++ This bug was initially created as a clone of Bug #1025890 +++

Description of problem:
When syncing through a proxy using the digest_pw method of authentication in squid, sync fails with an access denied -- despite the proxy apparently working otherwise for other traffic.  

Note that ncsa auth method seems to be ok.

Version-Release number of selected component (if applicable):
Satellite-6.0.2-RHEL-6-20131101.0

How reproducible:


Steps to Reproduce:
1.  Configure a squid proxy using digest_pw auth

COMMENT OUT ("#") the following line in /etc/squid/squid.conf to assure we're not bypassing auth.

http_access allow localnet

ADD the following lines to /etc/squid/squid.conf in the access section

auth_param digest program /usr/lib64/squid/digest_pw_auth  -c /etc/squid/passwords
auth_param digest realm proxy
acl authenticated proxy_auth REQUIRED
http_access allow authenticated

EXECUTE the following
# htdigest -c /etc/squid/passwords proxy katello
(provide password for user 'katello' twice)

RESTART squid
# service squid restart
(if you want, assure your proxy works by pointing a browser to it - you should be forced to authenticate with katello/katello username/passwd

2. katello-configure --proxy-url http://yourproxy.example.com --proxy-port 3128 --proxy-user katello --proxy-pass katello
3.  Attempt to sync repo content

Actual results:

1383336473.313      0 10.16.96.134 TCP_DENIED/407 4254 GET http://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/repomd.xml - NONE/- text/html
1383336495.477      0 10.16.96.134 TCP_DENIED/407 4254 GET http://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/repomd.xml - NONE/- text/html


Expected results:

Successful sync

Additional info:

Here's an example of the same content working with an ncsa auth method in squid

1383336589.341     66 10.16.96.134 TCP_MISS/200 1543 GET http://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/repomd.xml katello DIRECT/74.125.226.229 application/xml
1383336589.424     36 10.16.96.134 TCP_MISS/200 1767 GET http://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/filelists.xml.gz katello DIRECT/74.125.226.229 application/xml
1383336589.448     58 10.16.96.134 TCP_MISS/200 1038 GET http://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/other.xml.gz katello DIRECT/74.125.226.229 application/xml
1383336589.451     61 10.16.96.134 TCP_MISS/200 2524 GET http://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/primary.xml.gz katello DIRECT/74.125.226.229 application/xml

--- Additional comment from Corey Welton on 2013-11-01 16:20:54 EDT ---

pulp-server-2.3.0-0.26.beta.el6sat.noarch

--- Additional comment from RHEL Product and Program Management on 2013-11-01 16:27:00 EDT ---

Since this issue was entered in Red Hat Bugzilla, the pm_ack has been
set to + automatically for the next planned release

--- Additional comment from RHEL Product and Program Management on 2014-01-27 09:52:21 EST ---

This bug report previously had all acks and release flag approved.
However since at least one of its acks has been changed, the
release flag has been reset to ? by the bugbot (pm-rhel).  The
ack needs to become approved before the release flag can become
approved again.

--- Additional comment from RHEL Product and Program Management on 2014-01-27 10:48:36 EST ---

Since this issue was entered in Red Hat Bugzilla, the pm_ack has been
set to + automatically for the next planned release

Comment 1 Chris Duryee 2014-08-19 19:32:09 UTC
putting bug down for now

Comment 2 Jeremy Cline 2014-08-20 17:57:17 UTC
Updated this bug to block the corresponding Satellite bug (1025890) rather than to depend on it.

Comment 3 Randy Barlow 2014-08-20 18:23:01 UTC
Moving back to new, since Chris said he wasn't working on it at the moment.

Comment 4 Chris Duryee 2014-08-20 18:44:51 UTC
still working on it:)

Comment 6 Chris Duryee 2014-08-21 14:22:10 UTC
moving to medium/no release, after discussion with Brad and others. Also clearing NEEDINFO.

Comment 7 Brian Bouterse 2015-02-28 22:12:34 UTC
Moved to https://pulp.plan.io/issues/469

Comment 8 RHEL Program Management 2015-03-04 11:24:25 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 10 Brian Bouterse 2015-03-05 21:30:22 UTC

*** This bug has been marked as a duplicate of bug 1025890 ***


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