Bug 2047443 - Unable to Import any content via Import/Export
Summary: Unable to Import any content via Import/Export
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Inter Satellite Sync
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.11.0
Assignee: Partha Aji
QA Contact: Lai
URL:
Whiteboard:
Depends On:
Blocks: 2043726
TreeView+ depends on / blocked
 
Reported: 2022-01-27 20:56 UTC by Partha Aji
Modified: 2022-07-05 14:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:32:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34338 0 Normal New Unable to Import any content via Import/Export 2022-01-27 20:59:23 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:32:41 UTC

Description Partha Aji 2022-01-27 20:56:41 UTC
This occurs in 7.0 and above only

1) Export content via hammer content-export any version/library
2) Import the exported archive to a new org or satellite
3) Notice all the created repositories in the new org have no content.

Actual results:
Notice all the created repositories in the new org have no content.

Expected results:
Created repositories have correct content.

Additional Notes:

This is related to a pulp 3.16 update where the import call would return a task group instead of a list of tasks. Katello needs to be updated to address this change.

Comment 1 Partha Aji 2022-01-27 20:59:23 UTC
Connecting redmine issue https://projects.theforeman.org/issues/34338 from this bug

Comment 2 Bryan Kearney 2022-01-28 00:05:15 UTC
Upstream bug assigned to paji

Comment 3 Bryan Kearney 2022-01-28 00:05:17 UTC
Upstream bug assigned to paji

Comment 4 Bryan Kearney 2022-02-01 16:05:27 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34338 has been resolved.

Comment 7 Lai 2022-04-05 14:51:00 UTC
Steps to reproduce

1. Spin up 2 satellites: one for connected and one for disconnected
2. On connected, change download policy to "Immediate" under settings
3. Import a manifest and enabled 2 repos (Ansible 2.9 and RHEL8.5 baseos KS) with immediate policy.
4. Sync the repos
5. Run export for complete library
6. On Disconnected: import a manifest, change download policy to "Immediate" under settings.
7. Create a new org
8. Update to use air-gapped in CDN configuration
9. Add the exported files from connected satellite to /var/lib/pulp/imports/ in disconnected satellite
10. Run import command
12. Check the cv for the imported repos between the connected and disconnected

Expected:
Connected and disconnected should have the same content

Actual:
Connected and disconnected does have the same content

Additionally: I have checked the packages themselves are present at the `Published At` url for each repos.

Verified on 6.11 snap 14

Comment 10 errata-xmlrpc 2022-07-05 14:32:26 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.