Bug #5986
closedRepository sync fails without a clear indication
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=965230
Description of problem:
There are times when syncing RHEL repositories via Katello fail without a clear explanation. After DEV performed some investigation, it looks like there is a valid reason for the failure but pulp only exposes a generic failure message tucked in a traceback attribute with the message:
PulpExecutionException: Importer indicated a failed response
Eventually this pulp task gets moved to a 'history' queue where finally it gets the actual error failure added to its 'summary' attribute:
{"error"=>"Cannot retrieve repository metadata (repomd.xml) for repository: ACME_Corporation-FailProduct-FailRepo. Please verify its path and try again"}
Also, see https://bugzilla.redhat.com/show_bug.cgi?id=965218 for some needed pulp work.
Version-Release number of selected component (if applicable):
- python-pulp-client-lib-2.1.1-0.10.beta.el6.noarch
- python-pulp-bindings-2.1.1-0.10.beta.el6.noarch
- pulp-selinux-2.1.1-0.10.beta.el6.noarch
- pulp-server-2.1.1-0.10.beta.el6.noarch
- pulp-admin-client-2.1.1-0.10.beta.el6.noarch
- pulp-rpm-plugins-2.1.1-0.10.beta.el6.noarch
- pulp-builtins-admin-extensions-2.1.1-0.10.beta.el6.noarch
- python-pulp-rpm-common-2.1.1-0.10.beta.el6.noarch
- katello-glue-pulp-1.4.2-1.git.411.375f44b.el6.noarch
- python-pulp-common-2.1.1-0.10.beta.el6.noarch
How reproducible:
Steps to Reproduce:
1. I was able to trigger it by syncing Red Hat Enterprise Linux 6 Server x86_64 (RPMs) and Red Hat Enterprise Linux 6 Server x86_64 - Optional (RPMs)
2.
3.
Actual results:
Sync fails but there's no UI explanation as to why it failed.
Expected results:
Additional info:
Updated by Eric Helms over 10 years ago
- Target version set to 45
- Triaged set to Yes
Updated by Eric Helms over 10 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset katello|commit:ffdea891da3bef141234cbecefff186e8fea9a12.
Updated by Eric Helms over 10 years ago
- Translation missing: en.field_release set to 13