Commit Graph

6209 Commits

Author SHA1 Message Date
Alex Dadgar
3cc00a4682 changelog 2017-01-05 13:24:17 -08:00
Alex Dadgar
248c069652 Merge pull request #2128 from hashicorp/f-dispatch
Nomad Constructor Jobs and Dispatch
2017-01-06 05:22:49 +08:00
Alex Dadgar
9a3447d577 Merge pull request #2157 from hashicorp/t-client-tests
Fix client tests deadlocking
2017-01-06 05:21:05 +08:00
Alex Dadgar
bfc1d9c45f use helper 2017-01-05 13:19:01 -08:00
Diptanu Choudhury
5c6adce720 Unlocking if we return before adding a new alloc runner 2017-01-05 13:18:48 -08:00
Alex Dadgar
de832069eb Fix TestClient_BlockedAllocations 2017-01-05 13:15:08 -08:00
Diptanu Choudhury
d1c54748d0 Merge pull request #2156 from hashicorp/b-alloc-lock
Fixed how alloc lock is held
2017-01-05 13:12:12 -08:00
Diptanu Choudhury
84bbd3de28 Fixed how alloc lock is held 2017-01-05 13:06:56 -08:00
Alex Dadgar
a44f7266c2 Fix SaveRestoreState 2017-01-05 12:32:44 -08:00
Diptanu Choudhury
9de9a95133 Updated changelog 2017-01-05 11:27:47 -08:00
Michael Schurter
cd04bc5597 Merge pull request #2152 from hashicorp/b-fix-dev-shutdown-race
Fix race when shutting down in dev mode
2017-01-04 10:34:46 -08:00
Michael Schurter
09d4f0795a Fix race when shutting down in dev mode
Client.Shutdown holds the allocLock when destroying alloc runners in dev
mode.

Client.updateAllocStatus can be called during AllocRunner shutdown and
calls getAllocRunners which tries to acquire allocLock.RLock. This
deadlocks since Client.Shutdown already has the write lock.

Switching Client.Shutdown to use getAllocRunners and not hold a lock
during AllocRunner shutdown is the solution.
2017-01-03 17:21:50 -08:00
Alex Dadgar
9fde3e5e6f Merge pull request #2151 from hashicorp/d-attr
Fix documentation for interpolating attrs/meta
2017-01-04 05:27:19 +08:00
Alex Dadgar
55eaf2d24e Fix documentation for interpolating attrs/meta
This PR fixes the website documentation to correctly present the way of
specifying constraints on node meta and attributes.
2017-01-03 13:25:56 -08:00
Alex Dadgar
500960ea4f Update commands on website 2017-01-03 13:22:02 -08:00
Alex Dadgar
5ee8ae3077 vagrant version 2017-01-03 11:36:55 -08:00
Alex Dadgar
7e0992efb4 changelog 2017-01-03 11:36:23 -08:00
Alex Dadgar
5031075b7c Merge pull request #2098 from jorgemarey/f-telemetry-nodename
Allow to set the nodename on telemetry
2017-01-04 03:33:48 +08:00
Alex Dadgar
0971fb6dd0 Merge pull request #2140 from pgporada/master
Add link to CHANGELOG on the Nomad downloads.html page
2017-01-04 02:34:29 +08:00
Phil Porada
ca53e421fc Update downloads.html.erb
Fixed a nitpick one of the Vault guys had.
2016-12-29 07:33:09 -07:00
Diptanu Choudhury
ab79d6a0be Merge pull request #2142 from hashicorp/b-consistent-usage
Fix inconsistencies in usage cli output.
2016-12-24 23:47:08 -08:00
Cameron Stokes
ca33d0e5cc Errant colon in logs usage. 2016-12-24 17:12:16 -08:00
Cameron Stokes
48e99e01f1 Fix inconsistencies in usage cli output. 2016-12-24 12:39:33 -08:00
Phil Porada
e2d51b7a89 Takes care request #2 on Nomad GH-2129 2016-12-22 21:19:46 -05:00
Jorge Marey
a39cebb744 Add option to set nodename instead of hostname on telemetry values 2016-12-21 09:53:29 +01:00
Michael Schurter
fccf115c56 Merge pull request #2054 from hashicorp/f-prestart
Add Driver.Prestart method
2016-12-20 16:18:56 -08:00
Michael Schurter
904543ef1b Remove unneeded env building 2016-12-20 16:14:42 -08:00
Michael Schurter
decee19978 Fix tests broken by TaskEnv change 2016-12-20 14:37:35 -08:00
Michael Schurter
630812bbdd lxc: Set image local env vars 2016-12-20 14:37:18 -08:00
Michael Schurter
5ad7eeaed5 Remove unneeded waitClient field 2016-12-20 14:29:57 -08:00
Diptanu Choudhury
e42ce28ae7 Added two tests 2016-12-20 14:27:38 -08:00
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
Diptanu Choudhury
9903a8c6df Fixed a test 2016-12-20 11:53:37 -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
Diptanu Choudhury
a709731258 Updated changelog and fixed tests 2016-12-20 11:32:17 -08:00
Diptanu Choudhury
dabb8de14e Merge pull request #2081 from hashicorp/f-gc
Garbage collector for allocations
2016-12-20 11:19:32 -08:00
Diptanu Choudhury
8ba749af28 Updated changelog 2016-12-20 11:15:47 -08:00
Diptanu Choudhury
6f978dd051 Removing the alloc runner from GC if it is destroyed by the server 2016-12-20 11:14:22 -08:00
Diptanu Choudhury
7ebe4a6972 Added comments 2016-12-20 10:49:48 -08:00
Alex Dadgar
4b14845631 Merge branch 'master' of github.com:hashicorp/nomad 2016-12-19 18:12:34 -08:00
Alex Dadgar
8e1199ae94 Changelog 2016-12-19 18:12:27 -08:00
Diptanu Choudhury
26e766e81a Merge pull request #2032 from hashicorp/b-allocs
Making the status command return the allocs of currently registered job
2016-12-19 18:10:27 -08:00
Diptanu Choudhury
e5ca8f4709 Added comments 2016-12-19 18:10:02 -08:00
Alex Dadgar
e420d17bfb Small cleanups 2016-12-19 14:22:08 -08:00
Alex Dadgar
feb6f53a53 Merge pull request #1980 from dmexe/network-aliases
Add network_aliases for docker driver
2016-12-19 14:17:48 -08:00
Alex Dadgar
8b5e151226 Merge branch 'master' of github.com:hashicorp/nomad 2016-12-19 13:45:25 -08:00
Alex Dadgar
eb1b3aed53 changelog 2016-12-19 13:45:16 -08:00