Alex Dadgar
11200cdfd2
Merge pull request #2199 from hashicorp/f-jars
...
Support setting class_path and class name.
2017-01-17 15:25:47 -08:00
Diptanu Choudhury
38fd66f209
Merge pull request #2192 from hashicorp/f-api-gc
...
Added the API for GC of allocations and nodes
2017-01-17 12:32:14 -08:00
Alex Dadgar
3b1ea4eb72
Merge pull request #2204 from troyswanson/patch-1
...
Fix typo in docs
2017-01-17 10:05:15 -08:00
Troy Swanson
61d3008b5c
s/acess/access
2017-01-16 14:35:14 -06:00
Alex Dadgar
9206446a8d
Support setting class_path and class name.
...
This PR enhances the java driver to allow setting the class path and
class name to run. It also fixes an issue that would make the Java
driver attempt to chroot regardless of operating system (this never
effected a released version of Nomad).
2017-01-13 16:03:11 -08:00
Michael Schurter
f849e4309d
Put the right hostname in /etc/hosts
2017-01-12 16:57:09 -08:00
Diptanu Choudhury
fca8c2eb9a
Added the API for GC of allocations and nodes
2017-01-12 16:18:29 -08:00
Diptanu Choudhury
e9961ef728
Merge pull request #2172 from hashicorp/b-executor-log-level
...
Filter executor log messages
2017-01-12 16:11:05 -08:00
Diptanu Choudhury
a066d90313
Added executorconfig
2017-01-12 15:47:58 -08:00
Diptanu Choudhury
dc8a940f9c
Remove unused code
2017-01-12 11:54:19 -08:00
Diptanu Choudhury
84137b02c5
Filter executor log messages
2017-01-12 11:54:19 -08:00
Michael Schurter
dc3a013bec
Add local hostname resolution to Vagrantfile
...
Makes running agents in vagrant without using `-dev` work.
2017-01-12 11:53:24 -08:00
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