Content view import fails with "repos_unit" parameter error.

Solution Verified - Updated -

Issue

After exporting a content view from a connected Satellite server, this error appears when trying to import on the disconnected Satellite:

# hammer content-view version import --export-tar /var/lib/pulp/katello-export/export-RHEL7-AC-*.tar --organization-id 1

[..................................................................................................................................] [100%]
New packages: 221 (513 MB).
[..................................................................................................................................] [100%]
New packages: 446 (1.33 GB).
Could not import the content view:
  Content view has repository label 'Red_Hat_Satellite_Tools_6_8_for_RHEL_7_Server_RPMs_x86_64' which is not specified in repos_units parameter.

Environment

  • Red Hat Satellite 6.8.
  • Disconnected Satellite getting content from a connected Satellite.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content