open-nomad/client
Alex Dadgar 2321e8a4a0 Hash host ID so its stable and well distributed
This PR takes the host ID and runs it through a hash so that it is well
distributed. This makes it so that machines that report similar host IDs
are easily distinguished.

Instances of similar IDs occur on EC2 where the ID is prefixed and on
motherboards created in the same batch.

Fixes https://github.com/hashicorp/nomad/issues/2534
2017-04-10 11:44:51 -07:00
..
allocdir TODO 2017-03-11 13:56:19 -08:00
config Various fixes 2017-03-14 12:56:31 -07:00
driver Allow specifying container IP with docker driver 2017-04-07 11:56:07 -04:00
fingerprint rename cpu_total_compute and docs 2017-03-14 14:15:49 -07:00
getter Recoverable struct field must be exported 2017-03-28 12:18:57 -07:00
stats Fix nil dereference 2017-01-10 14:14:58 -08:00
structs Move chroot building into TaskRunner 2017-01-05 16:31:49 -08:00
testutil Revendor docker client 2017-02-14 17:34:05 -08:00
vaultclient Stop Vault token renew on task exit 2017-03-28 10:53:15 -07:00
alloc_runner.go FinishedAt only records when the task has actually started 2017-03-31 17:06:05 -07:00
alloc_runner_test.go FinishedAt only records when the task has actually started 2017-03-31 17:06:05 -07:00
client.go Hash host ID so its stable and well distributed 2017-04-10 11:44:51 -07:00
client_test.go Create AssertUntil helper func 2017-04-06 17:05:09 -07:00
consul_template.go Access Node Meta and Attrs in template 2017-03-27 15:15:33 -07:00
consul_template_test.go Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
gc.go Review fixes 2017-03-14 10:45:15 -07:00
gc_test.go Fix test deadlock due to alloc runner not running 2017-03-16 13:22:08 -07:00
restarts.go Improve artifact download error message 2017-03-24 15:26:05 -07:00
restarts_test.go Thread through whether DeriveToken error is recoverable or not 2016-10-22 18:08:30 -07:00
serverlist.go Retry all servers on RPC call failure 2016-09-23 11:44:48 -07:00
serverlist_test.go Vendor + test fixes 2017-02-22 15:55:33 -08:00
task_runner.go Fix variable capture and add tests 2017-03-29 13:17:50 -07:00
task_runner_test.go Split task runner tests 2017-04-04 15:02:09 -07:00
task_runner_unix_test.go Split task runner tests 2017-04-04 15:02:09 -07:00
util.go Fix string formatting 2016-12-01 11:22:51 -08:00
util_test.go Use consul/lib's RandomStagger 2016-06-10 15:48:36 -04:00