Bug 1309908

Summary: [RFE] Add content-view published status to " hammer -u admin -p changeme content-view list"
Product: Red Hat Satellite Reporter: Pradeep Kumar Surisetty <psuriset>
Component: Content ViewsAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 6.1.6CC: bbuckingham, bkearney, jcallaha
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:49:54 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 Pradeep Kumar Surisetty 2016-02-18 23:05:19 UTC
Description of problem:

" hammer -u admin -p changeme content-view  list "  lists all content views. 

From CLI, there is no any better way to find out if content-view published or not. 

Checking every "content-vew info " is not a better option 


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


How reproducible:


Steps to Reproduce:
1.  Run hammer -u admin -p changeme content-view  list "
2.
3.

Actual results:



Expected results:


Additional info:

Comment 1 Bryan Kearney 2016-07-26 19:04:32 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 2 Brad Buckingham 2016-08-25 17:24:34 UTC
Created redmine issue http://projects.theforeman.org/issues/16302 from this bug

Comment 3 Brad Buckingham 2016-08-25 17:28:15 UTC
Upstream hammer-cli-katello PR: https://github.com/Katello/hammer-cli-katello/pull/446

Comment 5 Bryan Kearney 2016-09-08 14:13:07 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16302 has been resolved.

Comment 9 Peter Ondrejka 2016-11-29 13:50:34 UTC
Verified in Satellite 6.3 snap 6:

~]# hammer content-view list
----------------|--------|---------|-----------|---------------------|---------------
CONTENT VIEW ID | NAME   | LABEL   | COMPOSITE | LAST PUBLISHED      | REPOSITORY IDS
----------------|--------|---------|-----------|---------------------|---------------
2               | test   | test    |           | 2016/11/29 09:11:52 | 1, 5          
1               | Def    | Def     |           | 2016/11/28 08:51:54 |               
----------------|--------|---------|-----------|---------------------|---------------

Comment 10 Satellite Program 2018-02-21 16:49:54 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