hammer content-view list --organization <ORG NAME> always shows the CV's related to ORG with ID=1

Solution Verified - Updated -

Issue

hammer content-view list --organization always shows the CV's related to ORG with ID=1:

hammer organization list
---|----------|----------|-------------|---------
ID | TITLE    | NAME     | DESCRIPTION | LABEL   
---|----------|----------|-------------|---------
1  | ACME     | ACME     |             | ACME    
5  | Export   | Export   |             | Export  
6  | Import   | Import   |             | Import  
---|----------|----------|-------------|---------


hammer content-view  list --organization Export
----------------|---------------------------|---------------------------|-----------|---------------------|-----------------------------
CONTENT VIEW ID | NAME                      | LABEL                     | COMPOSITE | LAST PUBLISHED      | REPOSITORY IDS              
----------------|---------------------------|---------------------------|-----------|---------------------|-----------------------------
10              | CAP68                     | CAP68                     | false     | 2020/12/11 01:35:43 | 91, 10, 89, 2, 90, 7        
6               | CCV-1                     | CCV-1                     | true      | 2020/09/24 13:58:41 |                             
4               | CV-Ansible                | CV-Ansible                | false     | 2020/09/16 16:11:18 | 6                           
3               | CV-CAP67                  | CV-CAP67                  | false     | 2020/10/08 14:49:51 | 6, 13, 10, 1, 2, 4, 7, 8, 48
9               | CV-HPC-76                 | CV-HPC-76                 | false     | 2020/10/14 18:07:05 | 76, 74, 75                  
12              | cv-puppet                 | cv-puppet                 | false     | 2020/12/21 17:48:33 |                             
13              | cv-sattools-rhel6         | cv-sattools-rhel6         | false     | 2020/12/22 18:34:06 | 3                           
1               | Default Organization View | Default_Organization_View | false     | 2020/09/14 20:04:58 |                             
----------------|---------------------------|---------------------------|-----------|---------------------|-----------------------------

hammer content-view  list --organization ACME
----------------|---------------------------|---------------------------|-----------|---------------------|-----------------------------
CONTENT VIEW ID | NAME                      | LABEL                     | COMPOSITE | LAST PUBLISHED      | REPOSITORY IDS              
----------------|---------------------------|---------------------------|-----------|---------------------|-----------------------------
10              | CAP68                     | CAP68                     | false     | 2020/12/11 01:35:43 | 91, 10, 89, 2, 90, 7        
6               | CCV-1                     | CCV-1                     | true      | 2020/09/24 13:58:41 |                             
4               | CV-Ansible                | CV-Ansible                | false     | 2020/09/16 16:11:18 | 6                           
3               | CV-CAP67                  | CV-CAP67                  | false     | 2020/10/08 14:49:51 | 6, 13, 10, 1, 2, 4, 7, 8, 48
9               | CV-HPC-76                 | CV-HPC-76                 | false     | 2020/10/14 18:07:05 | 76, 74, 75                  
12              | cv-puppet                 | cv-puppet                 | false     | 2020/12/21 17:48:33 |                             
13              | cv-sattools-rhel6         | cv-sattools-rhel6         | false     | 2020/12/22 18:34:06 | 3                           
1               | Default Organization View | Default_Organization_View | false     | 2020/09/14 20:04:58 |                             
----------------|---------------------------|---------------------------|-----------|---------------------|-----------------------------

Environment

Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In