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:
Using the content-import command fails with "Could not import the archive.: No upstream organization was specified" even though the org was specified
Version-Release number of selected component (if applicable):
7.0 snap 9 on rhel8.5
How reproducible:
100%
Steps to Reproduce:
1. Spin up 2 satellites (one for connected and one for disconnected)
On host satellite
2. Import a manifest
3. Set the RHEL download policy to "immediate"
4. enable a few rhel repos (I used ansible 2.9 and tools6.10 for RHEL8)
5. Sync the repos on step 3
6. Create a custom repo and sync the custom yum repo
7. Create a cv and add the repos in steps 4 and 6
8. Publish the cv
9. Run the export command: hammer content-export complete version --id <version-id> --organization-id <id>
On client Satellite
10. Import a manifest that has rhel repos from step 4
11. Set RHEL download policy to "immediate"
12. Set "Subscription connection enabled" to "No"
13. In managed manifest -> CDN configuration -> air-gapped, click update to not use import/export
14. scp the exported dir created from step 9 into the /var/lib/pulp/import dir
15. run "chown -R pulp:pulp" in the imported dir
16. run import command: hammer content-import version --organization="Default Organization" --path '/var/lib/pulp/imports/<exported_dir>'
Actual results:
Could not import the archive.:
Error: Unrecognised option '--parth'.
Expected results:
Import command should complete successfully.
Additional info:
The repos I used for this were "Red Hat Ansible engine 2.9" and "Red Hat Satellite Tools 6.10 for RHEL8" and a custom zoo repo.
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