-
Notifications
You must be signed in to change notification settings - Fork 2k
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
batch jobs causes error message in stats_hook #6073
Comments
same on 0.9.5 |
I'm seeing same error messages in 0.9.5. From what I can tell, it looks like a harmless message and may be it should not be logged as error? |
It looks like this happens for all tasks, but it's just a lot more noticeable for batch jobs because they terminate as part of their regular operation. I agree with you @msvbhat that this is most likely over-zealous logging. |
Confirming that this still happens.
|
Thanks @erhlee-bird. It definitely is a case where we're logging something that doesn't really need to be logged, especially as |
Hey there Since this issue hasn't had any activity in a while - we're going to automatically close it in 30 days. If you're still seeing this issue with the latest version of Nomad, please respond here and we'll keep this open and take another look at this. Thanks! |
I still want to fix this error message and haven't gotten around to it. I think adding the |
Sorry about the delay on such a trivial item. Will ship in 0.11.3. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
0.9.4
Issue
Batch jobs causes ERROR message in stats_hook (even when they exit clean)
Aug 05 17:13:18 q-cloud nomad[125584]: 2019-08-05T17:13:18.444+0200 [ERROR] client.alloc_runner.task_runner.task_hook.stats_hook: failed to start stats collection for task with unrecoverable error: alloc_id=58b67839-0704-081e-b05c-3e39898d8461 task=batch-job error="container stopped"
Aug 05 17:13:18 q-cloud nomad[125584]: 2019-08-05T17:13:18.470+0200 [INFO ] client.alloc_runner.task_runner: not restarting task: alloc_id=58b67839-0704-081e-b05c-3e39898d8461 task=batch-job reason="Restart unnecessary as task terminated successfully"
The text was updated successfully, but these errors were encountered: