Commit graph

2456 commits

Author SHA1 Message Date
Alex Dadgar bf2aa9f733 Always remove periodic jobs in fsm 2015-12-23 18:26:39 -08:00
Alex Dadgar 68506c7163 Remove parent index 2015-12-23 18:26:39 -08:00
Alex Dadgar e6f9a5bbb3 fix vet 2015-12-23 18:26:39 -08:00
Alex Dadgar d073285982 use conditional index 2015-12-23 18:26:39 -08:00
Alex Dadgar e3231171b8 Fix deadlock and test 2015-12-23 18:26:39 -08:00
Alex Dadgar 8b76a0718c Make nomad status id aware of periodic jobs 2015-12-23 18:26:39 -08:00
Alex Dadgar 6bc0737970 Unix timestamps not UnixNano 2015-12-23 18:26:39 -08:00
Alex Dadgar 3a400432dc Always add jobs to periodic tracker 2015-12-23 18:26:39 -08:00
Alex Dadgar b3e87b6719 Remove the periodicRunner interface and pass the server as an interface to the periodicDispatcher 2015-12-23 18:26:39 -08:00
Alex Dadgar a60783a4ca Simplify run function and add nextLaunch test 2015-12-23 18:26:39 -08:00
Alex Dadgar 8165c1fc22 Improve restorePeriodicDispatcher documentation (and bug fix) 2015-12-23 18:26:39 -08:00
Alex Dadgar b5d59c8d89 Fix test 2015-12-23 18:26:39 -08:00
Alex Dadgar 49dd0dc461 fixes from review 2015-12-23 18:26:39 -08:00
Alex Dadgar 0a8c49f36b Remove incorrect comment 2015-12-23 18:26:39 -08:00
Alex Dadgar bd4eda0b05 Fix nomad run 2015-12-23 18:26:39 -08:00
Alex Dadgar 642219ba5d Race condition fixed 2015-12-23 18:26:39 -08:00
Alex Dadgar 7586a84dbe Update deregister test 2015-12-23 18:26:39 -08:00
Alex Dadgar 37c1f56921 Snapshot and restore 2015-12-23 18:26:39 -08:00
Alex Dadgar ca65daf4c0 move created evals to the test package 2015-12-23 18:26:39 -08:00
Alex Dadgar ea799b88cb merge 2015-12-23 18:26:39 -08:00
Alex Dadgar 610cfe4b34 Small fixes and test fixes 2015-12-23 18:26:39 -08:00
Alex Dadgar f6769c3d96 Leader election restore, add structs to api jobs 2015-12-23 18:26:39 -08:00
Alex Dadgar 9a7b363b94 Add periodic index to job table 2015-12-23 18:26:39 -08:00
Alex Dadgar 670cc50a02 merge 2015-12-23 18:26:39 -08:00
Alex Dadgar a892d61ae7 FSM integration 2015-12-23 18:26:39 -08:00
Alex Dadgar 8c484875ce Job endpoint handles periodic jobs 2015-12-23 18:26:39 -08:00
Alex Dadgar ddf392c6be User specifiable kill timeout and operator configurable max 2015-12-22 16:10:30 -08:00
Ivo Verberk 7838b2a57c Refactoring
* Reverted changes to get methods
* Added prefix query parameter
* Updated node status to use prefix based searching
* Fixed tests
* Removed truncation logic
2015-12-22 23:44:33 +01:00
Alex Dadgar 144fc539bb Merge pull request #620 from achanda/consolidate
Consolidate if else conditions
2015-12-22 11:27:54 -08:00
Alex Dadgar 6eab43fb07 Changelog 2015-12-22 11:16:15 -08:00
Alex Dadgar cfd08f6948 Merge pull request #622 from hashicorp/f-enforce-abs-path
Enforce absolute paths for alloc/state/data directories
2015-12-22 11:15:22 -08:00
Alex Dadgar 2d16cb86ce Enforce absolute paths for alloc/state/data directories 2015-12-22 11:14:41 -08:00
Alex Dadgar f3dbccdb48 Update rkt docs 2015-12-22 10:37:45 -08:00
Alex Dadgar 155cc68e18 Merge pull request #621 from achanda/rkt_docs
Update some rkt docs
2015-12-22 10:36:37 -08:00
Abhishek Chanda 97b0fb3c49 Update some rkt docs 2015-12-23 00:05:25 +05:30
Abhishek Chanda a347cda6e3 Consolidate if else conditions 2015-12-22 18:23:29 +00:00
Alex Dadgar 305fe77602 Changelog and version 2015-12-22 10:20:07 -08:00
Alex Dadgar 29411d698a Rkt comment and variable name update 2015-12-22 10:11:22 -08:00
Alex Dadgar c1e5f873d8 Merge pull request #610 from achanda/isolators
Add support for CPU and memory isolators
2015-12-22 10:09:12 -08:00
Alex Dadgar a024410a2d Merge pull request #614 from achanda/handle_status
Handle non 200 codes while getting env metadata
2015-12-22 10:05:32 -08:00
Ivo Verberk 47e001d31a Revert "On cli node status list print the short Node ID when possible"
This reverts commit 5d3bd1b6f04bb3c0367798d9bb21729f2cf82247.
2015-12-22 10:18:58 +01:00
Ivo Verberk bf968a04cc Bring up-to-date with master 2015-12-22 10:15:53 +01:00
Abhishek Chanda cd51ee6430 Handle non 200 codes while getting env metadata 2015-12-22 05:23:32 +00:00
Abhishek Chanda 74a5292789 Move constants to the top 2015-12-22 05:15:37 +00:00
Alex Dadgar 5e71751a1d Add node class to constraints 2015-12-21 17:15:34 -08:00
Alex Dadgar 4695f1be97 Merge pull request #617 from hashicorp/f-agent-info-sort
Sort output of agent-info
2015-12-21 15:13:27 -08:00
Alex Dadgar ce1f79e8dd Fix append issue 2015-12-21 15:10:49 -08:00
Alex Dadgar 91bf9e3790 Merge branch 'agent-info-sort' of https://github.com/zytek/nomad into zytek-agent-info-sort 2015-12-21 15:07:13 -08:00
Abhishek Chanda 0918a38221 Do not allow rkt version less than 0.14.0 2015-12-21 17:48:21 +00:00
Chris Bednarski 6c94f1833a Merge pull request #613 from ChrisHines/windows-restart-test
Allow for low precision time.Now on Windows.
2015-12-21 12:19:30 -05:00