Commit Graph

7105 Commits

Author SHA1 Message Date
Alex Dadgar
0c94d4822b Upsert Job Histories 2017-04-15 17:08:05 -07:00
Alex Dadgar
4b244219f9 Job History schema 2017-04-15 17:08:05 -07:00
Alex Dadgar
0e25ef9509 changelog 2017-04-14 15:30:31 -07:00
Alex Dadgar
477c97ee8f Merge pull request #2555 from hashicorp/f-nack-delay
Back-pressure on Nacks and ensure scheduling progress on failures
2017-04-14 15:27:54 -07:00
Alex Dadgar
d3807db78f NewEvalBroker comment 2017-04-14 15:26:54 -07:00
Alex Dadgar
3062b26ddd Push to configs 2017-04-14 15:24:55 -07:00
Alex Dadgar
53f95408eb Easy feedback fixes 2017-04-14 13:19:14 -07:00
Alex Dadgar
75098df5e8 changelog 2017-04-14 13:15:23 -07:00
Alex Dadgar
3018ae07bb Sync allocation state before waiting for a destroy
This change ensures that the client syncs allocation state with the
servers before entering its wait loop for the allocation to be
destroyed.

Fixes https://github.com/hashicorp/nomad/issues/2563
2017-04-14 13:09:54 -07:00
Alex Dadgar
8ea220fb31 Merge branch 'master' of github.com:hashicorp/nomad 2017-04-14 12:47:52 -07:00
Alex Dadgar
35b4631328 updated cluster requirements 2017-04-14 12:47:46 -07:00
Michael Schurter
712c9a32ea Merge pull request #2556 from vrenjith/patch-2
Update java.html.md
2017-04-13 08:36:28 -07:00
vrenjith
f5170ed9c3 Update java.html.md 2017-04-13 12:05:37 +05:30
Alex Dadgar
4e61de3e57 vendor new go-memdb 2017-04-12 15:42:45 -07:00
Alex Dadgar
995fe30b4f changelog 2017-04-12 15:02:21 -07:00
Alex Dadgar
823d7ca691 Merge pull request #2524 from hashicorp/v-go-getter
Vendor go-getter
2017-04-12 15:00:32 -07:00
Alex Dadgar
d46146a9d0 changelog 2017-04-12 14:59:54 -07:00
Alex Dadgar
374c96b600 Merge pull request #2519 from hashicorp/b-sticky-tmp
Add sticky bit to temp directory
2017-04-12 14:59:14 -07:00
Alex Dadgar
7e64557e18 Reaping failed evaluations creates follow up eval
Create a follow up evaluation when reaping failed evaluations. This
ensures that a job will still make eventual progress.
2017-04-12 14:47:59 -07:00
Alex Dadgar
57ed87324f Delay Nack re-enqueue
Add a delay when an evaluation is nacked that starts off small but
compounds to a larger delay for subsequent Nacks. This creates some
back pressure.
2017-04-12 13:41:40 -07:00
Alex Dadgar
c005d29fc1 Make logging clearer 2017-04-11 12:34:09 -07:00
Alex Dadgar
ef28b79cc7 changelog 2017-04-11 11:28:36 -07:00
Alex Dadgar
211a8409b9 Merge pull request #2541 from hashicorp/f-stable-distributed-id
Hash host ID so its stable and well distributed
2017-04-11 11:27:53 -07:00
Alex Dadgar
e2d8640d1c changelog 2017-04-11 10:56:55 -07:00
Alex Dadgar
e219e3a613 Merge pull request #2547 from hashicorp/f-extra-hosts
Add ExtraHosts to Docker driver
2017-04-11 10:56:11 -07:00
Alex Dadgar
8d07bd8f9c Add ExtraHosts to Docker driver
This PR allows job submitters to add extra hosts to the containers
/etc/hosts file.

Fixes https://github.com/hashicorp/nomad/issues/2546
2017-04-11 10:52:41 -07:00
Alex Dadgar
bca74f2776 changelog 2017-04-10 16:23:46 -07:00
Alex Dadgar
d70313abcb Merge pull request #2544 from hashicorp/b-plan-panic
Fix a panic during plan evaluation
2017-04-10 16:22:22 -07:00
Alex Dadgar
1526f1003c Fix a panic during plan evaluation
This PR fixes a potential source of a panic while evaluating a plan with
all_at_once set to true with partial failures.

Fixes #2531
2017-04-10 14:56:21 -07:00
Alex Dadgar
0d2e99b887 small doc change 2017-04-10 12:35:41 -07:00
Alex Dadgar
7a78eeed16 Add a comment 2017-04-10 12:07:57 -07:00
Diptanu Choudhury
915e4e71a0 Merge pull request #2536 from hashicorp/f-ipv6-fingerprint
Support IPv6 addresses during fingerprinting
2017-04-10 11:45:59 -07:00
Diptanu Choudhury
b0a20b4dc9 Fixed typo 2017-04-10 11:45:11 -07:00
Alex Dadgar
68ba51c600 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
Diptanu Choudhury
2073eaf2be Added docs 2017-04-10 11:27:32 -07:00
Alex Dadgar
83be4ad3df Merge pull request #2538 from sheerun/patch1
Remove unnecessary parameter from NewHTTPServer
2017-04-10 11:16:54 -07:00
Adam Stankiewicz
4d465091dd Remove unnecessary parameter from NewHTTPServer 2017-04-10 16:24:49 +02:00
Diptanu Choudhury
536fdde121 Added a test 2017-04-08 13:44:21 -07:00
Alex Dadgar
719bddaaec Merge branch 'f-ipv6-fingerprint' of github.com:hashicorp/nomad into f-ipv6-fingerprint 2017-04-07 18:37:19 -07:00
Alex Dadgar
e0d165812b Fix api.NetworkResource fields 2017-04-07 18:36:43 -07:00
Diptanu Choudhury
bee4b57368 Removed redundant code 2017-04-07 18:28:22 -07:00
Alex Dadgar
f05c3fe233 Merge branch 'master' into f-ipv6-fingerprint 2017-04-07 17:11:24 -07:00
Diptanu Choudhury
ad00ec861b Ignoring link local addresses 2017-04-07 16:04:36 -07:00
Alex Dadgar
db11e7dd7b wording 2017-04-07 13:02:02 -07:00
Alex Dadgar
e23279ba7f changelog 2017-04-07 13:00:56 -07:00
Alex Dadgar
3a9763aac6 Merge pull request #2535 from clinta/docker-ip
Allow specifying container IP with docker driver
2017-04-07 12:59:12 -07:00
Clint Armstrong
976f58b23c Update docs to clarify that user defined networks are required 2017-04-07 15:58:16 -04:00
Alex Dadgar
8bcc8f4db8 Fix documentation around ephemeral disk.
Fixes https://github.com/hashicorp/nomad/issues/2530
2017-04-07 12:49:53 -07:00
Michael Schurter
da14164b11 Mention #2525 was fixed by #2526 2017-04-07 09:17:20 -07:00
Michael Schurter
cb10f91d43 Merge pull request #2526 from hashicorp/b-2525-enforce-rpc-tls
Require TLS for server RPC when enabled
2017-04-07 09:12:23 -07:00