Bug 970723

Summary: cancel sync fails with 500 error
Product: Red Hat Satellite Reporter: Mike McCune <mmccune>
Component: WebUIAssignee: Justin Sherrill <jsherril>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: NightlyCC: omaciel
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: 2013-06-04 19:31:28 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:
Attachments:
Description Flags
screenshot none

Description Mike McCune 2013-06-04 17:24:05 UTC
Created attachment 756891 [details]
screenshot

I synced a small repo (~25M) which succeeded but then upon returning to the Sync Management page it still had a stuck progress bar at 0

See attached screens hot.

I tried to cancel the sync, but it generated an error:

[ERROR 2013-06-04 17:19:29 app 03da0d72ae5870ae8184cb6c14247df4 #8968] can't convert String into Integer (TypeError)
 | /opt/rh/ruby193/root/usr/share/gems/gems/runcible-0.4.8/lib/runcible/resources/task.rb:53:in `[]'
 | /opt/rh/ruby193/root/usr/share/gems/gems/runcible-0.4.8/lib/runcible/resources/task.rb:53:in `cancel'
 | /usr/share/katello/app/models/glue/pulp/repo.rb:497:in `cancel_sync'
 | /usr/share/katello/app/controllers/sync_management_controller.rb:128:in `destroy'

Comment 1 Justin Sherrill 2013-06-04 19:31:28 UTC

*** This bug has been marked as a duplicate of bug 966949 ***