Bug 2224426

Summary: While enabling SCA option auto-create-overrides doesn't work via hammer
Product: Red Hat Satellite Reporter: Avnish Kumar <avnkumar>
Component: Subscription ManagementAssignee: Brian Angelica <bangelic>
Status: ASSIGNED --- QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.14.0CC: iballou, jlenz
Target Milestone: 6.14.0Keywords: Documentation
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Avnish Kumar 2023-07-20 18:51:17 UTC
Description of problem:
While enabling SCA option auto-create-overrides doesn't work via hammer

Version-Release number of selected component (if applicable):
Satellite 6.14 

How reproducible:
Always

Steps to Reproduce:

1. Go to Satellite command-line & execute:

~~~~~
# hammer simple-content-access enable --organization-id 1 --auto-create-overrides=false

Could not enable Simple Content Access for this organization:
  Error: Unrecognised option '--auto-create-overrides'.
  
  See: 'hammer simple-content-access enable --help'.
~~~~

2. hammer --help doesn't shows the option --auto-create-overrides

~~~~
# hammer simple-content-access enable --help
Usage:
    hammer simple-content-access enable [OPTIONS]

Options:
 --async                                        Do not wait for the task
 --organization[-id|-title|-label] VALUE/NUMBER Organization name/title/label/id
 -h, --help                                     Print help
~~~~


Actual results: As per release doc, this doesn't work. 

Chapter 2. New features
~~~~~~~~~
If for some reason you need to turn on SCA without automatically creating these overrides, you can do this through Hammer with hammer simple-content-access enable --organization-id xxx --auto-create-overrides=false.
~~~~~~~~~

Expected results: As per release doc, this should work


Additional info: Red Hat Satellite 6.14 release notes > Chapter 2. New features

Comment 1 Jeremy Lenz 2023-07-21 13:54:01 UTC
This is a documentation bug. The hammer auto-create-overrides option is only in 6.13, not 6.14. The release note likewise should not have appeared for 6.14.

In 6.14 custom products are disabled by default, so you can turn on SCA without hosts gaining access to any new custom repositories.