Bug 165059 - If patchadd fails during rhn_check it's still considered a success
Summary: If patchadd fails during rhn_check it's still considered a success
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Solaris
Version: 500
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: John Wregglesworth
QA Contact: Max Spevack
URL:
Whiteboard:
Depends On:
Blocks: 152252
TreeView+ depends on / blocked
 
Reported: 2005-08-03 23:20 UTC by John Wregglesworth
Modified: 2007-06-26 15:14 UTC (History)
2 users (show)

Fixed In Version: RHN 4.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-08-31 21:18:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description John Wregglesworth 2005-08-03 23:20:28 UTC
Description of problem: If you schedule patch install and patchadd fails when
rhn_check is run, it's still considered a success.


How reproducible: Always


Steps to Reproduce:
1. Schedule a patch install that you know will fail.
2. Run rhn_check -vvv
3. Watch the patchadd command fail, but still get counted as a successful install.
  
Actual results:


Expected results:


Additional info:

Comment 1 John Wregglesworth 2005-08-05 19:37:19 UTC
Fixed in SVN.

Test Plan:
1. Schedule a patch install that you know will fail. For instance, schedule a
patch install for a program that isn't installed on the client machine, or try
to use a Solaris 9 patch on a Solaris 8 machine.

2. On the client, run rhn_check -vvv.

3. The patchadd command should fail, the rhncheck command should say that it
failed, and the webui should report the action as failed.

Comment 2 Max Spevack 2005-08-10 17:31:21 UTC
yep, PROD_READY

Comment 3 Max Spevack 2005-08-10 17:33:27 UTC
The webUI correctly reports failure, but the rhn_check doesn't give any
indication that the installation failed unless you run it with -vvv

That will be opened as a separate bug against rhn410-solaris.


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