This page (revision-9) was last changed on 23-Apr-2022 17:06 by Harry Metske

This page was created on 23-Apr-2022 17:05 by unknown

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
9 23-Apr-2022 17:06 8 KB Harry Metske to previous
8 23-Apr-2022 17:05 8 KB Harry Metske to previous | to last
7 23-Apr-2022 17:05 6 KB Harry Metske to previous | to last
6 23-Apr-2022 17:05 5 KB Harry Metske to previous | to last
5 23-Apr-2022 17:05 5 KB Harry Metske to previous | to last
4 23-Apr-2022 17:05 4 KB Harry Metske to previous | to last
3 23-Apr-2022 17:05 2 KB Harry Metske to previous | to last
2 23-Apr-2022 17:05 1 KB Harry Metske to previous | to last
1 23-Apr-2022 17:05 1 KB unknown to last

Page References

Incoming links Outgoing links
Nomad...nobody

Version management

Difference between version and

At line 84 added 24 lines
! nomad stop
{{{
[ec2-user@ip-172-31-22-13 jobs]$ nomad stop SimpleHTTPServer
==> Monitoring evaluation "0a6b662b-a5e9-9495-1e77-429306da45a7"
Evaluation triggered by job "SimpleHTTPServer"
Evaluation status changed: "pending" -> "complete"
==> Evaluation "0a6b662b-a5e9-9495-1e77-429306da45a7" finished with status "complete"
[ec2-user@ip-172-31-22-13 jobs]$ nomad status SimpleHTTPServer
Error querying job: Unexpected response code: 404 (job not found)
}}}
!! Errors
When submitting a simple python webserver as a job (exec driver), we get this in the nomad client log:
{{{
* Failed to join spawn-daemon to the cgroup (&{Name:02b1290b-0a2d-43b2-eee8-fcc096e86a14 Parent: ScopePrefix: Resources:0xc8200eef00}): Error found less than 3 fields post '-' in "24 21 0:6 / /home/ec2-user/nomad/data/alloc/54e3a869-e78c-f2cf-368a-9374460bea37/web/dev ro,relatime - devtmpfs rw,size=500712k,nr_inodes=125178,mode=755"
2016/01/12 10:19:27 [DEBUG] client: updated allocations at index 519 (2 allocs)
2016/01/12 10:19:27 [DEBUG] client: allocs: (added 0) (removed 0) (updated 2) (ignore 0)
}}}
Googling it gives you exactly one hit, which is a 404 on github, digging further in that github repo brings you to the source at : [https://github.com/hashicorp/nomad/blob/master/client/driver/executor/exec_linux.go] :-) :-(