Commit Graph

559 Commits

Author SHA1 Message Date
Alex Dadgar
9b11f269e3 Add command line flag for create-from-role 2017-01-27 14:11:34 -08:00
Alex Dadgar
0be1b321f5 Merge pull request #2235 from hashicorp/f-http-logs
Logs via a browser
2017-01-23 16:59:37 -08:00
Alex Dadgar
6082b4619e Review feedback 2017-01-23 16:58:53 -08:00
Alex Dadgar
d276b3fcc1 docs 2017-01-23 16:08:26 -08:00
Alex Dadgar
1960070a24 test 2017-01-23 16:04:50 -08:00
Alex Dadgar
28e0718d83 disallow follow 2017-01-23 15:12:09 -08:00
Alex Dadgar
7bd018eec1 Merge pull request #2226 from hashicorp/b-vault
Improve Vault integration and validation
2017-01-23 14:59:41 -08:00
Michael Schurter
d1c45dfc9c Fix tests 2017-01-20 17:04:52 -08:00
Michael Schurter
1a845561dd Rename Constructor -> Parameterized Job 2017-01-20 12:43:10 -08:00
Alex Dadgar
5fb01bf152 Check capabilities, allow creation against role
Check the capabilities of the Vault token to ensure it is valid and also
allow targetting of a role that the token is not from.
2017-01-19 13:40:32 -08:00
Diptanu Choudhury
49e6735227 Merge pull request #2159 from hashicorp/b-consul-config
Fixed merging consul config
2017-01-18 16:14:54 -08:00
Diptanu Choudhury
6d669fb48e Moved functions to helper from structs 2017-01-18 15:55:14 -08:00
Alex Dadgar
ac4be1f7aa plain w 2017-01-13 13:12:36 -08:00
Diptanu Choudhury
84137b02c5 Filter executor log messages 2017-01-12 11:54:19 -08:00
Michael Schurter
6235122b55 Fix tests post rebase 2017-01-06 11:39:13 -08:00
Alex Dadgar
248c069652 Merge pull request #2128 from hashicorp/f-dispatch
Nomad Constructor Jobs and Dispatch
2017-01-06 05:22:49 +08:00
Jorge Marey
a39cebb744 Add option to set nodename instead of hostname on telemetry values 2016-12-21 09:53:29 +01:00
Diptanu Choudhury
e42ce28ae7 Added two tests 2016-12-20 14:27:38 -08:00
Diptanu Choudhury
dabb8de14e Merge pull request #2081 from hashicorp/f-gc
Garbage collector for allocations
2016-12-20 11:19:32 -08:00
Diptanu Choudhury
7ebe4a6972 Added comments 2016-12-20 10:49:48 -08:00
Diptanu Choudhury
26e766e81a Merge pull request #2032 from hashicorp/b-allocs
Making the status command return the allocs of currently registered job
2016-12-19 18:10:27 -08:00
Alex Dadgar
6f2e7527d7 Fix test 2016-12-18 16:54:12 -08:00
Alex Dadgar
c2cb2cc11f Fix test and prevent job with payload from being submitted 2016-12-18 16:32:14 -08:00
Diptanu Choudhury
615fbbe17a Added a garbage collector for allocations 2016-12-14 15:01:12 -08:00
Alex Dadgar
e495eecece Rename structs 2016-12-14 14:28:43 -08:00
Alex Dadgar
a6933ed9aa comment 2016-12-09 17:51:50 -08:00
Alex Dadgar
23dee058c7 fix high cpu usage + faster encoding 2016-12-09 17:33:10 -08:00
Alex Dadgar
723f8f0343 Benchmark 2016-12-09 14:44:50 -08:00
Alex Dadgar
2b50359edf Fix FD leak 2016-12-09 10:49:39 -08:00
Michael Schurter
cd3dab959e Merge pull request #2009 from hashicorp/f-use-embedded-consul
Add a chaos test for consul syncer and fix some races it found
2016-12-05 10:55:47 -08:00
Michael Schurter
19fd195f79 Add SyncNow test 2016-12-02 16:44:18 -08:00
Michael Schurter
ec4a0d2a22 Don't require serf advertise address for clients 2016-12-02 11:07:00 -08:00
Alex Dadgar
9dc2f63240 agent tests 2016-12-01 16:27:22 -08:00
Alex Dadgar
d978c008d3 Decompress 2016-11-28 16:05:56 -08:00
Alex Dadgar
2048fb20c0 Merge pull request #2007 from hashicorp/b-stream-framer-panic
Fixes race on StreamFramer Destroy
2016-11-28 12:57:28 -08:00
Michael Schurter
4eb30022b2 Use net.JoinHostPort instead of fmt.Sprintf
Using fmt.Sprintf breaks IPv6 addresses.
2016-11-28 10:38:54 -08:00
Alex Dadgar
14de95f97f dispatch beginning 2016-11-25 18:04:55 -08:00
Diptanu Choudhury
5eb4e8adb3 Making the status command return the allocs of currently registered job 2016-11-24 16:31:30 +01:00
Michael Schurter
5202944edb Remove lie from comment 2016-11-18 11:05:22 -08:00
Michael Schurter
ec4ce3bbe2 Fix incorrect lock usage around consul maps 2016-11-18 10:12:02 -08:00
Michael Schurter
f0c58d5fcb Fix SyncNow 2016-11-18 10:12:02 -08:00
Michael Schurter
eda45a65d1 New chaos test to exercise consul syncer 2016-11-18 10:12:02 -08:00
Alex Dadgar
81e2d53e2d Fixes race on StreamFramer Destroy
This PR:
* Fixes a race in which StreamFramer could panic while closing.
* Simplifies the logic of the StreamFramer
* Removes a potentially leaked goroutine
2016-11-17 20:14:47 -08:00
Alex Dadgar
0f1e5cbea2 Merge pull request #1996 from hashicorp/t-failing-tests
Fix some failing tests
2016-11-15 16:27:19 -08:00
Alex Dadgar
756738d9f1 Fix TestRktDriver_PortsMapping and TestAgent_LoadKeyrings 2016-11-15 15:49:05 -08:00
Alex Dadgar
1d7588a1fc Fix TestRetryJoin 2016-11-15 15:28:21 -08:00
Alex Dadgar
5d4e0f18bc Updated AWS speeds and network_speed now overrides
This PR:

* Makes AWS network speeds more granular
* Makes `network_speed` an override and not a default
* Adds a default of 1000 MBits if no network link speed is detected.

Fixes #1985
2016-11-15 13:55:51 -08:00
Michael Schurter
240318741a Switch syncer tests to use embedded consul 2016-11-15 10:22:25 -08:00
Alex Dadgar
96cbf337c1 Move parsing of vault token above validation such that it works in dev mode 2016-11-10 11:47:43 -08:00
Michael Schurter
fa67fb6a71 Merge pull request #1955 from hashicorp/b-fix-default-advertise
Choose safer default advertise address
2016-11-09 16:03:17 -08:00