Bug 122584 - up2date hangs if server goes to from low to high load during download phase
Summary: up2date hangs if server goes to from low to high load during download phase
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: up2date
Version: 9
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Fanny Augustin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-05 22:43 UTC by Simon Fonceca
Modified: 2007-04-18 17:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-26 18:54:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Simon Fonceca 2004-05-05 22:43:56 UTC
Description of problem:
hangs if service status is altered during download, being unable to
cope with an xml error message

How reproducible:
difficult


Steps to Reproduce:
1. start up2date
2. start downloading packages
3. redhat switches server status due to high load
  
Actual results:
hangs, can be restarted

Expected results:
should cope with error, giving some sort of "try again later, from
where we left off"

Comment 1 Simon Fonceca 2004-05-05 22:45:19 UTC
Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/gui.py", line 1611, in doRetrieval
    self.setRetrievalProgress)
  File "/usr/share/rhn/up2date_client/up2date.py", line 269, in getPackage
    buffer = rpcServer.doCall(rpmSource.psc.packageSource.getPackage,
pkg, msgCallback, progressCallback)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 146, in doCall
    up2dateAuth.updateLoginInfo()
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 112, in
updateLoginInfo
    loginInfo = login()
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 100, in login
    loginInfo = rpcServer.doCall(server.up2date.login, systemId)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 114, in doCall
    ret = apply(method, args, kwargs)
  File "/usr/lib/python2.2/xmlrpclib.py", line 821, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.2/site-packages/rhn/rpclib.py", line 126, in
_request
    verbose=self._verbose
  File "/usr/lib/python2.2/site-packages/rhn/transports.py", line 153,
in request
    return self.parse_response(fd)
  File "/usr/lib/python2.2/site-packages/rhn/transports.py", line 173,
in parse_response
    return u.close()
  File "/usr/lib/python2.2/xmlrpclib.py", line 571, in close
    raise apply(Fault, (), self._stack[0])
xmlrpclib.Fault: <Fault -51: "\nError Message:\n    Demo service for
server 1003502094 limited due to high load\nError Class Code:
51\nError Class Info: \n
Demo service currently disabled due to high load. If you would like\n
    to see Red Hat's policies on Demo service, or find out how you can
\n     purchase a subscription service and receive priority download
access, \n     please go to http://rhn.redhat.com/preview/index.pxt\n">


Comment 2 Adrian Likins 2004-08-26 18:54:47 UTC
We dont throttle "high load mode" anymore, so closing this.


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