Bug 713511 - Always run POST script, even if PRE script fails
Summary: Always run POST script, even if PRE script fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor
Version: 2.0
Hardware: Unspecified
OS: Linux
high
medium
Target Milestone: 2.0.1
: ---
Assignee: Timothy St. Clair
QA Contact: Luigi Toscano
URL:
Whiteboard:
Depends On:
Blocks: 723887
TreeView+ depends on / blocked
 
Reported: 2011-06-15 15:49 UTC by Timothy St. Clair
Modified: 2012-06-12 18:02 UTC (History)
5 users (show)

Fixed In Version: condor-7.6.2-0.1
Doc Type: Bug Fix
Doc Text:
C: Failure to run POST script when PRE script fails C: POST script will not run F: Run the POST script even if the PRE script fails with the option to disable in case behavior is desired. R: POST script will run when PRE script fails.
Clone Of:
Environment:
Last Closed: 2011-09-07 16:42:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 831306 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Product Errata RHSA-2011:1249 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise MRG Grid 2.0 security, bug fix and enhancement update 2011-09-07 16:40:45 UTC

Internal Links: 831306

Description Timothy St. Clair 2011-06-15 15:49:37 UTC
Description of problem:
To be more consistent, we should probably always run a POST script for a node if a POST script exists. Right now we do not run the POST script if the PRE script fails. We do run the POST script if the node job fails.
There should also be a config setting to get the old behavior, in case the new behavior would break some people's DAGs.

Version-Release number of selected component (if applicable):
condor 7.6.1-0.10

How reproducible:
100%

Upstream tracking:
https://condor-wiki.cs.wisc.edu/index.cgi/tktview?tn=2057

Comment 2 Timothy St. Clair 2011-06-23 13:17:06 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
C: Failure to run POST script when PRE script fails
C: POST script will not run
F: Run the POST script even if the PRE script fails with the option to disable in case behavior is desired.
R: POST script will run when PRE script fails.

Comment 4 Luigi Toscano 2011-07-28 18:24:40 UTC
The new behavior has been verified on RHEL5.7/6.1, i386/x86_64.

condor-7.6.3-0.3
condor-classads-7.6.3-0.3

Comment 5 errata-xmlrpc 2011-09-07 16:42:07 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-1249.html


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