Commit Graph

257 Commits

Author SHA1 Message Date
Jake Champlin c4a3f5047b Include number of allocations in node-status
We recently ran into an issue on a small percentage of nomad-clients
where the nomad-client was running successfully, but due to a race
condition, could not correctly bind to the docker socket. This caused
all of our nomad jobs to be allocated to a single nomad-client instead
of being spread evenly across our clients. The only way to discover this
was to run `nomad node-status <node>` and count each job allocation per
node.

This can lead to a fairly long debugging process if there are several
nomad-clients. Including the number of allocations for each node in the
`node-status` command would save a large amount of debug time.

```
jake@biscuits [12:08:41] [~]
-> % nomad node-status
ID        Datacenter  Name      Class   Drain  Status  Allocations
2b0aabc5  dc1         biscuits  <none>  false  ready   0
```

```
jake@biscuits [12:08:55] [~]
-> % nomad node-status
ID        Datacenter  Name      Class   Drain  Status  Allocations
2b0aabc5  dc1         biscuits  <none>  false  ready   1
```
2016-03-03 12:19:56 -05:00
Abhishek Chanda e1a1b7fc66 Enable running rkt tests in travis
- Introduces a travis target in Makefile to update docker and
  install rkt
2016-03-02 14:04:14 -08:00
Alex Dadgar d6f28ebcb4 Fix import path to be non-vendored in Makefile 2016-02-20 18:59:55 -08:00
Alex Dadgar 1ed9515d4b external dep 2016-02-20 18:22:57 -08:00
Alex Dadgar 2a19e179bc Switch to using go/codec and use code generation 2016-02-20 18:05:17 -08:00
Diptanu Choudhury 35ab48bc3d Fixed the go vet to skip vendored files 2016-02-15 17:56:28 -08:00
Sean Chittenden 89df36b7c7 Rename Makefile to GNUmakefile 2016-02-12 16:59:31 -08:00
Renamed from Makefile (Browse further)