Commit Graph

6893 Commits

Author SHA1 Message Date
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
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
Diptanu Choudhury
2d0dd6534f Added docs for the collection_interval option in the telemetry block 2017-03-10 16:33:25 -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
Alex Dadgar
be942dfd9a Changelog 2017-03-09 21:06:38 -08:00
Alex Dadgar
20b03df05a Merge pull request #2425 from hashicorp/f-client-metrics
Add metrics to show allocations on the client
2017-03-09 21:05:53 -08:00
Alex Dadgar
07973793b8 Address comment 2017-03-09 21:05:34 -08:00
Michael Schurter
85fffa13b0 Merge pull request #2416 from hashicorp/b-clean-env-var-2
Round two of env var cleaning
2017-03-09 17:14:45 -08:00
Michael Schurter
d2710a81cf Update documentation now that cleaning is more extensive 2017-03-09 17:12:10 -08:00
Alex Dadgar
92aa44a28c Merge pull request #2423 from jen20/dep-update-go-ps
deps: Update github.com/mitchellh/go-ps
2017-03-09 16:50:35 -08:00
Alex Dadgar
ddb9292424 Fix filtering issue and add a test that would catch it 2017-03-09 16:20:39 -08:00
Alex Dadgar
e4954a48c2 Refactor 2017-03-09 15:26:46 -08:00
Alex Dadgar
4fbe182372 Add metrics to show allocations on the client
This PR adds the following metrics to the client:
client.allocations.migrating
client.allocations.blocked
client.allocations.pending
client.allocations.running
client.allocations.terminal

Also adds some missing fields to the API version of the evaluation.
2017-03-09 12:37:41 -08:00
James Nugent
9d5baa5271 client/allocdir: Add missing functions on Solaris
This commit adds Solaris versions of the following functions:

- `linkDir`
- `unlinkDir`
- `createSecretDir`
- `removeSecretDir`

I believe this requires Go 1.8 in order to compile, as the unlink
syscall was previously missing.
2017-03-09 13:49:14 -05:00
James Nugent
9a037bb61b deps: Update github.com/mitchellh/go-ps
This update pulls in a commit adding support for Solaris.
2017-03-09 08:39:46 -05:00
Alex Dadgar
653a1c37f6 Split distinct property and host iterator and add iterator to system stack 2017-03-08 19:00:10 -08:00
Alex Dadgar
9972d6af71 Merge pull request #2410 from barnardb/service-name-error-message
Correct error message re length of service name
2017-03-08 18:06:56 -08:00
Alex Dadgar
e050c63651 Merge pull request #2413 from barnardb/remove-duplicate-check
Remove duplicate check
2017-03-08 18:04:32 -08:00
Alex Dadgar
868cbe13a2 cleanup 2017-03-08 17:57:31 -08:00
Jack Pearkes
bfc0cb841d Merge pull request #2414 from hashicorp/website-add-meganav
Website: Add Mega Nav
2017-03-08 17:55:00 -08:00
Alex Dadgar
fdc4309374 Property Set 2017-03-08 17:50:40 -08:00
Jack Pearkes
2ef1b2217b website: update version of middleman-hashicorp to 0.3.13 2017-03-08 16:59:45 -08:00
Michael Schurter
2452f32476 Round two of env var cleaning
Should bring us into conformance with IEEE Std 1003.1, 2004 Edition:
http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html

1 alloc/op and ~80ns/op on my machine.
2017-03-08 16:46:13 -08:00
Jason Costello
00a975b528 Remove announcement banner and assets 2017-03-08 16:41:44 -08:00
Jason Costello
129982bdf5 Remove "by" hashicorp 2017-03-08 16:41:44 -08:00
Jason Costello
8d49effb6d Add mega nav 2017-03-08 16:40:38 -08:00
Diptanu Choudhury
119456ad92 Updated version of website 2017-03-08 16:38:54 -08:00
Alex Dadgar
e2b87dd0c3 turbolinks 2017-03-08 11:52:21 -08:00