Bug #12397
closedActions::Katello::Repository::Sync reports success regardless errors
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: