Bug 1293984 - If client operation (i.e. package install) fails, relevant task in Satellite should fail as well
Summary: If client operation (i.e. package install) fails, relevant task in Satellite ...
Keywords:
Status: CLOSED DUPLICATE of bug 1262940
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.1.5
Hardware: All
OS: Linux
medium
medium vote
Target Milestone: Unspecified
Assignee: Stephen Benjamin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-23 21:57 UTC by Pavel Moravec
Modified: 2019-09-12 09:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-25 08:50:35 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Pavel Moravec 2015-12-23 21:57:11 UTC
Description of problem:
If client operation (i.e. yum install package / apply errata / ..) fails, relevant task in Satellite is marked as success. That confuses Satellite's user wrongly assuming the operation succeeded (i.e. critical security errata applied successfully).

There can be numerous reasons why such operation might fail:
- 403 error
- package already installed (should we report this as failure?)
- yum error like bz1293982 (see reproducer there, will post Satellite's task details of "success" here)
- rpm DB error
- ..

I expect the bug is in pulp task, since the pulp_task output contains proper failure info not propagated further - please reassign elsewhere (goferd? or foreman task?) if I am wrong with the assumption.


Version-Release number of selected component (if applicable):
Sat 6.1.5


How reproducible:
should be 100%


Steps to Reproduce:
1. See problem description - many scenarios can exist. If unsure / unable to find one, I can help.


Actual results:
foreman task in Satellite is marked as success, despite pulp task apparently failed (or the yum work did, at least)


Expected results:
foreman task to be marked as failed


Additional info:


Note You need to log in before you can comment on or make changes to this bug.