randalburns / bee_launcher

Launch scripts for LANL machines
1 stars 0 forks source link

missing tmp directory not handled (vpicdarwin) #1

Open mcpherson opened 8 years ago

mcpherson commented 8 years ago

Cloned a fresh copy, chmoded, ran the suggested python script:

python launch\_cluster.py ./template_dkrvpic.xml /projects/groups/vizproject/VMs/dkrvpicubu16.qcow2 /projects/groups/vizproject/VMs/vpicextra.qcow2 ./template_extra.xml ./tmp --node cn182 --node cn183

generating:

qemu-img: /home/bhagwan/BEE/bee_launcher/vpicdarwin/tmp/vpicdkr_cn182.qcow2: Could not create file: No such file or directory

Note that the tmp dir didn't previously exist (not in repo and I didn't make it).

Probably not a bug, maybe just need a note in the README to make sure the tmp dir exists (or the Python code could create the dir if it doesn't exist).

/cc @guanxyz

mcpherson commented 8 years ago

In fact, the python script appears to create an ordinary (not a directory) tmp file.