Bug #21615
CDF wrapper output copy back failing
Start date:
01/02/2019
Due date:
% Done:
0%
Estimated time:
First Occurred:
Occurs In:
Stakeholders:
Description
The output file copy in the CDF wrapper script is failing because it appears the output directory is actually getting created as a file. For example:
error: globus_ftp_client: the server responded with an error 550 Permission denied Wed Jan 2 15:43:36 2019 program: globus-url-copy -rst-retries 1 -gridftp2 -nodcau -restart -stall-timeout 14400 file:////storage/local/data1/condor/execute/dir_32376/no_xfer \ /work/jobsub_cdf_output.tgz gsiftp://stkendca14a.fnal.gov/pnfs/fnal.gov/usr/cdf/scratch/ptl/latest/out665-14493013.tgz/jobsub01.fnal.gov_665-14493013.tgz exited status 1
fcdflnxgpvm01 11:30 AM ~ > ls -al /pnfs/cdf/scratch/ptl/latest/out665-14493013.tgz -rw-r--r-- 1 ptl cdf 354641784 Jan 2 09:43 /pnfs/cdf/scratch/ptl/latest/out665-14493013.tgz
Ref: INC000001011559
History
#1 Updated by Dennis Box about 2 years ago
- Status changed from New to Assigned
This was happening because Patricks script had --outLocation=/pnfs/fnal.gov/usr/cdf/scratch/ptl/latest/out$.tgz (a file) instead of the documented --outLocation=/pnfs/fnal.gov/usr/cdf/scratch/ptl/latest/ (a directory).
Modified jobsub server to handle both cases correctly.
#2 Updated by Dennis Box about 2 years ago
- Status changed from Assigned to Feedback
- Assignee set to Shreyas Bhat
please see branch 21615
#3 Updated by Shreyas Bhat about 2 years ago
- Assignee changed from Shreyas Bhat to Dennis Box
Comments:
https://cdcvs.fnal.gov/redmine/projects/jobsub/repository/revisions/21615/entry/lib/groupsettings/CdfSettings.py#L226
Missing a double-quote at the end of the "echo" statement
Otherwise, it looks good to me.
#4 Updated by Dennis Box about 2 years ago
good catch on the missing double quote. Thanks!
#5 Updated by Dennis Box about 2 years ago
- Status changed from Feedback to Resolved