Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 509516

Summary: 500 error while downloading packages
Product: [Community] Spacewalk Reporter: Miroslav Suchý <msuchy>
Component: ServerAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.6   
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: 2009-09-10 12:00:57 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:
Bug Depends On:    
Bug Blocks: 456554    
Attachments:
Description Flags
Patch none

Description Miroslav Suchý 2009-07-03 08:49:36 UTC
Description of problem:
[root@eepc-cnm-bgddy ~]# rpm -q yum-rhn-plugin yum-rhn-plugin-0.5.4-1.el5 [root@eepc-cnm-bgddy ~]# yum install -y osad ...

Error Downloading Packages:

    jabberpy-0.5-0.17.el5.noarch: failed to retrieve getPackage/jabberpy-0.5-0.17.el5.noarch.rpm from centos-53-x86_64-spacewalk

error was [Errno 14] HTTP Error 500: Internal Server Error

    osad-5.9.10-1.el5.noarch: failed to retrieve getPackage/osad-5.9.10-1.el5.noarch.rpm from centos-53-x86_64-spacewalk

error was [Errno 14] HTTP Error 500: Internal Server Error

==

RHN TRACEBACK

Exception reported from gyne.bath.ac.uk Time: Thu Jul 2 16:02:40 2009 Exception type exceptions.AttributeError? Exception while handling function getPackage Request object information: URI: /XMLRPC/GET-REQ/centos-53-x86_64-spacewalk/getPackage/jabberpy-0.5-0.17.el5.noarch.rpm Remote Host: 138.38.65.91 Server Name: rhn.bath.ac.uk:0 Headers passed in:

    Accept-Encoding: identity Connection: close Host: rhn.bath.ac.uk User-agent: rhn.rpclib.py/$Revision$ X-rhn-auth: mTp659vGACJS9R18bJAcTw== X-rhn-auth-expire-offset: 3600.0 X-rhn-auth-server-time: 1246544207.1 X-rhn-auth-user-id: X-rhn-server-id: 1000010020

Exception Handler Information Traceback (most recent call last):

    File "/usr/share/rhn/server/apacheRequest.py", line 120, in call_function

        response = apply(func, params)

    File "/usr/share/rhn/common/rhnRepository.py", line 104, in getPackage

        transport_cap_list = transport_cap.split('=')

AttributeError?: 'NoneType?' object has no attribute 'split'

Comment 1 Miroslav Suchý 2009-07-03 08:50:52 UTC
Created attachment 350397 [details]
Patch

Comment 2 Miroslav Suchý 2009-07-03 09:08:31 UTC
Commited as f04c0d4bf19fcfcbc9e691fc7ad8be37a26805ca.
fixed in spacewalk-backend-0.6.16-1

Comment 3 Miroslav Suchý 2009-09-10 12:00:57 UTC
Spacewalk 0.6 released.