Commit Graph

5333 Commits

Author SHA1 Message Date
Diptanu Choudhury
0cf9a7be53 Added docs for readat 2016-08-31 17:20:15 -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
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
Alex Dadgar
a665021086 Merge pull request #1669 from nborkert/patch-1
Fixed grammar
2016-08-31 10:12:05 -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
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
Diptanu Choudhury
fae5e519d8 Merge pull request #1654 from hashicorp/f-sticky-spec
Server side changes for sticky volumes
2016-08-29 14:00:32 -07:00
Diptanu Choudhury
e331186ee0 Introducing shared resources in alloc 2016-08-29 13:49:25 -07:00
vishalnayak
603d7b09d8 Use Job.LookupTaskGroup 2016-08-29 16:34:39 -04:00
Alex Dadgar
152c11d657 Merge pull request #1660 from mlafeldt/optional-stats
Make alloc-status and node-status work without access to stats
2016-08-29 09:54:49 -07:00
vishalnayak
7f919c9d74 Address review feedback 2016-08-29 12:47:33 -04:00
Mathias Lafeldt
464e1c8b78 Make node-status -short work without node stats 2016-08-29 17:45:37 +02:00
Mathias Lafeldt
385552ddea Make alloc-status -short work without allocation stats 2016-08-29 17:45:23 +02:00
Alex Dadgar
b813362ece Make maxSize exported so that it is serialized 2016-08-28 17:48:35 -07:00
Alex Dadgar
f7d74b6fe4 Use tomb to shutdown
Token revocation

Remove from the statestore

Revoke tokens

Don't error when Vault is disabled as this could cause issue if the operator ever goes from enabled to disabled

update server interface to allow enable/disable and config loading

test the new functions

Leader revoke

Use active
2016-08-28 14:06:25 -07:00
Diptanu Choudhury
71048e2518 Merge pull request #1658 from groovemonkey/web-copy-fixes
Web copy fixes
2016-08-27 12:28:27 -07:00
Dave Cohen
154e81b011 one last tiny pedantic fix, I swear. 2016-08-27 09:04:01 -04:00
Dave Cohen
43a8539df9 more tiny doc fixes 2016-08-27 08:56:39 -04:00
Ivo Verberk
dedfba4d74 Merge pull request #1657 from groovemonkey/patch-1
small spelling correction
2016-08-27 14:23:28 +02:00
Dave Cohen
1fcd86b25b small spelling correction 2016-08-27 08:18:02 -04:00
Diptanu Choudhury
3e675222c7 Added LocalDisk to diff 2016-08-26 20:38:50 -07:00
Diptanu Choudhury
8e76a3d52a Ensuring resources are re-calculated properly in fsm 2016-08-26 20:13:11 -07:00
Diptanu Choudhury
c9d35e4050 Changing implementation of AllocsFit 2016-08-26 17:28:29 -05:00
Alex Dadgar
50688b7cd4 update architecture copy 2016-08-26 13:57:43 -07:00
Diptanu Choudhury
54fe53742d Added copy method to LocalDisk 2016-08-26 14:24:47 -05:00
Michael Schurter
14060b1607 Add changelog entry for #1558's fix 2016-08-26 11:45:34 -07:00
Alex Dadgar
7dd202a2bf Changelog 2016-08-26 11:30:26 -07:00
Alex Dadgar
8fac8579f8 Merge pull request #1656 from hashicorp/b-fix-http-timeout
Fix http timeout for Consul check for servers
2016-08-26 11:28:56 -07:00
Alex Dadgar
859f4c5d5e Increase the timeout to be greater than the RPC hold threshold 2016-08-26 11:13:20 -07:00
Michael Schurter
40e1ffd6ba Merge pull request #1653 from hashicorp/b-fix-artifact-retry
Don't fail other tasks when retrying artifact get
2016-08-26 09:53:39 -07:00
Diptanu Choudhury
dba0d80ee3 Fixed more tests 2016-08-26 01:51:19 -05:00
Diptanu Choudhury
efb0d3de8a Fixed some more tests 2016-08-25 23:05:21 -05:00
Diptanu Choudhury
183294644e Fixed api tests 2016-08-25 22:10:25 -05:00
Michael Schurter
5b0dd7ff2b Make sure bad doesn't fail before web runs 2016-08-25 17:25:51 -07:00
Michael Schurter
bbce6c7ad1 Ensure bad task reaches terminal state within test 2016-08-25 16:05:19 -07:00