Aowens generated the following traceback while registering against QA with no free entitlements: Traceback (most recent call last): File "/usr/share/rhn/server/apacheRequest.py", line 106, in call_function response = func(*params) File "/usr/share/rhn/server/handlers/xmlrpc/registration.py", line 554, in new _system_user_pass other) File "/usr/share/rhn/server/handlers/xmlrpc/registration.py", line 391, in _cr eate_system err_msg = _generate_channel_ent_err_mesg(channel_error) File "/usr/share/rhn/server/handlers/xmlrpc/registration.py", line 1428, in _g enerate_channel_ent_err_mesg cid = channel_error.channel['id'] TypeError: unsubscriptable object channel_error is an rhnChannel.SubscriptionCountExceeded Exception. self.channel on the exception is None. Maybe it is set by something else along the way, but not in this case.
added to backlog
To test: * you need an account with enough management/update entitlements, but not enough channel level entitlements. using 1 WAR0086 sku should do it. * Repeatedly register your system till you are out of channel level entitlements, but still have a management entitlement. * register again. this time you should get an error detailing what channel you were trying to be subscribed to, and saying you didn't have enough software channel entitlements.
all set on dev (will add to test cases): Problem registering system: ↑ │ │ ▮ │ │ Error Message: ▒ │ │ Insufficient Software Channel ▒ │ │ Entitlements: ▒ │ │ ▒ │ │ cfid5488 Red Hat Enterprise Linux ▒ │ │ (core server) ▒ │ │ ▒ │ │ note: One of the above Software Channel ▒ │ │ Entitlement(s) are required ▒ │ │ to provides access to: cid6949 Red Hat
ok in qa now: Error Message: Insufficient Software Channel Entitlements: cfid5488 Red Hat Enterprise Linux (core server) note: One of the above Software Channel Entitlement(s) are required to provides access to: cid6949 Red Hat Enterprise Linux (v. 5 for 32-bit x86) Error Class Code: 70 Error Class Info: All available subscriptions for the requested channel have been exhausted. Please contact a Red Hat Network Sales associate. Explanation: An error has occurred while processing your request. If this problem persists please enter a bug report at bugzilla.redhat.com. If you choose to submit the bug report, please be sure to include details of what you were trying to do when this error occurred and details on how to reproduce this problem.