Commit Graph

13052 Commits

Author SHA1 Message Date
Michael Lange
1226a079f9 Handle the job 404 case in the job definition route 2018-11-05 15:20:31 -08:00
Michael Lange
1e00702624 Handle the job 404 case in task group routes 2018-11-02 19:25:50 -07: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
Mahmood Ali
17d405d973 Merge pull request #4827 from hashicorp/ch-gh-4819
Update changelog with GH-4819
2018-10-31 15:45:38 -04:00
Mahmood Ali
5a8af30afd Update changelog with GH-4819 2018-10-31 15:41:07 -04:00
Michael Schurter
e949416e12 drivers/mock: standardize names/code 2018-10-31 11:52:51 -07:00
Mahmood Ali
a5e1e4b59e Register exec driver plugin among some fixes
Namely, remove the `enabled` configuration flag, as it's specific to
`raw_exec` driver.  Also, pass resource limits to underlying call.
2018-10-31 13:55:59 -04:00
Mahmood Ali
e7e7302c23 Merge pull request #4819 from hashicorp/b-artifacts-checksum
Allow artifacts checksum interpolation
2018-10-31 12:35:22 -04:00
Michael Schurter
55d79c6022 mock_driver: match other's fingerprint message 2018-10-30 17:38:23 -07:00
Michael Schurter
864d545284 rkt: fix race, register by default, fix fingerprint 2018-10-30 17:37:00 -07:00
Michael Schurter
8f78d1d164 qemu: fix fingerprint description and handle race 2018-10-30 17:34:08 -07:00
Michael Schurter
0d1a8bf7fd rawexec: fix fingerprint results and tests
In tests:
* always cleanup (Kill) the harness
* don't call SetConfig more than once (a race)
* avoid cgroups to allow running without being root
2018-10-30 17:16:22 -07:00
Michael Schurter
7d250fc58c rawexec: fix race around h.procState 2018-10-30 17:15:47 -07:00
Michael Schurter
e7bf482eaa plugins: SetConfig shouldn't panic on nil driver configs 2018-10-30 17:14:27 -07:00
Michael Schurter
fd2fcd7cb6 drivers: only log non-cancellation errors 2018-10-30 17:13:35 -07:00
Michael Lange
b00916ac17 Test coverage for resetPagination 2018-10-30 14:17:23 -07:00
Michael Schurter
9fb39b35c6 drivers: remove stutter from exported driver names
Also fix a comment on the logger that got copy/pasted around.
2018-10-30 14:05:31 -07:00
Preetha
61ff1854c3 Merge pull request #4818 from hashicorp/b-affinities-cli-formatting
Fix formatting of allocation score metrics
2018-10-30 13:32:16 -05:00
Mahmood Ali
abd2451d52 address review comments 2018-10-30 13:58:52 -04:00
Michael Lange
44e33d01f0 Add the resetPagination hook to search boxes across the app 2018-10-30 10:52:54 -07:00
Michael Lange
f7ad2ce8bb Add a resetPagination method to the searchable mixin
Searchable can be used without pagination, but reseting pagination
is more a function of search than pagination insofar as if you
add search to a page, you are also going to want automatic pagination
resetting.
2018-10-30 10:51:31 -07:00
Michael Lange
badb6c42d0 Add onChange hook to the search-box component 2018-10-30 10:50:24 -07:00
Michael Schurter
dd04ca6384 Merge pull request #4816 from hashicorp/b-qemu
qemu: fix build and register by default
2018-10-30 12:49:50 -05:00
Mahmood Ali
e9fa36f9ef Allow artifacts checksum interpolation
Fixes https://github.com/hashicorp/nomad/issues/4814
2018-10-30 13:24:30 -04:00
Preetha Appan
4a35d62887 Fix formatting of allocation score metrics 2018-10-30 12:03:23 -05:00
Preetha Appan
f2b027797b Fix return type in tests after refactor 2018-10-30 11:10:46 -05:00
Preetha Appan
17344a7f3a Introduce interface with multiple implementations for resource distance 2018-10-30 11:06:32 -05:00