Commit Graph

5413 Commits

Author SHA1 Message Date
Alex Dadgar 5e846ce2f9 Vault defined at all levels 2016-09-21 11:31:09 -07:00
Alex Dadgar 5a9919bfbf Fix VaultPolicies returning non-empty map when there are no policies 2016-09-21 11:14:09 -07:00
Alex Dadgar 50efdb00e9 Merge pull request #1713 from hashicorp/f-alloc-runner-vault
Vault integration in client
2016-09-20 16:15:55 -07:00
Alex Dadgar 64de46432a Merge pull request #1677 from hashicorp/f-vault-implicit-constraint
Vault implicit Task Group constraint + allow root tokens
2016-09-20 16:15:32 -07:00
Cameron Stokes 6b9cc984d1 Link to Artifact section. 2016-09-20 15:18:59 -07:00
Diptanu Choudhury 36edabb487 Fixed the logic of calculating queued allocation in sys sched (#1724) 2016-09-20 12:05:19 -07:00
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