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
Preetha Appan
2ab03a13e0
fix method comment
2018-03-14 16:10:32 -05:00
Preetha Appan
69c4a58c34
Show reschedule eligibility time in alloc-status when followup evalid is available
2018-03-14 16:10:32 -05:00
Preetha Appan
74bd789c29
Fix formatting
2018-03-14 16:10:32 -05:00
Preetha Appan
d4056c4489
Rename DelayCeiling to MaxDelay
2018-03-14 16:10:32 -05:00
Preetha Appan
73783e023f
Update comment
2018-03-14 16:10:32 -05:00
Preetha Appan
854ae91ae2
Address more code review feedback
2018-03-14 16:10:32 -05:00
Preetha Appan
9bccc53857
Avoids unnecessary timer object creation
2018-03-14 16:10:32 -05:00
Preetha Appan
abeab12b9e
Get reschedule policy from the alloc directly
2018-03-14 16:10:32 -05:00
Preetha Appan
8736b9f068
Update comment about WaitTime
2018-03-14 16:10:32 -05:00
Preetha Appan
e80d0d8156
Cleaner handling of batched evals
2018-03-14 16:10:32 -05:00
Preetha Appan
e5e2ec5a2f
More small review feedback
2018-03-14 16:10:32 -05:00
Preetha Appan
94e252eaa3
Extra comments, remove unnecessary if condition
2018-03-14 16:10:32 -05:00
Preetha Appan
f57f5865bb
Move delayheap to lib package
2018-03-14 16:10:32 -05:00
Preetha Appan
733c40e058
Add parsing test cases
2018-03-14 16:10:32 -05:00
Preetha Appan
c841dc01a9
Address some code review comments
2018-03-14 16:10:32 -05:00