Diptanu Choudhury
c80bdd9f5f
Adding a task event for setup
2017-02-22 18:28:07 -08:00
Michael Schurter
8c35388677
Skip setting MemorySwap on Windows
...
Windows doesn't support this Docker setting.
Fixes #2193
2017-02-21 13:21:42 -08:00
Alex Dadgar
bfd34bb1e8
Don't force uppercase meta keys in env vars
2017-02-20 19:51:24 -08:00
Alex Dadgar
4ba4987625
Drivers log during fingerprinting
...
This PR fixes a regression in which some drivers did not log during
fingerprinting.
2017-02-20 19:35:51 -08:00
Alex Dadgar
ee76b78922
rebase
2017-02-20 16:43:28 -08:00
Alex Dadgar
da0c005e7b
Merge pull request #2318 from hashicorp/f-vault-debug
...
Server side Vault telemetry
2017-02-17 11:34:37 -08:00
Alex Dadgar
6effacbf12
Docs
2017-02-17 10:16:15 -08:00
Alex Dadgar
dca06bd1f5
Add allocated/unallocated metrics to client
2017-02-16 18:28:11 -08:00
Alex Dadgar
e9d8a6aa72
Revendor docker client
2017-02-14 17:34:05 -08:00
Alex Dadgar
22b64a53cf
Better derive token logging
2017-02-14 16:46:54 -08:00
Alex Dadgar
edbc84087c
Add Leader support to client
2017-02-10 17:55:19 -08:00
Michael Schurter
c6e78e2939
Fix test to assert new never-nil behavior
2017-02-10 10:11:15 -08:00
Michael Schurter
a760fbcea6
Use getters & setters with nil guards
2017-02-09 17:44:58 -08:00
Michael Schurter
c961e751ec
Fix upgrade path for created resources
...
This *might* be a fix for #2295 -- I've been unable to reproduce the
bug. However, this guard seems wise regardless. I should never be
overwriting an intialized created resources with a nil.
2017-02-09 13:54:33 -08:00
Alex Dadgar
4f84eec2bb
Merge pull request #2293 from hashicorp/f-vendor-memdb
...
Vendor MemDB
2017-02-08 14:51:01 -08:00
Alex Dadgar
43ab32f96c
Tests compile
2017-02-07 21:30:57 -08:00
Sean Chittenden
c3c44d27fc
Unconditionally lowercase the node ID read from disk.
2017-02-06 16:20:17 -08:00
Sean Chittenden
31333eecae
Add better verification of a host's HostID.
2017-02-02 16:24:32 -08:00
Alex Dadgar
df2c9ccbe5
Merge pull request #2277 from hashicorp/f-durable-uuid
...
Reproducible Node ID
2017-02-02 11:54:49 -08:00
Alex Dadgar
15a349debd
Merge pull request #2262 from hashicorp/f-permissions
...
Template destination file permissions.
2017-02-02 11:28:44 -08:00
Sean Chittenden
e4df8042e3
Slight mis-merge: secret-id in dev mode is random and needs to be returned.
2017-02-01 22:20:52 -08:00
Sean Chittenden
6c194a47c2
Generate a durable NodeID if possible, otherwise fall back to a random HostID.
2017-02-01 22:11:33 -08:00
Alex Dadgar
fea5509242
Merge branch 'master' into f-permissions
2017-02-01 16:57:46 -08:00
Alex Dadgar
4bf2401844
Merge branch 'master' into b-vault-race
2017-02-01 16:57:26 -08:00
Alex Dadgar
9e822a2e8f
Fix race condition with Deriving vault tokens
...
This PR fixes a race condition in which the client was not locked while
deriving Vault tokens. This allowed the token to be set which would
cause subsequent Vault requests to fail with permission denied because
the incorrect Vault token was being used.
Further this PR makes the unsetting and unlocking of the client atomic
to avoid an even harder to hit race condition (not sure it was ever hit
but was still incorrect).
2017-02-01 16:25:59 -08:00
Diptanu Choudhury
754b40070c
Checking in updated gc tests
2017-02-01 13:12:46 -08:00
Alex Dadgar
9afa48310e
Template destination file permissions.
...
This PR allows setting the file permissions of the rendered template.
2017-01-31 20:10:01 -08:00
Diptanu Choudhury
6b0a1ebb58
Making the GC related fields tunable
2017-01-31 15:51:20 -08:00
Michael Schurter
2822dd760c
Handle createdResourcs=nil
...
Combined with b522c472fd this fixes #2256
Without these two commits in place upgrades to 0.5.3 panics.
2017-01-31 10:51:32 -08:00
Alex Dadgar
b522c472fd
Add nil guard
2017-01-31 09:19:59 -08:00
Alex Dadgar
8e5d2dd817
slightly more verbose test
2017-01-30 16:16:26 -08:00
Alex Dadgar
3c7e018438
up timing
2017-01-26 13:25:37 -08:00
Alex Dadgar
314435261d
Rename dispatch_input to dispatch_payload
2017-01-25 21:27:44 -08:00
Alex Dadgar
0e8b43767b
Fix import
2017-01-25 21:27:36 -08:00
Alex Dadgar
c920d3cbb0
Fix unreachable function in tests
2017-01-25 20:58:24 -08:00
Alex Dadgar
2c48e93963
More timing fixes
2017-01-25 11:57:38 -08:00
Alex Dadgar
8a0739613a
small env fix
2017-01-25 10:42:11 -08:00
Alex Dadgar
db446bbabf
Fix flaky test
2017-01-24 09:40:13 -08:00
Alex Dadgar
938b04e99a
Fix fsm/env test
2017-01-24 09:36:22 -08:00
Alex Dadgar
0b46f7c237
Fix template test
2017-01-23 16:42:02 -08:00
Alex Dadgar
438054775c
Fix test
2017-01-23 16:33:35 -08:00
Diptanu Choudhury
af66ea3551
Merge pull request #2223 from hashicorp/f-env-addr
...
Setting the Addrs of sibling tasks in the env
2017-01-23 15:05:48 -08:00
Diptanu Choudhury
b52aa931a3
Merge pull request #2222 from hashicorp/b-docker-image-not-found
...
Making the docker driver retry when an image is not found
2017-01-23 14:58:00 -08:00
Diptanu Choudhury
5992a2a88a
Added a comment
2017-01-23 14:57:30 -08:00
Alex Dadgar
40d776d9c4
Merge pull request #2190 from hashicorp/b-docker-auth
...
Better Docker Auth lookup
2017-01-23 14:50:50 -08:00
Alex Dadgar
77b19f55a0
Add test and better logs
...
This commit adds a test to retrieving auth configurations, use either
the auth block in the config or specified via the agent config and adds
a log if lookup fails.
2017-01-23 14:48:02 -08:00
Alex Dadgar
7181c5ac48
fix flaky test
2017-01-23 14:12:38 -08:00
Alex Dadgar
67bec60f1b
Close file
2017-01-23 11:37:45 -08:00
Alex Dadgar
abd06938e5
Deprecation notice
2017-01-23 11:32:51 -08:00
Alex Dadgar
3c610ec864
Remove SSL
2017-01-23 11:32:51 -08:00