Commit Graph

10801 Commits

Author SHA1 Message Date
Rob Genova
a6d620dcab Bump Hadoop version in run-time config scripts; update AMI 2018-03-20 19:55:09 +00:00
Rob Genova
bfd0967acf Enable raw_exec and Docker privileged mode 2018-03-20 17:48:14 +00:00
Rob Genova
dae97a9708 Bump Hadoop version 2018-03-20 17:47:24 +00:00
Rob Genova
606e7a6d54 Support dynamic replacement of the Nomad binary at run-time 2018-03-20 17:46:32 +00: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
Alex Dadgar
9116db0aaa clarify networking docs 2018-03-16 16:47:08 -07:00
Alex Dadgar
b49462b5ff Heartbeat uses client rpc advertise and server defaults server rpc advertise addr 2018-03-16 16:47:08 -07:00
Alex Dadgar
5976511b05 Separate client and server rpc advertise addresses 2018-03-16 16:47:08 -07:00
Alex Dadgar
0312405688 Merge branch 'master' of github.com:hashicorp/nomad 2018-03-16 16:46:32 -07:00
Alex Dadgar
73375f5c26 fix api job tests 2018-03-16 16:46:22 -07:00
Michael Schurter
5aff4dddfd Remove unnecessary conversions 2018-03-16 16:32:59 -07:00
Michael Schurter
16538f6474 gofmt -s (simplify) files 2018-03-16 16:31:16 -07:00
Michael Schurter
6e39736a56 Bump Go to 1.10 in Vagrantfile 2018-03-16 16:17:16 -07:00
Michael Lange
78b2c63836 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
Michael Schurter
b20421de3b Merge pull request #3984 from hashicorp/f-loosen-consul-skipverify
Replace Consul TLSSkipVerify handling
2018-03-16 11:21:28 -07:00
Michael Schurter
68b2e9678f Merge pull request #3990 from hashicorp/f-rkt-groups
rkt: allow specifying --group
2018-03-16 11:19:53 -07:00
Michael Schurter
6c85597651 Add changelog entry for #3993 2018-03-16 11:15:12 -07:00
Michael Schurter
1bfdcc2613 Merge pull request #3993 from hashicorp/f-retry-volume-errors
docker: make volume errors recoverable
2018-03-16 11:13:19 -07:00
Michael Schurter
eeaaa60e5a rkt: allow specifying --group 2018-03-16 11:08:22 -07:00
Alex Dadgar
d1a332e1d7 Merge pull request #3992 from hashicorp/f-vault-orphan
Allow and recommend Orphaned Vault tokens
2018-03-16 10:59:54 -07:00
Alex Dadgar
d101469e3e changelog 2018-03-16 10:59:36 -07:00
Alex Dadgar
91a2ed474a Merge pull request #3982 from hashicorp/b-shard-jobs
Batch Job Garbage Collection
2018-03-16 10:54:40 -07:00
Alex Dadgar
8be12ee992 Pull snapshotting out of loop 2018-03-16 10:54:26 -07:00
Alex Dadgar
3500ed7228 changelog 2018-03-16 10:54:26 -07:00
Alex Dadgar
e38d8954e9 job gc uses batch endpoint 2018-03-16 10:53:03 -07:00
Alex Dadgar
657ec0a0c4 Batch Deregister RPC 2018-03-16 10:53:03 -07:00
Michael Schurter
b096fd7539 docker: make volume errors recoverable
The interface+mock just to test this one little error handling may seem
like overkill but there was just no other way to write an automated test
around this logic as there's no way to simluate this error with stock
Docker.
2018-03-15 17:52:43 -07:00
Alex Dadgar
2e5998670c Allow and recommend Orphaned Vault tokens
This PR removes enforcement that the Vault token role disallows orphaned
tokens and recommends orphaned tokens to simplify the
bootstrapping/upgrading of Nomad clusters. The requirement that Nomad's
Vault token never expire and be shared by all instances of Nomad servers
is not operationally friendly.
2018-03-15 15:32:08 -07:00
Michael Lange
0cc4e3caf0 Merge pull request #3985 from hashicorp/b-ui-missing-task-name
Read task name off of the state rather than the task
2018-03-15 14:04:24 -07:00
Michael Lange
9e961fe0ef Ensure the task group is present whenever an allocation row is rendered 2018-03-15 14:03:14 -07:00
Michael Lange
030e229f5e Update job row to no longer watch job-summary or reload the job
Now that job summary is pushed into the store from the list request
and the task group count is derived from the summary, the detailed
job information is no longer needed for a job row.
2018-03-15 10:48:37 -07:00
Michael Lange
415c6a0d3c Use the job-summary information available from the jobs list 2018-03-15 10:28:34 -07:00
Alex Dadgar
7440e23dcc List unblocks on summary changes 2018-03-15 10:22:03 -07:00
Michael Schurter
9f50ab334c Replace Consul TLSSkipVerify handling
Instead of checking Consul's version on startup to see if it supports
TLSSkipVerify, assume that it does and only log in the job service
handler if we discover Consul does not support TLSSkipVerify.

The old code would break TLSSkipVerify support if Nomad started before
Consul (such as on system boot) as TLSSkipVerify would default to false
if Consul wasn't running. Since TLSSkipVerify has been supported since
Consul 0.7.2, it's safe to relax our handling.
2018-03-14 17:43:06 -07:00
Alex Dadgar
2f325cff4e Drop ACL todo 2018-03-14 16:41:46 -07:00
Michael Lange
6e88f3846c Read task name off of the state rather than the task
It's possible for the task (derived from the job API response)
is nil, or has a nil name field.

Using the task state instead ensures a name every time.
2018-03-14 16:39:42 -07:00
Alex Dadgar
66f85b20f0 Merge pull request #3978 from hashicorp/b-core-sched
Always add core scheduler
2018-03-14 16:13:15 -07:00
Preetha Appan
7f2caf56a3 Update CHANGELOG for rescheduling 2018-03-14 16:43:46 -05:00
Preetha
3ece61c3d7 Merge pull request #3981 from hashicorp/f-delayed-scheduling
Delayed rescheduling
2018-03-14 16:31:18 -05:00
Preetha Appan
b1fd173c13 Fix linting warning 2018-03-14 16:12:22 -05:00