edf-hpc / clara

Cluster Administration tools
Other
18 stars 12 forks source link

File missing #1

Closed antonjrusso closed 10 years ago

antonjrusso commented 10 years ago

When one of the files used to generate the image don't exist, the program exit in error without cleaning temporary files:

clara images genimg

I: Retrieving Release I: Retrieving Release.gpg I: Checking Release signature I: Valid Release signature (key id A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553) I: Retrieving Packages ... Traceback (most recent call last): File "/usr/bin/clara", line 67, in m.main() File "/usr/lib/python2.7/dist-packages/clara/plugins/clara_images.py", line 259, in main install_files() File "/usr/lib/python2.7/dist-packages/clara/plugins/clara_images.py", line 148, in install_files with open(list_files_to_install, "r") as file_to_read: IOError: [Errno 2] No such file or directory: '/admin/website/diskless/calibre9/install'

ls /tmp/tmp4RMxU0/

bin boot dev etc home lib lib64 media mnt opt proc root run sbin srv sys tmp usr var