Commit Graph

8400 Commits

Author SHA1 Message Date
Alex Dadgar 0879d1acdd changelog 2017-08-10 13:08:18 -07:00
Alex Dadgar 6e20acb503 Merge pull request #2984 from hashicorp/b-tags
Fix alloc health with checks using interpolation
2017-08-10 13:07:25 -07:00
Alex Dadgar c8f74ac43b Address comments 2017-08-10 13:07:08 -07:00
Alex Dadgar 04fa5e7955 changelog 2017-08-10 13:01:56 -07:00
Alex Dadgar 6b238edc22 Merge pull request #3001 from hashicorp/f-template-events
Template emits events explaining why it is blocked
2017-08-10 13:00:58 -07:00
Alex Dadgar bd9f63d20e address comments 2017-08-10 13:00:06 -07:00
Chelsea Komlo 3bb34c49f0 Merge pull request #2998 from hashicorp/f-migrate-nomad-status
Migrate nomad status to nomad job status
2017-08-10 15:38:00 -04:00
Alex Dadgar 1db4b0c5f8 Merge pull request #2999 from hashicorp/b-cv-aws-ami-id-nonunique
AMI ID is potentially non-unique
2017-08-10 10:40:35 -07:00
Alex Dadgar b2e14d1084 Merge pull request #3004 from adamatan/master
Code highlighting
2017-08-10 10:28:38 -07:00
Clint Armstrong 9063b500e0 expose mount options to nomad 2017-08-10 12:37:17 -04:00
Clint Armstrong 5508d392ef update fsouza/go-dockerclient to 37a1d72 2017-08-10 12:19:19 -04:00
Adam Matan 92ca51a632 Code highlighting 2017-08-10 14:23:25 +03:00
Jan De Cooman 5cb1884198 removed empty line 2017-08-10 11:06:26 +02:00
“James d6d721d7c1 Add the Nomad agent version to the node-status CLI putput. 2017-08-10 08:27:26 +01:00
Alex Dadgar 83ba2f1814 Template emits events explaining why it is blocked
This PR does the following:
* Adds a mechanism to emit events in the TaskRunner
* Vendors a new version of Consul-Template that allows extraction of
missing dependencies
* Adds logic to our consul_template.go to determine missing events and
emit them in a batched fashion.
* Refactors the consul_template code to split the run method and take in
a config struct rather than many parameters.

Fixes https://github.com/hashicorp/nomad/issues/2578
2017-08-09 18:01:27 -07:00
Alex Dadgar 4dbf88c354 Vendor new consul-template 2017-08-09 14:42:16 -07:00
Charlie Voiselle ae466eaaa7 AMI ID is potentally non-unique
Changed the keys map to reflect that.
2017-08-09 12:53:54 -04:00
Chelsea Holland Komlo 869ee83b82 migrate nomad status to nomad job status 2017-08-09 15:16:04 +00:00
Jan De Cooman 633bcee661 fixed typo 2017-08-09 14:44:38 +02:00
Jan De Cooman 804fc0d06f added dnsoptions to the docker driver 2017-08-09 13:30:06 +02:00
Alex Dadgar 46365ef22f Merge branch 'master' of github.com:hashicorp/nomad 2017-08-08 11:09:37 -07:00
Alex Dadgar 4a88c4133d Fix broken Template Diff Test 2017-08-08 11:09:27 -07:00
Rob Genova 784f143658 Merge pull request #2986 from hashicorp/f-terraform-fixes
Terraform: enable Consul UI and bind Nomad to all interfaces
2017-08-08 11:09:25 -07:00
Alex Dadgar a49ee8c150 changelog 2017-08-08 11:05:31 -07:00
Alex Dadgar c8367ed01b Merge pull request #2988 from jvoorhis/redact-vault-token
Redact Vault.Token from AgentSelf response.
2017-08-08 11:04:48 -07:00
Jeremy Voorhis a19043e6c7 Handle nil values when redacting vault token. 2017-08-08 10:54:11 -07:00
Alex Dadgar 8973c01315 Merge pull request #2980 from hashicorp/b-doc-missing-node-allocations
Re-added Allocations documentation
2017-08-08 10:23:02 -07:00
Alex Dadgar aba107be99 Merge pull request #2979 from lfarnell/cleanup
Code cleanup
2017-08-08 10:21:15 -07:00
Alex Dadgar 71a87582f7 Merge pull request #2989 from jrasell/patch-1
Update job.html read most recent deployment sample
2017-08-08 10:10:34 -07:00
James Rasell 07e3bed923 Update job.html read most recent deployment sample
The sample request incorrectly used `https://nomad.rocks/v1/job/my-job/deployments` which listed all deployments for the specified job. The sample request has therefore been updated to use the correct endpoint which returns only the jobs most recent deployment.
2017-08-08 10:47:24 +01:00
Jeremy Voorhis 554f6efe02 Redact Vault.Token from AgentSelf response.
If Config.Vault.Token is defined, /v1/agent/self will return the string
`<redacted>`. If the token is not set, This endpoint will continue to
return the empty string.
2017-08-07 21:34:43 -07:00
Alex Dadgar 4f6f6a13c8 Emit generic task events 2017-08-07 21:26:04 -07:00
Rob Genova 0bf3f5da2d update AMI ID; remove unnecessary output 2017-08-08 00:41:17 +00:00
Michael Schurter d1888f5b97 Merge pull request #2983 from hashicorp/b-update-raft-atomics2
Update raft to fix atomics alingment on 32bit
2017-08-07 16:40:54 -07:00
Alex Dadgar 7df112f05c changelog 2017-08-07 16:31:18 -07:00
Alex Dadgar 79d25b7db9 Merge pull request #2947 from hashicorp/f-vault-grace
Allow template to set Vault grace
2017-08-07 16:29:53 -07:00
Alex Dadgar 93b9a1bf20 Rename runnerConfig 2017-08-07 16:29:42 -07:00
Alex Dadgar d86b3977b9 Fix alloc health with checks using interpolation
Fixes an issue in which the allocation health watcher was checking for
allocations health based on un-interpolated services and checks. Change
the interface for retrieving check information from Consul to retrieving
all registered services and checks by allocation. In the future this
will allow us to output nicer messages.

Fixes https://github.com/hashicorp/nomad/issues/2969
2017-08-07 16:27:08 -07:00
Michael Schurter c1be2c3193 Update raft to fix atomics alingment on 32bit
Related to #2963

Also pulls in some state file syncing improvements
2017-08-07 16:07:35 -07:00
Charlie Voiselle da14a95051 Added code block styling 2017-08-07 17:34:18 -04:00
Charlie Voiselle 37ec2e3f54 Re-added Allocations documentation
In a content reorganization, the allocations endpoint documentation was removed.  This just brings it back in and updates the output to match v0.6.0 output
2017-08-07 17:28:06 -04:00
Luke Farnell f0ced87b95 fixed all spelling mistakes for goreport 2017-08-07 17:13:05 -04:00
Chelsea Komlo 5537516bfd Merge pull request #2964 from hashicorp/f-autocomplete-api
autocomplete api
2017-08-07 12:40:09 -07:00
Chelsea Holland Komlo 4664a361e0 update changelog 2017-08-07 19:25:55 +00:00
Michael Schurter c1a5794850 Merge pull request #2965 from hashicorp/b-2963-fix-arm-atomics
Use int32 for atomic ops to avoid alignment issues
2017-08-07 11:33:41 -07:00
Alex Dadgar 331c37de72 Changelog 2017-08-07 11:22:20 -07:00
Alex Dadgar e658bfa01d Merge pull request #2959 from hashicorp/b-periodic-dispatcher
Fix restoration of parameterized, periodic jobs
2017-08-07 11:20:53 -07:00
Alex Dadgar 180da719fc Merge pull request #2956 from hashicorp/f-dev
Add `dev/` for configs for use by Nomad developers
2017-08-07 11:20:02 -07:00
Alex Dadgar 23cfdb1e31 Resolve comments 2017-08-07 11:19:46 -07:00
Alex Dadgar fb857ceca9 Merge pull request #2974 from nak3/fix-monitoring-docs
docs: fix tiny errors in monitoring spark app
2017-08-07 11:15:02 -07:00