Commit Graph

29 Commits

Author SHA1 Message Date
Michael Lange
69c6c34afa Support task restarting in the allocation adapter 2019-05-21 09:24:17 -07:00
Michael Lange
4038434603 Allocation methods for stopping and restarting 2019-05-21 09:24:16 -07:00
Michael Lange
384a0e5a54 Add wasPreempted bool to allocs 2019-04-22 16:40:02 -07:00
Michael Lange
cf1d4a3a1e Data modeling for preemptions 2019-04-22 16:40:00 -07:00
Michael Lange
f6232f1817 ES5 getters codemod 2019-04-10 14:54:36 -07:00
Michael Lange
cf44c5449c Address test failures 2019-04-10 14:54:35 -07:00
Michael Lange
605d7a245f Model isRunning based on the client status of the allocation 2018-12-13 07:53:17 -08:00
Michael Lange
4d5fa15ea7 Remove no longer used allocation-stats class 2018-09-26 10:59:26 -07:00
Michael Lange
81255bee16 Add createTime to the allocation model 2018-08-06 10:53:13 -07:00
Michael Lange
90ea4f0f21 Update all the awkward browserify imports to plain ol' es6 imports 2018-07-06 13:38:57 -07:00
Michael Lange
8f811d5046 Remove hacky code that worked around an Ember Data bug
The bug is fixed in 2.18, so this can be written in the normal
less surprising way.
2018-06-13 15:05:18 -07:00
Michael Lange
1a55f18085 Spread the driver health love throughout job models 2018-05-25 10:15:23 -07:00
Michael Lange
5952cafccb Reschedule events timeline for the alloc detail page 2018-05-04 19:36:54 -07:00
Michael Lange
52c5806819 Add WaitUntil and followUpEvaluation 2018-05-04 19:36:54 -07:00
Michael Lange
8d18997b1c Add follow up eval relationship to allocation 2018-05-04 19:36:54 -07:00
Michael Lange
0344715ece Modeling alloc reschedule events 2018-05-04 19:36:54 -07:00
Michael Lange
286b3d9671 Refactor the way allocation stats are fetched
No longer treat it as a property for relationship, just ephemeral
data that can be fetched on demand.
2018-03-22 14:34:13 -07:00
Michael Lange
39f9914733 Get client stats through the server agent 2018-02-26 12:23:47 -08:00
Michael Lange
2e19c2d877 Use the new ember modules imports
Generated with a codemode:
https://github.com/ember-cli/ember-modules-codemod
2018-01-17 09:02:04 -08:00
Michael Lange
e982951f98 Use ModifyTime instead of ModifyIndex 2017-12-06 10:17:12 -08:00
Michael Lange
d820c72142 Update allocation detail page to look like job and node 2017-11-14 11:05:29 -08:00
Michael Lange
173a0caa3a Handle the undefined TotalTicks case 2017-10-19 17:35:58 -07:00
Michael Lange
20b8e39842 Don't rely on CpuStats.Percent
Just do the math client-side with TotalTicks and Reserved
2017-10-19 10:44:52 -07:00
Michael Lange
30806f9bc5 Add the acl token as a header to client requests 2017-10-18 19:48:17 -07:00
Michael Lange
76bda0fb37 Add job version to allocation tables 2017-10-18 12:29:33 -07:00
Michael Lange
9839061745 Sort allocation by status type, not simply alphanumeric 2017-10-18 11:45:01 -07:00
Michael Lange
93202b2e1b Fix the memory usage math
1. Use RSS, not Cache (shoulda read the source)
2. Convert bytes to megabytes before doing division
2017-10-17 10:17:42 -07:00
Michael Lange
1ddb2b7889 Fixes issue regarding allocation rows
Sometimes the job name and/or task group name wouldn't show up.
2017-10-05 18:01:19 -07:00
Alex Dadgar
ddc2efa4ac sync 2017-09-19 10:08:23 -05:00