Commit Graph

13076 Commits

Author SHA1 Message Date
Alex Dadgar
77ad27de60 assign devices 2018-11-07 10:32:03 -08:00
Alex Dadgar
c153282be9 Add devices to allocated resources 2018-11-07 10:32:03 -08:00
Michael Lange
7af84f347a Merge pull request #4801 from hashicorp/b-ui-proper-task-group-breadcrumb
UI: Proper task group breadcrumb on the allocation pages
2018-11-06 16:41:46 -08:00
Michael Lange
31e21aed2a Merge pull request #4837 from hashicorp/b-ui-d3-race-condition
UI: Guard against the line chart element already being destroyed
2018-11-06 16:28:45 -08:00
Mahmood Ali
e869d1f37b Merge pull request #4825 from hashicorp/f-driver-plugin-java
Implement java driver plugin
2018-11-06 15:07:29 -08:00
Mahmood Ali
62d24ce9ef reconcile java with latest patterns 2018-11-06 12:49:29 -08:00
Mahmood Ali
12149c3804 driver/java: support non-linux targets
Java driver supports non-linux targets, so LinuxResources fields isn't
guaranteed to be not-nil.
2018-11-06 12:41:39 -08:00
Mahmood Ali
dc0d244dd8 Reconcile with latest master patterns 2018-11-06 12:41:39 -08:00
Mahmood Ali
efe9a60556 register the java plugin 2018-11-06 12:41:39 -08:00
Mahmood Ali
0022496e5b add java driver tests 2018-11-06 12:41:39 -08:00
Mahmood Ali
f7d83d7e80 Implement java driver 2018-11-06 12:41:39 -08:00
Preetha Appan
05aacc86e3 Fix failing resource subtraction test 2018-11-06 12:26:26 -06:00
Michael Schurter
8122c76cd6 Merge pull request #4828 from hashicorp/b-restore
Implement client agent restarting
2018-11-05 18:50:15 -06:00
Michael Schurter
e58a91b701 client: update alloc status when terminating
Defensively update alloc status whenever killing all tasks.
2018-11-05 15:11:10 -08:00
Michael Schurter
a22205cd8f client: block on context as well as waitCh
For lifecycle operations such as Restart and Kill, the client should not
expect driver plugins to be well behaved and close their waitCh on
context cancelation. Always wait on the passed in context as well as the
waitCh.
2018-11-05 12:32:05 -08:00
Michael Schurter
740ca8e6ca client: fix tr lifecycle logic and shutdown delay
ShutdownDelay must be honored whenever the task is killed or restarted.
Services were not being deregistered prior to restarting.
2018-11-05 12:32:05 -08:00
Michael Schurter
d2e48e35c0 tests: get consul integration tests building 2018-11-05 12:32:05 -08:00
Michael Schurter
d5c8e5bd26 client: fix ar and tr tests 2018-11-05 12:32:05 -08:00
Michael Schurter
9b82025608 client: do not run terminal allocs 2018-11-05 12:32:05 -08:00
Michael Schurter
fdbe446ea6 client: first pass at implementing task restoring
Task restoring works but dead tasks may be restarted
2018-11-05 12:32:05 -08:00
Michael Lange
5aef27ccd8 Guard against the element already being destroyed
Since DOM code is in a run.next, it's possible that between the DOM
code being queued and running the element is destroyed. So the DOM
code needs to guard against this using the isDestroyed API.
2018-11-02 17:08:02 -07:00
Preetha
ee813524a9 Merge pull request #4836 from hashicorp/b-preemption-testfix
update preemption tests to use new node resource structs
2018-11-02 18:12:49 -05:00
Preetha Appan
1b787a15bf add comment 2018-11-02 18:11:36 -05:00
Preetha Appan
ea5d8cb625 update preemption tests to use new node resource structs
also includes a fix to remove unnecessary subtraction of network mbits
2018-11-02 17:59:53 -05:00
Preetha
6aa0c7ffa9 Merge pull request #4794 from hashicorp/f-preemption-systemjobs
Preemption for system jobs
2018-11-02 16:28:06 -05:00
Preetha Appan
97cf4e1d7a Address more minor code review feedback 2018-11-02 16:26:34 -05:00
Preetha Appan
c49a3e20c5 Fix test setup 2018-11-02 16:06:25 -05:00
Preetha Appan
1380acbf56 dereference safely 2018-11-02 15:58:59 -05:00
Preetha Appan
8235919158 Fix static port preemption to be device aware 2018-11-02 13:07:24 -05:00
Alex Dadgar
002f46f423 Merge pull request #4835 from thehunt33r/Fix-Reschedule-Doc
Fixing mistake in reschedule doc
2018-11-02 10:15:52 -07:00
Matthieu Antoine
f40c7e8d49 Change 1hr to 1h on reschedule doc as 1hr is not supported by nomad 2018-11-02 15:32:43 +01:00
Mahmood Ali
11a64f1332 Merge pull request #4826 from hashicorp/b-driver-exec-tweaks-20181031
Register exec driver plugin among some fixes
2018-11-02 10:11:05 -04:00
Preetha Appan
0015095b57 Handle static port preemption when there are multiple devices
Also added test case
2018-11-02 09:09:50 -05:00
Mahmood Ali
6b79e5bd12 add plugin config 2018-11-02 08:51:23 -04:00
Preetha Appan
b3738a0c22 unit test plan apply with preemptions 2018-11-01 20:06:32 -05:00
Michael Schurter
ae833a53c5 Merge pull request #4821 from hashicorp/r-drivers
Fix driver naming, fingerprint output, races/tests
2018-11-01 17:55:32 -05:00
Michael Schurter
ce604b8b86 rkt: standardize names/code 2018-11-01 15:53:07 -07:00
Michael Schurter
4d707b5e8c rawexec: standardize names/code 2018-11-01 15:53:07 -07:00
Michael Schurter
84c8dbe5c9 qemu: standardize names/code 2018-11-01 15:53:07 -07:00
Preetha Appan
35d31f8be6 more minor review feedback 2018-11-01 17:05:17 -05:00
Michael Lange
67b60eef36 Merge pull request #4829 from hashicorp/f-ui-build-perf
UI: build time performance improvements
2018-11-01 15:04:30 -07:00
Preetha Appan
06ad182026 Plumb alloc resource cache in a few more places.
also removed now unused method
2018-11-01 16:44:43 -05:00
Michael Lange
68ef166064 Remove unused bourbon dependency 2018-11-01 14:37:39 -07:00
Preetha Appan
3ad7b3fb5b More review comments 2018-11-01 16:36:11 -05:00
Michael Lange
6021f72dac Speed up builds by cutting corners given config and env 2018-11-01 14:19:22 -07:00
Preetha Appan
993b6a272a Cleaner way to exit early, and fixed a couple more places reading from alloc.Resources 2018-11-01 16:15:58 -05:00
Michael Lange
58230b3b40 Merge pull request #4822 from hashicorp/b-ui-reset-page-param
UI: Reset page query param on search
2018-11-01 13:20:02 -07:00
Preetha Appan
22d156f5a0 review comments 2018-11-01 12:01:59 -05:00
Michael Lange
4e36c52935 Test coverage for breadcrumb qp change 2018-10-31 13:27:35 -07:00
Michael Lange
daf4493228 Provide the namespace query param to the task group link 2018-10-31 12:50:39 -07:00