Commit graph

10829 commits

Author SHA1 Message Date
Chelsea Holland Komlo 3cba95e8a7 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 0bde357731 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 e7b4c52acd
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 4f5d307397
Update CHANGELOG.md 2018-03-21 09:21:10 -05:00
Preetha 17f2f52f08
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 12fe455d69
Document new Consul checks name config params and CLI flags. 2018-03-21 08:28:07 +01:00
Michael Lange c6efed173d
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 ba2251cfe4 Add changelog entry for #4003 2018-03-20 16:44:50 -07:00
Michael Schurter 70c370c6fe
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 810c5c3f7c Perioidic and Parameterized jobs need to watch /jobs for child updates 2018-03-20 16:41:53 -07:00
Michael Lange 39bf9a4e78 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 e4e70825d0 Guard against undefined properties in cancel requests 2018-03-20 16:41:19 -07:00
Michael Lange e4d2b52748 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 a5a5923e30 Job row should denote when a parent job has no children 2018-03-20 16:41:18 -07:00
Michael Lange 3affa48def Alias the right property 2018-03-20 16:41:18 -07:00
Michael Lange 1ee0bd1fb1
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 8e9fe5df01 Deployments should only be watched when the job type supports deployments 2018-03-20 16:23:03 -07:00
Michael Lange 6b0498e079 Run yarn silently during make ember-dist 2018-03-20 11:31:35 -07:00
Alex Dadgar 0efdfafc69
Merge pull request #4011 from hashicorp/v-sockaddr
Support wireless interfaces on Windows
2018-03-20 10:42:12 -07:00
Alex Dadgar c65fc6e2ed changelog 2018-03-20 10:41:26 -07:00
Alex Dadgar a950db3a95 vendor gosockaddr 2018-03-20 10:39:39 -07:00
James Rasell 121c3bc997 Update Consul check params from using health-check to check. 2018-03-20 16:03:58 +01:00
Preetha 5cbcd6f8a2
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 d56b5cd2d3
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 4d5ce3e8d4
Fix linting 2018-03-19 18:10:58 -05:00
Preetha Appan 96b49cb491
Hide the number of reschedule attempts for unlimited rescheduling 2018-03-19 18:06:15 -05:00
Michael Schurter 86ccdb9115 Fix generating static assets
Broke due to a change in go-bindata-assetfs
2018-03-19 15:52:38 -07:00
Alex Dadgar d498fa950a Remove fake advertise address and fix TestAPI_OperatorAutopilotServerHealth 2018-03-19 15:49:12 -07:00
Preetha Appan 33a5a72323
Make suggested interval round to seconds, and more end to end test cases 2018-03-19 14:56:52 -05:00
James Rasell 15afef9b77 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 6df57c177c
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 1d748663ce
Fix linting 2018-03-19 12:46:55 -05:00
Preetha Appan 161bc66355
Fix incorrect initialization of reschedule policy for system jobs. 2018-03-19 12:16:13 -05:00
Alex Dadgar 9e05c9a50e
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 7e69d16c15 relax timing 2018-03-19 09:30:00 -07:00
Preetha Appan 462b431291
Fix ineffectual assignment lint warnings 2018-03-17 10:49:48 -05:00
Preetha 38b2e23558
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 9fb885bd16
Small tweaks to rescheduling e2e tests 2018-03-17 09:56:10 -05:00
Michael Schurter 1ed17d3b8f
Merge pull request #3998 from hashicorp/b-fix-linting
Fix linter errors
2018-03-16 17:00:16 -07:00
Alex Dadgar 9ef23ff277 enable server in test 2018-03-16 16:52:37 -07:00
Alex Dadgar 2baa1c38f2 clarify comment 2018-03-16 16:47:08 -07:00
Alex Dadgar 3963492977 clarify networking docs 2018-03-16 16:47:08 -07:00
Alex Dadgar b8607ad6d6 Heartbeat uses client rpc advertise and server defaults server rpc advertise addr 2018-03-16 16:47:08 -07:00
Alex Dadgar 52b7fb5361 Separate client and server rpc advertise addresses 2018-03-16 16:47:08 -07:00
Alex Dadgar 204b9b7e47 Merge branch 'master' of github.com:hashicorp/nomad 2018-03-16 16:46:32 -07:00
Alex Dadgar 6448523b21 fix api job tests 2018-03-16 16:46:22 -07:00
Michael Schurter 86f562be3a Remove unnecessary conversions 2018-03-16 16:32:59 -07:00
Michael Schurter c3e8f6319c gofmt -s (simplify) files 2018-03-16 16:31:16 -07:00
Michael Schurter 45b4d5c81d Bump Go to 1.10 in Vagrantfile 2018-03-16 16:17:16 -07:00
Michael Lange 31a30f5805
Merge pull request #3989 from hashicorp/f-ui-read-job-summary-from-list-view
UI: Read job summary from Jobs.List
2018-03-16 12:37:05 -07:00