Michael Lange
3ae397c3b8
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
c83bc6405b
Removed break inside of links
2018-04-09 12:20:23 -05:00
Charlie Voiselle
49bf9be07c
fixed link
2018-04-09 12:18:09 -05:00
Chelsea Holland Komlo
7043595b67
correctly initialize array length
2018-04-09 10:51:08 -04:00
Chelsea Holland Komlo
288c7a33a1
refacotoring simplification from code review
2018-04-09 10:34:17 -04:00
Chelsea Holland Komlo
6e3b056c37
only run health check if driver moves from undetected to detected
2018-04-09 10:10:43 -04:00
Geoffrey Grosenbach
f2c91e4e67
Embed Google Analytics only in production
...
This will clean up analytics which currently show non-published pages
and an incorrect number of pageviews due to the Google Analytics script being run in
development as well as production.
2018-04-06 20:42:48 -07:00
Michael Lange
2ed5b61358
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
72cba3b036
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
9ab32ab7e6
Fix eval status output for alloc failure
2018-04-06 17:16:43 -07:00
Jeff Escalante
c1d5dd2ad4
switch from ga to segment analytics
2018-04-06 18:16:31 -04:00
Michael Lange
61e1422e6d
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
78f7d57359
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
d0361ee428
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
ae1f76477e
Start rebalance after discovering new servers
2018-04-05 15:41:59 -07:00
Alex Dadgar
e5b5803265
Only mark allocs as part of deployment if deployment is active
2018-04-05 15:40:49 -07:00
Chelsea Holland Komlo
fda8fd81bb
remove stray comma
2018-04-05 18:20:52 -04:00
Alex Dadgar
929b6823a3
Merge pull request #4106 from hashicorp/b-servers
...
Improved Client handling of failed RPCs
2018-04-05 13:48:50 -07:00
Alex Dadgar
be2513e0f9
more jitter
2018-04-05 13:48:33 -07:00
Chelsea Holland Komlo
d3637825ef
group similar functions; update comments
...
health check timeout should be 1 minute
2018-04-05 16:19:02 -04:00
Chelsea Holland Komlo
e8743f1f7b
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
d0d793fc23
use client with shorter timeouts for health checks
2018-04-05 16:19:02 -04:00
Chelsea Holland Komlo
5d1b2b77cb
refactor docker clients method to be able to extend to creating new clients
2018-04-05 16:19:02 -04:00
Alex Dadgar
3c51d5a5ea
Fix ineffectual assignment
2018-04-05 11:29:39 -07:00
Alex Dadgar
e9b73bbebe
changelog
2018-04-05 11:26:42 -07:00
Chelsea Holland Komlo
59416f6416
Display truncated driver list in non-verbose mode
...
separate drivers by commas
2018-04-05 14:25:59 -04:00
Alex Dadgar
bd3345942c
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
279b5c22e5
Scale heartbeat retrying based on remaining heartbeat time
2018-04-05 10:58:13 -07:00
Alex Dadgar
7941f4eb2d
Fire retry only when consul discovers new servers
2018-04-05 10:40:17 -07:00
Charlie Voiselle
4fc1c207f9
Updated Placement
tables for consistency
2018-04-04 18:57:10 -04:00
Michael Schurter
37de94f109
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
58d2b8b7be
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
6254d75eee
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
12ba4c45da
remove outdated commented out test code
2018-04-04 15:03:24 -05:00
Preetha Appan
6363a6fb4d
Remove old comment
2018-04-04 15:01:48 -05:00
Preetha Appan
5e4525bd30
Moves setting finishedAt to the right place and adds two unit tests.
2018-04-04 14:38:15 -05:00
Michael Lange
a87b0f298a
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
d96a5e02a6
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
b1a90462a8
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
9081201310
Merge pull request #4107 from hashicorp/t-flaky-prettytimediff
...
fix flaky pretty time test
2018-04-04 10:30:22 -07:00
Preetha Appan
7e17bc231f
remove unnecessary check and other fixes from code review
2018-04-04 07:35:20 -05:00
Alex Dadgar
86c32358d4
Spelling error
2018-04-03 18:30:01 -07:00
Alex Dadgar
f1d3b47499
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
235a61cdd3
fix flaky pretty time test
2018-04-03 18:15:12 -07:00
Alex Dadgar
01a6beafbf
RPC Retry Watcher
2018-04-03 18:05:28 -07:00
Preetha Appan
e6bbce3fa0
Add comment
2018-04-03 19:49:03 -05:00
Alex Dadgar
ec844f19d9
randomize servers
2018-04-03 17:46:13 -07:00
Alex Dadgar
4c9c6decd3
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
258bdaf77a
changelog
2018-04-03 17:23:25 -07:00
Alex Dadgar
345169a3cc
Merge pull request #4105 from hashicorp/b-flaky-deadline-tests
...
Fix flaky deadline tests
2018-04-03 17:21:38 -07:00