Commit Graph

2414 Commits

Author SHA1 Message Date
Alex Dadgar
892c7ddee3 Fix bug, add tests, and cli output 2016-01-04 14:23:06 -08:00
Alex Dadgar
251bcf106f Store the available nodes in the alloc metric 2016-01-04 12:07:33 -08:00
Alex Dadgar
9acc586db3 Changelog 2016-01-04 11:45:47 -08:00
Alex Dadgar
7cc5714dc9 Merge pull request #624 from hashicorp/f-adjustable-timeout
User specifiable kill timeout and operator configurable max
2016-01-04 11:44:22 -08:00
Alex Dadgar
62e6e88da4 Validate that the kill timeout is positive 2016-01-04 11:41:31 -08:00
Alex Dadgar
d285df8275 Add to nomad init 2016-01-04 11:36:57 -08:00
Alex Dadgar
428806a5f1 Merge pull request #633 from achanda/opts_change
Update the insecure flag
2015-12-28 13:35:36 -08:00
Alex Dadgar
9b2fe44b1d changelog 2015-12-28 13:31:28 -08:00
Alex Dadgar
310789eafa Merge pull request #618 from hashicorp/f-node-class-constraint
Add node class to constraints
2015-12-28 13:27:38 -08:00
Diptanu Choudhury
b19439cec8 Merge pull request #637 from kennethzfeng/master
linux/exec: add /usr/share to ChrootEnv
2015-12-28 13:08:11 -08:00
Kenneth Feng
b03d94da1e linux/exec: add /usr/share to ChrootEnv 2015-12-28 13:39:34 -05:00
Abhishek Chanda
62d879d317 Update the insecure flag
The current call has been deprecated in
https://github.com/coreos/rkt/pull/1738
2015-12-25 15:59:54 +00:00
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
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