Red Hat Bugzilla – Bug 212866
'Fatal Error' message says %s instead of server name
Last modified: 2013-01-10 05:12:52 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:184.108.40.206) Gecko/20060911 Red Hat/220.127.116.11-0.1.el4 Firefox/18.104.22.168
Description of problem:
rhn_register could not contact the RHN server as configured in /etc/sysconfig/rhn/up2date. The Fatal Error message said:
We can't contact the Red Hat Network Server.
Double check the location provided - is '%s'
If not, you can correct it and try again.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Configure a server in /etc/sysconfig/rhn/up2date (serverURL) that is valid but unreachable. In this case it was:
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
*** Bug 212044 has been marked as a duplicate of this bug. ***
Committed a fix for this:
[up2date_client]$ svn diff tui.py
--- tui.py (revision 106460)
+++ tui.py (working copy)
@@ -64,7 +64,7 @@
results = func(*params)
except up2dateErrors.CommunicationError, e:
- FatalErrorWindow(screen, HOSTED_CONNECTION_ERROR)
+ FatalErrorWindow(screen, HOSTED_CONNECTION_ERROR % cfg['serverURL'])
except up2dateErrors.SSLCertificateVerifyFailedError, e:
except up2dateErrors.AuthenticationOrAccountCreationError, e:
[up2date_client]$ svn ci tui.py
Transmitting file data .
Committed revision 106530.
A package has been built which should help the problem described in
this bug report. This report is therefore being closed with a resolution
of CURRENTRELEASE. You may reopen this bug report if the solution does
not work for you.