Alex Dadgar
5842e28fc5
Merge pull request #2163 from hashicorp/b-summary
...
Job Summary: Fix queued accounting and remove in-place state store updates
2017-01-11 13:36:36 -08:00
Alex Dadgar
fc9f3040ca
Changelog
2017-01-11 13:27:13 -08:00
Alex Dadgar
41f8972fb7
Merge pull request #2177 from hashicorp/b-blocking-getallocs
...
GetAllocs uses a blocking query
2017-01-11 13:24:32 -08:00
Alex Dadgar
23e84ecc12
Random wait
2017-01-11 13:24:23 -08:00
Alex Dadgar
84485c9e37
Review fixes
2017-01-11 13:18:36 -08:00
Michael Schurter
1b56b601ac
Add entry for force_pull #2147
2017-01-11 13:15:44 -08:00
Alex Dadgar
2c9cc70cbd
changelog
2017-01-11 13:12:37 -08:00
Michael Schurter
28550902f7
Merge pull request #2147 from novilabs/docker-force-pull
...
add force_pull to docker driver
2017-01-11 13:11:38 -08:00
Alex Dadgar
9323ce77d5
Merge pull request #2155 from hashicorp/f-cancel
...
Cancel blocked evals upon successful one for job
2017-01-11 13:10:35 -08:00
Cameron Davison
d4b8fc953a
using new ctx instead of getting both params back
2017-01-10 16:54:01 -06:00
Cameron Davison
2d6e7e7b57
fixing typo in comment
2017-01-10 16:54:01 -06:00
Cameron Davison
e2a09752b5
add force_pull to docker driver
2017-01-10 16:54:01 -06:00
Alex Dadgar
aa5c03fe77
Merge pull request #2179 from hashicorp/b-panic
...
Fix nil dereference
2017-01-10 14:15:17 -08:00
Alex Dadgar
47d48bdaee
Fix nil dereference
2017-01-10 14:14:58 -08:00
Michael Schurter
8b80c7d15a
Merge pull request #2174 from hashicorp/b-fix-executor-test
...
Switch to a less timing dependent test command
2017-01-10 13:45:12 -08:00
Michael Schurter
1bb4806ab4
Fix missing value in test failure message
2017-01-10 13:39:05 -08:00
Alex Dadgar
3da811cc27
Changelog
2017-01-10 13:36:35 -08:00
Alex Dadgar
6687d38e00
Merge pull request #2173 from hashicorp/b-stats
...
Don't retrieve Driver Stats if unsupported
2017-01-10 13:32:03 -08:00
Alex Dadgar
925622a851
GetAllocs uses a blocking query
...
This PR makes GetAllocs use a blocking query as well as adding a sanity
check to the clients watchAllocation code to ensure it gets the correct
allocations.
This PR fixes https://github.com/hashicorp/nomad/issues/2119 and
https://github.com/hashicorp/nomad/issues/2153 .
The issue was that the client was talking to two different servers, one
to check which allocations to pull and the other to pull those
allocations. However the latter call was not with a blocking query and
thus the client would not retreive the allocations it requested.
The logging has been improved to make the problem more clear as well.
2017-01-10 13:30:35 -08:00
Michael Schurter
34cc7a70ad
Switch to a less timing dependent test command
...
`/usr/bin/yes` could produce output very quickly (100s of MBps on my
laptop) and therefore could cause log files to roll over.
A bash loop with a sleep avoids that issue. The test is slower but
should be much more resilient to the massive timing differences between
workstations and Travis.
2017-01-09 15:40:53 -08:00
Alex Dadgar
35af1eda2b
Merge branch 'master' of github.com:hashicorp/nomad
2017-01-09 15:38:11 -08:00
Alex Dadgar
30655ef557
Add better docs for destination
2017-01-09 15:38:04 -08:00
Alex Dadgar
fa7db8cdd4
Don't retrieve Driver Stats if unsupported
...
This PR makes us only try to collect stats once if the Driver doesn't
support collecting stats.
Fixes https://github.com/hashicorp/nomad/issues/1986
2017-01-09 13:47:06 -08:00
Alex Dadgar
e3ed6219d9
Merge pull request #2164 from hashicorp/b-dispatch
...
Create Task directory structure in the Run method
2017-01-09 11:24:46 -08:00
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
0296011d8c
Fix adjust test
2017-01-08 14:14:35 -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
276e5ccbd2
Move to Run()
2017-01-08 13:55:12 -08:00
Alex Dadgar
67a1274acf
Changelog
2017-01-08 13:55:12 -08:00
Alex Dadgar
b69ea1f65c
Create task directory during Prestart()
2017-01-08 13:55:12 -08:00
Alex Dadgar
52a1acd611
Detect newly created allocation's properly
2017-01-08 13:55:03 -08:00
Alex Dadgar
c218f5bb70
Store pointer of JobSummary in state store and remove in-place modifications of the object and replace with Copy-Update-Insert operations
2017-01-08 13:55:03 -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