argonne-lcf / balsam

High throughput workflows and automation for HPC
77 stars 21 forks source link

Ability to delete a corrupted site #342

Closed s-sajid-ali closed 1 year ago

s-sajid-ali commented 1 year ago

I'd accidentally deleted the a site directory and balsam is unable to delete the non-existent site as a .balsam-site file is missing.

Is there a way to forcibly delete a site? If note, can I request a -f flag that ( used as expected: balsam site rm -f {DIR}) that can delete inconsistent/corrupted sites? Thanks!

cms21 commented 1 year ago

Thanks @s-sajid-ali! This is on our list to-do already (#258), but I'll bump it up in priority!

s-sajid-ali commented 1 year ago

Thanks!

A workaround for now is to manually add a .balsam-site file with the site-id and a settings.yml file in the site directory to allow balsam to delete it.