job "network" { region = "hf" datacenters = ["ocp"]
type = "service"
constraint { attribute = "${node.class}" value = "influxdb" }
update { stagger = "10s" max_parallel = 1 }
group "network" { count = 1
restart { attempts = 10 interval = "5m" delay = "25s" mode = "delay" }
ephemeral_disk { size = 300 }
task "pause" { driver = "docker" config { image = "kubernetes/pause" }
resources { cpu = 100 # 500 MHz memory = 64 # 256MB network { mbits = 10 } } }
task "customer" { driver = "docker" config { image = "xxxx/zhanyang/customer" network_mode = "container:pause-${NOMAD_ALLOC_ID}" }
resources { cpu = 300 # 500 MHz memory = 256 # 256MB } } }}# nomad alloc-status bbf48df2ID = bbf48df2Eval ID = 1b851332Name = network.network[0]Node ID = d9de806fJob ID = networkClient Status = failedClient Description = <none>Desired Status = runDesired Description = <none>Created At = 03/16/17 08:14:54 GMT
Task "customer" is "dead"Task ResourcesCPU Memory Disk IOPS Addresses300 MHz 256 MiB 300 MiB 0
Recent Events:Time Type Description03/16/17 08:14:36 GMT Not Restarting Error was unrecoverable03/16/17 08:14:36 GMT Driver Failure failed to start task "customer" for alloc "bbf48df2-1625-89b1-ace5-54edb2f97ec4": Failed to start container 6e14f3b6963f9f7860ac48a5e493f46e707cda9a6173904e2a673c6ee1086315: API error (404): {"message":"No such container: pause-bbf48df2-1625-89b1-ace5-54edb2f97ec4"}03/16/17 08:14:33 GMT Driver Downloading image xxxx/zhanyang/customer:latest03/16/17 08:14:33 GMT Task Setup Building Task Directory03/16/17 08:14:33 GMT Received Task received by client
Task "pause" is "dead"Task ResourcesCPU Memory Disk IOPS Addresses100 MHz 64 MiB 300 MiB 0
Recent Events:Time Type Description03/16/17 08:14:38 GMT Killed Task successfully killed03/16/17 08:14:38 GMT Killing Sent interrupt. Waiting 5s before force killing03/16/17 08:14:36 GMT Sibling Task Failed Task's sibling "customer" failed03/16/17 08:14:38 GMT Started Task started by client03/16/17 08:14:33 GMT Driver Downloading image kubernetes/pause:latest03/16/17 08:14:33 GMT Task Setup Building Task Directory03/16/17 08:14:33 GMT Received Task received by client--
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/da7301e4-899b-46db-8fe4-af549a2da92a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/nomad-tool/badb2411-2975-4de1-9023-bfb679833196%40googlegroups.com.