Commit Graph

2789 Commits

Author SHA1 Message Date
Alex Dadgar 117bef6515 Fix AllocRunner not capturing destroy signal and tests 2016-02-04 13:09:53 -08:00
Alex Dadgar 133b8e8025 changelog 2016-02-04 10:20:42 -08:00
Alex Dadgar 1a58923c42 Merge pull request #751 from hashicorp/b-client-updates
Client handles updates to KillTimeout and Restart Policy
2016-02-04 10:19:28 -08:00
Alex Dadgar 9c3312f735 CHANGELOG 2016-02-04 10:19:02 -08:00
Alex Dadgar b886916209 Merge pull request #748 from achanda/docker_version
Update docker before testing
2016-02-04 10:17:36 -08:00
Alex Dadgar a36a97b051 Merge pull request #749 from iverberk/f-fingerprint-update-node
Reregister node when periodic fingerprint changes node properties
2016-02-04 10:16:38 -08:00
Ivo Verberk 73ab620f61 Add comments to hasNodeChanged and remove superfluous else block 2016-02-04 08:19:34 +01:00
Alex Dadgar b4774fec68 Merge pull request #753 from hashicorp/b-computed-class
Fix computed class when the job has multiple task groups
2016-02-03 21:24:31 -08:00
Alex Dadgar 25cb7fc03d Fix computed class when the job has multiple task groups 2016-02-03 21:22:18 -08:00
Alex Dadgar 9619f61832 Fix tests 2016-02-03 19:58:39 -08:00
Alex Dadgar 41e1174f72 Client handles updates to KillTimeout and Restart Policy 2016-02-03 19:43:44 -08:00
Alex Dadgar b6f9e9c61c Move restart tracker creation into task runner 2016-02-03 16:16:48 -08:00
Alex Dadgar b737265c12 Merge branch 'master' of https://github.com/hashicorp/nomad 2016-02-03 16:02:05 -08:00
Alex Dadgar 7bb0de2aec changelog 2016-02-03 16:01:58 -08:00
Alex Dadgar 66631383f9 Merge pull request #750 from hashicorp/b-node-drain
Fix node drain not working properly
2016-02-03 16:00:59 -08:00
Alex Dadgar 4e527b26b0 test 2016-02-03 14:15:02 -08:00
Ivo Verberk d5a67aba86 Reregister node when periodic fingerprint changes node properties 2016-02-03 21:10:58 +01:00
Alex Dadgar d930d488b5 Fix node drain 2016-02-03 12:00:43 -08:00
Abhishek Chanda 23f4180f34 Update docker before testing
Lifted from https://github.com/fsouza/go-dockerclient
2016-02-03 00:47:11 -08:00
Alex Dadgar 93c0720eec changelog 2016-02-02 17:56:12 -08:00
Alex Dadgar ac752c7757 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 c7821f13d7 Only replace batch allocations that have failed 2016-02-02 17:40:32 -08:00
Alex Dadgar 7a32ebcae1 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 8aa3853399 Fix test 2016-02-02 17:39:01 -08:00
Alex Dadgar e3587f5f24 Another test fix 2016-02-02 17:35:06 -08:00
Alex Dadgar 9a79521999 Fix test 2016-02-02 17:35:06 -08:00
Alex Dadgar 6f20d3f435 Restart on-success shouldn't be user specifiable 2016-02-02 17:35:06 -08:00
Alex Dadgar db7997d08c Merge branch 'master' of https://github.com/hashicorp/nomad 2016-02-02 16:13:34 -08:00
Alex Dadgar 2b17dcdf78 Zero IOPS by default 2016-02-02 16:13:25 -08:00
Alex Dadgar 931283c5e3 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 30ccc2f46d Merge pull request #742 from hashicorp/b-restart-attempts
Restart policy handling / validation adjustments
2016-02-02 15:47:07 -08:00
Alex Dadgar 2d42cb3e55 update the regex 2016-02-02 15:39:45 -08:00
Ryan Uber 198a1a3cd4 structs: more restart policy validation 2016-02-02 14:32:30 -08:00
Ryan Uber 1c7cdb9577 client: obey restart policy when attempts == 0 2016-02-02 14:17:39 -08:00
Alex Dadgar ab58ca549a changelog 2016-02-02 14:13:10 -08:00
Alex Dadgar 4bb8b60a2f Merge pull request #739 from hashicorp/f-min-resources
Default/Validate resources.
2016-02-02 14:11:45 -08:00
Alex Dadgar 4748bfd869 Tests 2016-02-02 13:50:30 -08:00
Alex Dadgar f83b26029e Fix test 2016-02-02 13:27:50 -08:00
Alex Dadgar 9c9fe2ea2d Network check 2016-02-02 13:27:50 -08:00
Alex Dadgar 5142f1e4c0 Validate min resources and default them 2016-02-02 13:27:50 -08:00
Alex Dadgar f003b2fbf5 Changelog 2016-02-02 13:27:40 -08:00
Alex Dadgar 54aebfd329 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 cf1e152f44 Clean interaction between alloc-runner and task-runner 2016-02-02 11:09:29 -08:00
Alex Dadgar ea00dbd576 Comment on AllocModifyIndex 2016-02-01 18:15:12 -08:00
Alex Dadgar a72d39bd04 Don't share task state with the alloc in the task runner 2016-02-01 17:47:53 -08:00
Diptanu Choudhury a7906020dd Updated the time stamp style 2016-02-01 17:41:47 -08:00
Alex Dadgar ec1bd90af4 changelog style 2016-02-01 15:53:06 -08:00
Alex Dadgar a2806c5505 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 b5260fc14e Fix locks and use task runners state not alloc state 2016-02-01 15:43:59 -08:00
Alex Dadgar 2d98c0eadd Fix double pull with introduction of AllocModifyIndex 2016-02-01 15:43:59 -08:00