Why manifest upload on Red Hat Satellite 6 server fails with error "The archive does not contain the required signature file"?
Environment
- Red Hat Satellite 6.x
Issue
- Why manifest upload on Red Hat Satellite 6 server fails with error "The archive does not contain the required signature file"?
Resolution
- Make sure the This content is not included.browser version is supported.
- Delete the manifest and re-generate it with correct Red Hat Satellite version.
- Try recreating the Red Hat Satellite profile.
- Clear browser cache and regenerate manifest Or try using different browser.
- Check if candlepin certificates are present over Satellite Server.
# rpm -ql candlepin--x.x.xx.xx-x.el7.noarch | grep -i crt
/etc/candlepin/certs/candlepin-ca.crt
/etc/candlepin/certs/upstream/candlepin-redhat-ca.crt
- If the candlepin certificates are missing, then re-install
candlepinpackage.
# yum reinstall candlepin-x.x.xx.xx-x.el7.noarch
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
- Issue may occur if the manifest is corrupt or bad.
- Using unsupported browser version
- For some reason candlepin certificates
candlepin-upstream-ca.crtorcandlepin-ca.crtwere not present over Satellite Server file system. So need to re-install candlepin package for the certs to be available.
Diagnostic Steps
-
Verify the Red Hat Satellite version selected for Satellite profile on portal is correct.
To check satellite version, login to the server and check content of/usr/share/foreman/lib/satellite/version.rb file:
For ex:# cat /usr/share/foreman/lib/satellite/version.rb module Satellite VERSION = "6.0.8" endRefer This content is not included.KCS article for more information on how to know the Red Hat Satellite 6 version.
-
Trace in
/var/log/foreman/production.logand from webui --> Monitor --> Tasks --> Upload manifest task --> Error tab.Processing by Katello::Api::V2::SubscriptionsController#upload as HTML [...] Completed 202 Accepted in 190ms (Views: 69.6ms | ActiveRecord: 2.4ms) [...] Rolling back due to a problem: [] Katello::Resources::Candlepin::Owner: 500 Internal Server Error {"displayMessage":"The archive does not contain the required signature file","requestUuid":"57e82037-2a33-4f82-ae04-3998c6a5ba04"} (POST /candlepin/owners/testorg /imports): {"displayMessage":"The archive does not contain the required signature file","requestUuid":"57e82037-2a33-4f82-ae04-3998c6a5ba04"} [...] Error during manifest import: {"displayMessage"=>"The archive does not contain the required signature file", "requestUuid"=>"57e82037-2a33-4f82-ae04-3998c6a5ba04"} The archive does not contain the required signature file (Katello::Errors::CandlepinError) [...] caused by: (RestClient::InternalServerError) Katello::Resources::Candlepin::Owner: 500 Internal Server Error {"displayMessage":"The archive does not contain the required signature file","requestUuid":"57e82037-2a33-4f82- ae04-3998c6a5ba04"} (POST /candlepin/owners/testorg/imports) [...] Processing by ForemanTasks::Api::TasksController#bulk_search as JSON Parameters: {"searches"=>[{"type"=>"task", "task_id"=>"23cda5f4-832e-4767-bfd1-26dc56e4de49", "search_id"=>"5"}], "task"=>{}} Completed 200 OK in 32ms (Views: 2.0ms | ActiveRecord: 2.3ms) Processing by Katello::Api::V2::SubscriptionsController#manifest_history as JSON Parameters: {"api_version"=>"v2", "organization_id"=>"4"} Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/api/v2/subscription /manifest_history.json.rabl within katello/api/v2/layouts/collection (1.1ms) Completed 200 OK in 88ms (Views: 2.9ms | ActiveRecord: 2.0ms)"
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.