Bug 1331703

Summary: Example command to disable repositories does not work
Product: Red Hat Satellite Reporter: Stuart Auchterlonie <sauchter>
Component: Docs Install GuideAssignee: Brandi Munilla <bmcelvee>
Status: CLOSED CURRENTRELEASE QA Contact: Allison Heslin <aheslin>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.0CC: adahms, bmcelvee, dmoessne
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-02 23:33:24 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:

Description Stuart Auchterlonie 2016-04-29 10:37:36 UTC
Document URL: 

https://access.redhat.com/documentation/en/red-hat-satellite/version-6.2-beta/installation-guide/

Section Number and Name: 

3.1.3. Configuring Repositories

Describe the issue: 

If you cut and paste the command to disable all the repositories
the command will fail with the error

# subscription-manager repos --disable " * "
Error:  *  is not a valid repository ID. Use --list option to see valid repositories.


Suggestions for improvement: 

The correct command is

# subscription-manager repos --disable "*"

ie. no spaces around the '*' in the command line

Additional information: 

This is in the Doc's for the BETA and should be fixed for GA.

Comment 1 Stuart Auchterlonie 2016-04-29 10:43:37 UTC
Cutting and pasting the repo enablement also causes problems.

# subscription-manager repos --enable rhel-7-server-rpms \ --enable=rhel-server-rhscl-7-rpms \ --enable=rhel-7-server-satellite-6-beta-rpms
cannot parse argument:  --enable=rhel-server-rhscl-7-rpms
cannot parse argument:  --enable=rhel-7-server-satellite-6-beta-rpms

This should be put into the standard black code box.

The name of the satellite server channel is also wrong,
after fixing the above command to

# subscription-manager repos --enable rhel-7-server-rpms --enable=rhel-server-rhscl-7-rpms --enable=rhel-7-server-satellite-6-beta-rpms
Error: rhel-7-server-satellite-6-beta-rpms is not a valid repository ID. Use --list option to see valid repositories.

The correct channel name is `rhel-server-7-satellite-6-beta-rpms`

Comment 2 Brandi Munilla 2016-04-29 18:08:56 UTC
Thank you, Stuart. Corrections have been made to Section 3.1.3 of the Installation Guide. The repo enablement commands have been placed in the standard code box as well.

Comment 4 Andrew Dahms 2016-05-02 23:33:24 UTC
This content is now live on the Customer Portal.

Closing.