When fetching a template, the hostmanager marks the template as "ready". In the future, it only checks this status when deciding whether to fetch it or not, and not whether the file actually exists in the file system.
This means if it is deleted for any other reason, the template is broken forever, but this is only detected as a command error when trying to prepare a new VM.
Solution: check existence in filesystem (Template.fetch) and download if required.
When fetching a template, the hostmanager marks the template as "ready". In the future, it only checks this status when deciding whether to fetch it or not, and not whether the file actually exists in the file system. This means if it is deleted for any other reason, the template is broken forever, but this is only detected as a command error when trying to prepare a new VM.
Solution: check existence in filesystem (Template.fetch) and download if required.