Bug 2224426 - While enabling SCA option auto-create-overrides doesn't work via hammer
Summary: While enabling SCA option auto-create-overrides doesn't work via hammer
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.14.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.14.0
Assignee: Brian Angelica
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-20 18:51 UTC by Avnish Kumar
Modified: 2023-08-17 11:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-19094 0 None None None 2023-07-21 13:55:39 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.