Bug 872721
Summary: | proxy sending incorrect auth token to upstream (hosted/satellite) | ||
---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Stephen Herr <sherr> |
Component: | Server | Assignee: | Stephen Herr <sherr> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 1.9 | CC: | aperkins, bperkins, cperry, jmontleo, marcobillpeter, shughes, xdmoon |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | spacewalk-proxy-1.9.1-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 867544 | Environment: | |
Last Closed: | 2013-03-06 18:33:56 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 867544, 878096 | ||
Bug Blocks: | 917805 |
Description
Stephen Herr
2012-11-02 20:03:07 UTC
I cannot for the life of me figure out what has changed recently that causes this to break. There are several things that are very similar, but in each case closer inspection shows that they are not responsible for this error. However, we do have a fix. I believe that the commit soon to follow completely prevents this from happening. Note for QA: The only known reliable way to reproduce this error is to set up a client that is talking to a Proxy 5.5 that is talking to RHN Hosted, do a yum install of something on the client, wait 3 days or so, and then try to install something else on the client. It has been reported when the proxy is talking to Satellite too, but that is not 100% reproducible. Committed to Spacewalk master: 5f00038675c58c5a401d0c4a5cbfa332c28a4405 just a note I am testing the fix with kickstarts. initial kickstart failed but looking into the error more closely. sherr, this is the configuration: client.hugheshoney.com -> proxy.hugheshoney.com -> hosted On the Client system, yum will often return a 404 error, similar to the one below. Adding this comment, so that anyone doing BZ searches for client side error will hopefully find this BZ. Error Downloading Packages: yum-rhn-plugin-1.8.8-1.el6.noarch: failed to retrieve getPackage/yum-rhn-plugin-1.8.8-1.el6.noarch.rpm from centos-6-x86_64-spacewalk-client error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404" From spacewalk-list thread: "fix in the following commit: http://git.fedorahosted.org/cgit/spacewalk.git/commit/?id=5f00038675c58c5a401d0c4a5cbfa332c28a4405 After applying the patch locally my proxy is working as expected again. Yum update is finally working again. " Cliff Marking bug as ON_QA since tonight's build of Spacewalk nightly is a release candidate for Spacewalk 1.9. Spacewalk 1.9 has been released. https://fedorahosted.org/spacewalk/wiki/ReleaseNotes19 |