Project

General

Profile

Bug #12397

Actions::Katello::Repository::Sync reports success regardless errors

Added by Justin Sherrill over 3 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1246054
Description of problem:
Actions::Katello::Repository::Sync reports success though traceback/error has been met and repository hasn't been synced.
This bug is about that success shouldn't be reported if an error is met during an action.
It's not about particular errors met:
- Yum Metadata: [Errno 2] No such file or directory: u'/var/lib/pulp/working/repos/....
- Yum Metadata: Forbidden

Version-Release number of selected component (if applicable):
Sat6.1.0-GA-SNAP14

How reproducible:
if an error is met during repo sync

Steps to Reproduce:
1.trigger RH repository sync

Actual results:
errors/tracebacks are hidden and success is reported

Expected results:
result 'error' is reported if errors/traceback has been met

Additional info:

Associated revisions

Revision 564152be (diff)
Added by Justin Sherrill over 3 years ago

fixes #12397 - properly detect pulp task failures again

Revision 859cfade
Added by Justin Sherrill over 3 years ago

Merge pull request #5567 from jlsherrill/1246054

fixes #12397 - properly detect pulp task failures again

History

#1 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5567 added

#2 Updated by Justin Sherrill over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 86
  • Triaged changed from No to Yes

#4 Updated by Justin Sherrill over 3 years ago

  • Legacy Backlogs Release (now unused) changed from 86 to 70

Also available in: Atom PDF