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.
Connecting redmine issue https://projects.theforeman.org/issues/34465 from this bug
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34465 has been resolved.
ContentView was correctly imported in airgapped Satellite VERIFIED with Satellite 6.11 SNAP 15.0
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