Commit Graph

7669 Commits

Author SHA1 Message Date
Michael Schurter
7536f7efdd Merge pull request #2794 from hashicorp/f-update-raft
Update raft to get hashicorp/raft#212 fix
2017-07-07 16:22:23 -07:00
Michael Schurter
ef98449b07 Merge pull request #2787 from hashicorp/f-docker-test-mac
Test #2652 - Docker MAC Address option
2017-07-07 16:22:10 -07:00
Michael Schurter
5ab252fe43 Merge pull request #2797 from hashicorp/f-2785-docker-bridge-ip
Add driver.docker.bridge_ip node attribute
2017-07-07 16:20:20 -07:00
Michael Schurter
024d5a8edc Remove debug logging 2017-07-07 16:19:42 -07:00
Michael Schurter
0ba7948f9e Merge pull request #2805 from hashicorp/b-2722-invalid-type
Validate job type
2017-07-07 16:18:37 -07:00
Michael Schurter
faa4da7c29 Merge pull request #2804 from hashicorp/b-2802-docker-panic
Don't panic in container list/remove/inspect race
2017-07-07 15:35:51 -07:00
Michael Schurter
2559ab72b1 Validate job type
Fixes #2722
2017-07-07 15:34:26 -07:00
Michael Schurter
c47860f928 Don't panic in container list/remove/inspect race
Fixes #2802

While it's hard to reproduce the theoretical race is:

1. This goroutine calls ListContainers()
2. Another goroutine removes a container X
3. This goroutine attempts to InspectContainer(X)

However, this bug could be hit in the much simpler case of
InspectContainer() timing out.

In those cases an error is returned and the old code attempted to wrap
the error with the now-nil container.ID. Storing the container ID fixes
that panic.
2017-07-07 15:10:59 -07:00
Michael Schurter
b602278176 Merge pull request #2801 from hashicorp/f-update-go-winio
Update go-winio to get some fixes
2017-07-07 15:04:02 -07:00
Michael Schurter
de2d5655dd Merge pull request #2803 from hashicorp/f-update-ct
Update consul-template
2017-07-07 15:03:46 -07:00
Alex Dadgar
e6df03006d changelog 2017-07-07 15:03:33 -07:00
Alex Dadgar
880ba14a96 Merge pull request #2799 from hashicorp/f-deployment
Introduce deployments to make rolling updates based on allocation health
2017-07-07 14:58:26 -07:00
Alex Dadgar
3beaafca9a Vet and small improvement on watcher failure detection 2017-07-07 14:53:01 -07:00
Michael Schurter
775bba62b0 Update consul-template 2017-07-07 14:42:31 -07:00
Michael Schurter
84a70cdc25 Update go-winio to get some fixes
* Microsoft/go-winio#53
* Microsoft/go-winio#54
2017-07-07 14:33:47 -07:00
Alex Dadgar
beb01f1754 test fixes 2017-07-07 14:11:27 -07:00
Alex Dadgar
50e3178d2d vendor 2017-07-07 12:18:14 -07:00
Alex Dadgar
38e50eedb1 check id method name changed 2017-07-07 12:15:09 -07:00
Alex Dadgar
0129455876 Rolling node drains using max_parallel and stagger
This PR adds rolling node drains done at max_parallel and stagger of the
update spec. It brings it inline with old behavior.
2017-07-07 12:12:48 -07:00
Michael Schurter
02447214d5 an user -> a user 2017-07-07 12:12:48 -07:00
Alex Dadgar
9eb2c8f848 Status description shows requiring promotion 2017-07-07 12:12:48 -07:00
Alex Dadgar
27048bb7fa events 2017-07-07 12:12:48 -07:00
Alex Dadgar
e1c631064a @jippi Changed my mind! Good suggestion 2017-07-07 12:12:48 -07:00
Alex Dadgar
466702a2db deployment status in job status view 2017-07-07 12:12:48 -07:00
Alex Dadgar
e5d8c0888f alloc-status 2017-07-07 12:12:48 -07:00
Alex Dadgar
c5b1e2dcc1 alloc-list shows version 2017-07-07 12:12:48 -07:00
Alex Dadgar
f3ffc3de4d Fix JobModifyIndex changing when job is marked stable 2017-07-07 12:12:48 -07:00
Alex Dadgar
5bcf2dd1f0 deployment status indicates whether canaries were promoted 2017-07-07 12:12:48 -07:00
Alex Dadgar
09af3f98b8 Fix broken things on deployment promote 2017-07-07 12:12:48 -07:00
Alex Dadgar
fe990ca3e0 Fix some tests, eval monitor shows deployment id and deployment cancels based on version 2017-07-07 12:12:48 -07:00
Alex Dadgar
53c129493a Vendor columnize 2017-07-07 12:11:39 -07:00
Alex Dadgar
6639f31c4a Fix some commands test 2017-07-07 12:11:39 -07:00
Alex Dadgar
f0a090c6e8 Disallow update stanza on batch jobs
This PR:
* disallows update stanzas on batch jobs
* undeprecates the stagger field
* changes the way warnings are returned
2017-07-07 12:11:39 -07:00
Alex Dadgar
78d1580992 Deployment from inplace updates tracks placed properly. 2017-07-07 12:10:04 -07:00
Alex Dadgar
6925255fe4 add to docs 2017-07-07 12:10:04 -07:00
Alex Dadgar
fec6f2ef57 Return the reverted job version 2017-07-07 12:10:04 -07:00
Alex Dadgar
34679cfd36 add reverted job version to deployment update response 2017-07-07 12:10:04 -07:00
Alex Dadgar
4e4c4a0f46 feedback 2017-07-07 12:10:04 -07:00
Alex Dadgar
65abc9ae41 HTTP API docs for job 2017-07-07 12:10:04 -07:00
Alex Dadgar
aaf5ab0a21 Job stability 2017-07-07 12:10:04 -07:00
Alex Dadgar
62550c1f4a Complete deployments mark jobs as stable
This PR allows jobs to be marked as stable automatically by a successful
deployment.
2017-07-07 12:10:04 -07:00
Alex Dadgar
b3ec146685 Respond to comments 2017-07-07 12:10:04 -07:00
Alex Dadgar
989aa56304 Remove canary 2017-07-07 12:10:04 -07:00
Alex Dadgar
b7088b3d40 plan apply tests 2017-07-07 12:10:04 -07:00
Alex Dadgar
127d43db88 Test scheduler's handling of canaries/inplace updates 2017-07-07 12:10:04 -07:00
Alex Dadgar
463d20e4f3 Test marking as complete 2017-07-07 12:10:04 -07:00
Alex Dadgar
690fc78091 Plan apply handles canaries and success is set via update 2017-07-07 12:10:04 -07:00
Alex Dadgar
598748d6d5 Fix handling of failed job 2017-07-07 12:10:04 -07:00
Alex Dadgar
29e31af007 Attach eval id 2017-07-07 12:10:04 -07:00
Alex Dadgar
0c6a1c0ee8 Mark complete 2017-07-07 12:10:04 -07:00