Bug 1315249

Summary: hammer --noncomposite ignores the value passed to it and always removed composite views
Product: Red Hat Satellite Reporter: Stuart Auchterlonie <sauchter>
Component: HammerAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Shimon Shtein <sshtein>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.7CC: aagrawal, afeferku, bbuckingham, bkearney, ehelms, jcallaha, sshtein
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:51:07 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:
Bug Depends On:    
Bug Blocks: 1317008    

Description Stuart Auchterlonie 2016-03-07 11:15:23 UTC
Description of problem:

If you include --noncomposite on the hammer command line when listing
content views, the composite views get removed, regardless of what
value you passed to --noncomposite


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

Satellite 6.1.7

How reproducible:

100%

Steps to Reproduce:
1. hammer --username admin --password redhat content-view list --organization-id=1
2. hammer --username admin --password redhat content-view list --organization-id=1 --noncomposite 1
3. hammer --username admin --password redhat content-view list --organization-id=1 --noncomposite 0

Actual results:

at step 3, no composite views are included

Expected results:

Composite views should be included when --noncomposite
is set to false, no, or 0

Composite views should not be included when --noncomposite
is set to true, yes or 1

Additional info:

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

Comment 6 Bryan Kearney 2016-07-26 15:33:29 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 8 Satellite Program 2017-05-03 00:11:44 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/19371 has been resolved.

Comment 10 Satellite Program 2018-02-21 16:51:07 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> 
> For information on the advisory, and where to find the updated files, follow the link below.
> 
> If the solution does not work for you, open a new bug report.
> 
> https://access.redhat.com/errata/RHSA-2018:0336