Commit Graph

6919 Commits

Author SHA1 Message Date
Michael Schurter
693d89d51c Fix test by adding new env vars 2017-03-14 17:15:12 -07:00
Alex Dadgar
0e61a36564 return the recoverable err 2017-03-14 16:33:36 -07:00
Alex Dadgar
c579f6163f Fix tests that exec nomad 2017-03-14 16:04:33 -07:00
Alex Dadgar
103290a39e Release v0.5.5 2017-03-14 14:57:30 -07:00
Alex Dadgar
2c0d9a9a28 Bump version 2017-03-14 14:51:11 -07:00
Alex Dadgar
6ac999a5e5 Flush logs on err 2017-03-14 14:48:39 -07:00
Alex Dadgar
bfebe1afdc rename cpu_total_compute and docs 2017-03-14 14:15:49 -07:00
Alex Dadgar
1cafa19d00 changelog 2017-03-14 13:59:02 -07:00
Alex Dadgar
d09c278a3a Merge pull request #2447 from hashicorp/f-arm-misc
F arm misc
2017-03-14 13:58:03 -07:00
Alex Dadgar
a6067d5667 Docker doesn't need to init the stats helper 2017-03-14 13:41:57 -07:00
Alex Dadgar
36dc330737 Various fixes
This PR:
* Uses Go 1.8 executable lookup
* Stores any err message from stats init method
* Allows overriding of Cpu Compute for hosts where it can't be detected
2017-03-14 12:56:31 -07:00
Michael Schurter
34ab77a636 Fix overriding build targets 2017-03-14 10:47:29 -07:00
Alex Dadgar
44b2bf846c changelog 2017-03-14 10:46:20 -07:00
Alex Dadgar
97a4e136a6 Merge pull request #2427 from hashicorp/f-gc-limit
Limit parallelism during garbage collection
2017-03-14 10:45:29 -07:00
Alex Dadgar
38ebed5e0e Review fixes 2017-03-14 10:45:15 -07:00
Michael Schurter
7605d9a406 Merge pull request #2408 from hashicorp/b-2358-rkt-volume-name
Replace `_` with `-` in task names for rkt volumes
2017-03-14 10:10:00 -07:00
Alex Dadgar
300f802d6c Merge pull request #2434 from hashicorp/f-skip-inplace-terminal-batch
Skip inplace update on terminal batch allocation
2017-03-14 10:06:58 -07:00
Michael Schurter
cf7c623317 Merge pull request #2446 from jippi/patch-2
Fix #2445
2017-03-14 09:15:30 -07:00
Christian Winther
7aed171038 Fix #2445
Close #2445 - typo in docs
2017-03-14 10:12:48 +01:00
Michael Schurter
f5c4f9e8c3 Windows wasn't fixed -- see #2343 for updates 2017-03-13 18:22:05 -07:00
Michael Schurter
1f5f6bfbc2 Merge pull request #2417 from hashicorp/b-fix-build-scripts
[needs testing] make bin creates a release binary for the host arch
2017-03-13 17:00:54 -07:00
Alex Dadgar
90e2eeb033 Merge pull request #2439 from jen20/dep-update-gopsutil
deps: Update github.com/shirou/gopsutil
2017-03-13 13:36:26 -07:00
Michael Schurter
ec25a5633c Merge pull request #2412 from barnardb/agent-self
Return AgentSelf struct from Agent.Self() instead of map
2017-03-13 13:29:15 -07:00
Alex Dadgar
e4bd15ddd2 Merge pull request #2440 from jen20/dep-update-docker-system
deps: Update github.com/docker/docker/pkg/system
2017-03-13 12:33:38 -07:00
Michael Schurter
f44347647c Merge pull request #2426 from hashicorp/f-tg-port-ip-env-var
Add NOMAD_{IP,PORT}_<task>_<label> env vars
2017-03-13 12:00:59 -07:00
James Nugent
7457a0dfd8 deps: Update github.com/docker/docker/pkg/system
This commit updates the `system` package of `docker/docker`.
2017-03-13 13:18:47 -05:00
James Nugent
eb2e6c6214 deps: Update github.com/shirou/gopsutil
This commit updates `gopsutil` to the latest version, which includes CPU
info support for Illumos.
2017-03-13 12:50:09 -05:00
Alex Dadgar
ef2212710b Merge pull request #2431 from hashicorp/b-git-ssh
Handle git ssh artifacts
2017-03-13 10:16:35 -07:00
Alex Dadgar
7ce7abb49a changelog 2017-03-13 10:08:43 -07:00
Alex Dadgar
8ab86b0411 Merge pull request #2432 from hashicorp/b-batch-gc
Eval GC will collect allocs from stopped batch job
2017-03-13 10:06:55 -07:00
Alex Dadgar
86da4debf7 Merge pull request #2433 from hashicorp/f-distinct-property-misc
Distinct Property Docs and Validation
2017-03-13 10:06:15 -07:00
Sean Chittenden
2cad9edc54 Update github.com/sean-/seed to latest.
Direct to master given the trivial change.
2017-03-13 09:50:24 -07:00
Alex Dadgar
c9110417ce remove second client1 2017-03-11 17:25:03 -08:00
Alex Dadgar
eb675eb82d Skip inplace update on terminal batch allocation
This PR skips adding an inplace update to a successfully terminal batch
job to the plan. This avoids extra data in the plan and avoids
triggering updates on all clients that have the terminal allocation.
This is matching behavior of the service scheduler.

/cc @armon for review
2017-03-11 17:19:22 -08:00
Alex Dadgar
16d2ea8fa8 validation errors 2017-03-11 16:23:24 -08:00
Alex Dadgar
8acc69ccb3 documentation 2017-03-11 16:18:01 -08:00
Alex Dadgar
0e8715d1f9 Eval GC will collect allocs from stopped batch job
This PR fixes a bug in which allocations from stopped batch jobs could
not be garbage collected.
2017-03-11 15:48:57 -08:00
Alex Dadgar
637aff7819 Handle git ssh artifacts
This PR adds handling for downloading git artifacts using ssh with the
format git@github.com:hashicorp/go-getter.git

Fixes https://github.com/hashicorp/nomad/issues/2430
2017-03-11 15:12:41 -08:00
Alex Dadgar
ea18d6f309 TODO 2017-03-11 13:56:19 -08:00
Alex Dadgar
8caf9ebb8d Merge pull request #2424 from jen20/solaris-alloc-dirs
client/allocdir: Add missing functions on Solaris
2017-03-11 13:55:38 -08:00
Alex Dadgar
e2342797e6 Merge pull request #2428 from hashicorp/telemetry-docs
Added docs for the collection_interval option in the telemetry block
2017-03-11 13:52:24 -08:00
Alex Dadgar
050cdd5b14 remove escape 2017-03-10 16:46:22 -08:00
Diptanu Choudhury
2d0dd6534f Added docs for the collection_interval option in the telemetry block 2017-03-10 16:33:25 -08:00
Alex Dadgar
701537e9c5 Limit parallelism during garbage collection
This PR introduces a parallelism limit during garbage collection. This
is used to avoid large resource usage spikes if garbage collecting many
allocations at once.
2017-03-10 16:27:00 -08:00
Michael Schurter
9073b21bec Add changelog entry for #2426 2017-03-10 12:20:22 -08:00
Michael Schurter
cae20ba1d1 Add NOMAD_{IP,PORT}_<task>_<label> env vars 2017-03-10 12:17:43 -08:00
Alex Dadgar
d11cccefed changelog 2017-03-09 22:16:50 -08:00
Alex Dadgar
d0d3663227 Merge pull request #2418 from hashicorp/f-distinct-property
`distinct_property` constraint
2017-03-09 22:15:52 -08:00
Alex Dadgar
336a976205 Fix in-place update 2017-03-09 22:03:10 -08:00
Alex Dadgar
cab1a8da95 Feedback addressed 2017-03-09 21:36:27 -08:00