Project

General

Profile

Actions

Bug #5986

closed

Repository sync fails without a clear indication

Added by Eric Helms almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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:

Actions #1

Updated by Eric Helms almost 10 years ago

  • Target version set to 45
  • Triaged set to Yes
Actions #2

Updated by Eric Helms almost 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset katello|commit:ffdea891da3bef141234cbecefff186e8fea9a12.

Actions #3

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF