Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Nomad Task Status #41

Open
Vulfox opened this issue Feb 2, 2021 · 0 comments
Open

Incorrect Nomad Task Status #41

Vulfox opened this issue Feb 2, 2021 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Vulfox
Copy link
Contributor

Vulfox commented Feb 2, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant