Bug 249127

Summary: rhnreg_ks --subscription doesn't do anything
Product: Red Hat Enterprise Linux 5 Reporter: Arenas Belon, Carlo Marcelo <carenas>
Component: rhn-client-toolsAssignee: Sayli Karmarkar <skarmark>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.0CC: cperry, jhutar, pkilambi, skarmark, tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 22:18:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 470120    
Bug Blocks:    

Description Arenas Belon, Carlo Marcelo 2007-07-21 02:19:44 UTC
Description of problem:
as per the documentation (man page) --subscription could be used to indicate
which subscription number to register the system with, but the implementation
code for it (either in the client or the server) seems to be missing

Version-Release number of selected component (if applicable):
rhn-setup-0.4.13-1.el5

How reproducible:
always

Steps to Reproduce:
1. get an RHN subscription
2. install a system and register it using --subscription
3.
  
Actual results:
system gets installed with whatever is the oldest subscription available in RHN,
even if it has different entitlements than the one that was targeted

Expected results:
system should use the indicated subscription as per the documentation

Additional info:
apparently the data that is given to this parameter is being ignored, as even
invalid subscription numbers or random characters can be provided and apparently
be used successfully to register servers.

the information about the subscription key to use is stored in the client inside
the "other" parameter hash with key "registration_number"

Comment 4 RHEL Program Management 2008-06-11 14:25:20 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 7 RHEL Program Management 2008-08-14 18:22:53 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 20 errata-xmlrpc 2009-01-20 22:18:36 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0249.html