Importing manifest fails with error `Katello::Errors::CandlepinError: Owner has already imported from another subscription management application`

Solution Verified - Updated

Environment

  • Red Hat Satellite 6

Issue

  • Importing and new manifest in Red Hat Satellite 6 fails with the below traceback
Action:
Actions::Katello::Provider::ManifestImport
Input:
{"provider"=>{"id"=>2, "name"=>"Red Hat"},
 "organization"=>{"id"=>1, "name"=>"RedHat", "label"=>"Default_Organization"},
 "path"=>"/usr/share/foreman/tmp/import_6029a8f0c9f7248d20a9.zip",
 "force"=>nil,
 "remote_user"=>"admin",
 "locale"=>"en"}
Output:
{}
Exception:
Katello::Errors::CandlepinError: Owner has already imported from another subscription management application.

Resolution

  • Refresh the manifest, that is currently imported into Default_Organization.
    Satellite webUI >> Content >> Red Hat Subscriptions >> Manage Manifest >> Refresh Manifest

For more KB articles/solutions related to Red Hat Satellite 6.x Manifest Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x Manifest Issues

Root Cause

  • In the specified Organization i.e. Default_Organization a manifest has already been uploaded, which is causing the traceback.
  • In such a scenario, the manifest has to be refreshed and not imported.
  • Refreshing the manifest from the Satellite will reflect any changes that have been made, and hence there is no need to import.
SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.