Commit graph

5557 commits

Author SHA1 Message Date
Diptanu Choudhury f7a9b39e8c Ensuring that we are not emitting stats when handle is nil (#1723)
* Ensuring that we are not emitting stats when handle is nil

* Updated the changelog
2016-09-20 11:29:34 -07:00
Alex Dadgar 683380c25c Merge pull request #1715 from hashicorp/b-dead-system-nodes
Fix bug where dead nodes weren't properly handled by system scheduler
2016-09-19 11:49:44 -07:00
Alex Dadgar 47551e93b4 Fix bug in which dead nodes weren't being properly handled by system scheduler 2016-09-19 11:49:27 -07:00
Alex Dadgar 83905075e5 Fix comment 2016-09-17 11:31:17 -07:00
Alex Dadgar 40fc1d1dfd Task runner test 2016-09-15 17:39:08 -07:00
Alex Dadgar 0fefaef008 Alloc runner tests 2016-09-15 17:24:09 -07:00
Alex Dadgar 0f40bd41a3 Handle recovery failure 2016-09-15 12:50:44 -07:00
Alex Dadgar 688e616200 Fix token renewal 2016-09-15 11:20:51 -07:00
Alex Dadgar dd064af355 Merge pull request #1711 from mlafeldt/job-parent-id
Include parent ID in job info returned by Go API
2016-09-15 10:10:09 -07:00
Mathias Lafeldt c2503adb83
Include parent ID in job info returned by Go API
At the moment, this ID is only included when using `Jobs().List()`, which returns `api.JobListStub`.

With this change, the ID will also be available when using `Jobs().Info()`, which returns `api.Job`.

In fact, `ParentID` is currently the only field present in `api.JobListStub` that is not part of `api.Job`.

Note: This has the side effect that `nomad run -output` will now include an empty `ParentID`.
2016-09-15 14:37:13 +02:00
Alex Dadgar ada5d8dd0c alloc-status 2016-09-14 18:27:13 -07:00
Alex Dadgar ec152a6d12 Clean up vault client 2016-09-14 18:10:56 -07:00
Michael Schurter 2e6927ff8d Merge pull request #1709 from neumayer/log
Log adding of servers at INFO level
2016-09-14 15:53:10 -07:00
Diptanu Choudhury 1b3c5e98c8 Renaming LocalDisk to EphemeralDisk (#1710)
Renaming LocalDisk to EphemeralDisk
2016-09-14 15:43:42 -07:00
Alex Dadgar 6702a29071 Vault token threaded 2016-09-14 13:30:01 -07:00
Robert Neumayer 8dc19dbd10 Log adding of servers at INFO level 2016-09-14 22:24:17 +02:00
Michael Schurter 284e6e5941 Add changelog entry for #1682 2016-09-13 11:26:50 -07:00
Michael Schurter 9a2a17b48f Merge pull request #1682 from hashicorp/b-sanity-check-state-file
Prevent state file corruption and check state file sanity on save
2016-09-13 11:24:34 -07:00
Michael Schurter 9281a02170 Merge pull request #1707 from mlafeldt/fix-typo
Fix typo in alloc-status output
2016-09-13 10:11:50 -07:00
Mathias Lafeldt ff87952cfb
Fix typo in alloc-status output 2016-09-13 17:47:11 +02:00
Michael Schurter cd8606b9e3 Revert "A nil context isn't an error"
This reverts commit fe9fe4c26259c1ad3bd7e94bd711418aaf819b20.
2016-09-12 12:56:12 -07:00
Alex Dadgar cab3dc56c2 Merge pull request #1701 from hashicorp/d-kill-timeout
Kill timeout default documentation
2016-09-12 09:54:43 -07:00
Alex Dadgar eb219f55ed kill timeout default documentation 2016-09-12 09:53:57 -07:00
Alex Dadgar a4a4ed2c71 Merge pull request #1700 from iconara/patch-1
Clarify that the Java driver needs root on Linux
2016-09-12 09:25:45 -07:00
Theo Hultberg adc0da890d Clarify that the Java driver needs root on Linux
Update the Java task driver docs to clarify that Nomad needs to run as root on Linux.
2016-09-12 18:22:31 +02:00
Diptanu Choudhury 70171dffa0 Merge pull request #1698 from neumayer/typo
Fix typo
2016-09-11 15:25:39 -07:00
Robert Neumayer e57d20d825 Fix typo
Telementry -> Telemetry
2016-09-11 09:46:05 +02:00
Diptanu Choudhury bda4d75b2e Updating go version to 1.7.1 2016-09-09 22:24:19 -07:00
Diptanu Choudhury 16721020b9 Merge pull request #1695 from frots/patch-1
Minor typo in bootstrapping.html.md
2016-09-08 22:13:04 -07:00
Frits Vlaanderen ca366ac366 Minor typo in bootstrapping.html.md 2016-09-07 16:52:11 -07:00
Diptanu Choudhury 841acba822 Merge pull request #1690 from mwieczorek/fix-nomad-run-on-windows
Fix 'nomad run' on windows
2016-09-05 14:45:18 -07:00
Michal Wieczorek db685b164f Close job temp file 2016-09-05 23:40:53 +02:00
Diptanu Choudhury fc36626945 Merge pull request #1686 from hashicorp/fix-tests
Fixing alloc runner tests
2016-09-04 22:15:26 -07:00
Diptanu Choudhury ab6a9a5120 Fixing alloc runner tests 2016-09-04 19:09:08 -07:00
Diptanu Choudhury 982bfb3d88 Merge pull request #1685 from hashicorp/remove-warn-msg
Removing warn msg
2016-09-04 18:18:36 -07:00
Diptanu Choudhury 7367d6adb4 Removing warn msg 2016-09-04 17:22:49 -07:00
Diptanu Choudhury 0f77d81f7d Merge pull request #1683 from mwieczorek/enable-syslog-for-windows
Enable syslog for windows
2016-09-04 17:07:25 -07:00
Michal Wieczorek 94071fc294 Enable syslog server and universal collector for windows 2016-09-05 00:26:36 +02:00
Michael Schurter 8a57913a44 A nil context isn't an error 2016-09-02 16:24:53 -07:00
Michael Schurter f601361d58 Don't serialize task states twice in state files 2016-09-02 16:07:06 -07:00
Michael Schurter 6cb6d9cdf1 Lock around saving state
Prevent interleaving state syncs as it could conceivably lead to
empty state files as per #1367
2016-09-02 16:07:06 -07:00
Michael Schurter e7dd443447 Add sanity check to SaveState
Also just reuse the task states snapshot taken by `Alloc()` instead of
doing a redundant copy.
2016-09-02 16:07:06 -07:00
Alex Dadgar 29d755abdf changelog 2016-09-02 15:04:07 -07:00
Alex Dadgar 4d5e75c100 Merge pull request #1681 from hashicorp/f-secret-dir
Secret dir materialized in alloc/task directory
2016-09-02 15:01:12 -07:00
Alex Dadgar eecef73302 syscall error 2016-09-02 15:00:46 -07:00
Alex Dadgar eef786dd9d Secret dir materialized in alloc/task directory 2016-09-02 12:44:05 -07:00
Diptanu Choudhury 1a0fa30da8 Merge pull request #1679 from hashicorp/fix-upgrade-alloc
Adding LocalDisk to alloc.Job
2016-09-01 20:29:06 -07:00
Diptanu Choudhury 6028682ad2 Adding LocalDisk to alloc.Job 2016-09-01 17:41:50 -07:00
Alex Dadgar c5035de902 Merge pull request #1678 from hashicorp/revert-1671-f-secret-dir2
Revert "Introduce a Secret/ directory"
2016-09-01 17:28:31 -07:00
Alex Dadgar 2c8dd8bbd3 Revert "Introduce a Secret/ directory" 2016-09-01 17:23:15 -07:00