Alex Dadgar
c323bbde7d
Merge pull request #2165 from hashicorp/b-driver-events
...
Send Driver events to servers immediately
2017-01-09 11:23:38 -08:00
Alex Dadgar
4b72f11744
Merge pull request #2162 from asvoboda/patch-1
...
Update network.html.md
2017-01-08 13:55:56 -08:00
Alex Dadgar
0641d8a3d1
Send Driver events to servers immediately
...
This PR causes driver events to be sent to the server immediately rather
than waiting for Prestart() to finish.
2017-01-08 13:54:43 -08:00
Alex Dadgar
8214cf08c9
Fix fingerprint tests
2017-01-08 13:53:27 -08:00
Andrew Svoboda
5be017bba5
Update network.html.md
...
Update typo
2017-01-06 17:32:24 -08:00
Diptanu Choudhury
a9cc1a886e
Merge pull request #2161 from hashicorp/f-cpu-arch
...
Fixed namespacing for the cpu arch
2017-01-06 14:41:08 -08:00
Diptanu Choudhury
863120cc1a
Fixed namespacing for the cpu arch
2017-01-06 14:23:22 -08:00
Michael Schurter
9541290b93
Merge pull request #2132 from hashicorp/f-chrootectomy-4
...
Move chroot building into TaskRunner
2017-01-06 13:03:08 -08:00
Michael Schurter
a087a8be79
Fix inconsistent task env setting
...
Consolidate task environment building in GetTaskEnv since it can
determine what kind of filesystem isolation is used.
This means drivers no longer have to manipulate task environment paths.
2017-01-06 12:19:32 -08:00
Diptanu Choudhury
32f96edd61
Updated docs for /job/allocations endpoint
2017-01-06 11:44:49 -08:00
Michael Schurter
ed8b3cd37d
Fix executor tests
2017-01-06 11:39:18 -08:00
Michael Schurter
9bfa8dc2bd
Add COMPAT comment
2017-01-06 11:39:17 -08:00
Michael Schurter
59c501f474
Driver is now required in test tasks
2017-01-06 11:39:17 -08:00
Michael Schurter
6235122b55
Fix tests post rebase
2017-01-06 11:39:13 -08:00
Alex Dadgar
bf34379235
Add QueuedAllocations to api.Evaluation
2017-01-06 11:32:14 -08:00
Alex Dadgar
786a824b88
Version bump
2017-01-06 11:22:38 -08:00
Michael Schurter
12915c30bf
Remove debug logging
2017-01-05 16:31:56 -08:00
Michael Schurter
86db19407e
Remove task name prefix from executor logs
2017-01-05 16:31:56 -08:00
Michael Schurter
e25274b775
Put a logger in AllocDir/TaskDir
2017-01-05 16:31:56 -08:00
Michael Schurter
957adf2df3
Add comments to TaskDir
2017-01-05 16:31:55 -08:00
Michael Schurter
3011df1c89
Fix upgrade path for #2132
...
AllocRunner's state dropped the Context struct which needs to be
converted to the new AllocDir+TaskDir structs in RestoreState.
TaskRunner added a TaskDirBuilt flag, but it's safe to just let that
default to `false` and rebuild all task dirs once on upgrade.
2017-01-05 16:31:55 -08:00
Michael Schurter
d87dcce722
Fail fast on taskdir errors
2017-01-05 16:31:55 -08:00
Michael Schurter
e7f6986eb2
Test tasks now require driver name
2017-01-05 16:31:55 -08:00
Michael Schurter
de7351b959
Move chroot building into TaskRunner
...
* Refactor AllocDir to have a TaskDir struct per task.
* Drivers expose filesystem isolation preference
* Fix lxc mounting of `secrets/`
2017-01-05 16:31:49 -08:00
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