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 2032602 - Content not accessible after importing
Summary: Content not accessible after importing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Inter Satellite Sync
Version: 6.10.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: 6.11.0
Assignee: satellite6-bugs
QA Contact: Lai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-14 19:49 UTC by Taft Sanders
Modified: 2022-07-05 14:31 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2071006 (view as bug list)
Environment:
Last Closed: 2022-07-05 14:31:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:31:13 UTC

Description Taft Sanders 2021-12-14 19:49:11 UTC
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.

Comment 4 Justin Sherrill 2022-02-02 19:12:34 UTC
i've been able to reproduce, and its the same cause as https://bugzilla.redhat.com/show_bug.cgi?id=2043726

Regenerating the metadata for the CVV via 'hammer content-view version  republish-repositories'

Comment 5 Justin Sherrill 2022-02-08 19:53:43 UTC
Moving to POST since https://bugzilla.redhat.com/show_bug.cgi?id=2043726 is also in POST.  Keeping open for verification.

Comment 8 Lai 2022-03-17 01:40:02 UTC
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

Comment 11 errata-xmlrpc 2022-07-05 14:31:01 UTC
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


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