Commit Graph

2722 Commits

Author SHA1 Message Date
Alex Dadgar
03aca9887b Client handles updates to KillTimeout and Restart Policy 2016-02-03 19:43:44 -08:00
Alex Dadgar
5d297a446f Move restart tracker creation into task runner 2016-02-03 16:16:48 -08:00
Alex Dadgar
d395361858 changelog 2016-02-02 17:56:12 -08:00
Alex Dadgar
9717d67cae Merge pull request #746 from hashicorp/b-replacing-complete-batch-allocs
Only replace batch allocations that have failed
2016-02-02 17:54:46 -08:00
Alex Dadgar
8bf58d5292 Only replace batch allocations that have failed 2016-02-02 17:40:32 -08:00
Alex Dadgar
2f4bb314c6 Merge pull request #744 from hashicorp/f-on-restart
Restart on-success shouldn't be user specifiable
2016-02-02 17:40:05 -08:00
Alex Dadgar
2b43ddfa7e Fix test 2016-02-02 17:39:01 -08:00
Alex Dadgar
de6e1e791e Another test fix 2016-02-02 17:35:06 -08:00
Alex Dadgar
d04fc2647c Fix test 2016-02-02 17:35:06 -08:00
Alex Dadgar
a2132950a5 Restart on-success shouldn't be user specifiable 2016-02-02 17:35:06 -08:00
Alex Dadgar
6281ff5ad9 Merge branch 'master' of https://github.com/hashicorp/nomad 2016-02-02 16:13:34 -08:00
Alex Dadgar
cd964dbdfb Zero IOPS by default 2016-02-02 16:13:25 -08:00
Alex Dadgar
7400bc0c23 Merge pull request #745 from hashicorp/b-rkt-version-regex
Update Rkt regex to determine version
2016-02-02 15:55:50 -08:00
Alex Dadgar
5d7aceae8c Merge pull request #742 from hashicorp/b-restart-attempts
Restart policy handling / validation adjustments
2016-02-02 15:47:07 -08:00
Alex Dadgar
acafd894da update the regex 2016-02-02 15:39:45 -08:00
Ryan Uber
2c5d4bdd17 structs: more restart policy validation 2016-02-02 14:32:30 -08:00
Ryan Uber
d924de9bd0 client: obey restart policy when attempts == 0 2016-02-02 14:17:39 -08:00
Alex Dadgar
75a2934ddc changelog 2016-02-02 14:13:10 -08:00
Alex Dadgar
a7cdc6a63b Merge pull request #739 from hashicorp/f-min-resources
Default/Validate resources.
2016-02-02 14:11:45 -08:00
Alex Dadgar
7ea6619928 Tests 2016-02-02 13:50:30 -08:00
Alex Dadgar
95e6a62170 Fix test 2016-02-02 13:27:50 -08:00
Alex Dadgar
0d1b5f8d8e Network check 2016-02-02 13:27:50 -08:00
Alex Dadgar
1151133271 Validate min resources and default them 2016-02-02 13:27:50 -08:00
Alex Dadgar
f3e798fc45 Changelog 2016-02-02 13:27:40 -08:00
Alex Dadgar
04f48c5bc5 Merge pull request #731 from hashicorp/f-reduce-client-alloc-pulls
Client only pulls update allocations from server
2016-02-02 13:26:36 -08:00
Alex Dadgar
019883c5b1 Clean interaction between alloc-runner and task-runner 2016-02-02 11:09:29 -08:00
Alex Dadgar
679a57c704 Comment on AllocModifyIndex 2016-02-01 18:15:12 -08:00
Alex Dadgar
c0ab75a7f9 Don't share task state with the alloc in the task runner 2016-02-01 17:47:53 -08:00
Diptanu Choudhury
9e7e214fac Updated the time stamp style 2016-02-01 17:41:47 -08:00
Alex Dadgar
c4a6218dc5 changelog style 2016-02-01 15:53:06 -08:00
Alex Dadgar
ffa1f4f417 Merge pull request #726 from hashicorp/f-blocked-evals
Job queue with the introduction of blocked evaluations
2016-02-01 15:44:47 -08:00
Alex Dadgar
3b90539fe9 Fix locks and use task runners state not alloc state 2016-02-01 15:43:59 -08:00
Alex Dadgar
410ae593e7 Fix double pull with introduction of AllocModifyIndex 2016-02-01 15:43:59 -08:00
Alex Dadgar
65b8b5295c Remove running, system scheduler, and fix tg overriding eligibility 2016-01-31 20:56:52 -08:00
Alex Dadgar
3d8e7d0050 Address comments 2016-01-31 18:46:45 -08:00
Alex Dadgar
cc2ee4fbd8 Disable blocked eval tracker when leadership is lost 2016-01-31 18:04:45 -08:00
Alex Dadgar
a987dece12 Leader reaps and cancels duplicate evals 2016-01-31 18:04:45 -08:00
Alex Dadgar
5956bee6d0 dedup blocked evals by job id 2016-01-31 18:04:45 -08:00
Alex Dadgar
e9c9361341 Buffered unblock 2016-01-31 18:04:45 -08:00
Alex Dadgar
1797f0e67a Make computed node class a string and add versioning 2016-01-31 18:04:45 -08:00
Alex Dadgar
6b641764f2 Rename counters 2016-01-31 18:04:45 -08:00
Alex Dadgar
253fa75b0c Blocked Eval tracker 2016-01-31 18:04:45 -08:00
Alex Dadgar
672f877d8c Schedulers create blocked eval if there are failed allocations 2016-01-31 18:04:45 -08:00
Alex Dadgar
1328bb5203 Merge pull request #729 from PagerDuty/fix_allocdir_perms
allow group and others to have executable permissions on allocdir
2016-01-31 14:34:24 -08:00
Alex Dadgar
8e23ab115a Merge pull request #730 from PagerDuty/typo_fs
fix typo in fs-* command usage text
2016-01-31 14:33:21 -08:00
Ranjib Dey
8b88902e9f fix typo in fs-* command usage text 2016-01-31 11:11:06 -08:00
Ranjib Dey
8e546010e7 allow group and others to have executable permissions 2016-01-31 10:54:32 -08:00
Alex Dadgar
449c52565b Small doc rewording 2016-01-30 16:40:46 -08:00
Alex Dadgar
872eae28a9 Merge pull request #722 from iverberk/f-double-alloc-update
Add new RPC call to fetch a lightweight list of allocation information.
2016-01-30 16:39:09 -08:00
Alex Dadgar
59d02656c5 remove whitelist from demo 2016-01-29 16:42:09 -08:00