Project

Profile

Help

Issue #960

closed

Nectar - Issue #1210: ConnectionError - BadStatusLine during repo sync

Sync sometimes fetches partial files

Added by mhrivnak almost 9 years ago. Updated about 5 years ago.

Status:
CLOSED - DUPLICATE
Priority:
High
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.6 Beta
Platform Release:
OS:
RHEL 6
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Rephrased from a downstream bug...

If you sync ~50GB of packages (RHEL 6 + RHEV 3.5)
- on some runs, everything syncs successfully, yet it's fairly common to see a sync error in the RHEVM repo.
- I've seen errors with the below packages this week:
jasperreports-server-pro, "expected_size"=>473115020, "actual_size"=>312700
rhev-guest-tools-iso, 'expected_size': 261383164, 'actual_size': 88080384
- a re-sync is successful

Example error:

{"expected_size"=>119814460,
 "error_code"=>"size_mismatch",
 "actual_size"=>1110812,
 "unit_key"=>
 {"name"=>"rhevm-webadmin-portal",
  "checksum"=>"fbfa34e6cf6dc4259bc02dacb41c9a40cf88e3cf",
  "epoch"=>"0",
  "version"=>"3.5.0",
  "release"=>"0.32.el6ev",
  "arch"=>"noarch",
  "checksumtype"=>"sha1"}}

So somehow it looks like a download is not failing during the transfer when it probably should. It finishes getting an HTTP response, tries to validate the file it got, and the file is too small. If the transfer were interrupted, I would expect to see a connection error of some kind.

Actions #1

Updated by ipanova@redhat.com over 8 years ago

  • Status changed from NEW to CLOSED - DUPLICATE
  • Parent issue set to #1210

I think this a dup of #1210

Actions #3

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF