Commit Graph

3163 Commits

Author SHA1 Message Date
Alex Dadgar
9d9f94cd7e Test ebug log 2015-12-23 19:44:42 -08:00
Alex Dadgar
690456d2d2 changelog 2015-12-23 19:11:24 -08:00
Alex Dadgar
9643b0422f Merge pull request #540 from hashicorp/f-periodic
Periodic dispatcher
2015-12-23 19:09:47 -08:00
Alex Dadgar
999bdc8a8e Only add periodic job insertion time once 2015-12-23 19:02:31 -08:00
Alex Dadgar
bb012d1b4d Simplify periodic nextLaunch, dispatch and run 2015-12-23 18:54:51 -08:00
Alex Dadgar
bbae488b70 Use desired launch time in periodic launch table 2015-12-23 18:26:39 -08:00
Alex Dadgar
0186d55773 Fix error message 2015-12-23 18:26:39 -08:00
Alex Dadgar
7ba9b8f5fd Always remove periodic jobs in fsm 2015-12-23 18:26:39 -08:00
Alex Dadgar
9e6457eba4 Remove parent index 2015-12-23 18:26:39 -08:00
Alex Dadgar
57c223d14e fix vet 2015-12-23 18:26:39 -08:00
Alex Dadgar
1ef98a6cc8 use conditional index 2015-12-23 18:26:39 -08:00
Alex Dadgar
8c7cdf3d37 Fix deadlock and test 2015-12-23 18:26:39 -08:00
Alex Dadgar
33cb3e13d1 Make nomad status id aware of periodic jobs 2015-12-23 18:26:39 -08:00
Alex Dadgar
60cffa816b Unix timestamps not UnixNano 2015-12-23 18:26:39 -08:00
Alex Dadgar
9d6c2e2412 Always add jobs to periodic tracker 2015-12-23 18:26:39 -08:00
Alex Dadgar
7f2ffe4c9f Remove the periodicRunner interface and pass the server as an interface to the periodicDispatcher 2015-12-23 18:26:39 -08:00
Alex Dadgar
180fbaee78 Simplify run function and add nextLaunch test 2015-12-23 18:26:39 -08:00
Alex Dadgar
8d16e3763c Improve restorePeriodicDispatcher documentation (and bug fix) 2015-12-23 18:26:39 -08:00
Alex Dadgar
c329dc19dc Fix test 2015-12-23 18:26:39 -08:00
Alex Dadgar
eb1126be23 fixes from review 2015-12-23 18:26:39 -08:00
Alex Dadgar
f7a01f39a6 Remove incorrect comment 2015-12-23 18:26:39 -08:00
Alex Dadgar
e4d60c65c2 Fix nomad run 2015-12-23 18:26:39 -08:00
Alex Dadgar
6d4d61b656 Race condition fixed 2015-12-23 18:26:39 -08:00
Alex Dadgar
af66ac621a Update deregister test 2015-12-23 18:26:39 -08:00
Alex Dadgar
387853b99e Snapshot and restore 2015-12-23 18:26:39 -08:00
Alex Dadgar
fec5bae902 move created evals to the test package 2015-12-23 18:26:39 -08:00
Alex Dadgar
fc91fa6750 merge 2015-12-23 18:26:39 -08:00
Alex Dadgar
c8f2d0c990 Small fixes and test fixes 2015-12-23 18:26:39 -08:00
Alex Dadgar
ac3d833942 Leader election restore, add structs to api jobs 2015-12-23 18:26:39 -08:00
Alex Dadgar
2c0d30fbbd Add periodic index to job table 2015-12-23 18:26:39 -08:00
Alex Dadgar
a8ee688ba6 merge 2015-12-23 18:26:39 -08:00
Alex Dadgar
7f7aad575d FSM integration 2015-12-23 18:26:39 -08:00
Alex Dadgar
1957d72693 Job endpoint handles periodic jobs 2015-12-23 18:26:39 -08:00
Alex Dadgar
9f44780f89 User specifiable kill timeout and operator configurable max 2015-12-22 16:10:30 -08:00
Ivo Verberk
e89b5af338 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
326bc4d4a0 Merge pull request #620 from achanda/consolidate
Consolidate if else conditions
2015-12-22 11:27:54 -08:00
Alex Dadgar
e0cf0a0928 Changelog 2015-12-22 11:16:15 -08:00
Alex Dadgar
636b17ba9e 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
051ead2b80 Enforce absolute paths for alloc/state/data directories 2015-12-22 11:14:41 -08:00
Alex Dadgar
72fb88b001 Update rkt docs 2015-12-22 10:37:45 -08:00
Alex Dadgar
916a9abe9d Merge pull request #621 from achanda/rkt_docs
Update some rkt docs
2015-12-22 10:36:37 -08:00
Abhishek Chanda
83f4f6845c Update some rkt docs 2015-12-23 00:05:25 +05:30
Abhishek Chanda
b9a8aa2250 Consolidate if else conditions 2015-12-22 18:23:29 +00:00
Alex Dadgar
72f7e640da Changelog and version 2015-12-22 10:20:07 -08:00
Alex Dadgar
e7570976b2 Rkt comment and variable name update 2015-12-22 10:11:22 -08:00
Alex Dadgar
8ad5fd2324 Merge pull request #610 from achanda/isolators
Add support for CPU and memory isolators
2015-12-22 10:09:12 -08:00
Alex Dadgar
50e2fbda25 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
1af7c579f9 Revert "On cli node status list print the short Node ID when possible"
This reverts commit 5d3bd1b6f0.
2015-12-22 10:18:58 +01:00
Ivo Verberk
2a809b9d1e Bring up-to-date with master 2015-12-22 10:15:53 +01:00
Abhishek Chanda
13aac9e8af Handle non 200 codes while getting env metadata 2015-12-22 05:23:32 +00:00