Kamilcuk / nomad-tools

Set of tools and utilities to ease interacting with HashiCorp Nomad scheduling solution.
https://github.com/Kamilcuk/nomad-tools
GNU General Public License v3.0
22 stars 2 forks source link

nomad-watch returning a failure when all jobs deploy successfully #3

Closed foozmeat closed 7 months ago

foozmeat commented 8 months ago
deploy>jupyter Canaries=0/0 Placed=1 Desired=1 Healthy=1 Unhealthy=0 Deployment completed successfully
deploy>rq Canaries=0/0 Placed=1 Desired=1 Healthy=1 Unhealthy=0 Deployment completed successfully
deploy>cron Canaries=0/0 Placed=1 Desired=1 Healthy=1 Unhealthy=0 Deployment completed successfully
deploy>redis Canaries=0/0 Placed=1 Desired=1 Healthy=1 Unhealthy=0 Deployment completed successfully
deploy>web Canaries=0/0 Placed=2 Desired=2 Healthy=2 Unhealthy=0 Deployment completed successfully
nomad-watch>1069> INFO Job web/main#158@default has failed to start group 'web'

Please let me know if I can provide for logs for debugging

Kamilcuk commented 7 months ago

Hi, thanks! This should be fixed. What happened is that with group with count=2 Placed=2 the program was missing the second allocation. I hope that it will catch it now.