Alex Dadgar
68059fa85c
Go-getter options are generic and validation of checksums
2016-03-15 13:28:57 -07:00
Alex Dadgar
277a91336d
Switch from string to artifact struct
2016-03-15 13:28:57 -07:00
Alex Dadgar
315fd954ea
Parse artifacts and options
2016-03-15 13:28:57 -07:00
Sean Chittenden
a16b030e92
Add two tests for invalid service names
2016-03-14 17:54:49 -07:00
Sean Chittenden
935fcc020f
Restrict the service name to match RFC-1123 and RFC-2782
2016-03-14 17:44:59 -07:00
Alex Dadgar
4f0ed036c2
leader: nodes TTLing log promoted from DEBUG to WARN
2016-03-10 13:16:31 -08:00
Alex Dadgar
8ad65876bf
Add allocation index environment variable
2016-03-09 18:09:51 -08:00
Alex Dadgar
330aec45b9
Remove outstanding reset from plan applier
2016-03-04 17:25:37 -08:00
Alex Dadgar
5bcfdeb41d
Fix bug introduced with paused nack timers
2016-03-04 16:17:14 -08:00
Alex Dadgar
74726278b9
core: Pause NackTimeout while in the plan_queue as progress is being made
2016-03-04 12:59:35 -08:00
Alex Dadgar
ad92e50a24
Avoid serializes Allocation.Resources
2016-03-01 14:09:25 -08:00
Alex Dadgar
61972c9ddc
Refactor task runner to include driver starting into restart policy and add recoverable errors
2016-02-28 16:56:05 -08:00
Alex Dadgar
a9d410dbee
Store the job on allocations that are from stopped jobs
2016-02-24 14:50:59 -08:00
Armon Dadgar
6a883e1389
nomad: do not skip node plan if we receive an evaluation result
2016-02-22 22:32:02 -08:00
Alex Dadgar
88ddfbed31
Revert "Debug messages around the plan and plan response"
...
This reverts commit 7646657e6b8a892210779eaf5708341b94b29b24.
2016-02-22 22:24:52 -08:00
Alex Dadgar
64cabb5a97
Revert "Debug log in plan apply"
...
This reverts commit 532df0d27e02e0cb30b6e3a28b9c4b5778bd71b3.
2016-02-22 22:24:27 -08:00
Alex Dadgar
fa8e2d31ee
Revert "err logs in worker and scheduler"
...
This reverts commit 7befc586521b70eb84013bff367310e4cfa45c27.
2016-02-22 22:23:57 -08:00
Alex Dadgar
c2242552a1
Debug messages around the plan and plan response
2016-02-22 20:36:11 -08:00
Alex Dadgar
b72b3ce190
Debug log in plan apply
2016-02-22 16:12:16 -08:00
Alex Dadgar
f48eabe753
err logs in worker and scheduler
2016-02-22 14:47:59 -08:00
Alex Dadgar
0b65fb410a
add debug error if there is a partial apply and refresh index isn't set
2016-02-22 13:03:40 -08:00
Armon Dadgar
fd5d7906f4
nomad: cleanup handling of refresh index
2016-02-22 11:43:41 -08:00
Alex Dadgar
5eeb9c5ef6
Merge pull request #834 from hashicorp/f-serverbatch
...
Batch client updates of allocation status
2016-02-21 21:39:06 -08:00
Armon Dadgar
5a9c7f7002
Fixing comment
2016-02-21 21:03:24 -08:00
Armon Dadgar
7fc7cd9453
nomad: batch client updates for 50msec
2016-02-21 18:51:34 -08:00
Armon Dadgar
06425211ab
nomad: alloc update_alloc endpoint to take multiple allocations
2016-02-21 18:00:46 -08:00
Armon Dadgar
6e8d6e61fc
nomad: fixing test name
2016-02-21 18:00:33 -08:00
Armon Dadgar
74fb2d5a65
nomad: fixing tests
2016-02-21 17:59:12 -08:00
Armon Dadgar
0e1f9a3def
nomad: FSM supports multiple client updates
2016-02-21 17:58:56 -08:00
Armon Dadgar
4c4581a07e
nomad/state: Allow UpdateAllocFromClient to take multiple allocs
2016-02-21 17:49:46 -08:00
Armon Dadgar
e4524b173c
Address review feedback
2016-02-21 13:32:45 -08:00
Armon Dadgar
6ddc4fd17b
nomad: normalize job for evictions
2016-02-21 11:51:51 -08:00
Armon Dadgar
0e24df554e
nomad: allow for job normalization
2016-02-21 11:42:54 -08:00
Armon Dadgar
b36d96baf7
nomad: allow sharing a single Job in a plan and alloc update request
2016-02-21 11:31:27 -08:00
Armon Dadgar
0dbd4c46c9
nomad: make PopulateServiceIDs more efficient
2016-02-21 11:15:00 -08:00
Alex Dadgar
2a19e179bc
Switch to using go/codec and use code generation
2016-02-20 18:05:17 -08:00
Armon Dadgar
a08391455a
nomad: simple encode/decode benchmark
2016-02-20 17:43:17 -08:00
Armon Dadgar
623b473ee6
Revert "Lzw compress raft entries"
...
This reverts commit a687ee6df316ffadac5305f4be9cf9a5642cd6af.
The LZW compression reduces the file size by ~60%, but increases
our encode and decode costs by 2x in a CPU bottlenecked path.
2016-02-20 17:36:39 -08:00
Alex Dadgar
d42e0a7dfd
Add force node gc
2016-02-20 16:11:29 -08:00
Alex Dadgar
a3ac4bbc5a
Merge pull request #828 from hashicorp/f-gc-endpoint
...
Job GC endpoint
2016-02-20 16:03:39 -08:00
Alex Dadgar
d14d885805
Merge pull request #826 from hashicorp/f-compress-raft
...
LZW compress raft entries
2016-02-20 16:03:05 -08:00
Alex Dadgar
821b9c13db
Merge pull request #823 from hashicorp/f-bitmap
...
Switch port collision checking to use bitmap instead of map
2016-02-20 16:02:48 -08:00
Armon Dadgar
50135ac402
nomad: guard against a negative pool size
2016-02-20 15:56:08 -08:00
Alex Dadgar
143972b6d9
Job GC endpoint
2016-02-20 15:50:41 -08:00
Armon Dadgar
3746bf7cd3
nomad: use CPU count to determine pool size
2016-02-20 13:42:13 -08:00
Armon Dadgar
1076fb44d9
nomad: Adding Size to EvaluatePool
2016-02-20 13:42:13 -08:00
Armon Dadgar
eb0f00103e
nomad: Allow resize of EvaluatePool
2016-02-20 13:42:13 -08:00
Armon Dadgar
d69b8d055b
nomad: extra comment
2016-02-20 13:41:49 -08:00
Alex Dadgar
6e8a57ba1a
Lzw compress raft entries
2016-02-20 13:21:38 -08:00
Armon Dadgar
813b02c8b4
nomad: plan apply uses the EvaluatePool
2016-02-20 13:12:14 -08:00