Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
I have sychronized dozens of repos and except for RHEL 5 repos, I have not been able to reproduce this issue. I'm closing it as VERIFIED on Satellite 6.2.0 SNAP 6.1
Comment 10pulp-infra@redhat.com
2016-04-05 20:33:45 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.
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, 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/RHBA-2016:1501
Created attachment 1136137 [details] foreman-debug for sync issue Description of problem: Syncing a repo throws 500 ISE, but the sync does finish. 2016-03-14 08:00:21 [app] [I] Processing by Katello::Api::V2::RepositoriesController#sync_complete as */* 2016-03-14 08:00:21 [app] [I] Parameters: {"_json"=>"{\"call_report\": {\"exception\": null, \"task_type\": \"pulp.server.managers.repo.sync.sync\", \"_href\": \"/pulp/api/v2/tasks/1c5269b6-6eed-4c45-928a-e8bc34f552f9/\", \"task_id\": \"1c5269b6-6eed-4c45-928a-e8bc34f552f9\", \"tags\": [\"pulp:repository:Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Satellite_Tools_6_1_for_RHEL_6_Server_RPMs_x86_64\", \"pulp:action:sync\"], \"finish_time\": null, \"_ns\": \"task_status\", \"start_time\": \"2016-03-14T11:59:55Z\", \"traceback\": null, \"spawned_tasks\": [], \"progress_report\": {\"yum_importer\": {\"content\": {\"items_total\": 84, \"state\": \"FINISHED\", \"error_details\": [], \"details\": {\"rpm_total\": 84, \"rpm_done\": 84, \"drpm_total\": 0, \"drpm_done\": 0}, \"size_total\": 12918556, \"size_left\": 0, \"items_left\": 0}, \"comps\": {\"state\": \"FINISHED\"}, \"purge_duplicates\": {\"state\": \"FINISHED\"}, \"distribution\": {\"items_total\": 0, \"state\": \"FINISHED\", \"error_details\": [], \"items_left\": 0}, \"errata\": {\"state\": \"FINISHED\"}, \"metadata\": {\"state\": \"FINISHED\"}}}, \"state\": \"running\", \"worker_name\": \"reserved_resource_worker-3.satellite.lab.eng.rdu2.redhat.com\", \"result\": null, \"error\": null, \"_id\": {\"$oid\": \"56e6a7ba322f0b20136c551e\"}, \"id\": \"56e6a7ba322f0b20136c551e\"}, \"event_type\": \"repo.sync.finish\", \"payload\": {\"importer_id\": \"yum_importer\", \"exception\": null, \"repo_id\": \"Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Satellite_Tools_6_1_for_RHEL_6_Server_RPMs_x86_64\", \"traceback\": null, \"started\": \"2016-03-14T11:59:55Z\", \"_ns\": \"repo_sync_results\", \"completed\": \"2016-03-14T12:00:21Z\", \"importer_type_id\": \"yum_importer\", \"error_message\": null, \"summary\": {\"content\": {\"state\": \"FINISHED\"}, \"comps\": {\"state\": \"FINISHED\"}, \"purge_duplicates\": {\"state\": \"FINISHED\"}, \"distribution\": {\"state\": \"FINISHED\"}, \"errata\": {\"state\": \"FINISHED\"}, \"metadata\": {\"state\": \"FINISHED\"}}, \"added_count\": 92, \"result\": \"success\", \"updated_count\": 0, \"details\": {\"content\": {\"size_total\": 12918556, \"items_left\": 0, \"items_total\": 84, \"state\": \"FINISHED\", \"size_left\": 0, \"details\": {\"rpm_total\": 84, \"rpm_done\": 84, \"drpm_total\": 0, \"drpm_done\": 0}, \"error_details\": []}, \"comps\": {\"state\": \"FINISHED\"}, \"purge_duplicates\": {\"state\": \"FINISHED\"}, \"distribution\": {\"items_total\": 0, \"state\": \"FINISHED\", \"error_details\": [], \"items_left\": 0}, \"errata\": {\"state\": \"FINISHED\"}, \"metadata\": {\"state\": \"FINISHED\"}}, \"id\": \"56e6a7d5952da6b12a30e99a\", \"removed_count\": 0}}", "token"=>"Vdh9zWpETDGdTvhDbjstM5FhAYrQ8G3o", "api_version"=>"v2", "repository"=>{}} 2016-03-14 08:00:21 [app] [E] NoMethodError: undefined method `[]' for nil:NilClass | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.6/app/controllers/katello/api/v2/repositories_controller.rb:234:in `sync_complete' | /opt/rh/rh-ror41/root/usr/share/gems/gems/actionpack-4.1.5/lib/action_controller/metal/implicit_render.rb:4:in `send_action' | /opt/rh/rh-ror41/root/usr/share/gems/gems/actionpack-4.1.5/lib/abstract_controller/base.rb:189:in `process_action' | /opt/rh/rh-ror41/root/usr/share/gems/gems/actionpack-4.1.5/lib/action_controller/metal/rendering.rb:10:in `process_action' | /opt/rh/rh-ror41/root/usr/share/gems/gems/actionpack-4.1.5/lib/abstract_controller/callbacks.rb:20:in `block in process_action' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:113:in `call' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:113:in `call' Version-Release number of selected component (if applicable): SNAP3-compose1 How reproducible: Steps to Reproduce: 1. impport a manifest, enable repos 2. sync a repo 3. Actual results: sync finishes but throws 500 ISE Expected results: sync should finish without any 500 ISE issues. Additional info: