Bug 446835 - pup tracebacks when retrieving updates from Satellite 4.2.2
pup tracebacks when retrieving updates from Satellite 4.2.2
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: pirut (Show other bugs)
5.2
All Linux
low Severity low
: rc
: ---
Assigned To: James Antill
:
: 455658 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-16 07:55 EDT by Jan Hutař
Modified: 2013-03-12 16:11 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-03-12 16:11:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Jan Hutař 2008-05-16 07:55:21 EDT
Description of problem:
pup tracebacks when retrieving updates on system registered to Satellite 4.2.2.


Version-Release number of selected component (if applicable):
Satellite 4.2.2 (rlx-1-14.rhndev.redhat.com)
yum-rhn-plugin-0.5.3-6.el5.noarch
pirut-1.2.10-1.el5.noarch or pirut-1.3.28-13.el5.noarch
  (tracebacks on both versions, so no regression in RHEL-5.1 -> 5.2)


How reproducible:
always


Steps to Reproduce:
1. wait for puplet to show updates available icon
2. click "Apply updates"


Actual results:
Component: pirut
Summary: TB429c5e45 rhnplugin.py:275:_getFile:RepoError: failed to retrieve 
repodata/updateinfo.xml.gz from rhel-i386-server-5
error was [Errno -1] Metadata file does not match checksum

Traceback (most recent call last):
  File "/usr/sbin/pup", line 617, in ?
    main()
  File "/usr/sbin/pup", line 613, in main
    pup.run()
  File "/usr/sbin/pup", line 451, in run
    self.doRefresh()
  File "/usr/sbin/pup", line 291, in doRefresh
    self.populateUpdates()
  File "/usr/sbin/pup", line 347, in populateUpdates
    self.updateMetadata.add(repo)
  File "/usr/lib/python2.4/site-packages/yum/update_md.py", line 265, in add
    md = obj.retrieveMD(mdtype)
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 867, in 
retrieveMD
    cache=self.http_caching == 'all')
  File "/usr/lib/yum-plugins/rhnplugin.py", line 275, in _getFile
    raise yum.Errors.RepoError, \
RepoError: failed to retrieve repodata/updateinfo.xml.gz from rhel-i386-server-5
error was [Errno -1] Metadata file does not match checksum

Local variables in innermost frame:
e: [Errno -1] Metadata file does not match checksum
url: None
text: None
self: rhel-i386-server-5
cache: False
reget: None
relative: repodata/updateinfo.xml.gz
start: None
checkfunc: (<bound method RhnRepo.checkMD of <rhnplugin.RhnRepo object at 
0x9a45e4c>>, ('updateinfo',), {})
copy_local: 1
end: None
local: //var/cache/yum/rhel-i386-server-5/updateinfo.xml.gz


Expected results:
updates displayed


Additional info:
`yum upgrade` works perfectly

Running pup from terminal gives me:
$ pup
Loading "rhnplugin" plugin
no groups present!
...traceback as above...
Comment 1 James Antill 2008-07-16 17:03:40 EDT
*** Bug 455658 has been marked as a duplicate of this bug. ***
Comment 2 James Antill 2008-07-16 17:04:48 EDT
 Note that the only bug with pup here is that it doesn't display a better error
message ... what the traceback is saying is that the metadata is out of sync on
the server.
Comment 3 James Antill 2013-03-12 16:11:29 EDT
I think the RHN side of this has been fixed anyway, so hopefully it doesn't matter that we'll still traceback here.

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