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
Alex Dadgar
1ce5457ac0
Vault config flags
2016-09-01 15:41:07 -07:00
Alex Dadgar
874dfbc84a
Implicit vault constraint
2016-09-01 14:23:40 -07:00
Alex Dadgar
4a8fba5cf7
small fixes
2016-09-01 13:38:31 -07:00
Alex Dadgar
b0adaa5301
Allow root token
2016-09-01 12:05:08 -07:00
Alex Dadgar
a889e0a750
Merge pull request #1675 from hashicorp/f-vault-fingerprint
...
Fingerprint Vault
2016-09-01 11:13:33 -07:00
Alex Dadgar
8ca3a16825
Fingerprint
2016-09-01 11:10:14 -07:00
Alex Dadgar
548d8f7d9c
Changelog
2016-09-01 09:57:23 -07:00
Alex Dadgar
1ed454dd60
Merge pull request #1671 from hashicorp/f-secret-dir2
...
Introduce a Secret/ directory
2016-09-01 09:56:17 -07:00
Alex Dadgar
9fa23e3536
Symlink on windows
2016-08-31 21:41:44 -07:00
Alex Dadgar
5d3b47e648
Address comments and reserve
2016-08-31 18:11:02 -07:00
Diptanu Choudhury
c84db53bc9
Merge pull request #1672 from hashicorp/docs-readat
...
Added docs for readat
2016-08-31 17:54:55 -07:00
Michael Schurter
a0f4c18ad6
Add changelog entry for #1668 / #1661
2016-08-31 17:22:36 -07:00
Diptanu Choudhury
d05198806a
Added docs for readat
2016-08-31 17:20:15 -07:00
Michael Schurter
cbb0b8e31e
Merge pull request #1668 from hashicorp/b-fix-consul-updates
...
Fix old services not getting removed from consul on update
2016-08-31 17:17:09 -07:00
Michael Schurter
ec96e03563
Query consul without helpers in test to be safe
2016-08-31 14:14:17 -07:00
Alex Dadgar
3c9936ae4a
Merge pull request #1659 from hashicorp/f-revoke-accessors
...
Token revocation and keeping only a single Vault client active among servers
2016-08-31 14:10:46 -07:00
Alex Dadgar
6047414fb9
address comments
2016-08-31 14:10:33 -07:00
Diptanu Choudhury
2cb81fb9be
Merge pull request #1667 from hashicorp/f-sticky-scheduler
...
Implemented SetPrefferingNodes in stack
2016-08-31 14:06:59 -07:00
Diptanu Choudhury
d94bb45ad3
Added some more comments
2016-08-31 14:06:31 -07:00
Michal Wieczorek
f53108713b
Add vendor package github.com/RackSec/srslog
2016-08-31 23:05:15 +02:00
Alex Dadgar
0626eb9619
environment variables
2016-08-31 13:56:11 -07:00
Diptanu Choudhury
64c57d9136
Added a test
2016-08-31 13:40:43 -07:00
Diptanu Choudhury
c2945c3e0d
Merge pull request #1670 from hashicorp/b-telemetry-config
...
Merging telemetry configs
2016-08-31 11:47:50 -07:00
Diptanu Choudhury
03783d2554
Added a test
2016-08-31 11:46:51 -07:00
Diptanu Choudhury
a80f67d097
Merging telemetry configs
2016-08-31 11:24:01 -07:00
Michael Schurter
aa8cbe777a
Make comment more precise
2016-08-31 10:43:55 -07:00
Michael Schurter
7f6b5f4d2a
Fix error message when querying consul fails
2016-08-31 10:42:51 -07:00
Alex Dadgar
79c309424c
Merge pull request #1669 from nborkert/patch-1
...
Fixed grammar
2016-08-31 10:12:05 -07:00
Michael Schurter
db1cf6385e
Assert syncer state is consistent with consul's state
2016-08-31 09:19:54 -07:00
Neal Borkert
399bd0b59a
Fixed grammar
...
Changed "your" to "you" to become "...what would happen if you ran the updated job:"
2016-08-31 10:23:00 -04:00
Alex Dadgar
d59e14eed4
Interface + tests
2016-08-30 21:40:32 -07:00
Michael Schurter
f6bf81270d
Remove extra consul service tracking entirely
...
Instead just remove all associated services on shutdown.
2016-08-30 17:10:15 -07:00
Michael Schurter
27912a95d6
Fix old services not getting removed from consul on update
...
Fixes #1661
2016-08-30 16:36:42 -07:00
Alex Dadgar
b6af73e852
changelog
2016-08-30 16:35:32 -07:00
Alex Dadgar
b8a73a46a9
Merge pull request #1666 from dvusboy/update_gopsutil
...
Update vendor package shirou/gopsutil
2016-08-30 16:34:11 -07:00
Diptanu Choudhury
52e9946da9
Implemented SetPrefferingNodes in stack
2016-08-30 16:17:50 -07:00
K.C. Wong
8efd355af7
Update vendor package shirou/gopsutil
...
* resolve #1392
* pull in the fix for shirou/gopsutil/#249 which updates
the Linux driver for `cpu` to set `cpu.Mhz` to the maximum
clock-speed of the CPU, if that's available
2016-08-30 10:48:07 -07:00
Vishal Nayak
b6b73545ea
Merge pull request #1606 from hashicorp/f-vault-client
...
VaultClient for Nomad client's interactions with Vault
2016-08-30 13:13:54 -04:00