Bug 60805
Summary: | 404 on package header | ||
---|---|---|---|
Product: | [Retired] Red Hat Network | Reporter: | Isaiah Weiner <iweiner> |
Component: | RHN/Channels | Assignee: | Chip Turner <cturner> |
Status: | CLOSED NOTABUG | QA Contact: | Jay Turner <jturner> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | RHN Stable | CC: | alikins, bretm, gafton, gdk, mihai.ibanescu, pjones, robin.norwood, srevivo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-04-16 20:34:22 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Isaiah Weiner
2002-03-07 00:18:39 UTC
*** Bug 60804 has been marked as a duplicate of this bug. *** Please check if cisco-live is marked as a local channel in the proxy. That is, check if LOCAL_CHANNELS contains the string 'cisco-live' Yes, it is: LOCAL_CHANNELS = ["cisco-beta","cisco-live"] Okay. Is the package in the local repository? Should be in something like: <mount-point>/cisco-live/RPMS/<package> Ah-ha, no. It was left over from something else; trying to add it results in: $ sudo rhn_package_manager -c "cisco-live" \ /auto/ecslinux/ALLRPMS/internal/cisco-sysfiles-2.43-3.noarch.rpm Red Hat Network username: CiscoOrgAdmin Red Hat Network password: Internal Server Error Please clear the channel again. Now there are some things to be done - there is an archived action that needs to be gotten 'rid' of; trying to remove the machine from the action doesn't appear to work. Once those things are done we can close the bug, change status to NOTABUG. Oops. Wrong package name. But also adding -2 results in the same thing. In fact all addition attempts result in the mysterious "Internal Server Error." And adding -3 now works. I didn't add -v before, I probably should have; any ideas why things were breaking and now work? Okay, after adding -3 to the channel, rhn_package_manager with -s option still says that package is out of sync; it appears on the website instead of -2, which is good. Running rhn_check -v now still results with 404: bash-2.04$ su root -c '/usr/sbin/rhn_check -v' Password: handle_action actionid = 1883947, version = 2 Traceback (innermost last): File "/usr/sbin/rhn_check", line 254, in ? handle_action(action) File "/usr/sbin/rhn_check", line 159, in handle_action (status, message, data) = do_call(method, params) File "/usr/sbin/rhn_check", line 72, in do_call retval = apply(method, params) File "/usr/share/rhn/actions/packages.py", line 110, in update res = batchRun(0, pkgList) File "/usr/share/rhn/actions/packages.py", line 122, in batchRun ret = wrapper.batchRun(onlyList, [], 0, fromDaemon = 1, actionPkgs = pkgList) File "/usr/share/rhn/up2date_client/wrapper.py", line 905, in batchRun ret = runFromDaemon(pkgNames, actionPkgs, availUpdates, fromDaemon) File "/usr/share/rhn/up2date_client/wrapper.py", line 870, in runFromDaemon None, None ) File "/usr/share/rhn/up2date_client/up2date.py", line 1570, in getUpdatedPackageList refreshCallback) File "/usr/share/rhn/up2date_client/up2date.py", line 827, in getHeaders hdr, sourcetype = doCall(headerSource.getHeader, pkg) File "/usr/share/rhn/up2date_client/up2date.py", line 313, in doCall raise CommunicationError(e.errmsg) up2date_client.up2date.CommunicationError: Error communicating with server. The message was: 404: "Not Found" while attempting to get $RHN/cisco-live/getPackageHeader/cisco-sysfiles-2.43-3.noarch.hdr Here is the output from the addition: [17:12:08|iweiner:linus:~]$ sudo rhn_package_manager -v -c "cisco- live" /auto/ecslinux/ALLRPMS/internal/cisco-sysfiles-2.43-3.noarch.rpm Channels: cisco-live Red Hat Network username: CiscoOrgAdmin Red Hat Network password: Connecting to http://www.rhns.redhat.com/XP Uploading /auto/ecslinux/ALLRPMS/internal/cisco-sysfiles-2.43-3.noarch.rpm Uploading batch: /auto/ecslinux/ALLRPMS/internal/cisco-sysfiles-2.43-3.noarch.rpm Uploaded: /auto/ecslinux/ALLRPMS/internal/cisco-sysfiles-2.43-3.noarch.rpm Copying /auto/ecslinux/ALLRPMS/internal/cisco-sysfiles-2.43-3.noarch.rpm to /auto/ecslinux/RHN/Proxy/up2date/cisco-live/RPMS/cisco-sysfiles-2.43- 3.noarch.rpm Alright, I don't get it. At the time following the push above, `rhn_package_manager -c "cisco-live" -s` complained about cisco-sysfiles. Now it doesn't. What kind of delays can Cisco expect in the future? There is a bug I've fixed that generates those ISE-s on the server side. I'll try to push the fix but we have a very unstable environment ATM. How about now? % sudo rhn_check -v Password: handle_action actionid = 2048246, version = 2 Traceback (innermost last): File "/usr/sbin/rhn_check", line 254, in ? handle_action(action) File "/usr/sbin/rhn_check", line 159, in handle_action (status, message, data) = do_call(method, params) File "/usr/sbin/rhn_check", line 72, in do_call retval = apply(method, params) File "/usr/share/rhn/actions/packages.py", line 110, in update res = batchRun(0, pkgList) File "/usr/share/rhn/actions/packages.py", line 122, in batchRun ret = wrapper.batchRun(onlyList, [], 0, fromDaemon = 1, actionPkgs = pkgList) File "/usr/share/rhn/up2date_client/wrapper.py", line 905, in batchRun ret = runFromDaemon(pkgNames, actionPkgs, availUpdates, fromDaemon) File "/usr/share/rhn/up2date_client/wrapper.py", line 870, in runFromDaemon None, None ) File "/usr/share/rhn/up2date_client/up2date.py", line 1570, in getUpdatedPackageList refreshCallback) File "/usr/share/rhn/up2date_client/up2date.py", line 827, in getHeaders hdr, sourcetype = doCall(headerSource.getHeader, pkg) File "/usr/share/rhn/up2date_client/up2date.py", line 313, in doCall raise CommunicationError(e.errmsg) up2date_client.up2date.CommunicationError: Error communicating with server. The message was: 404: "Not Found" while attempting to get $RHN/cisco-live/getPackageHeader/cisco-sudoers-1.0-97.noarch.hdr As of 2002-04-16, BretB made this work for Cisco. As of 2002-04-16, BretB made this work for Cisco. |