Project

General

Profile

Actions

Bug #12397

closed

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

Added by Justin Sherrill over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
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:

Actions #1

Updated by The Foreman Bot over 8 years ago

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

Updated by Justin Sherrill over 8 years ago

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

Updated by Eric Helms over 8 years ago

  • translation missing: en.field_release set to 86
  • Triaged changed from No to Yes
Actions #4

Updated by Justin Sherrill over 8 years ago

  • translation missing: en.field_release changed from 86 to 70
Actions

Also available in: Atom PDF