Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 102540
Summary: | loss of connection during dep. resolution results in traceback & GUI freeze | ||
---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Barry K. Nathan <barryn> |
Component: | up2date | Assignee: | Bret McMillan <bretm> |
Status: | CLOSED CANTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | CC: | barryn, chris.ricker, gafton, mattia.verga, mihai.ibanescu |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-10-18 19:39:08 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: | 100644 |
Description
Barry K. Nathan
2003-08-17 02:24:26 UTC
Yes, this one is reproducible (with yum repository, haven't tried testing RHN [Current] repo yet). To reproduce it, I replaced step 4 with "while it's resolving deps, unplug the Ethernet cable from your computer". Here's the traceback this time (it's different): Traceback (most recent call last): File "/usr/share/rhn/up2date_client/gui.py", line 1620, in onPackagePageNext ret = self.__packagePageDryRun() File "/usr/share/rhn/up2date_client/gui.py", line 1548, in __packagePageDryRun self.__refreshCallback) File "/usr/share/rhn/up2date_client/up2date.py", line 469, in dryRun ret = depsolve.solvedep() File "/usr/share/rhn/up2date_client/depSolver.py", line 634, in solvedep ret = self.process_deps(deps) File "/usr/share/rhn/up2date_client/depSolver.py", line 601, in process_deps changed = self.__dependencies(dependencies) File "/usr/share/rhn/up2date_client/depSolver.py", line 447, in __dependencies refreshCallback = self.refreshCallback) File "/usr/share/rhn/up2date_client/depSolver.py", line 94, in solveDep ret = source.solveDep(unknowns, availList, refreshCallback) File "/usr/share/rhn/up2date_client/repoBackends/genericSolveDep.py", line 42, in solveDep self.getSolutions(unknowns) File "/usr/share/rhn/up2date_client/repoBackends/genericSolveDep.py", line 203, in getSolutions hdr = self.getHeader(pkg) File "/usr/share/rhn/up2date_client/repoBackends/genericSolveDep.py", line 183, in getHeader self.repos = repoDirector.initRepoDirector() File "/usr/share/rhn/up2date_client/repoDirector.py", line 65, in initRepoDirector up2dateRepo.register(rd) File "/usr/share/rhn/up2date_client/repoBackends/up2dateRepo.py", line 278, in register up2dateRepo = Up2dateRepo() File "/usr/share/rhn/up2date_client/repoBackends/up2dateRepo.py", line 236, in __init__ li = up2dateAuth.login() File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 112, in login loginInfo = rpcServer.doCall(server.up2date.login, systemId) File "/usr/share/rhn/up2date_client/rpcServer.py", line 124, in doCall raise up2dateErrors.CommunicationError(e.args[1]) up2dateErrors.CommunicationError: Error communicating with server. The message was: Temporary failure in name resolution Indeed, the bug is reproducible with both yum and RHN repositories. I'll take a look. Error handling for network failures for yum/apt is basically totally broken at the moment. I found a similar problem: I recently reinstalled Fedora Core 1 and I tried to download all the updates at once. If I check "all packets" only few are downloaded (often slow, 10-12 kbyte/s, but I'm not sure if this is a problem due to server bandwidth), then up2date freezes (no activity of internet connection and the window isn't refreshed). Then I kill the process, restart up2date, check only packages already downloaded and install them. Restart up2date, check the remaining packages and it starts downloading them. For the benefit of the peanut gallery, I'll mention that this (or something very similar) is still present in FC3 & FC4t2. (I don't think I've tried reproducing on FC4t3 or later yet.) 'Red Hat Raw Hide' refers to the development tree for Red Hat Linux. Red Hat Linux is no longer supported by Red Hat, Inc. If you are still running Red Hat Linux, you are strongly advised to upgrade to a current Fedora Core release or Red Hat Enterprise Linux or comparable. Some information on which option may be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/. Red Hat apologizes that these issues were not resolved in a more timely manner. However, we do want to make sure that important don't slip through the cracks. If these issues are still present in a current release, such as Fedora Core 5, please move these bugs to that product and version. Note that any remaining Red Hat Raw Hide bugs will be closed as 'CANTFIX' on September 30, 2006. Thanks again for your help. Red Hat Linux is no longer supported by Red Hat, Inc. If you are still running Red Hat Linux, you are strongly advised to upgrade to a current Fedora Core release or Red Hat Enterprise Linux or comparable. Some information on which option may be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/. Closing as CANTFIX. |