Commit graph

7545 commits

Author SHA1 Message Date
James Nugent 53cacd7c51 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 2923335954 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 c087fa4712 Merge pull request #2431 from hashicorp/b-git-ssh
Handle git ssh artifacts
2017-03-13 10:16:35 -07:00
Alex Dadgar 1c639872cd changelog 2017-03-13 10:08:43 -07:00
Alex Dadgar 5588fd6c04 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 a07b207d9c 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 526535c99a
Update github.com/sean-/seed to latest.
Direct to master given the trivial change.
2017-03-13 09:50:24 -07:00
Alex Dadgar 3d978e1e13 remove second client1 2017-03-11 17:25:03 -08:00
Alex Dadgar 2c31d4036b 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 56ac0970b4 validation errors 2017-03-11 16:23:24 -08:00
Alex Dadgar df87e8d255 documentation 2017-03-11 16:18:01 -08:00
Alex Dadgar 3825f7cf1f 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 b5e53652aa 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 3f68aae7ab TODO 2017-03-11 13:56:19 -08:00
Alex Dadgar fd8d6d0d89 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 9c71e48eae 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 5716eee753 remove escape 2017-03-10 16:46:22 -08:00
Diptanu Choudhury 53d7ec02fd Added docs for the collection_interval option in the telemetry block 2017-03-10 16:33:25 -08:00
Alex Dadgar 70e4feb045 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 1f1fd47172 Add changelog entry for #2426 2017-03-10 12:20:22 -08:00
Michael Schurter 71783e8e41 Add NOMAD_{IP,PORT}_<task>_<label> env vars 2017-03-10 12:17:43 -08:00
Alex Dadgar d066657174 changelog 2017-03-09 22:16:50 -08:00
Alex Dadgar 33263ca085 Merge pull request #2418 from hashicorp/f-distinct-property
`distinct_property` constraint
2017-03-09 22:15:52 -08:00
Alex Dadgar bb12ff69a6 Fix in-place update 2017-03-09 22:03:10 -08:00
Alex Dadgar 601cbd7784 Feedback addressed 2017-03-09 21:36:27 -08:00
Alex Dadgar 9da0256dad Changelog 2017-03-09 21:06:38 -08:00
Alex Dadgar a60127b72e 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 8238a8601e Address comment 2017-03-09 21:05:34 -08:00
Michael Schurter 7080148599 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 9cb743bd31 Update documentation now that cleaning is more extensive 2017-03-09 17:12:10 -08:00
Alex Dadgar 1b6bca7db0 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 b65d248dee Fix filtering issue and add a test that would catch it 2017-03-09 16:20:39 -08:00
Alex Dadgar 7945e4564c Refactor 2017-03-09 15:26:46 -08:00
Alex Dadgar 9011a7984c 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 b3d1ef0af6 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 a69b3b0952 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 60c42f745a Split distinct property and host iterator and add iterator to system stack 2017-03-08 19:00:10 -08:00
Alex Dadgar ee0be46c49 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 1108210539 Merge pull request #2413 from barnardb/remove-duplicate-check
Remove duplicate check
2017-03-08 18:04:32 -08:00
Alex Dadgar 319b24081f cleanup 2017-03-08 17:57:31 -08:00
Jack Pearkes b1e5da430b Merge pull request #2414 from hashicorp/website-add-meganav
Website: Add Mega Nav
2017-03-08 17:55:00 -08:00
Alex Dadgar a439bf709d Property Set 2017-03-08 17:50:40 -08:00
Michael Schurter 1f6090371b make bin creates a release binary for the host arch
make dev properly copies the binary into bin/ again.

make release still creates binaries for as many archs as possible.

Fixes #2407
2017-03-08 17:42:28 -08:00
Jack Pearkes 37e13ce6d0 website: update version of middleman-hashicorp to 0.3.13 2017-03-08 16:59:45 -08:00
Michael Schurter 16adc44358 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 84c10783a6 Remove announcement banner and assets 2017-03-08 16:41:44 -08:00
Jason Costello a34615f118 Remove "by" hashicorp 2017-03-08 16:41:44 -08:00
Jason Costello 7a7d5bcaa9 Add mega nav 2017-03-08 16:40:38 -08:00
Diptanu Choudhury 62a3dad2b8 Updated version of website 2017-03-08 16:38:54 -08:00
Alex Dadgar a4d4bbc6c4 turbolinks 2017-03-08 11:52:21 -08:00