Nick Ethier
f46622388e
vendor: pull in go-safetemp
2018-04-09 17:19:26 -04:00
Alex Dadgar
1c75593351
vendor go-getter
2018-04-09 13:34:38 -07:00
Chelsea Komlo
4444a3309e
Merge pull request #4109 from hashicorp/f-shorten-docker-health-timeout
...
Shorten docker health timeout
2018-04-09 15:38:39 -04:00
Chelsea Komlo
1b3f4a18ca
Merge pull request #4092 from hashicorp/health-check-only-if-detected
...
Only run health check if driver moves from undetected to detected
2018-04-09 14:40:33 -04:00
Michael Schurter
27197c6b70
Merge pull request #4114 from hashicorp/b-07-rpc-hang
...
rpc: only attempt NodeRpc for nodes>=0.8
2018-04-09 11:30:55 -07:00
Chelsea Holland Komlo
c6cd78db59
only initialize docker clients if they are nil
2018-04-09 14:13:07 -04:00
Michael Schurter
18c170ee9d
rpc: wrap up old version check in a helper
...
DRY it up
2018-04-09 11:09:05 -07:00
Michael Schurter
0494550d4d
rpc: give min rpc version variable a better name
2018-04-09 11:09:05 -07:00
Michael Schurter
52403fd783
docs: mention some cli backward incompatibility
2018-04-09 11:09:05 -07:00
Michael Schurter
2f479e7b15
rpc: only attempt NodeRpc for nodes>=0.8
...
Attempting NodeRpc (or streaming node rpc) for clients that do not
support it causes it to hang indefinitely because while the TCP
connection exists, the client will never respond.
2018-04-09 11:08:06 -07:00
Chelsea Komlo
66206e6864
Merge pull request #4117 from hashicorp/r-node-status-refactor
...
Correctly initialize array length
2018-04-09 14:05:38 -04:00
Michael Schurter
c79a9166db
Merge pull request #4099 from hashicorp/docs-0.8-upgrade
...
docs: mention env var changes in upgrade docs
2018-04-09 10:56:01 -07:00
Michael Schurter
a40bcd2f29
docs: mention . env var change in changelog
2018-04-09 10:30:11 -07:00
Michael Schurter
e71944c71f
docs: mention env var changes in upgrade docs
...
Mention the changes from #3760 in the upgrade docs as applications
expecting underscores will break.
2018-04-09 10:27:16 -07:00
Michael Lange
8728dcf0bb
Merge pull request #4115 from hashicorp/b-ui-duplicate-allocations
...
UI: Unlink record relationships before unloading them from the store
2018-04-09 10:25:50 -07:00
Charlie Voiselle
f38acee96d
Removed break inside of links
2018-04-09 12:20:23 -05:00
Charlie Voiselle
5b6fe67ab4
fixed link
2018-04-09 12:18:09 -05:00
Chelsea Holland Komlo
bf89de322f
correctly initialize array length
2018-04-09 10:51:08 -04:00
Chelsea Holland Komlo
4c1c88a91c
refacotoring simplification from code review
2018-04-09 10:34:17 -04:00
Chelsea Holland Komlo
af8fc4f62c
only run health check if driver moves from undetected to detected
2018-04-09 10:10:43 -04:00
Michael Lange
1f08445aec
Repeat the relationship unlinking pattern in the serializer
...
It also culls for findAll requests, so it too needs to be
careful about leaving garbage around.
2018-04-06 18:07:57 -07:00
Michael Lange
b10efef4b8
Unlink record relationships before unloaded them from the store
...
When simply unloading a record, references to the record are
maintained by the internal relationship state of related models.
This causes refetching and duplicate models local to that relationship
state.
2018-04-06 17:50:40 -07:00
Alex Dadgar
66e1763107
Fix eval status output for alloc failure
2018-04-06 17:16:43 -07:00
Michael Lange
32c3193a0c
Merge pull request #4112 from hashicorp/b-ui-dont-allow-empty-records-in-store
...
Never respond with an empty object from the adapter
2018-04-05 17:26:07 -07:00
Michael Lange
6626cd8729
Never respond with an empty object from the adapter
...
In production builds only, this will slip into the local store
as a record with no ID, which makes for all sorts of bad news.
2018-04-05 16:50:37 -07:00
Chelsea Komlo
8ba083d31e
Merge pull request #4098 from hashicorp/f-driver-health-ux-improvements
...
Driver health UX improvements
2018-04-05 18:51:00 -04:00
Alex Dadgar
98a403a5a6
Start rebalance after discovering new servers
2018-04-05 15:41:59 -07:00
Alex Dadgar
e284fd9af5
Only mark allocs as part of deployment if deployment is active
2018-04-05 15:40:49 -07:00
Chelsea Holland Komlo
3c9a149cf3
remove stray comma
2018-04-05 18:20:52 -04:00
Alex Dadgar
b2ae8b73ef
Merge pull request #4106 from hashicorp/b-servers
...
Improved Client handling of failed RPCs
2018-04-05 13:48:50 -07:00
Alex Dadgar
9ce59c5828
more jitter
2018-04-05 13:48:33 -07:00
Chelsea Holland Komlo
d251199432
group similar functions; update comments
...
health check timeout should be 1 minute
2018-04-05 16:19:02 -04:00
Chelsea Holland Komlo
dee4fc4555
remove do once block when creating a new docker client
...
only set cached connections upon no error
2018-04-05 16:19:02 -04:00
Chelsea Holland Komlo
45d09d1ef9
use client with shorter timeouts for health checks
2018-04-05 16:19:02 -04:00
Chelsea Holland Komlo
9092439107
refactor docker clients method to be able to extend to creating new clients
2018-04-05 16:19:02 -04:00
Alex Dadgar
1388638653
Fix ineffectual assignment
2018-04-05 11:29:39 -07:00
Alex Dadgar
231f052f2d
changelog
2018-04-05 11:26:42 -07:00
Chelsea Holland Komlo
927ddd7ff1
Display truncated driver list in non-verbose mode
...
separate drivers by commas
2018-04-05 14:25:59 -04:00
Alex Dadgar
c86ad8fa32
Handle no leader and faster retries near limit
...
Handle the ErrNoLeader case and apply slower retries. Also when we have
missed the heartbeat retry aggressively, backing off after we have
missed for more than 30 seconds.
2018-04-05 11:22:47 -07:00
Alex Dadgar
12a8655dbd
Scale heartbeat retrying based on remaining heartbeat time
2018-04-05 10:58:13 -07:00
Alex Dadgar
80c380b456
Fire retry only when consul discovers new servers
2018-04-05 10:40:17 -07:00
Charlie Voiselle
734121d8ff
Updated Placement tables for consistency
2018-04-04 18:57:10 -04:00
Michael Schurter
f5ce7331c8
Merge pull request #4104 from hashicorp/f-update-tf
...
tf: update services and add tools
2018-04-04 15:55:44 -07:00
Michael Schurter
c6371dcbe2
tf: update services and add tools
...
Also use the latest method for installing Docker via:
https://docs.docker.com/install/linux/docker-ce/debian/
2018-04-04 15:05:49 -07:00
Preetha
ff006877de
Merge pull request #4101 from hashicorp/b-rescheduling-edge-fixes
...
Fixes edge cases around timing/ task finish time being set more than once
2018-04-04 16:18:21 -05:00
Preetha Appan
e81886d588
remove outdated commented out test code
2018-04-04 15:03:24 -05:00
Preetha Appan
8b6143f272
Remove old comment
2018-04-04 15:01:48 -05:00
Preetha Appan
7fa7655ebe
Moves setting finishedAt to the right place and adds two unit tests.
2018-04-04 14:38:15 -05:00
Michael Lange
a6a04b3cac
Merge pull request #4096 from hashicorp/d-ui-update-docs
...
Docs: Update UI API and UI Guide
2018-04-04 10:38:42 -07:00
Alex Dadgar
599c5b8643
Merge pull request #4108 from hashicorp/t-flaky-jobs-api
...
Fix flaky api/jobs tests based on index != 0
2018-04-04 10:31:40 -07:00