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.

Bug 1202458

Summary: unable to sync iso repos, due to PULPErrors
Product: Red Hat Satellite Reporter: Kedar Bidarkar <kbidarka>
Component: WebUIAssignee: Christine Fouant <cfouant>
WebUI sub component: Katello QA Contact: sthirugn <sthirugn>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: high CC: bbuckingham, mmccune, shughes, sthirugn
Version: 6.1.0Keywords: Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 14:01:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1132576    

Description Kedar Bidarkar 2015-03-16 16:37:07 UTC
Description of problem:
unable to sync iso repos, due to PULPErrors

2015-03-16 20:53:20 [I]   Parameters: {"call_report"=>"[FILTERED]", "event_type"=>"repo.sync.finish", "payload"=>{"importer_id"=>"iso_importer", "exception"=>nil, "repo_id"=>"Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_7_Server_-_Supplementary_ISOs_x86_64_7_0", "traceback"=>nil, "started"=>"2015-03-16T15:23:18Z", "_ns"=>"repo_sync_results", "completed"=>"2015-03-16T15:23:20Z", "importer_type_id"=>"iso_importer", "error_message"=>nil, "summary"=>{"traceback"=>nil, "error_message"=>{}, "finished_bytes"=>0, "num_isos"=>nil, "state"=>"manifest_failed", "iso_error_messages"=>[], "total_bytes"=>nil, "num_isos_finished"=>0, "state_times"=>{"not_started"=>"2015-03-16T15:23:18", "manifest_in_progress"=>"2015-03-16T15:23:18", "manifest_failed"=>"2015-03-16T15:23:19"}}, "added_count"=>0, "result"=>"failed", "updated_count"=>0, "details"=>nil, "id"=>"5506f568fc7c822c64a1738b", "removed_count"=>0}, "token"=>"", "api_version"=>"v2", "repository"=>{}}
2015-03-16 20:53:20 [I] Sync_complete called for Red Hat Enterprise Linux 7 Server - Supplementary ISOs x86_64 7.0, running after_sync.
2015-03-16 20:53:21 [I] Completed 200 OK in 75ms (Views: 0.3ms | ActiveRecord: 2.4ms)
2015-03-16 20:53:22 [W] Polling failed, attempt no. 1, retrying in 0.5
2015-03-16 20:53:22 [W] PLP0000: Importer indicated a failed response (Katello::Errors::PulpError)
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.21/app/lib/actions/pulp/abstract_async_task.rb:100:in `block in external_task='
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.21/app/lib/actions/pulp/abstract_async_task.rb:98:in `each'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.21/app/lib/actions/pulp/abstract_async_task.rb:98:in `external_task='
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.3/lib/dynflow/action/polling.rb:86:in `poll_external_task_with_rescue'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.3/lib/dynflow/action

Version-Release number of selected component (if applicable):
sat6.1 beta snap6 compose2

How reproducible:


Steps to Reproduce:

Steps to Reproduce:
1. Import manifest ( I used employee subscription) 
2. Enable ISO Repo - I used  "Red Hat Enterprise Linux 6 Server x86_64 6Server"
3. Sync the above repo and watch foreman/production.log

Actual results:
unable to sync ISO repos

Expected results:
Should be able to sync ISO repos.

Additional info:

Comment 1 Kedar Bidarkar 2015-03-16 16:37:45 UTC
2015-03-16 21:05:31 [I] Sync_complete called for Red Hat Enterprise Linux 6 Server ISOs x86_64 6Server, running after_sync.
2015-03-16 21:05:32 [I] Completed 200 OK in 104ms (Views: 0.3ms | ActiveRecord: 2.5ms)
2015-03-16 21:05:32 [W] Polling failed, attempt no. 1, retrying in 0.5
2015-03-16 21:05:32 [W] PLP0000: Importer indicated a failed response (Katello::Errors::PulpError)
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.21/app/lib/actions/pulp/abstract_async_task.rb:100:in `block in external_task='
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.21/app/lib/actions/pulp/abstract_async_task.rb:98:in `each'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.21/app/lib/actions/pulp/abstract_async_task.rb:98:in `external_task='
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.3/lib/dynflow/action/polling.rb:86:in `poll_external_task_with_rescue'

Comment 3 Christine Fouant 2015-05-14 21:05:21 UTC
Tested syncing of ISO on Sat 6.1 snap 4, and was able to do so successfully. I checked on a smaller repo than RHEL6Server (I used Red Hat Enterprise Linux 6 Server - Supplementary ISOs x86_64 6Server). Additionally, there were no errors in foreman/production.log

Comment 4 sthirugn@redhat.com 2015-05-19 14:38:57 UTC
Verified in Sat 6.1 GA Snap 4

I am able to sync  Red Hat Enterprise Linux 6 Server ISOs x86_64 6Server. I did not see any errors as mentioned in the bug description.

Comment 5 Bryan Kearney 2015-08-11 13:27:19 UTC
This bug is slated to be released with Satellite 6.1.

Comment 6 Bryan Kearney 2015-08-12 14:01:33 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.