Bug 1064525

Summary: [RFE] Add option to directly register to EUS content
Product: Red Hat Enterprise Linux 7 Reporter: Rich Jerrido <rjerrido>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED WONTFIX QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.0CC: bcourt, bkearney, dgregor, jgalipea, vrjain, xdmoon
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: 7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-01 17:12:26 UTC Type: Bug
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:    
Bug Blocks: 1121117    

Description Rich Jerrido 2014-02-12 18:59:41 UTC
In the RHN Classic model, to register a freshly installed RHEL 6.4 system to EUS content, I run:

rhnreg_ks --use-eus-channel --username <some_user> --password <some_pass>

Afterwards, I am registered to the 'rhel-x86_64-server-6.4.z' channel. The above command provides the following:

"Register the system to the EUS content stream that matches my minor release" RHEL 6.4 in this case. 


In the RHSM model, I have to do :

* subscription-manager register --username=<some_user> --password=<some_password> --auto-attach

[For the purposes of this BZ, I'll assume that the subscription that gets auto-attached contains EUS)

* subscription-manager release --set 6.4
	to properly set the $releasever variable so that I get the correct repo from the CDN
* yum-config-manager --disable
	to disable all the repos that I don't need
* yum-config-manager --enable rhel-6-server-eus-rpms
	to enable the repo that I want


If I neglect to run the above 'subscription-manager release' command, the system will pull EUS content from the 6Server repos, which points to the latest minor release. That is:

	* Usually not wanted. (If I built a 6.4 system, I usually want 6.4.z content)
	* A change in behavior from the RHN Classic methodology


What would be beneficial is a similar switch to the '--use-eus-channel' switch, which allows the end user to register a system and configure it with the proper repos for EUS.

Comment 2 Bryan Kearney 2014-08-07 13:50:55 UTC
Acking 7.1

Comment 3 Bryan Kearney 2014-08-07 14:14:25 UTC
Acking 7.1

Comment 4 John Sefler 2014-10-28 17:51:24 UTC
This feature request was not implemented and delivered to QE by the rhel-7.1.0 Dev Freeze date of 10/27/2014.  Deferring for consideration in next release.

Comment 6 William Poteat 2015-05-06 17:41:19 UTC
This does not need to be tied to RHEL release. Bigger that just Subscription Manager.