Commit Graph

7193 Commits

Author SHA1 Message Date
vrenjith d3835a002f Update java.html.md 2017-04-13 12:05:37 +05:30
Alex Dadgar 918d130f34 vendor new go-memdb 2017-04-12 15:42:45 -07:00
Alex Dadgar 0d18b904d3 changelog 2017-04-12 15:02:21 -07:00
Alex Dadgar 0aecf0a09c Merge pull request #2524 from hashicorp/v-go-getter
Vendor go-getter
2017-04-12 15:00:32 -07:00
Alex Dadgar 0fc37a3718 changelog 2017-04-12 14:59:54 -07:00
Alex Dadgar 67d29f684d 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 df7d59051f 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 ef875f6dda 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 e0f8c90b93 Make logging clearer 2017-04-11 12:34:09 -07:00
Alex Dadgar 2eb2b9aa2b changelog 2017-04-11 11:28:36 -07:00
Alex Dadgar ad5fea9875 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 af5cda6d8c changelog 2017-04-11 10:56:55 -07:00
Alex Dadgar 718a8ccb6a Merge pull request #2547 from hashicorp/f-extra-hosts
Add ExtraHosts to Docker driver
2017-04-11 10:56:11 -07:00
Alex Dadgar cdd624ff5b 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 30ab0e8ffc changelog 2017-04-10 16:23:46 -07:00
Alex Dadgar c76d5ec66b 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 c261fe324e 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 5fa6a23f01 small doc change 2017-04-10 12:35:41 -07:00
Alex Dadgar 9b9d69f577 Add a comment 2017-04-10 12:07:57 -07:00
Diptanu Choudhury a9e38bfb58 Merge pull request #2536 from hashicorp/f-ipv6-fingerprint
Support IPv6 addresses during fingerprinting
2017-04-10 11:45:59 -07:00
Diptanu Choudhury a96018fccc Fixed typo 2017-04-10 11:45:11 -07:00
Alex Dadgar 2321e8a4a0 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 37f4cf8c5e Added docs 2017-04-10 11:27:32 -07:00
Alex Dadgar b77dd729f9 Merge pull request #2538 from sheerun/patch1
Remove unnecessary parameter from NewHTTPServer
2017-04-10 11:16:54 -07:00
Adam Stankiewicz 4daf4cb8c9
Remove unnecessary parameter from NewHTTPServer 2017-04-10 16:24:49 +02:00
Diptanu Choudhury 45ad1298e6 Added a test 2017-04-08 13:44:21 -07:00
Alex Dadgar eed4a9124e Merge branch 'f-ipv6-fingerprint' of github.com:hashicorp/nomad into f-ipv6-fingerprint 2017-04-07 18:37:19 -07:00
Alex Dadgar 9cf1ec3e7a Fix api.NetworkResource fields 2017-04-07 18:36:43 -07:00
Diptanu Choudhury 353f193983 Removed redundant code 2017-04-07 18:28:22 -07:00
Alex Dadgar 4e3e008864 Merge branch 'master' into f-ipv6-fingerprint 2017-04-07 17:11:24 -07:00
Diptanu Choudhury 963b9baf14 Ignoring link local addresses 2017-04-07 16:04:36 -07:00
Alex Dadgar d2a64d3fd3 wording 2017-04-07 13:02:02 -07:00
Alex Dadgar 204be7ae52 changelog 2017-04-07 13:00:56 -07:00
Alex Dadgar 81188906a5 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 c46ec657e3 Update docs to clarify that user defined networks are required 2017-04-07 15:58:16 -04:00
Alex Dadgar 7bb75abda3 Fix documentation around ephemeral disk.
Fixes https://github.com/hashicorp/nomad/issues/2530
2017-04-07 12:49:53 -07:00
Michael Schurter 32a5067fd9 Mention #2525 was fixed by #2526 2017-04-07 09:17:20 -07:00
Michael Schurter b0899c3ca0 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 d71ddcb756 Allow specifying container IP with docker driver 2017-04-07 11:56:07 -04:00
Michael Schurter aede1478db Create AssertUntil helper func 2017-04-06 17:05:09 -07:00
Diptanu Choudhury b9e71f4349 Finding the appropriate cidr block 2017-04-06 16:04:59 -07:00
Seth Vargo 0538607ee9
Import fonts 2017-04-06 18:42:43 -04:00
Seth Vargo dd22187f5d
Add presskit and styles 2017-04-06 18:37:36 -04:00
Alex Dadgar 15f147aeb1 Merge pull request #2529 from hashicorp/mitchellh-patch-1
Update dispatch_payload.html.md
2017-04-06 13:22:03 -07:00
Mitchell Hashimoto d31af97709 Update dispatch_payload.html.md 2017-04-06 12:53:47 -07:00
Michael Schurter 521354ee99 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 a81c387adf 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 0944d9d640 Making the fingerprinter support ipv6 ips 2017-04-06 01:06:32 -07:00
Alex Dadgar aaad1fc82e Vendor go-getter
Fixes two issues:
* netrc not being honored
* tar files with files listed before their parent directories not being
properly untarred.
2017-04-05 16:10:15 -07:00
Alex Dadgar ac401f5e18 Merge pull request #2521 from hashicorp/t-windows
Variety of Windows specific test fixes
2017-04-04 16:47:46 -07:00