Bug 491876 - rhn_register fails when serverurl is not written in /etc/sysconfig/rhn/up2date
rhn_register fails when serverurl is not written in /etc/sysconfig/rhn/up2date
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: rhn_register (Show other bugs)
All Linux
low Severity medium
: rc
: ---
Assigned To: Pradeep Kilambi
Red Hat Satellite QA List
Depends On:
  Show dependency treegraph
Reported: 2009-03-24 10:14 EDT by Petr Sklenar
Modified: 2012-06-20 09:20 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-06-20 09:20:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
screenshot of TUI debug message (136.48 KB, image/jpeg)
2009-03-24 10:14 EDT, Petr Sklenar
no flags Details

  None (edit)
Description Petr Sklenar 2009-03-24 10:14:14 EDT
Created attachment 336476 [details]
screenshot of TUI debug message

Description of problem:
rhn_register fails when serverurl is not written in /etc/sysconfig/rhn/up2date

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

How reproducible:

Steps to Reproduce:
1. server parent not configured in /etc/sysconfig/rhn/up2date 
2. rhn_register --serverUrl=http://xmlrpc.rhn.webqa.redhat.com/XMLRPC
Actual results:
TUI> some debug message in background, similar to GUI traceback, see attached screenshot

GUI> traceback

Traceback (most recent call last):
  File "/usr/sbin/rhn_check", line 259, in ?
    server = rpcServer.getServer()
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 191, in getServer
  File "/usr/lib/python2.3/site-packages/rhn/rpclib.py", line 153, in __init__
    type = (string.lower(type)).strip()
  File "/usr/lib64/python2.3/string.py", line 55, in lower
    return s.lower()
AttributeError: 'NoneType' object has no attribute 'lower'
Expected results:
TUI&GUI work

Additional info:
Comment 1 Jiri Pallich 2012-06-20 09:20:31 EDT
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. 
Please See https://access.redhat.com/support/policy/updates/errata/

If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.

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