Michael Schurter
aaa70ab7b8
Append host env vars on every task env
2016-12-20 12:24:24 -08:00
Michael Schurter
6702813233
Fix formatting of downloading image message
2016-12-20 11:57:26 -08:00
Michael Schurter
bbcc27ef1b
Use startContainer wrapper
2016-12-20 11:55:40 -08:00
Michael Schurter
750d59773c
Rename InitializationMessage to DriverMessage
2016-12-20 11:51:09 -08:00
Michael Schurter
50934da2c4
Emit "Downloading image" event
2016-12-20 11:40:34 -08:00
Michael Schurter
ee17940dfe
Add Driver.Prestart method
...
The Driver.Prestart method currently does very little but lays the
foundation for where lifecycle plugins can interleave execution _after_
task environment setup but _before_ the task starts.
Currently Prestart does two things:
* Any driver specific task environment building
* Download Docker images
This change also attaches a TaskEvent emitter to Drivers, so they can
emit events during task initialization.
2016-12-02 11:03:48 -08:00
Michael Schurter
73e99211f6
Fix string formatting
2016-12-01 11:22:51 -08:00
Alex Dadgar
9d1c7ba3c8
changelog
2016-12-01 11:16:55 -08:00
Alex Dadgar
27e89a8bd8
Merge pull request #2051 from hashicorp/b-vault-alloc
...
Disallow stale queries when deriving Vault tokens
2016-12-01 11:14:50 -08:00
Alex Dadgar
4287706ce1
Disallow stale queries when deriving Vault tokens
...
This PR disallows stale queries when deriving a Vault token. Allowing
stale queries could result in the allocation not existing on the server
that is servicing the request.
2016-12-01 11:13:36 -08:00
Diptanu Choudhury
288c329ccb
Merge pull request #2046 from hashicorp/f-start-recoverable
...
Make errors starting a container recoverable
2016-11-30 16:36:22 -08:00
Alex Dadgar
c72600efd1
Make errors starting a container recoverable
...
This PR makes errors starting a container recoverable and tries to
optimistically handle 500 errors.
2016-11-30 15:59:47 -08:00
Diptanu Choudhury
a6012560db
Merge pull request #2045 from hashicorp/b-docker-create-container
...
Returning a container if it exists instead of creating a new one
2016-11-29 17:55:33 -08:00
Diptanu Choudhury
3f825bf746
Returning a container if it exists instead of creating a new one
2016-11-29 17:52:19 -08:00
Michael Schurter
b7083f4842
Bump timeout on test
2016-11-29 16:19:40 -08:00
Alex Dadgar
ad0801aa0f
Merge branch 'master' of github.com:hashicorp/nomad
2016-11-29 15:57:50 -08:00
Alex Dadgar
026802b7bc
add debug panic
2016-11-29 15:57:40 -08:00
Alex Dadgar
ac0037ac4c
Merge pull request #2044 from julienlevasseur/patch-1
...
Correct a grammar typo
2016-11-29 15:07:41 -08:00
Alex Dadgar
e01e02e7cf
add debugging
2016-11-29 14:29:37 -08:00
julienlevasseur
7627030ac0
Correct a grammar typo
...
a "the a" was still on text, certainly after an hesitation from author.
Keep the "a" form, as it's more general.
2016-11-29 16:44:37 -05:00
Diptanu Choudhury
dd8bf7a038
Merge pull request #2040 from hashicorp/b-block-allocs
...
Ensuring allocs are not added multiple times to blocking queue
2016-11-29 11:28:36 -08:00
Diptanu Choudhury
910049740b
Ensuring allocs are not added multiple times to blocking queue
2016-11-29 11:19:37 -08:00
Diptanu Choudhury
f74472a0a8
Merge pull request #2037 from hashicorp/b-docker-list-containers
...
Fixes an issue with purging containers with the same name Nomad is tr…
2016-11-28 17:38:34 -08:00
Diptanu Choudhury
26bb30ed14
Fixes an issue with purging containers with the same name Nomad is trying to start
2016-11-28 17:37:22 -08:00
Michael Schurter
e08ca6a9be
Mention client level user configs
2016-11-28 13:14:32 -08:00
Michael Schurter
d0d6305530
Fix user docs
2016-11-28 13:14:32 -08:00
Michael Schurter
09c7306f66
Add changelog entry for #2028
2016-11-28 13:13:40 -08:00
Michael Schurter
119198f022
rkt: Support host and none dns options
...
Fixes #2025
2016-11-28 13:13:40 -08:00
Michael Schurter
ff342a8cd5
Add changelog entry for #2027
2016-11-28 13:13:40 -08:00
Michael Schurter
449194eb47
Fix rkt volumes
...
I forgot to validate the volumes field!
2016-11-28 13:13:40 -08:00
Alex Dadgar
c08d65d8a1
changelog
2016-11-28 12:58:47 -08:00
Alex Dadgar
2048fb20c0
Merge pull request #2007 from hashicorp/b-stream-framer-panic
...
Fixes race on StreamFramer Destroy
2016-11-28 12:57:28 -08:00
Alex Dadgar
19f234758a
changelog
2016-11-28 12:51:09 -08:00
Alex Dadgar
3537922831
Merge pull request #2030 from gliptak/missingname1
...
Improve parsing of job struct
2016-11-28 12:49:09 -08:00
Alex Dadgar
0ed5967410
Merge pull request #2029 from gliptak/dockerauth1
...
Log when lookup in docker.auth.config fails
2016-11-28 12:45:19 -08:00
Alex Dadgar
1dc9ffa41e
changelog
2016-11-28 12:40:11 -08:00
Alex Dadgar
23cdb37290
Merge pull request #2033 from hashicorp/b-docker-container-exists
...
Make container exist errors non-retriable
2016-11-28 12:38:52 -08:00
Michael Schurter
8983918bc6
Merge pull request #2036 from hashicorp/b-fix-host-port-joining
...
Use net.JoinHostPort instead of fmt.Sprintf
2016-11-28 10:58:47 -08:00
Michael Schurter
7dea7b5280
Add changelog entry for #2036
2016-11-28 10:57:51 -08:00
Michael Schurter
4eb30022b2
Use net.JoinHostPort instead of fmt.Sprintf
...
Using fmt.Sprintf breaks IPv6 addresses.
2016-11-28 10:38:54 -08:00
Alex Dadgar
49ee34c1e3
Make container exist errors non-retriable
...
This change makes it so that the task runner does not retry container
exists errors and also a sleep is added on the local retry.
2016-11-25 19:22:58 -08:00
Gábor Lipták
0427706166
Improve parsing of job struct
2016-11-23 20:18:50 -05:00
Gábor Lipták
72f895688d
Log when lookup in docker.auth.config fails
2016-11-23 18:43:58 -05:00
Diptanu Choudhury
3e6390839f
Merge pull request #2020 from ranjib/template_args_lxc
...
(bug)Fix error message. Pass on template args
2016-11-22 05:45:17 +01:00
Ranjib Dey
1aaceafecc
Fix error message. Pass on template args
2016-11-21 20:12:59 -08:00
Alex Dadgar
d31d440121
version bump
2016-11-21 09:42:02 -08:00
Alex Dadgar
723a64ad8a
Merge pull request #2010 from hashicorp/d-typo
...
Fix typo in telemetry documentation.
2016-11-18 11:12:39 -08:00
Alex Dadgar
c32512c74e
Fix typo in telemetry documentation.
...
Fixes #2008
2016-11-18 11:11:45 -08:00
Alex Dadgar
81e2d53e2d
Fixes race on StreamFramer Destroy
...
This PR:
* Fixes a race in which StreamFramer could panic while closing.
* Simplifies the logic of the StreamFramer
* Removes a potentially leaked goroutine
2016-11-17 20:14:47 -08:00
Seth Vargo
cdf43021a4
Fix duplicate meta description
2016-11-17 16:55:35 -05:00