Fix recovery of cream jobs during stage-in. #2202
Fix recovery of cream jobs during stage-in. #2202

If the gridmanager restarts during stage-in of a cream job, the
gridmanager assumes stage-in has finished and tells cream to submit the
job to the back-end scheduler. This will lead to failures due to missing
or incomplete input files, which may not be detected at the CREAM/Condor
layer.

Now, the gridmanager sets StageInStart and StageInFinish at the
beginning and end of staging input, respectively. This lets it now
during recovery whether it needs to retry stage-in.

===VersionHistory=== Fix a bug that caused CREAM jobs to have incomplete
  input files if the condor_gridmanager crashed during transfer of those
  input files.

djw8605/htcondor,bbockelm/condor-network-accounting,zhangzhehust/htcondor,htcondor/htcondor,zhangzhehust/htcondor,djw8605/htcondor,zhangzhehust/htcondor,htcondor/htcondor,bbockelm/condor-network-accounting,djw8605/htcondor,neurodebian/htcondor,neurodebian/htcondor,zhangzhehust/htcondor,htcondor/htcondor,mambelli/osg-bosco-marco,bbockelm/condor-network-accounting,djw8605/condor,zhangzhehust/htcondor,djw8605/condor,htcondor/htcondor,djw8605/condor,neurodebian/htcondor,djw8605/htcondor,djw8605/htcondor,neurodebian/htcondor,htcondor/htcondor,djw8605/condor,mambelli/osg-bosco-marco,htcondor/htcondor,mambelli/osg-bosco-marco,djw8605/condor,htcondor/htcondor,djw8605/condor,mambelli/osg-bosco-marco,bbockelm/condor-network-accounting,djw8605/htcondor,neurodebian/htcondor,djw8605/htcondor,htcondor/htcondor,neurodebian/htcondor,zhangzhehust/htcondor,bbockelm/condor-network-accounting,djw8605/condor,djw8605/condor,neurodebian/htcondor,zhangzhehust/htcondor,mambelli/osg-bosco-marco,mambelli/osg-bosco-marco,mambelli/osg-bosco-marco,mambelli/osg-bosco-marco,djw8605/htcondor,bbockelm/condor-network-accounting,zhangzhehust/htcondor,zhangzhehust/htcondor,bbockelm/condor-network-accounting,bbockelm/condor-network-accounting,neurodebian/htcondor,djw8605/htcondor,neurodebian/htcondor