Project

Profile

Help

Issue #2458

closed

Lazy download repo content task fails silently.

Added by jortel@redhat.com over 7 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.10.3
Platform Release:
2.12.1
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 14
Quarter:

Description

 pulp-admin repo download --repo-id lazy
+----------------------------------------------------------------------+
                     Downloading Repository [lazy]
+----------------------------------------------------------------------+

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

Download Repository Content
[==========================                        ] 53%
17 of 32 items
... failed

Task Succeeded

This needs to be logged at INFO. Otherwise, this fails with nothing in the log. I spend 4 hours troubleshooting this.

        except (InvalidChecksumType, VerificationException, IOError), e:
            _logger.debug(_('Download of {path} failed: {reason}.').format(
                path=catalog_entry.path, reason=str(e)))
            path_entry[PATH_DOWNLOADED] = False
            self.progress_failures += 1
self.report()

[1] https://github.com/pulp/pulp/blob/master/server/pulp/server/controllers/repository.py#L1710

Also available in: Atom PDF