Diptanu Choudhury
1999b7eebb
Merge pull request #2159 from hashicorp/b-consul-config
...
Fixed merging consul config
2017-01-18 16:14:54 -08:00
Diptanu Choudhury
e927de02d2
Moved functions to helper from structs
2017-01-18 15:55:14 -08:00
Alex Dadgar
aa27da6b2d
changelog
2017-01-17 15:26:54 -08:00
Alex Dadgar
d949665010
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
d5dfa80c21
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
e274277941
Merge pull request #2204 from troyswanson/patch-1
...
Fix typo in docs
2017-01-17 10:05:15 -08:00
Troy Swanson
47c370985c
s/acess/access
2017-01-16 14:35:14 -06:00
Alex Dadgar
78deb8b292
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
a27306ed39
Put the right hostname in /etc/hosts
2017-01-12 16:57:09 -08:00
Diptanu Choudhury
bb664835c2
Added the API for GC of allocations and nodes
2017-01-12 16:18:29 -08:00
Diptanu Choudhury
abfc502e49
Merge pull request #2172 from hashicorp/b-executor-log-level
...
Filter executor log messages
2017-01-12 16:11:05 -08:00
Diptanu Choudhury
6809a4b104
Added executorconfig
2017-01-12 15:47:58 -08:00
Diptanu Choudhury
dffc0acfc9
Remove unused code
2017-01-12 11:54:19 -08:00
Diptanu Choudhury
b1d0078db5
Filter executor log messages
2017-01-12 11:54:19 -08:00
Michael Schurter
9154f8a8ce
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
a616e9d970
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
e2b79a4877
Changelog
2017-01-11 13:27:13 -08:00
Alex Dadgar
aafb9ca8b2
Merge pull request #2177 from hashicorp/b-blocking-getallocs
...
GetAllocs uses a blocking query
2017-01-11 13:24:32 -08:00
Alex Dadgar
5d2b56b387
Random wait
2017-01-11 13:24:23 -08:00
Alex Dadgar
efbb2894c7
Review fixes
2017-01-11 13:18:36 -08:00
Michael Schurter
93892a9a72
Add entry for force_pull #2147
2017-01-11 13:15:44 -08:00
Alex Dadgar
5c7b6c654d
changelog
2017-01-11 13:12:37 -08:00
Michael Schurter
5d4df63f61
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
0f046b179a
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
c910f9b304
using new ctx instead of getting both params back
2017-01-10 16:54:01 -06:00
Cameron Davison
7ccbd8a000
fixing typo in comment
2017-01-10 16:54:01 -06:00
Cameron Davison
88a462d5b9
add force_pull to docker driver
2017-01-10 16:54:01 -06:00
Alex Dadgar
cdc08bbd22
Merge pull request #2179 from hashicorp/b-panic
...
Fix nil dereference
2017-01-10 14:15:17 -08:00
Alex Dadgar
bb329977a4
Fix nil dereference
2017-01-10 14:14:58 -08:00
Michael Schurter
0b7f8163d2
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
1347a941b0
Fix missing value in test failure message
2017-01-10 13:39:05 -08:00
Alex Dadgar
fec2c32bdf
Changelog
2017-01-10 13:36:35 -08:00
Alex Dadgar
4127a3ea9d
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
c19985244a
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
7462379086
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
426d806401
Merge branch 'master' of github.com:hashicorp/nomad
2017-01-09 15:38:11 -08:00
Alex Dadgar
669dd0bd9a
Add better docs for destination
2017-01-09 15:38:04 -08:00
Alex Dadgar
2be221d664
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
26e2c5bb74
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
119fbc45d6
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
302a0cf382
Fix adjust test
2017-01-08 14:14:35 -08:00
Alex Dadgar
ea0de75889
Merge pull request #2162 from asvoboda/patch-1
...
Update network.html.md
2017-01-08 13:55:56 -08:00
Alex Dadgar
2a5fd85e3b
Move to Run()
2017-01-08 13:55:12 -08:00
Alex Dadgar
6f8483b575
Changelog
2017-01-08 13:55:12 -08:00
Alex Dadgar
2affef2972
Create task directory during Prestart()
2017-01-08 13:55:12 -08:00
Alex Dadgar
2c838a80f6
Detect newly created allocation's properly
2017-01-08 13:55:03 -08:00
Alex Dadgar
d0f918495b
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
4ffd9a69e5
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
724edb6659
Fix fingerprint tests
2017-01-08 13:53:27 -08:00
Andrew Svoboda
c46594534a
Update network.html.md
...
Update typo
2017-01-06 17:32:24 -08:00