Diptanu Choudhury
247bda9a88
Unlocking if we return before adding a new alloc runner
2017-01-05 13:18:48 -08:00
Diptanu Choudhury
38e4dd3998
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
9721a1ab04
Fixed how alloc lock is held
2017-01-05 13:06:56 -08:00
Diptanu Choudhury
ed3364eaaf
Updated changelog
2017-01-05 11:27:47 -08:00
Michael Schurter
86d5720e4c
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
13064768ac
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
b4bf33b95a
Merge pull request #2151 from hashicorp/d-attr
...
Fix documentation for interpolating attrs/meta
2017-01-04 05:27:19 +08:00
Alex Dadgar
675855b8c2
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
86b1196906
Update commands on website
2017-01-03 13:22:02 -08:00
Alex Dadgar
567817a099
vagrant version
2017-01-03 11:36:55 -08:00
Alex Dadgar
2473a4587d
changelog
2017-01-03 11:36:23 -08:00
Alex Dadgar
23fcd807cb
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
13450d6c4e
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
9246a7c849
Update downloads.html.erb
...
Fixed a nitpick one of the Vault guys had.
2016-12-29 07:33:09 -07:00
Diptanu Choudhury
6350f06484
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
ce80b5c421
Errant colon in logs usage.
2016-12-24 17:12:16 -08:00
Cameron Stokes
249fd8bf42
Fix inconsistencies in usage cli output.
2016-12-24 12:39:33 -08:00
Phil Porada
a81dc9035c
Takes care request #2 on Nomad GH-2129
2016-12-22 21:19:46 -05:00
Jorge Marey
189a49b74d
Add option to set nodename instead of hostname on telemetry values
2016-12-21 09:53:29 +01:00
Michael Schurter
4a9a574d9d
Merge pull request #2054 from hashicorp/f-prestart
...
Add Driver.Prestart method
2016-12-20 16:18:56 -08:00
Michael Schurter
8e1ae14feb
Remove unneeded env building
2016-12-20 16:14:42 -08:00
Michael Schurter
39f587a2af
Fix tests broken by TaskEnv change
2016-12-20 14:37:35 -08:00
Michael Schurter
0d90e96925
lxc: Set image local env vars
2016-12-20 14:37:18 -08:00
Michael Schurter
05b49008eb
Remove unneeded waitClient field
2016-12-20 14:29:57 -08:00
Diptanu Choudhury
bab81734f5
Added two tests
2016-12-20 14:27:38 -08:00
Michael Schurter
ea92cd102a
Append host env vars on every task env
2016-12-20 12:24:24 -08:00
Michael Schurter
458c2ed5f1
Fix formatting of downloading image message
2016-12-20 11:57:26 -08:00
Michael Schurter
e34d1e5d23
Use startContainer wrapper
2016-12-20 11:55:40 -08:00
Diptanu Choudhury
93091f7902
Fixed a test
2016-12-20 11:53:37 -08:00
Michael Schurter
2aa235f8f2
Rename InitializationMessage to DriverMessage
2016-12-20 11:51:09 -08:00
Michael Schurter
85b0cecff2
Emit "Downloading image" event
2016-12-20 11:40:34 -08:00
Diptanu Choudhury
9cdd576720
Updated changelog and fixed tests
2016-12-20 11:32:17 -08:00
Diptanu Choudhury
6c11f38cb0
Merge pull request #2081 from hashicorp/f-gc
...
Garbage collector for allocations
2016-12-20 11:19:32 -08:00
Diptanu Choudhury
0b9b6003c2
Updated changelog
2016-12-20 11:15:47 -08:00
Diptanu Choudhury
b6120e2fc8
Removing the alloc runner from GC if it is destroyed by the server
2016-12-20 11:14:22 -08:00
Diptanu Choudhury
6e6e0d364a
Added comments
2016-12-20 10:49:48 -08:00
Alex Dadgar
bcf513201e
Merge branch 'master' of github.com:hashicorp/nomad
2016-12-19 18:12:34 -08:00
Alex Dadgar
88d549b459
Changelog
2016-12-19 18:12:27 -08:00
Diptanu Choudhury
25fb7130fd
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
9786708526
Added comments
2016-12-19 18:10:02 -08:00
Alex Dadgar
746d4c7ee3
Small cleanups
2016-12-19 14:22:08 -08:00
Alex Dadgar
18739a4433
Merge pull request #1980 from dmexe/network-aliases
...
Add network_aliases for docker driver
2016-12-19 14:17:48 -08:00
Alex Dadgar
40449a0c33
Merge branch 'master' of github.com:hashicorp/nomad
2016-12-19 13:45:25 -08:00
Alex Dadgar
b012b12656
changelog
2016-12-19 13:45:16 -08:00
Alex Dadgar
d59057c3a8
Merge pull request #2130 from hashicorp/b-log-type
...
Fix Docker Logging Type interpolation
2016-12-19 13:43:52 -08:00
Alex Dadgar
7cdf24f05f
Fix Docker Logging Type interpolation
...
This PR fixes an issue that made Logging.Type un-interpretable in the
docker driver.
2016-12-19 13:42:58 -08:00
Alex Dadgar
2f3aeed2f8
Merge pull request #2063 from tmichaud314/fix-docker-driver-auth-interpolation
...
Fixes docker-driver Auth-config interpolation
2016-12-19 13:41:27 -08:00
Diptanu Choudhury
e072961cea
Added tests
2016-12-19 13:21:47 -08:00
Alex Dadgar
90a5cecbe8
missing fix
2016-12-19 12:47:19 -08:00
Alex Dadgar
797bd3013f
Merge pull request #2125 from pgporada/master
...
Updated docker doc to remove useless word
2016-12-19 12:45:54 -08:00