Bug 165059

Summary: If patchadd fails during rhn_check it's still considered a success
Product: Red Hat Satellite 5 Reporter: John Wregglesworth <wregglej>
Component: SolarisAssignee: John Wregglesworth <wregglej>
Status: CLOSED CURRENTRELEASE QA Contact: Max Spevack <mspevack>
Severity: medium Docs Contact:
Priority: medium    
Version: 500CC: jconnor, rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHN 4.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-31 21:18:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 152252    

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.