I am about to murder someone… please help!
When I try to run recast for my analysis, it is says it not able to pull the docker image
docker pull gitlab-registry.cern.ch/sasingh/all-hadronic-vlq-t_ht:RECAST-c04fc554
I can run the workflow with yadage and I can pull the image in my terminal, but recast cannot get past trying to pull this image. I have tried everything I can think to fix it and am at my wits’ end.
Here are the contents of my yml files:
recast.yml:
name: jhaley/all-hadronic-vlq-t_ht
metadata:
author: 'Joe Haley'
input requirements: 'Input signal'
short_description: 'RECAST for full Run2 single VLQ T->Ht all-hadronic analysis'
spec:
workflow: workflow.yml
example_inputs:
default:
dataopts:
initdir: '/Users/jhaley/work/RECAST/VLQhad/my-workflow'
initdata:
infile: 'indata/user.jfoo.26147970._000001.allhad_boosted.root'
xsection_pb: 0.10
camp: 'a'
nevts: 50 # Set to -1 to run over all events
specs/workflow.yml:
stages:
- name: prep_step
dependencies: [init]
scheduler:
scheduler_type: singlestep-stage
parameters:
input_file: {step: init, output: infile}
cross_section_pb: {step: init, output: xsection_pb}
campaign: {step: init, output: camp}
output_fitdir: '{workdir}/Fit'
nevents: {step: init, output: nevts}
step: {$ref: steps.yml#prepareinput}
- name: fitting_step
dependencies: [init,prep_step]
scheduler:
scheduler_type: singlestep-stage
parameters:
local_dir: '{workdir}'
fit_dir: {step: prep_step, output: output_fitdir}
step: {$ref: steps.yml#fitting}
specs/steps.yml:
prepareinput:
process:
process_type: interpolated-script-cmd
script: |
# Set up ATLAS env to get ROOT
source /release_setup.sh
# Run code to create signal file for fit
python prepare_fit_input.py '{input_file}' {cross_section_pb} '{campaign}' '{output_fitdir}' {nevents}
environment:
environment_type: docker-encapsulated
image: gitlab-registry.cern.ch/sasingh/all-hadronic-vlq-t_ht
imagetag: RECAST-c04fc554
publisher:
publisher_type: interpolated-pub
publish:
output_fitdir: '{output_fitdir}'
fitting:
process:
process_type: interpolated-script-cmd
script: |
echo $PWD
cd '{local_dir}'
echo $PWD
echo "Run: trex-fitter h {fit_dir}/TRexConfig.rex"
trex-fitter h {fit_dir}/TRexConfig.rex
ls -l BoostedAllhadronicVLQAnalysisRECASTFit
environment:
environment_type: docker-encapsulated
image: gitlab-registry.cern.ch/trexstats/trexfitter
imagetag: trexfitter-00-04-15
publisher:
publisher_type: interpolated-pub
publish:
workspace: '{local_dir}/BoostedAllhadronicVLQAnalysisRECASTFit'
I have run the following for authentication:
docker login -u $USER gitlab-registry.cern.ch
I also did this, though I don’t use eos:
RECAST_USER=recasttu
RECAST_PASS=Did...(redacted}
RECAST_TOKEN=n44...(redacted)
# To pull images from a gitlab registry that $RECAST_USER has access to
eval "$(recast auth setup -a $RECAST_USER -a $RECAST_PASS -a $RECAST_TOKEN -a default)"
# To access private data that $RECAST_USER has access to on \eos
eval "$(recast auth write --basedir authdir)"
What do I need to do so that recast will be able to pull my image from gitlab???
Thanks for any help. Until then, I am totally stuck.
~Joe