Commit Graph

7177 Commits

Author SHA1 Message Date
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
Alex Dadgar 5c5a2e5470 fix badge 2017-04-04 16:38:49 -07:00
Alex Dadgar c7eaa3b34d install with tags 2017-04-04 16:32:26 -07:00
Alex Dadgar d2d1172596 remove vault main from vendor 2017-04-04 16:24:27 -07:00
Alex Dadgar 503cdb649d Download specific consul/vault 2017-04-04 16:17:28 -07:00
Alex Dadgar 09502334e1 vault testutil changes bin name based on OS 2017-04-04 15:14:35 -07:00
Alex Dadgar d0da30324e Split driver tests 2017-04-04 15:12:14 -07:00
Alex Dadgar f95af65c75 Split task runner tests 2017-04-04 15:02:09 -07:00
Alex Dadgar 6b62f7f7b7 set gobin 2017-04-04 14:52:45 -07:00
Alex Dadgar 7a958bdfdd Change testserver binary lookup 2017-04-04 14:45:29 -07:00
Alex Dadgar b8d92e868c README 2017-04-04 14:30:31 -07:00
Alex Dadgar aacc554302 version bump 2017-04-04 14:29:41 -07:00
Alex Dadgar 376bd8e38d Merge pull request #2520 from hashicorp/f-appveyor
AppVeyor for Windows Server 2016 CI environment
2017-04-04 14:29:01 -07:00
Alex Dadgar 2e782ee801 Drop verbose 2017-04-04 12:50:12 -07:00
Alex Dadgar 44b9018973 try to get make to work 2017-04-04 12:39:38 -07:00
Alex Dadgar f2ba6db607 Add sticky bit to temp directory
Fixes an issue where the Ruby runtime expects the sticky bit to be set
on the temp directory. The sticky bit is commonly set on the temp
directory since it is usually shared by many users. This change brings
ours in line with that assumption.
2017-04-04 10:48:29 -07:00
Seth Vargo f6c78b9cb7
Use Nomad's color 2017-04-01 20:58:49 -04:00