Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-23135

hammer content-view component list does not list content-view ID

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.8.0
    • Content Views
    • 0
    • False
    • Moderate
    • None
    • None
    • None
    • None
    • No

      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:

              jira-bugzilla-migration RH Bugzilla Integration
              jira-bugzilla-migration RH Bugzilla Integration
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: