Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1909607 - hammer content-view component list does not list content-view ID
Summary: hammer content-view component list does not list content-view ID
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Views
Version: 6.8.0
Hardware: All
OS: All
medium
medium
Target Milestone: 6.12.0
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-21 07:32 UTC by Steffen Froemer
Modified: 2024-02-08 19:40 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-24 18:36:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34174 0 Normal Closed hammer content-view component list does not list content-view ID 2023-03-24 18:33:33 UTC
Github Katello hammer-cli-katello pull 831 0 None Merged Fixes #34174 - Add content view ID to content-view component list 2023-03-24 18:32:43 UTC
Red Hat Issue Tracker SAT-23135 0 None None None 2024-02-08 19:40:51 UTC

Description Steffen Froemer 2020-12-21 07:32:26 UTC
Description of problem:
When listing information from content-view component list, the propagated ID is irritating for further usage.
Getting further information of shown content-views using ID is impossible. You have to use name instead.

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


How reproducible:
always

Steps to Reproduce:
1. create CCV 
2. show content of CCV using hammer content-view component list command
3. get information from listed CV by using ID

Actual results:
[root@satellite ~]# hammer content-view component list --composite-content-view ccv-rhel7-x86_64-generic
---|---------------------------------------|---------|-----------------|-------------
ID | NAME                                  | VERSION | CURRENT VERSION | VERSION ID   
---|---------------------------------------|---------|-----------------|------------- 
5  | cv-rhel7-x86_64                       | Latest  | 15.0            | 104 (Latest) 


[root@satellite ~]# hammer content-view info --id=5 --fields name
Name: ccv-rhel7-x86_64-capsule   


Expected results:
The shown ID should be named as something like `component ID` and the appropriate ID should be listed separately


[root@satellite ~]# hammer content-view info --id=5 --fields name
Name: cv-rhel7-x86_64   


[root@satellite ~]# hammer content-view component list --composite-content-view ccv-rhel7-x86_64-generic
-------------|---------------------------------------|---------|------|----------------|-------------
COMPONENT ID | NAME                                  | VERSION |  ID  |CURRENT VERSION | VERSION ID   
-------------|---------------------------------------|---------|------|----------------|------------- 
5            | cv-rhel7-x86_64                       | Latest  |  10  |  15.0          | 104 (Latest) 

Additional info:

Comment 6 Samir Jha 2023-03-24 18:36:46 UTC
Marking as closed current-release. The fix for this landed in Satellite 6.12 as part of hammer.

Comment 7 Red Hat Bugzilla 2023-09-18 00:24:00 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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