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 2227897 - Importing incremental content not recreating metadata properly
Summary: Importing incremental content not recreating metadata properly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Inter Satellite Sync
Version: 6.12.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.12.5
Assignee: Partha Aji
QA Contact: Cole Higgins
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-31 19:20 UTC by Odilon Sousa
Modified: 2023-08-24 18:24 UTC (History)
2 users (show)

Fixed In Version: tfm-rubygem-katello-4.5.0.35-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-24 18:24:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36164 0 Normal Closed Importing incremental content not recreating metadata properly 2023-07-31 19:20:28 UTC
Red Hat Bugzilla 2173756 0 high CLOSED Importing incremental content not recreating metadata properly 2023-09-18 12:43:12 UTC
Red Hat Issue Tracker SAT-19284 0 None None None 2023-07-31 19:21:40 UTC
Red Hat Product Errata RHBA-2023:4749 0 None None None 2023-08-24 18:24:46 UTC

Description Odilon Sousa 2023-07-31 19:20:29 UTC
Description of problem:

On Satellite 6.12, importing an incremental export does not update the metadata properly on pulp.

User can see the updated number of packages on the webUI, but clients consuming the repository still see the old count (from before importing the incremental).

Forcing pulp to regenerate the metadata does create it properly and clients can then see the added packages.

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

6.12.2

How reproducible:
I managed to reproduce it using RHEL 8 AppStream repository. Exporting a custom repository worked fine. I'm working to get a complete + incremental of a smaller Red Hat repository, so we can run tests faster.

Steps to Reproduce:
1. Do complete export of a Red hat repository
2. Import complete on disconnected Satellite
3. Run "dnf repolist -v" on a client that consumes the repository
4. Export incremental of the same repository
5. Import incremental
6. On the client "dnf clean all && dnf repolist -v". Same number of packages as on step 3 are seen.


Actual results:
After incremental import, packages are not available for clients.

Expected results:
Added packages should be available for clients.


Additional info:

Comment 1 Bryan Kearney 2023-07-31 20:03:41 UTC
Upstream bug assigned to paji

Comment 2 Bryan Kearney 2023-07-31 20:03:43 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36164 has been resolved.

Comment 9 errata-xmlrpc 2023-08-24 18:24:35 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 (Satellite 6.12.5 Async Update), 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/RHBA-2023:4749


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