Project

Profile

Help

Issue #1025

closed

Pulp Download Error with Empty Error Message

Added by Ben.Stanley about 7 years ago. Updated about 3 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.6.1
Platform Release:
OS:
RHEL 7
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

I have trouble synchronising the mirror.li.nux.ro/li.nux.ro/nux/dextop/el7/SRPMS repository via a BlueCoat proxy server.

There are two problems:
1) BlueCoat fails when scanning some files (I will complain to BlueCoat Systems about this)
2) pulp fails to pass on the error message.

Please find the reproduction method below.

---------------------------------------------------------------------------
[root@bumblebee ~]# pulp-admin rpm repo create --repo-id=nux-dextop-el7-source --feed=http://mirror.li.nux.ro/li.nux.ro/nux/dextop/el7/SRPMS --validate true --relative-url=nux/dextop/el7/SRPMS --serve-https false --serve-http true
[root@bumblebee ~]# pulp-admin rpm repo sync run --repo-id=nux-dextop-el7-source
--------------------------------------------------------------------
Synchronizing Repository [nux-dextop-el7-source]
--------------------------------------------------------------------

This command may be exited via ctrl+c without affecting the request.

Downloading metadata...
[-]
... completed

Downloading repository content...
[==================================================] 100%
RPMs: 3/3 items
Delta RPMs: 0/0 items

... completed

Individual package errors encountered during sync:

Package:
http://mirror.li.nux.ro/li.nux.ro/nux/dextop/el7/SRPMS/SDL_image-1.2.12-7.el7.nu
x.src.rpm
Error:

Package:
http://mirror.li.nux.ro/li.nux.ro/nux/dextop/el7/SRPMS/SDL_ttf-2.0.11-4.el7.nux.
src.rpm
Error:

Package:
http://mirror.li.nux.ro/li.nux.ro/nux/dextop/el7/SRPMS/libetpan-1.5-2.el7.nux.sr
c.rpm
Error:

Downloading distribution files...
[==================================================] 100%
Distributions: 0/0 items
... completed

Importing errata...
[-]
... completed

Importing package groups/categories...
[-]
... completed

Task Succeeded

Copying files
[-]
... completed

Initializing repo metadata
[-]
... completed

Publishing Distribution files
[-]
... completed

Publishing RPMs
[-]
... completed

Publishing Delta RPMs
... skipped

Publishing Errata
[-]
... completed

Publishing Comps file
[-]
... completed

Publishing Metadata.
[-]
... completed

Closing repo metadata
[-]
... completed

Generating sqlite files
... skipped

Publishing files to web
[-]
... completed

Writing Listings File
[-]
... completed

Task Succeeded

[root@bumblebee ~]#
---------------------------------------------------------------------------
Note that the "Individual package errors encountered during sync:" lack an error string.

When I attempt to download the files using firefox (also via the BlueCoat proxy server), the following error messages are shown as a web page:

------------------------------------------------------------------------------------
http://li.nux.ro/download/nux/dextop/el7/SRPMS/SDL_image-1.2.12-7.el7.nux.src.rpm

ICAP Error (icap_error)

An error occurred while performing an ICAP operation: Antivirus engine error; File: SDL_image-1.2.12-7.el7.nux.src.rpm; Sub File: \RPMarchive.gz\Gzip\SDL_image-1.2.12.tar.gz\Gzip\SDL_image-1.2.12/MPWmake.sea.bin; Vendor: Sophos, Plc.; Engine error code: 0xA004020F; Engine version: 3.60.0; Pattern version: 5.15.9241704.740110035; Pattern date: 2015/06/02 18:25:00

There could be a network problem, the ICAP service may be misconfigured, or the ICAP server may have reported an error. For assistance, contact your network support team.
------------------------------------------------------------------------------------
http://mirror.li.nux.ro/li.nux.ro/nux/dextop/el7/SRPMS/SDL_ttf-2.0.11-4.el7.nux.src.rpm

ICAP Error (icap_error)

An error occurred while performing an ICAP operation: Antivirus engine error; File: SDL_ttf-2.0.11-4.el7.nux.src.rpm; Sub File: \RPMarchive.gz\Gzip\SDL_ttf-2.0.11.tar.gz\Gzip\SDL_ttf-2.0.11/MPWmake.sea.bin; Vendor: Sophos, Plc.; Engine error code: 0xA004020F; Engine version: 3.60.0; Pattern version: 5.15.9241704.740110035; Pattern date: 2015/06/02 18:25:00

There could be a network problem, the ICAP service may be misconfigured, or the ICAP server may have reported an error. For assistance, contact your network support team.
------------------------------------------------------------------------------------
http://mirror.li.nux.ro/li.nux.ro/nux/dextop/el7/SRPMS/libetpan-1.5-2.el7.nux.src.rpm

ICAP Error (icap_error)

An error occurred while performing an ICAP operation: Antivirus engine error; File: libetpan-1.5-2.el7.nux.src.rpm; Sub File: \RPMarchive.gz\Gzip\libetpan-1.5.tar.gz\Gzip\libetpan-1.5/build-mac/dependencies/packages/cyrus-sasl-2.1.25.tar.gz\Gzip\cyrus-sasl-2.1.25/mac/sc_shlb/sc_shlb.rsrc.sit.hqx; Vendor: Sophos, Plc.; Engine error code: 0xA004020F; Engine version: 3.60.0; Pattern version: 5.15.9241704.740110035; Pattern date: 2015/06/02 18:25:00

There could be a network problem, the ICAP service may be misconfigured, or the ICAP server may have reported an error. For assistance, contact your network support team.
------------------------------------------------------------------------------------

I would like to see pulp report a sensible and helpful error message, instead of an empty message.

Also available in: Atom PDF