Bug 1261632

Summary: Should be easy to find out which packages failed to download during a content sync
Product: Red Hat Satellite Reporter: Matt Reid <mreid>
Component: RepositoriesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.1CC: bbuckingham, bkearney, cwelton, mmccune, rohoover
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 20:34:16 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: 1246054    
Bug Blocks:    
Attachments:
Description Flags
Sync Status - Failed to download 4 packages. Syncing Complete.
none
Task Details, Raw tab - 4 packages listed in JSON
none
Task Details, Errors tab - No errors
none
Task Details, Task tab - Success, Failed to download 4 packages none

Description Matt Reid 2015-09-09 19:21:29 UTC
Description of problem:
I synced RHEL 6 Server RPMs, which was almost 30gb of content, but was told 4 hours later that 4 packages failed to download. The sync said it was complete on Sync Status, and the task info for it also reported success. Trying to figure out which 4 packages I was missing, and hoping they weren't important, I tried to find out what they were. I didn't see them on Content Sync, the Task details screen, or in the Errors tab of that Task (which said there were "No errors").

After giving up and asking a dev for help, I was told to look in the Raw tab and scan the JSON for the packages. Sure enough, under Yum Importer, Error Details, there were 4 packages listed, all with "Connection aborted", BadStatusLine(\"''\",).

It looks like there's currently a bug for sync errors reporting as fine, so this may fall under that until it gets fixed, but it would be nice if we exposed the packages that had issues downloading in a more findable fashion. I'd expect to either see them on the Task details under Output, or in the Errors tab for the sync task, it seems like important information to me.

Version-Release number of selected component (if applicable):
6.1.1

Actual results:
"Failed to download 4 packages." Ok, which ones?

Expected results:
"Failed to download 4 packages: package-x, package-y, package-z, package-z++."

Additional info:
When a failure happens, at what point will they try to download again?

Comment 1 Matt Reid 2015-09-09 19:24:56 UTC
Created attachment 1071901 [details]
Sync Status - Failed to download 4 packages. Syncing Complete.

Comment 2 Matt Reid 2015-09-09 19:25:38 UTC
Created attachment 1071902 [details]
Task Details, Raw tab - 4 packages listed in JSON

Comment 3 Matt Reid 2015-09-09 19:26:10 UTC
Created attachment 1071903 [details]
Task Details, Errors tab - No errors

Comment 4 Matt Reid 2015-09-09 19:26:55 UTC
Created attachment 1071904 [details]
Task Details, Task tab - Success, Failed to download 4 packages

Comment 7 Brad Buckingham 2016-12-19 20:54:35 UTC
Created redmine issue http://projects.theforeman.org/issues/17777 from this bug

Comment 8 Bryan Kearney 2017-08-01 20:34:16 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.