Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:

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.