Bug 538436 - Spool dir absence/creation needs to be accounted for in dependent scripts
Summary: Spool dir absence/creation needs to be accounted for in dependent scripts
Keywords:
Status: CLOSED DUPLICATE of bug 549432
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: grid
Version: Development
Hardware: All
OS: Linux
high
medium
Target Milestone: 1.3
: ---
Assignee: Pete MacKinnon
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-18 15:45 UTC by Pete MacKinnon
Modified: 2010-04-12 22:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-12 22:10:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pete MacKinnon 2009-11-18 15:45:08 UTC
Recent changes have been made such that Condor doesn't necessarily create a local spool dir unless explicitly configured.

http://condor-wiki.cs.wisc.edu/index.cgi/chngview?cn=16085

Some of the packaged scripts such as sshd.sh and lamscript (MPI wrapper) rely on a non-null value of _CONDOR_REMOTE_SPOOL_DIR. We need to address this in documentation or changes to the affected scripts so that there is no assumption that the spool directory is present.

./condor_scripts/lamscript:_CONDOR_REMOTE_SPOOL_DIR=$_CONDOR_REMOTE_SPOOL_DIR
./condor_scripts/sshd.sh:_CONDOR_REMOTE_SPOOL_DIR=$_CONDOR_REMOTE_SPOOL_DIR
./condor_scripts/sshd.sh:$CONDOR_CHIRP put -perm 0700 $idkey $_CONDOR_REMOTE_SPOOL_DIR/$_CONDOR_PROCNO.key
./condor_scripts/sshd.sh:	$CONDOR_CHIRP put -mode cwa - $_CONDOR_REMOTE_SPOOL_DIR/contact 
./condor_scripts/sshd.sh:			$CONDOR_CHIRP fetch $_CONDOR_REMOTE_SPOOL_DIR/contact $_CONDOR_SCRATCH_DIR/contact
./condor_scripts/sshd.sh:						$CONDOR_CHIRP fetch $_CONDOR_REMOTE_SPOOL_DIR/$node.key $_CONDOR_SCRATCH_DIR/tmp/$node.key
./condor_scripts/sshd.sh:						$CONDOR_CHIRP remove $_CONDOR_REMOTE_SPOOL_DIR/$node.key 
./condor_scripts/sshd.sh:				$CONDOR_CHIRP remove $_CONDOR_REMOTE_SPOOL_DIR/contact

Comment 3 Pete MacKinnon 2010-04-12 21:27:44 UTC
We could create a spool dir by checking for WANT_REMOTE_IO in the submit. However, it's unclear we even need the SPOOL dir for things like sshd.sh (/tmp anyone?)

Comment 4 Matthew Farrellee 2010-04-12 22:10:46 UTC

*** This bug has been marked as a duplicate of bug 549432 ***


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