Project

General

Profile

Actions

Bug #12397

closed

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

Added by Justin Sherrill about 9 years ago. Updated over 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

Also available in: Atom PDF