Satellite content view import fails with error 'Unable to import in to Content View specified in the metadata'

Solution Verified - Updated -

Issue

  • After exporting a Content View containing the rhel-7-server-satellite-6.11-rpms repository on a Satellite 6.10 server using the hammer export-legacy command, importing the same Content View into a disconnected Satellite 6.11 server fails.

    [root@satellite ~]# hammer content-import version --path /var/lib/pulp/imports/MYORG/CV-IMPORT/ --organization MYORG
    Could not import the archive.:
      Unable to import in to Content View specified in the metadata - 'CV-IMPORT'. The 'import_only' attribute for the content view is set to false. To mark this Content View as importable, have your system administrator run the following command on the server.
      foreman-rake katello:set_content_view_import_only ID=21
    

Environment

  • Red Hat Satellite 6.11

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