Bug 1279819

Summary: Instruction wizard "Content Host Registration" is incomplete
Product: Red Hat Satellite Reporter: Stephen Wadeley <swadeley>
Component: Content ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.1CC: adahms, bkearney, mmccune, sbream
Target Milestone: UnspecifiedKeywords: Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1279901 (view as bug list) Environment:
Last Closed: 2017-08-01 20:33:01 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: 1279901    

Description Stephen Wadeley 2015-11-10 12:01:37 UTC
Description of problem:

Instruction wizard "Content Host Registration" leaves out steps to attach a subscription and enable repos.

Step 4 says install katello-agent which you 
cannot do as you have no repos at that point.

If you chose to use an activation key:
Step 3 assumes that your activation key provides access
to a subscription & content view (or has auto-attach set to 'True').
Otherwise, there step 4 would not work.

If you chose not to use an activation key:
You still need to attach a subscription and enable some repos.

Version-Release number of selected component (if applicable):
[root@rhel7-1-sat6 ~]# rpm -q katello
katello-2.2.0.16-1.el7sat.noarch
[root@rhel7-1-sat6 ~]# rpm -q foreman
foreman-1.7.2.43-1.el7sat.noarch


How reproducible:
Every time.

Steps to Reproduce:
1. Click Hosts → Content Hosts and then click Register Content Host. 


Actual results:

1. Select a Content Source:
[drop-down list of content sources]

2. Install the pre-built bootstrap RPM:
rpm -Uvh http://capsuleserver.example.com/pub/katello-ca-consumer-latest.noarch.rpm

3. Run subscription-manager in a console on the client host. You may use an Activation Key to register:
subscription-manager register --org="The_Demo_Org" --activationkey="activationkey1"

or authenticate with a username and password:
subscription-manager register --org="The_Demo_Org" --environment="Library"

4. Install katello-agent for remote actions and displaying errata information:
yum -y install katello-agent

Expected results:

1. Select a Content Source:
[drop-down list of content sources]

2. Install the pre-built bootstrap RPM:
rpm -Uvh http://capsuleserver.example.com/pub/katello-ca-consumer-latest.noarch.rpm

3. Run subscription-manager in a console on the client host. You can use an Activation Key to register:
subscription-manager register --org="<The_Demo_Org>" --activationkey="<activationkey1>"

or authenticate with a username and password:
subscription-manager register --org="<The_Demo_Org>" --environment="Library"

4. Attach a subscription:
subscription-manager list --available --all
subscription-manager attach --pool=<pool_ID>

5. Enable repositories:
subscription-manager repos --enable=<repository-to-be-enabled>

6. Install katello-agent for remote actions and displaying errata information:
yum -y install katello-agent


Additional info:

Please do not use "may" as it is sometimes used ambiguously to mean "might" as in "might happen". Use "can" to indicate that something is allowed, can be done.

Comment 2 Stephen Wadeley 2015-11-10 12:50:59 UTC
Will clone for the Installation Guide

Comment 8 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 9 Bryan Kearney 2016-07-26 15:38:38 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 11 Stephen Wadeley 2017-03-22 19:18:50 UTC
Hello

Further to comment 0

For step 5 I think first say:

To list available repositories:
subscription-manager repos --list

then say:
subscription-manager repos --enable=<repository-to-be-enabled>


Thank you

Comment 12 Stephen Wadeley 2017-07-24 14:49:37 UTC
Hello

Please also change this:

Install the pre-built bootstrap RPM:

The term "bootstrap" is not appropriate.

Try: 

Install the Satellite Server subscription and certificate file:

Thank you

Comment 13 Bryan Kearney 2017-08-01 20:33:01 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.