Bug 751292
Summary: | Bug in rhnplugin.conf RHEL 6.2 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Miroslav Suchý <msuchy> |
Component: | rhn-client-tools | Assignee: | Miroslav Suchý <msuchy> |
Status: | CLOSED ERRATA | QA Contact: | Jiří Mikulka <jmikulka> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.2 | CC: | chinchek, jhutar, jmikulka, jpazdziora, mminar, msuchy |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | rhn-client-tools-1.0.0-79.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 595837 | Environment: | |
Last Closed: | 2012-06-20 11:59:48 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: | 595837, 751294 | ||
Bug Blocks: |
Description
Miroslav Suchý
2011-11-04 08:42:35 UTC
We would really need some steps to reproduce in deterministic fashion. On my RHEL 6.2 (to be), with # rpm -q rhn-client-tools rhn-client-tools-1.0.0-73.el6.noarch I get # yum repolist Loaded plugins: rhnplugin There was an error communicating with RHN. RHN channel support will be disabled. Error communicating with server. The message was: Unable to connect to the host and port specified repolist: 0 when I hack my /etc/hosts to have the serverUrl to point to system which does not listen on 443 at all (localhost httpd without mod_ssl installed), and I get # yum repolist Loaded plugins: rhnplugin The SSL certificate failed verification. when I change it to point to machine which runs SSL but has completely different certificate (like www.google.com). Is the issue still present on RHEL 6.2, and if so, what is the way to reproduce it? I could not offer you Jan good reproducer. This error popup randomly as network error appeared during random part of code. Probably best reproducer would be to set up on server firewall, which will cut off the client and start this firewall during package download. *** Bug 732763 has been marked as a duplicate of this bug. *** cherry picked to satellite.git as: * 5019731 751292 - fix syntax error * 39f4e16 751292 - add missing import * 8ea5af5 751292 - all up2date bugs now inherit from YumBaseError so yum/pup can catch them * b9fc03c 751292 - properly handle two exceptions * 96a770b 751292 - write nice error in case of "connection reset by peer" and xmlrpc protocol error added missing import in commit d7cd86bc72b7f46293fbd15b222d19a8d7fcc371 you can get more verbose output if you do raise SSL.SysCallError('foo bar') Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0752.html |