Bug 370591 - Software Updater Error
Software Updater Error
Status: CLOSED EOL
Product: Red Hat Network
Classification: Red Hat
Component: RHN/Client Tools (Show other bugs)
rhn500
x86_64 Linux
low Severity low
: ---
: ---
Assigned To: Todd Sanders
Corey Welton
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-07 18:42 EST by Darrell Sher
Modified: 2017-07-05 11:24 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-07-05 11:24:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Darrell Sher 2007-11-07 18:42:00 EST
Description of problem: The Software Updater is reporting the error below.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:
Component: Software Updater
Summary: TBd05087db rhnplugin.py:298:_noExceptionWrappingGet:UnboundLocalError:
local variable 'result' referenced before assignment

Traceback (most recent call last):
  File "/usr/sbin/pup", line 668, in ?
    main()
  File "/usr/sbin/pup", line 664, in main
    pup.run()
  File "/usr/sbin/pup", line 499, in run
    self.doRefresh()
  File "/usr/sbin/pup", line 274, in doRefresh
    self.reposSetup(pbar)
  File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 159, in reposSetup
    self.doSackSetup()
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 331, in doSackSetup
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.4/site-packages/yum/repos.py", line 203, in populateSack
    sack.populate(repo, with, callback, cacheonly)
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 88, in populate
    xml = repo.getPrimaryXML()
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 635, in getPrimaryXML
    return self.retrieveMD('primary')
  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 622, in retrieveMD
    cache=self.http_caching == 'all')
  File "/usr/lib/yum-plugins/rhnplugin.py", line 209, in _getFile
    start, end, copy_local, checkfunc, text, reget, cache)
  File "/usr/lib/yum-plugins/rhnplugin.py", line 298, in _noExceptionWrappingGet
    return result
UnboundLocalError: local variable 'result' referenced before assignment

Local variables in innermost frame:
remote:
https://xmlrpc.rhn.redhat.com/XMLRPC/GET-REQ/rhel-x86_64-server-5/repodata/primary.xml.gz
start: None
url: None
text: None
self: rhel-x86_64-server-5
cache: False
reget: None
server: https://xmlrpc.rhn.redhat.com/XMLRPC/GET-REQ/rhel-x86_64-server-5
relative: repodata/primary.xml.gz
headers: (('X-RHN-Auth-Expire-Offset', '3600.0'), ('X-RHN-Auth-User-Id', ''),
('X-RHN-Auth', 'Xl4Z0adREZzsx3s8ZI0BuQ=='), ('X-RHN-Auth-Server-Time',
'1194478347.1'), ('X-RHN-Server-Id', 1008285571), ('Pragma', 'no-cache'))
checkfunc: (<bound method RhnRepo.checkMD of <rhnplugin.RhnRepo object at
0x391ae50>>, ('primary',), {})
copy_local: 1
end: None
local: //var/cache/yum/rhel-x86_64-server-5/primary.xml.gz

Expected results:


Additional info:
Comment 86 Thomas "Shea" DeAntonio 2017-07-05 11:24:27 EDT
As you may already be aware, Red Hat is transitioning from the Red Hat Network (RHN) hosted interface to the Red Hat Subscription Management (RHSM) interface in July 2017. Red Hat has invested in and seen success from RHN for many years, and used that experience to build more robust technologies like RHSM. 
 
If you have not yet migrated your RHN systems to RHSM or you are a Red Hat Satellite customer, please review the information from. https://access.redhat.com/products/red-hat-subscription-management#migration. 
 
Since we are shutting down RHN, no further actions will be taken with this bug or enhancement request.  You can find additional information at RHSM product page (https://access.redhat.com/products/red-hat-subscription-management).  If you have further questions, please contact support (https://access.redhat.com/products/red-hat-subscription-management#support).

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