Commit Graph

11218 Commits

Author SHA1 Message Date
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
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
Michael Schurter
688a7d3a86 Merge pull request #4094 from hashicorp/b-drain-panic
drain: fix double-close panic on drain future
2018-04-04 10:31:14 -07:00
Alex Dadgar
3643f11627 Merge pull request #4107 from hashicorp/t-flaky-prettytimediff
fix flaky pretty time test
2018-04-04 10:30:22 -07:00
Preetha Appan
7ebf6032dc remove unnecessary check and other fixes from code review 2018-04-04 07:35:20 -05:00
Alex Dadgar
46e6d70435 Spelling error 2018-04-03 18:30:01 -07:00
Alex Dadgar
c46cc059d4 Don't assume the read index won't be zero if no jobs have been registered 2018-04-03 18:24:59 -07:00
Alex Dadgar
8f47469f5c fix flaky pretty time test 2018-04-03 18:15:12 -07:00
Alex Dadgar
12ec2e3b60 RPC Retry Watcher 2018-04-03 18:05:28 -07:00
Preetha Appan
d8e975510a Add comment 2018-04-03 19:49:03 -05:00
Alex Dadgar
ca3b13e4c0 randomize servers 2018-04-03 17:46:13 -07:00
Alex Dadgar
67552a9435 Merge pull request #4100 from hashicorp/b-vault-no-auth
Improve handling of Vault errors
2018-04-03 17:23:43 -07:00
Alex Dadgar
c845144e09 changelog 2018-04-03 17:23:25 -07:00
Alex Dadgar
69bb648b42 Merge pull request #4105 from hashicorp/b-flaky-deadline-tests
Fix flaky deadline tests
2018-04-03 17:21:38 -07:00
Alex Dadgar
4cfe3a5043 Fix flaky deadline tests 2018-04-03 16:51:57 -07:00
Michael Schurter
717bd7512a drain: return on first error
If one error is encountered it is unlikely any further attempts will
succeed, so fail fast.
2018-04-03 16:46:35 -07:00
Alex Dadgar
85c41a62e3 Merge pull request #4103 from ozkatz/testutil-server-consul
Support custom Consul config for TestServer
2018-04-03 16:00:10 -07:00
Alex Dadgar
aea5d5191e Fix spelling 2018-04-03 15:58:03 -07:00
Alex Dadgar
49b57196a2 vendor vault/api to get fix from https://github.com/hashicorp/vault/pull/4258 2018-04-03 15:48:26 -07:00
Oz Katz
3e743b5f2e Support custom Consul config for TestServer
Adds a Consul field to the TestServerConfig that allows passing in non-default values for e.g. consul address.
This will allow the TestServer to integrate with Consul's testutil/TestServer.
2018-04-04 01:40:11 +03:00
Alex Dadgar
f4909fd1cc Merge pull request #4102 from hashicorp/b-drain-upgrade
Correctly handle the upgrade path of a node being drained when applying Raft logs
2018-04-03 15:37:23 -07:00
Alex Dadgar
dd2eeccd96 Correctly handle the upgrade path of a node being drained when applying Raft logs 2018-04-03 15:32:44 -07:00
Preetha Appan
aa4a0cff50 Fixes edge cases around timing and task finish time being set more than once 2018-04-03 16:34:59 -05:00
Alex Dadgar
16ec4481e3 Improve Vault error handling 2018-04-03 14:29:22 -07:00
Chelsea Holland Komlo
7679ba758e display driver status only in verbose mode or if the driver is unhealthy 2018-04-03 11:23:12 -04:00
Michael Lange
c528439563 Update the UI guide to add instructions & screenshots for new features 2018-04-02 18:19:17 -07:00
Michael Lange
4ffb6818f3 Remove note about stats being requested from clients
This is no longer true 🎉
2018-04-02 18:19:17 -07:00
Michael Lange
e47ef9526f Update existing UI guide to include information about live updating views 2018-04-02 18:19:17 -07:00