Bug 491310 - rhn_register, traceback with deactivated user
rhn_register, traceback with deactivated user
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: rhn_register (Show other bugs)
4.8
All Linux
medium Severity medium
: rc
: ---
Assigned To: Pradeep Kilambi
Red Hat Satellite QA List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-20 07:25 EDT by Petr Sklenar
Modified: 2010-05-05 11:02 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-05-05 11:02:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Petr Sklenar 2009-03-20 07:25:20 EDT
Description of problem:
rhn_register, traceback with deactivated user

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

[root@some-funny-name ~]# rpm -q up2date rhnlib
up2date-4.8.1-26.el4
rhnlib-2.1.4-4.el4

How reproducible:
always

Steps to Reproduce:
1. webUI: log in with corporate type user
2. webUI: create user psklnarqano
3. system: register system with this user
4. webUI > deactivete user psklenarqano
5. system: rhn_register
  
Actual results:

[root@some-funny-name ~]# rhn_register 
An error has occurred:
xmlrpclib.Fault
See /var/log/up2date for more information

::::::LOG:

[Fri Mar 20 06:53:55 2009] up2date   File "/usr/sbin/rhn_register", line 1315, in ?
    sys.exit(main() or 0)
   File "/usr/sbin/rhn_register", line 742, in main
    tui.main()
   File "/usr/share/rhn/up2date_client/tui.py", line 997, in main
    tui.run()
   File "/usr/share/rhn/up2date_client/tui.py", line 930, in run
    win = self.windows[index](self.screen, self)
   File "/usr/share/rhn/up2date_client/tui.py", line 335, in __init__
    self.available_channels = rhnreg.getAvailableChannels(
   File "/usr/share/rhn/up2date_client/rhnreg.py", line 524, in getAvailableChannels
    server_release)
   File "/usr/share/rhn/up2date_client/rpcServer.py", line 238, in doCall
    ret = apply(method, args, kwargs)
   File "/usr/lib64/python2.3/xmlrpclib.py", line 1029, in __call__
    return self.__send(self.__name, args)
   File "/usr/share/rhn/up2date_client/rpcServer.py", line 46, in _request1
    ret = self._request(methodname, params)
   File "/usr/lib/python2.3/site-packages/rhn/rpclib.py", line 327, in _request
    self._handler, request, verbose=self._verbose)
   File "/usr/lib/python2.3/site-packages/rhn/transports.py", line 189, in request
    return self._process_response(fd, connection)
   File "/usr/lib/python2.3/site-packages/rhn/transports.py", line 217, in _process_response
    return self.parse_response(fd)
   File "/usr/lib/python2.3/site-packages/rhn/transports.py", line 241, in parse_response
    return u.close()
   File "/usr/lib64/python2.3/xmlrpclib.py", line 742, in close
    raise Fault(**self._stack[0])


Expected results:
write message: system cannot be registered; user is deactivated right now ....

Additional info:
Comment 1 Petr Sklenar 2009-03-20 08:59:52 EDT
if you register with this deactivated user on another machine it fails too
Comment 2 RHEL Product and Program Management 2010-05-05 11:02:06 EDT
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.

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