--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/nomad/issues
IRC: #nomad-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Nomad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomad-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nomad-tool/77978fc6-d107-4c00-9bd7-5081fbb5cab3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hey Andrey,This was a regression in 0.4.x. Nomad 0.5 will fix the issue and retry pulling the image.Thanks,Alex Dadgar
On Tue, Nov 8, 2016 at 1:50 PM, 'Andrey Kuzmin' via Nomad <nomad...@googlegroups.com> wrote:
Hello.I have some system job (docker container), running on every node.And sometimes (rarely) container fails and nomad tries to restart it.But occasionally docker fail to pull image from docker hub.In this case nomad stops restarting task and got that this is unrecoverable fatal error. Why it is not continuing restart task? Why it is fatal error?And after that this job needs manual restart - it's so sad.```11/08/16 22:17:54 MSK Not Restarting Error was unrecoverable11/08/16 22:17:54 MSK Driver Failure failed to start task 'nginx' for alloc 'fb54f744-0046-7b46-2b3b-8cdf5a74c3ed': failed to create image: Failed to pull `kaktuss/nginx-frontend:0.13`: Network timed out while trying to connect to https://index.docker.io/v1/repositories/kaktuss/nginx-frontend/images. You may want to check your internet connection or if you are behind a proxy.11/08/16 22:17:03 MSK Restarting Task restarting in 16.284777174s11/08/16 22:17:03 MSK Terminated Exit Code: 14, Exit Message: "Docker container exited with non-zero exit code: 14"```
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/nomad/issues
IRC: #nomad-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Nomad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomad-tool+...@googlegroups.com.
Hey Andrey,
This was a regression in 0.4.x. Nomad 0.5 will fix the issue and retry pulling the image.Thanks,Alex Dadgar
On Tue, Nov 8, 2016 at 1:50 PM, 'Andrey Kuzmin' via Nomad <nomad...@googlegroups.com> wrote:
Hello.I have some system job (docker container), running on every node.And sometimes (rarely) container fails and nomad tries to restart it.But occasionally docker fail to pull image from docker hub.In this case nomad stops restarting task and got that this is unrecoverable fatal error. Why it is not continuing restart task? Why it is fatal error?And after that this job needs manual restart - it's so sad.```11/08/16 22:17:54 MSK Not Restarting Error was unrecoverable11/08/16 22:17:54 MSK Driver Failure failed to start task 'nginx' for alloc 'fb54f744-0046-7b46-2b3b-8cdf5a74c3ed': failed to create image: Failed to pull `kaktuss/nginx-frontend:0.13`: Network timed out while trying to connect to https://index.docker.io/v1/repositories/kaktuss/nginx-frontend/images. You may want to check your internet connection or if you are behind a proxy.11/08/16 22:17:03 MSK Restarting Task restarting in 16.284777174s11/08/16 22:17:03 MSK Terminated Exit Code: 14, Exit Message: "Docker container exited with non-zero exit code: 14"```
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/nomad/issues
IRC: #nomad-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Nomad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomad-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nomad-tool/4099d51e-ff52-4875-a694-838e4cefd981%40googlegroups.com.
| 11/10/17 17:04:01 UTC | Restarting | Exceeded allowed attempts, applying a delay - Task restarting in an hour |
| 11/10/17 17:04:01 UTC | Terminated | Exit Code: 1, Exit Message: Docker container exited with non-zero exit code: 1 |
To unsubscribe from this group and stop receiving emails from it, send an email to nomad-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nomad-tool/3db2a225-6766-4ab3-9b79-1161e56be02c%40googlegroups.com.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/nomad/issues
IRC: #nomad-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Nomad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nomad-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nomad-tool/287989b2-4aa2-4c9c-b776-a975c3f3c458%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to nomad-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nomad-tool/287989b2-4aa2-4c9c-b776-a975c3f3c458%40googlegroups.com.
--Thanks,Alex
docker.cleanup.image Defaults to true. Changing this to false will prevent Nomad from removing images from stopped tasks.