Commit Graph

1918 Commits

Author SHA1 Message Date
Alex Dadgar
f962a2b349 Merge pull request #1993 from hashicorp/b-upgrade-path
Check for Ephemeral Disk being nil
2016-11-15 16:27:48 -08:00
Alex Dadgar
0f1e5cbea2 Merge pull request #1996 from hashicorp/t-failing-tests
Fix some failing tests
2016-11-15 16:27:19 -08:00
Alex Dadgar
fb56132830 respond to comment 2016-11-15 16:27:07 -08:00
Alex Dadgar
cce384e0f1 Remove old TODOs 2016-11-15 16:23:37 -08:00
Alex Dadgar
756738d9f1 Fix TestRktDriver_PortsMapping and TestAgent_LoadKeyrings 2016-11-15 15:49:05 -08:00
Alex Dadgar
5d4e0f18bc Updated AWS speeds and network_speed now overrides
This PR:

* Makes AWS network speeds more granular
* Makes `network_speed` an override and not a default
* Adds a default of 1000 MBits if no network link speed is detected.

Fixes #1985
2016-11-15 13:55:51 -08:00
Alex Dadgar
8b7647a34d Check for Ephemeral Disk being nil 2016-11-15 10:03:06 -08:00
Alex Dadgar
51e68b7421 Merge pull request #1977 from hashicorp/b-volume-mount
Change relative path from joining against the alloc dir to the task's directory.
2016-11-10 15:20:49 -08:00
Alex Dadgar
0aad09c239 Remove todo 2016-11-10 15:20:19 -08:00
Alex Dadgar
ca9738f4aa Always disable renew_token for CT config
This PR makes Nomad always disable token renewal even if Vault is
disabled. The problem was when there was a vault token in the
environment variable and Nomad/Vault integration was disabled, the
template runner would still try to renew the token.
2016-11-10 15:16:08 -08:00
Alex Dadgar
e246167dc5 Changes the relative path from joining against the alloc dir to the
task's directory.

This PR changes the behavior when given a relative host path when
mounting docker containers. Prior to this, the behavior was to mount by
joining against the alloc/ directory. This PR changes it to be against
the task/ directory.
2016-11-10 14:47:54 -08:00
Alex Dadgar
3715613a47 Do not validate the command does not contain spaces.
This PR removes validation that the command string does not contain
spaces. This can cause issues where the path contains a folder that
includes a space ("C:\Program Files\Python35\python.exe").

Fixes #1737
2016-11-10 10:22:17 -08:00
Alex Dadgar
96b5840fc3 Merge pull request #1949 from carlpett/blacklist-fingerprints-and-drivers
Support blacklisting fingerprinters
2016-11-09 10:31:17 -08:00
Calle Pettersson
dd2c8531f1 Address comments from PR 2016-11-09 11:50:16 +01:00
Alex Dadgar
ff8ce67218 Merge pull request #1952 from hashicorp/b-reserved-ports-aws
Run environmental fingerprinters after host fingerprinters and AWS overrides network
2016-11-08 15:35:46 -08:00
Alex Dadgar
4c47e3553a Merge pull request #1965 from hashicorp/b-docker-interpolate
Interpolate all docker driver configs that are strings
2016-11-08 15:35:27 -08:00
Alex Dadgar
ec103e1d65 Merge pull request #1966 from hashicorp/b-service-interpolate
Interpolate all service/check fields
2016-11-08 15:35:19 -08:00
Alex Dadgar
a90b84afd8 Rkt env var 2016-11-08 15:14:04 -08:00
Alex Dadgar
3bf19b555e Interpolate all check related variables 2016-11-08 14:43:46 -08:00
Alex Dadgar
4e5c7efcf6 remove debug 2016-11-08 14:21:37 -08:00
Alex Dadgar
a9da2583d2 Interpolate everything that is a string 2016-11-08 14:20:51 -08:00
Diptanu Choudhury
c226599a7c Merge pull request #1960 from hashicorp/fix-perm-issues
Fixed permission issues on client
2016-11-08 12:57:18 -08:00
Diptanu Choudhury
0beb8c0856 Fixed comments 2016-11-08 12:55:15 -08:00
Alex Dadgar
17cab6e932 Fix env vars relating to secretdir 2016-11-08 12:28:43 -08:00
Diptanu Choudhury
68aedd3f8f Fixed permission issues on client 2016-11-08 10:57:29 -08:00
Alex Dadgar
1f932be41f Merge pull request #1954 from hashicorp/b-secret-id
Add compatibility code for secret ID while upgrading cluster in both …
2016-11-08 09:39:52 -08:00
Calle Pettersson
0be1a1fbf4 Add blacklisting of drivers 2016-11-08 18:30:07 +01:00
Calle Pettersson
2f2c5adb86 Add blacklisting of fingerprinters 2016-11-08 18:29:44 +01:00
Alex Dadgar
fc237fe4be Add compatibility code for secret ID while upgrading cluster in both server/client mode on single nodes 2016-11-07 16:52:08 -08:00
Bastiaan Bakker
bd0ab77a0b use snap.Alloc.TaskStates only after confirming snap.Alloc is not nil 2016-11-07 22:35:00 +01:00
Alex Dadgar
c78546cdc1 Merge pull request #1921 from hashicorp/f-abs-templ
Allow absolute paths for template sources
2016-11-07 12:28:49 -08:00
Alex Dadgar
87201fa510 Run environmental fingerprinters after host fingerprinters and do an override 2016-11-07 12:21:50 -08:00
Alex Dadgar
e64875f4cd Merge pull request #1941 from hashicorp/b-complete-transistion
Task state "dead" is terminal
2016-11-04 17:16:10 -07:00
Alex Dadgar
c5b7a08807 Test fix 2016-11-04 17:15:58 -07:00
Alex Dadgar
38680afa0b Merge pull request #1938 from hashicorp/b-docker-reattach
Fix Docker container creation and task runner updating
2016-11-04 17:14:40 -07:00
Alex Dadgar
392e7b609c More precise marking of dead 2016-11-04 17:11:07 -07:00
Alex Dadgar
ad8b5bc141 Task state "dead" is terminal 2016-11-04 16:57:24 -07:00
Michael Schurter
9750b8c8f7 Add userns_mode docker config option
Fixes #1904
2016-11-04 16:53:56 -07:00
Alex Dadgar
0ce8a21fe2 Fix tests 2016-11-04 15:10:18 -07:00
Alex Dadgar
12c033ab81 Move the wait result to bottom of methods 2016-11-04 14:58:55 -07:00
Alex Dadgar
16d1fede7d Unique task 2016-11-04 14:53:37 -07:00
Alex Dadgar
55e7d6f7c6 Create container much more robust 2016-11-04 14:39:56 -07:00
Alex Dadgar
e2da0b9dec Allow absolute paths for template sources 2016-11-02 13:04:47 -07:00
Alex Dadgar
6a0999c11f More recoverable errors 2016-11-02 10:36:04 -07:00
Michael Schurter
8c31bef917 Forgot to flip a bit 2016-11-01 14:35:22 -07:00
Diptanu Choudhury
c2de765a6d Merge pull request #1909 from hashicorp/region-wrapper
Making Nomad TLS configs region aware
2016-11-01 14:31:39 -07:00
Michael Schurter
cd9fbfa0c7 Remove ServerName because we verify based on region 2016-11-01 14:17:31 -07:00
Alex Dadgar
aa6f4b6acf Merge pull request #1908 from hashicorp/f-vault-docs
Vault docs
2016-11-01 12:39:14 -07:00
Diptanu Choudhury
7ee2a1515b Making Nomad TLS configs region aware 2016-11-01 11:55:29 -07:00
Alex Dadgar
9b18008ccd Agent 2016-11-01 10:39:15 -07:00