Commit graph

5494 commits

Author SHA1 Message Date
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
vishalnayak d0ad1603c3 Print debug message only when error is non-nil 2016-08-30 13:14:34 -04:00
vishalnayak 55a6f06e15 Addressed review feedback 2016-08-30 13:08:13 -04:00
vishalnayak 3808dd0ff8 Return only fatal error to renewal error channel 2016-08-30 12:46:59 -04:00
vishalnayak a0dbfe25b3 Fix tests 2016-08-29 21:30:06 -04:00
vishalnayak 82f6209e97 tokenDeriver function pointer to derive tokens.
Remove rpc*, connPool, node and region from vaultclient.
2016-08-29 20:32:05 -04:00
Alex Dadgar 14b7126511 Secret dir, hello world 2016-08-29 15:41:52 -07:00
Diptanu Choudhury 1269900973 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 bfee7b30a3 Introducing shared resources in alloc 2016-08-29 13:49:25 -07:00
vishalnayak f35bb409b6 Use Job.LookupTaskGroup 2016-08-29 16:34:39 -04:00
Alex Dadgar 0e36e5dfe8 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 160ba48eb4 Address review feedback 2016-08-29 12:47:33 -04:00
Mathias Lafeldt 074ff512b2
Make node-status -short work without node stats 2016-08-29 17:45:37 +02:00
Mathias Lafeldt 51dfbf9dbf
Make alloc-status -short work without allocation stats 2016-08-29 17:45:23 +02:00
Alex Dadgar aaca0bdaf4 Make maxSize exported so that it is serialized 2016-08-28 17:48:35 -07:00
Alex Dadgar 48696ba0cc 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 4b16f22ece Merge pull request #1658 from groovemonkey/web-copy-fixes
Web copy fixes
2016-08-27 12:28:27 -07:00
Dave Cohen b2a9f9db07 one last tiny pedantic fix, I swear. 2016-08-27 09:04:01 -04:00
Dave Cohen e5c39e53da more tiny doc fixes 2016-08-27 08:56:39 -04:00
Ivo Verberk 04e1280d01 Merge pull request #1657 from groovemonkey/patch-1
small spelling correction
2016-08-27 14:23:28 +02:00
Dave Cohen 7c31740e6d small spelling correction 2016-08-27 08:18:02 -04:00
Diptanu Choudhury 3dec7cd2c9 Added LocalDisk to diff 2016-08-26 20:38:50 -07:00
Diptanu Choudhury 13497913f9 Ensuring resources are re-calculated properly in fsm 2016-08-26 20:13:11 -07:00
Diptanu Choudhury e79cb67391 Changing implementation of AllocsFit 2016-08-26 17:28:29 -05:00
Alex Dadgar 6548851c7c update architecture copy 2016-08-26 13:57:43 -07:00
Diptanu Choudhury 2f681b6415 Added copy method to LocalDisk 2016-08-26 14:24:47 -05:00