Open
Description
If a failure occurs during the task start process, the driver fails to record the err and update the task status.
In this case, an application pool failed to set environment variables.
- No nomad err logs in UI
- No status change
- No retries
This is probably a problem with how/where the handle.run
code is setup. Most of handle.run
is still doing task prep. We may want to take the prep code out of the handle and place it in the driver code and only have the prep code run code that starts
the IIS website, rather than create it. This should give us an avenue of displaying errors/status change at correct locations. In this case, don't even have the task labelled as "running" if it is still performing IIS website prep.