Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
After importing a complete library produced by 'hammer content-export complete library --organization="Default_Organization"' the repodata for the repositories in the content view "Import-Library" is showing 0 packages on all repositories.
Version-Release number of selected component (if applicable):
6.10.1
How reproducible:
Unknown
Steps to Reproduce:
1. Export library using 'hammer content-export complete library --organization="Default_Organization"'
2. Import the content into another Satellite using the hammer command 'hammer content-import library --organization="Default_Organization" --path=’/var/lib/pulp/imports/dump_dir’
3. Register a client to the Satellite with the environment Library/Import-Library, assign a subscription and enable all repositories. The repositories are showing 0 packages
Actual results:
The client sees the repository having 0 packages
Satellite shows the repository having all packages. The same number of packages from the imported Satellite.
Expected results:
Shouldn't the client should see the number of packages as reflected from the Satellite?
Additional info:
The packages are visible on the client after publishing the "Import-Library" content-view on the Satellite using the hammer command 'hammer content-view version republish-repositories --content-view-id ID --version 1.0 --force true'. The packages are also visible on the client in the Library/Default Organization View environment.
Steps to retest:
1. Export library using 'hammer content-export complete library --organization="Default_Organization"'
2. Import the content into another Satellite using the hammer command 'hammer content-import library --organization="Default_Organization" --path=’/var/lib/pulp/imports/dump_dir’
3. Register a client to the Satellite with the environment Library/Import-Library, assign a subscription and enable all repositories.
Expected:
Repositories should show number of packages.
Actual:
repositories show correct number of packages.
Verified on 7.0 snap 13 with rhel7 and rhel8
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 (Moderate: Satellite 6.11 Release), 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-2022:5498