Files
nomad/command
Jake Champlin 1e7e9fb860 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
..
2015-10-07 12:26:58 +02:00
2015-12-21 15:10:49 -08:00
2016-01-14 21:57:43 +01:00
2016-02-12 15:36:52 -08:00
2016-02-12 15:36:52 -08:00
2016-02-12 15:36:52 -08:00
2016-02-01 17:41:47 -08:00
2015-09-30 14:21:50 -07:00
2016-02-11 12:21:19 -08:00
2016-02-11 17:34:46 -08:00
2016-01-27 12:00:31 -08:00
2015-12-24 20:53:37 +01:00
2016-02-19 15:49:32 -08:00
2016-02-11 17:34:46 -08:00
fix
2015-12-18 12:17:50 -08:00
2015-06-01 15:25:51 +02:00
2015-06-01 15:25:51 +02:00