Michael Schurter
6f2b09f676
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
5387e1ea9a
changelog
2016-09-02 15:04:07 -07:00
Alex Dadgar
3a74f4df0f
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
afee832f2c
syscall error
2016-09-02 15:00:46 -07:00
Alex Dadgar
4bae54741e
Secret dir materialized in alloc/task directory
2016-09-02 12:44:05 -07:00
Diptanu Choudhury
41d5d63c17
Merge pull request #1679 from hashicorp/fix-upgrade-alloc
...
Adding LocalDisk to alloc.Job
2016-09-01 20:29:06 -07:00
Diptanu Choudhury
8dcbeeed8f
Adding LocalDisk to alloc.Job
2016-09-01 17:41:50 -07:00
Alex Dadgar
56b2b36872
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
335cababe1
Revert "Introduce a Secret/ directory"
2016-09-01 17:23:15 -07:00
Alex Dadgar
e2c179821e
Vault config flags
2016-09-01 15:41:07 -07:00
Alex Dadgar
ca906ac660
small fixes
2016-09-01 13:38:31 -07:00
Alex Dadgar
a94c83b70b
Merge pull request #1675 from hashicorp/f-vault-fingerprint
...
Fingerprint Vault
2016-09-01 11:13:33 -07:00
Alex Dadgar
f9391f041c
Fingerprint
2016-09-01 11:10:14 -07:00
Alex Dadgar
4277583e35
Changelog
2016-09-01 09:57:23 -07:00
Alex Dadgar
7f18d94976
Merge pull request #1671 from hashicorp/f-secret-dir2
...
Introduce a Secret/ directory
2016-09-01 09:56:17 -07:00
Alex Dadgar
0c050bd62b
Symlink on windows
2016-08-31 21:41:44 -07:00
Alex Dadgar
0b07ef93c1
Address comments and reserve
2016-08-31 18:11:02 -07:00
Diptanu Choudhury
b6e544bc8e
Merge pull request #1672 from hashicorp/docs-readat
...
Added docs for readat
2016-08-31 17:54:55 -07:00
Michael Schurter
bf21e4e016
Add changelog entry for #1668 / #1661
2016-08-31 17:22:36 -07:00
Diptanu Choudhury
0cf9a7be53
Added docs for readat
2016-08-31 17:20:15 -07:00
Michael Schurter
5f04e2a398
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
ff21ded331
Query consul without helpers in test to be safe
2016-08-31 14:14:17 -07:00
Alex Dadgar
67481cdb54
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
743cbeba71
address comments
2016-08-31 14:10:33 -07:00
Diptanu Choudhury
daf3ca2c02
Merge pull request #1667 from hashicorp/f-sticky-scheduler
...
Implemented SetPrefferingNodes in stack
2016-08-31 14:06:59 -07:00
Diptanu Choudhury
c659e43f1c
Added some more comments
2016-08-31 14:06:31 -07:00
Alex Dadgar
dfab22cd9f
environment variables
2016-08-31 13:56:11 -07:00
Diptanu Choudhury
06ead1bdea
Added a test
2016-08-31 13:40:43 -07:00
Diptanu Choudhury
2176115957
Merge pull request #1670 from hashicorp/b-telemetry-config
...
Merging telemetry configs
2016-08-31 11:47:50 -07:00
Diptanu Choudhury
5e1fdd9784
Added a test
2016-08-31 11:46:51 -07:00
Diptanu Choudhury
3c39195771
Merging telemetry configs
2016-08-31 11:24:01 -07:00
Michael Schurter
8c9f5b7858
Make comment more precise
2016-08-31 10:43:55 -07:00
Michael Schurter
75e18f2419
Fix error message when querying consul fails
2016-08-31 10:42:51 -07:00
Alex Dadgar
a665021086
Merge pull request #1669 from nborkert/patch-1
...
Fixed grammar
2016-08-31 10:12:05 -07:00
Michael Schurter
bcbe49ee2f
Assert syncer state is consistent with consul's state
2016-08-31 09:19:54 -07:00
Neal Borkert
4a5cf3bee3
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
46ce8dd020
Interface + tests
2016-08-30 21:40:32 -07:00
Michael Schurter
1d8d6b57dc
Remove extra consul service tracking entirely
...
Instead just remove all associated services on shutdown.
2016-08-30 17:10:15 -07:00
Michael Schurter
a63b2ccfdc
Fix old services not getting removed from consul on update
...
Fixes #1661
2016-08-30 16:36:42 -07:00
Alex Dadgar
e44ffa3914
changelog
2016-08-30 16:35:32 -07:00
Alex Dadgar
994a42a28a
Merge pull request #1666 from dvusboy/update_gopsutil
...
Update vendor package shirou/gopsutil
2016-08-30 16:34:11 -07:00
Diptanu Choudhury
a6e0077f72
Implemented SetPrefferingNodes in stack
2016-08-30 16:17:50 -07:00
K.C. Wong
66ce8dd414
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
c4744e2632
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
vishalnayak
13d97f01bb
Print debug message only when error is non-nil
2016-08-30 13:14:34 -04:00
vishalnayak
68b1b30bf5
Addressed review feedback
2016-08-30 13:08:13 -04:00
vishalnayak
082d5e58a4
Return only fatal error to renewal error channel
2016-08-30 12:46:59 -04:00
vishalnayak
dd26f9b4bf
Fix tests
2016-08-29 21:30:06 -04:00
vishalnayak
72d2e9d2dd
tokenDeriver function pointer to derive tokens.
...
Remove rpc*, connPool, node and region from vaultclient.
2016-08-29 20:32:05 -04:00
Alex Dadgar
0ebdff2bb7
Secret dir, hello world
2016-08-29 15:41:52 -07:00