Commit Graph

10838 Commits

Author SHA1 Message Date
Chelsea Holland Komlo
8a0ed4e5ff improve tests 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
521fbd4f97 refresh driver information for non-health checking drivers periodically 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
240fee4848 fix up codereview feedback 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
865b7e0ace fix up racy tests 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
fd25db9e1d updating comments; locking concurrent node access 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
70bebd1eed fix up scheduler mocks 2018-03-21 15:15:25 -04:00
Chelsea Holland Komlo
9dfb5c6b46 go style; update comments 2018-03-21 15:15:25 -04:00
Chelsea Holland Komlo
7c34605e26 fix up gofmt 2018-03-21 15:15:25 -04:00
Chelsea Holland Komlo
9ec5a93bc1 fix scheduler driver name; create node structs file 2018-03-21 15:15:25 -04:00
Chelsea Holland Komlo
a340baddf1 allow nomad to schedule based on the status of a client driver health check
Slight updates for go style
2018-03-21 15:15:25 -04:00
Chelsea Holland Komlo
1570972cb3 add concept of health checks to fingerprinters and nodes
fix up feedback from code review

add driver info for all drivers to node
2018-03-21 15:15:25 -04:00
Michael Schurter
92504f7d01 Merge pull request #4019 from jrasell/f_gh_4018
Document new Consul checks name config params and CLI flags.
2018-03-21 12:08:05 -07:00
Preetha
a5999a7a79 Update CHANGELOG.md 2018-03-21 09:21:10 -05:00
Preetha
4ec4d3fefd Merge pull request #3979 from hashicorp/b_update_compat_delete
Delete compatibility code for job level update stanza
2018-03-21 09:17:01 -05:00
James Rasell
dd208fcdb5 Document new Consul checks name config params and CLI flags. 2018-03-21 08:28:07 +01:00
Michael Lange
a9d6a63f7d Merge pull request #4016 from hashicorp/b-ui-job-summary-not-necessary
UI: Bundle o' bug fixes
2018-03-20 17:02:48 -07:00
Michael Schurter
b2fb999e16 Add changelog entry for #4003 2018-03-20 16:44:50 -07:00
Michael Schurter
09511dbf7d Merge pull request #4003 from jrasell/f_gh_3988
Allow Nomads Consul health check names to be configurable.
2018-03-20 16:44:08 -07:00
Michael Lange
80246b4deb Perioidic and Parameterized jobs need to watch /jobs for child updates 2018-03-20 16:41:53 -07:00
Michael Lange
1c0d133f25 Always provide arguments instead of models to job links
This invoked the model hook, which will load the model and
redirect correctly based on permissions
2018-03-20 16:41:19 -07:00
Michael Lange
93471649eb Guard against undefined properties in cancel requests 2018-03-20 16:41:19 -07:00
Michael Lange
a6e2f782b7 Treat job-summary like a typical relationship rather than a custom link
This way ED doesn't eagerly fetch the job summary even when it's already
in the store due to the jobs list endpoint
2018-03-20 16:41:18 -07:00
Michael Lange
8be0c5a999 Job row should denote when a parent job has no children 2018-03-20 16:41:18 -07:00
Michael Lange
b4fe0324cf Alias the right property 2018-03-20 16:41:18 -07:00
Michael Lange
90d1bd26c6 Merge pull request #4012 from hashicorp/b-ui-extraneous-deployment-watcher
UI: Extraneous deployment watcher
2018-03-20 16:39:25 -07:00
Michael Lange
725f6b917b Deployments should only be watched when the job type supports deployments 2018-03-20 16:23:03 -07:00
Michael Lange
fbe20ac2bf Run yarn silently during make ember-dist 2018-03-20 11:31:35 -07:00
Alex Dadgar
5adf8d8af3 Merge pull request #4011 from hashicorp/v-sockaddr
Support wireless interfaces on Windows
2018-03-20 10:42:12 -07:00
Alex Dadgar
ae71ebfeb4 changelog 2018-03-20 10:41:26 -07:00
Alex Dadgar
9154ebe375 vendor gosockaddr 2018-03-20 10:39:39 -07:00
James Rasell
dda9207b06 Update Consul check params from using health-check to check. 2018-03-20 16:03:58 +01:00
Preetha
87865ce99e Merge pull request #4006 from hashicorp/b-alloc-status-cli-hide-unlimited-attempts
Hide the number of reschedule attempts for unlimited rescheduling
2018-03-19 18:25:20 -05:00
Preetha
61d8ce18bf Merge pull request #4004 from hashicorp/b-rescheduling-fixes
Make suggested interval round to seconds
2018-03-19 18:11:40 -05:00
Preetha Appan
f4f178b46c Fix linting 2018-03-19 18:10:58 -05:00
Preetha Appan
55d17cf26f Hide the number of reschedule attempts for unlimited rescheduling 2018-03-19 18:06:15 -05:00
Michael Schurter
82fb214f93 Fix generating static assets
Broke due to a change in go-bindata-assetfs
2018-03-19 15:52:38 -07:00
Alex Dadgar
71a823b70b Remove fake advertise address and fix TestAPI_OperatorAutopilotServerHealth 2018-03-19 15:49:12 -07:00
Preetha Appan
52d1a9c41a Make suggested interval round to seconds, and more end to end test cases 2018-03-19 14:56:52 -05:00
James Rasell
2439310951 Allow Nomads Consul health checks to be configurable.
This change allows the client HTTP and the server HTTP, Serf and
RPC health check names within Consul to be configurable with the
defaults as previous. The configuration can be done via either a
config file or using CLI flags.

Closes #3988
2018-03-19 19:37:56 +01:00
Preetha
c57fe9e35b Merge pull request #4002 from hashicorp/b-reschedule-systemjob-panic
Fix incorrect initialization of reschedule policy for system jobs.
2018-03-19 13:06:55 -05:00
Preetha Appan
f82c100dfc Fix linting 2018-03-19 12:46:55 -05:00
Preetha Appan
e5b86d405e Fix incorrect initialization of reschedule policy for system jobs. 2018-03-19 12:16:13 -05:00
Alex Dadgar
02132ed6ab Merge pull request #3997 from hashicorp/b-serf-addr
RPC Advertise used exclusively for Clients
2018-03-19 09:30:20 -07:00
Alex Dadgar
3e73034155 relax timing 2018-03-19 09:30:00 -07:00
Preetha Appan
f0d7d2925b Fix ineffectual assignment lint warnings 2018-03-17 10:49:48 -05:00
Preetha
282cad9cba Merge pull request #3999 from hashicorp/rescheduling_e2e_fixes
Small tweaks to rescheduling e2e tests
2018-03-17 09:57:04 -05:00
Preetha Appan
5e7082bd84 Small tweaks to rescheduling e2e tests 2018-03-17 09:56:10 -05:00
Michael Schurter
1cd26e473d Merge pull request #3998 from hashicorp/b-fix-linting
Fix linter errors
2018-03-16 17:00:16 -07:00
Alex Dadgar
7ba99a604d enable server in test 2018-03-16 16:52:37 -07:00
Alex Dadgar
5924d39243 clarify comment 2018-03-16 16:47:08 -07:00