Bug 587961

Summary: activation of 30 day trial subscription failed
Product: Red Hat Enterprise Linux 5 Reporter: georgivich
Component: rhn-client-toolsAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED WONTFIX QA Contact: Red Hat Satellite QA List <satellite-qa-list>
Severity: medium Docs Contact:
Priority: low    
Version: 5.3   
Target Milestone: rc   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-21 16:00:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
activation of subscription failed none

Description georgivich 2010-05-01 19:14:30 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008120908 Red Hat/3.0.5-1.el5_2 Firefox/3.0.5

I have installed RHEL 5.3 in VMWare Workstation.  I finished the install and tried to run rhn_register.  Running rhn_register is what produces the error.

Reproducible: Always

Steps to Reproduce:
After ensuring that the VMWare installation had a working Internet connection, I proceeded with rhn_register.  I got all the way through the Registering for software updates page, the Choose an update location page, the Enter your account information page, the Access a subscription page, then it hangs and finally produces an error message.  

Actual Results:  
The error message says "There was an error activating your number.  This error shouldn't have happened.  If you'd like to help us improve this program, please file a bug at bugzilla.redhat.com.  Including the relevant parts of '/var/log/up2date' would be very helpful.  Thanks!"

Expected Results:  
The registration/activation should have worked.  

The Internet connection was good, the Installation number was good (straight off the box). 

c1db-e3f6-c59f-abe3

Comment 1 georgivich 2010-05-01 19:18:50 UTC
Created attachment 410726 [details]
activation of subscription failed

[Thu Apr 29 15:19:28 2010] rhn_register Registered login info.
[Thu Apr 29 15:19:34 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #1,
[Thu Apr 29 15:19:40 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #2,
[Thu Apr 29 15:19:47 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #3,
[Thu Apr 29 15:19:53 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #4,
[Thu Apr 29 15:20:00 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #5,
[Thu Apr 29 15:20:00 2010] rhn_register Error communicating with server. The message was:
Internal Server Error
[Thu Apr 29 15:20:00 2010] rhn_register There was an error while activating the installation number found on disk:
Error communicating with server. The message was:
Internal Server Error
[Thu Apr 29 15:20:33 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #1,
[Thu Apr 29 15:20:40 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #2,
[Thu Apr 29 15:20:46 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #3,
[Thu Apr 29 15:20:53 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #4,
[Thu Apr 29 15:21:01 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #5,
[Thu Apr 29 15:22:04 2010] rhn_register Error communicating with server. The message was:
Internal Server Error
[Thu Apr 29 15:22:04 2010] rhn_register 
Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/rhnregGui.py", line 1705, in callAndFilterExceptions
    return function()
  File "/usr/share/rhn/up2date_client/rhnregGui.py", line 735, in _activateSubscriptionPageApply
    regNum, organization)
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 770, in activateRegistrationNumber
    result = server.registration.activate_registration_number(username, password, registrationNumber, other)
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 50, in __call__
    return rpcServer.doCall(method, *args, **kwargs)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 267, in doCall
    raise up2dateErrors.CommunicationError(e.errmsg)
up2date_client.up2dateErrors.CommunicationError: Error communicating with server. The message was:
Internal Server Error

[Thu Apr 29 15:32:03 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #1,
[Thu Apr 29 15:32:15 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #2,
[Thu Apr 29 15:32:26 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #3,
[Thu Apr 29 15:32:36 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #4,
[Thu Apr 29 15:32:47 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #5,
[Thu Apr 29 15:33:28 2010] rhn_register Error communicating with server. The message was:
Internal Server Error
[Thu Apr 29 15:33:28 2010] rhn_register 
Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/rhnregGui.py", line 1705, in callAndFilterExceptions
    return function()
  File "/usr/share/rhn/up2date_client/rhnregGui.py", line 735, in _activateSubscriptionPageApply
    regNum, organization)
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 770, in activateRegistrationNumber
    result = server.registration.activate_registration_number(username, password, registrationNumber, other)
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 50, in __call__
    return rpcServer.doCall(method, *args, **kwargs)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 267, in doCall
    raise up2dateErrors.CommunicationError(e.errmsg)
up2date_client.up2dateErrors.CommunicationError: Error communicating with server. The message was:
Internal Server Error

[Thu Apr 29 15:36:43 2010] rhn_register Registered login info.
[Thu Apr 29 15:36:55 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #1,
[Thu Apr 29 15:37:04 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #2,
[Thu Apr 29 15:37:15 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #3,
[Thu Apr 29 15:37:25 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #4,
[Thu Apr 29 15:37:36 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #5,
[Thu Apr 29 15:37:36 2010] rhn_register Error communicating with server. The message was:
Internal Server Error
[Thu Apr 29 15:37:36 2010] rhn_register There was an error while activating the installation number found on disk:
Error communicating with server. The message was:
Internal Server Error
[Thu Apr 29 15:40:00 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #1,
[Thu Apr 29 15:40:09 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #2,
[Thu Apr 29 15:40:18 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #3,
[Thu Apr 29 15:40:27 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #4,
[Thu Apr 29 15:40:36 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #5,
[Thu Apr 29 15:41:07 2010] rhn_register Error communicating with server. The message was:
Internal Server Error
[Thu Apr 29 15:41:07 2010] rhn_register 
Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/rhnregGui.py", line 1705, in callAndFilterExceptions
    return function()
  File "/usr/share/rhn/up2date_client/rhnregGui.py", line 735, in _activateSubscriptionPageApply
    regNum, organization)
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 770, in activateRegistrationNumber
    result = server.registration.activate_registration_number(username, password, registrationNumber, other)
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 50, in __call__
    return rpcServer.doCall(method, *args, **kwargs)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 267, in doCall
    raise up2dateErrors.CommunicationError(e.errmsg)
up2date_client.up2dateErrors.CommunicationError: Error communicating with server. The message was:
Internal Server Error

[Thu Apr 29 15:46:52 2010] rhn_register updateLoginInfo() login info
[Thu Apr 29 15:53:08 2010] rhn_register Registered login info.
[Thu Apr 29 15:53:11 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #1,
[Thu Apr 29 15:53:19 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #2,
[Thu Apr 29 15:53:25 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #3,
[Thu Apr 29 15:53:32 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #4,
[Thu Apr 29 15:53:39 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #5,
[Thu Apr 29 15:53:39 2010] rhn_register Error communicating with server. The message was:
Internal Server Error
[Thu Apr 29 15:53:39 2010] rhn_register There was an error while activating the installation number found on disk:
Error communicating with server. The message was:
Internal Server Error
[Thu Apr 29 15:54:55 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #1,
[Thu Apr 29 15:55:02 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #2,
[Thu Apr 29 15:55:09 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #3,
[Thu Apr 29 15:55:15 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #4,
[Thu Apr 29 15:55:23 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #5,
[Thu Apr 29 15:55:28 2010] rhn_register Error communicating with server. The message was:
Internal Server Error
[Thu Apr 29 15:55:28 2010] rhn_register 
Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/rhnregGui.py", line 1705, in callAndFilterExceptions
    return function()
  File "/usr/share/rhn/up2date_client/rhnregGui.py", line 735, in _activateSubscriptionPageApply
    regNum, organization)
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 770, in activateRegistrationNumber
    result = server.registration.activate_registration_number(username, password, registrationNumber, other)
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 50, in __call__
    return rpcServer.doCall(method, *args, **kwargs)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 267, in doCall
    raise up2dateErrors.CommunicationError(e.errmsg)
up2date_client.up2dateErrors.CommunicationError: Error communicating with server. The message was:
Internal Server Error

[Thu Apr 29 15:55:33 2010] rhn_register updateLoginInfo() login info
[Thu Apr 29 17:37:51 2010] rhn_register Registered login info.
[Thu Apr 29 17:37:53 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #1,
[Thu Apr 29 17:38:00 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #2,
[Thu Apr 29 17:38:06 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #3,
[Thu Apr 29 17:38:13 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #4,
[Thu Apr 29 17:38:19 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #5,
[Thu Apr 29 17:38:19 2010] rhn_register Error communicating with server. The message was:
Internal Server Error
[Thu Apr 29 17:38:19 2010] rhn_register There was an error while activating the installation number found on disk:
Error communicating with server. The message was:
Internal Server Error
[Thu Apr 29 17:39:28 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #1,
[Thu Apr 29 17:39:34 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #2,
[Thu Apr 29 17:39:41 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #3,
[Thu Apr 29 17:39:47 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #4,
[Thu Apr 29 17:39:53 2010] rhn_register A protocol error occurred: Internal Server Error , attempt #5,

Comment 2 Milan Zázrivec 2011-01-21 16:00:29 UTC
# python /usr/lib/python2.4/site-packages/instnum.py c1db-e3f6-c59f-abe3
Product: RHEL Server
Type: Entitlement
Options: Eval FullProd Virt
Allowed CPU Sockets: 2
Allowed Virtual Instances: 4
Package Repositories: Server VT

key: 12704739 'c1dbe3'
checksum: 246 'f6'
options: 832 'Eval FullProd Virt'
socklimit: 2 '2'
virtlimit: 4 '4'
type: 1 'Entitlement'
product: 0 'server'

{'Virt': 'VT', 'Base': 'Server'}

c1db-e3f6-c59f-abe3

The number you are showing seems fine, although it's very unlikely that
this is a client side issue (judging by the internal server error messages).

Please contact Red Hat Customer Support if this is still an issue.

Thank you.