Commit Graph

7088 Commits

Author SHA1 Message Date
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
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
Clint Armstrong
5f4716b4ea Allow specifying container IP with docker driver 2017-04-07 11:56:07 -04:00
Michael Schurter
df30a110fb Create AssertUntil helper func 2017-04-06 17:05:09 -07:00
Diptanu Choudhury
94f9542a04 Finding the appropriate cidr block 2017-04-06 16:04:59 -07:00
Seth Vargo
f72e36b578 Import fonts 2017-04-06 18:42:43 -04:00
Seth Vargo
3c39cf2c74 Add presskit and styles 2017-04-06 18:37:36 -04:00
Alex Dadgar
02448d5e53 Merge pull request #2529 from hashicorp/mitchellh-patch-1
Update dispatch_payload.html.md
2017-04-06 13:22:03 -07:00
Mitchell Hashimoto
aa6d74f26f Update dispatch_payload.html.md 2017-04-06 12:53:47 -07:00
Michael Schurter
985bde83d6 Improve test timings
1234ms was far longer than needed and not sleeping between iterations
was just mean.
2017-04-06 11:10:36 -07:00
Michael Schurter
11206c7c3e Require TLS for server RPC when enabled
Fixes #2525

We used to be checking a RequireTLS field that was never set. Instead we
can just check the TLSConfig.EnableRPC field and require TLS if it's
enabled.

Added a few unfortunately slow integration tests to assert the intended
behavior of misconfigured RPC TLS.

Also disable a lot of noisy test logging when -v isn't specified.
2017-04-06 09:34:36 -07:00
Diptanu Choudhury
8b93d40298 Making the fingerprinter support ipv6 ips 2017-04-06 01:06:32 -07:00
Alex Dadgar
ee53b2207d Merge pull request #2521 from hashicorp/t-windows
Variety of Windows specific test fixes
2017-04-04 16:47:46 -07:00
Alex Dadgar
462dbc4553 fix badge 2017-04-04 16:38:49 -07:00
Alex Dadgar
5feeee3f62 install with tags 2017-04-04 16:32:26 -07:00
Alex Dadgar
4e7813b257 remove vault main from vendor 2017-04-04 16:24:27 -07:00
Alex Dadgar
b7e17b5b25 Download specific consul/vault 2017-04-04 16:17:28 -07:00