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

hammer repository info doesn't return content counts for AC repos

XMLWordPrintable

    • 0
    • False
    • Moderate
    • Sprint 126, Sprint 127
    • None
    • None
    • None
    • None
    • No

      Description of problem:
      `hammer repository info` command doesn't return content counts for ansible collection repos.

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

      How reproducible:
      always

      Steps to Reproduce:
      1. Sync some AC repo to the Satellite (I used galaxy.ansible.com and this requirement: {collections: [

      {'name': 'theforeman.foreman', 'version': '2.1.0'}

      ,

      {'name': 'theforeman.operations', 'version': '0.1.0'}

      ]} )
      2. run hammer repository info --id <repo-id>

      Actual results:

      [root@sat ~]# hammer repository info --id 87
      Id: 87
      Name: AC repo
      Label: AC_repo
      Description:
      Organization: Default Organization
      Red Hat Repository: no
      Content Type: ansible_collection
      Content Label: Default_Organization_AC_prod_AC_repo
      Mirroring Policy: Content Only
      Url: https://galaxy.ansible.com/
      Publish Via HTTP: yes
      Published At: https://satellite.redhat.com/pulp_ansible/galaxy/Default_Organization/Library/custom/AC_prod/AC_repo/api/
      Relative Path: Default_Organization/Library/custom/AC_prod/AC_repo
      Download Policy:
      HTTP Proxy:
      HTTP Proxy Policy: global_default_http_proxy
      Product:
      Id: 307
      Name: AC prod
      GPG Key:

      Sync:
      Status: Success
      Last Sync Date: 2 minutes
      Created: 2023/11/22 10:44:39
      Updated: 2023/11/22 10:44:40
      Content Counts:
      <----------- nothing to see here

      Expected results:
      ...
      Sync:
      Status: Success
      Last Sync Date: 2 minutes
      Created: 2023/11/22 10:44:39
      Updated: 2023/11/22 10:44:40
      Content Counts:
      Ansible Collections: 2 <---------------

      Additional info:
      Other content-types work just fine:

      Content Counts:
      Packages: 32842
      Source RPMS: 0
      Package Groups: 59
      Errata: 3191
      Module Streams: 716

      Content Counts:
      Files: 3

      Content Counts:
      Container Image Manifest Lists: 32
      Container Image Manifests: 214
      Container Image Tags: 53

              iballou@redhat.com Ian Ballou
              jira-bugzilla-migration RH Bugzilla Integration
              Vladimír Sedmík Vladimír Sedmík
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: