Bug 831311

Summary: grinder fails to finish downloading previously interrupted files
Product: [Retired] Pulp Reporter: wes hayutin <whayutin>
Component: user-experienceAssignee: John Matthews <jmatthew>
Status: CLOSED NOTABUG QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: mhrivnak, skarmark, tbielawa
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-27 22:23:10 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
pulp log
none
grinder log none

Description wes hayutin 2012-06-12 18:17:46 UTC
Description of problem:

grinder fails to finish downloading previously interrupted files

2012-06-12 12:03:38,956 7120:140013048166144: grinder.BaseFetch:ERROR: activeobject:169 Caught exception<(33, "HTTP server doesn't seem to support byte ranges. Cannot resume.")> in fetch(boot.iso, https://cdn.rcm-qa.redhat.com//content/dist/rhel/rhui/server/6/6Server/i386/os/images/boot.iso)


possible recreate:
1. sync.. interrupt the sync.. check the file system for *rpm.part or *.part and then resync a repo.

Result:  file is never fully downloaded via grinder

Expected Result: file is fully downloaded


attaching several logs



2012-06-12 12:03:38,956 7120:140013048166144: grinder.BaseFetch:ERROR: activeobject:169 Caught exception<(33, "HTTP server doesn't seem to support byte ranges. Cannot resume.")> in fetch(boot.iso, https://cdn.rcm-qa.redhat.com//content/dist/rhel/rhui/server/6/6Server/i386/os/images/boot.iso)
2012-06-12 12:03:38,957 7120:140013048166144: grinder.BaseFetch:ERROR: activeobject:169 Retrying fetch of: boot.iso with 1 retry attempts left.
2012-06-12 12:03:38,958 7120:140013048166144: grinder.BaseFetch:INFO: activeobject:169 A partial download file already exists; prepare to resume download.
2012-06-12 12:03:38,958 7120:140013048166144: grinder.BaseFetch:INFO: activeobject:169 Fetching Unknown bytes: boot.iso from https://cdn.rcm-qa.redhat.com//content/dist/rhel/rhui/server/6/6Server/i386/os/images/boot.iso



[root@rhui2-stage old]# locate *.part | grep iso
/var/lib/pulp/repos/content/dist/rhel/rhui/server/6/6Server/i386/os/images/boot.iso.part
/var/lib/pulp/repos/content/dist/rhel/rhui/server/6/6Server/x86_64/os/images/boot.iso.part
[root@rhui2-stage old]#

Comment 1 wes hayutin 2012-06-12 18:18:17 UTC
Created attachment 591252 [details]
pulp log

Comment 2 wes hayutin 2012-06-12 18:18:41 UTC
Created attachment 591253 [details]
grinder log

Comment 3 Michael Hrivnak 2013-09-27 22:23:10 UTC
Pulp no longer uses grinder.