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 2055329 - Cannot import a cv
Summary: Cannot import a cv
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
high
Target Milestone: 6.11.0
Assignee: Partha Aji
QA Contact: Radek Mynar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-16 17:38 UTC by Lai
Modified: 2022-07-05 14:33 UTC (History)
1 user (show)

Fixed In Version: tfm-rubygem-katello-4.3.0.9-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:33:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34465 0 Normal New Content View import failing for an Airgapped Setup with RH Repos 2022-02-16 22:06:55 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:33:26 UTC

Description Lai 2022-02-16 17:38:17 UTC
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.

Comment 1 Partha Aji 2022-02-16 22:06:54 UTC
Connecting redmine issue https://projects.theforeman.org/issues/34465 from this bug

Comment 2 Bryan Kearney 2022-02-25 08:05:37 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34465 has been resolved.

Comment 6 Radek Mynar 2022-04-08 12:38:45 UTC
ContentView was correctly imported in airgapped Satellite

VERIFIED with Satellite 6.11 SNAP 15.0

Comment 9 errata-xmlrpc 2022-07-05 14:33:19 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.