Preetha Appan
59cce1d620
Fix unit test for core scheduler GC
2018-04-10 17:12:06 -05:00
Alex Dadgar
deadb10dd5
Merge pull request #4128 from hashicorp/b-uptime
...
Fix client uptime metric missing client prefix
2018-04-10 14:13:59 -07:00
Preetha Appan
7040884002
Simplify and update allocation gc eligibility logic
2018-04-10 16:08:37 -05:00
Preetha
c88fef4c4b
Merge pull request #4127 from hashicorp/b-autopilot-removepeer-fixes
...
Add node id persistence
2018-04-10 16:05:00 -05:00
Chelsea Holland Komlo
d58b3e473c
update comment for when the fingerprinter setting health status
2018-04-10 16:53:00 -04:00
Preetha Appan
f04c9d2b19
minor code review fix
2018-04-10 15:33:01 -05:00
Preetha Appan
a569d34f25
Add custom status description for rescheduling follow up evals, and make unit test robust
2018-04-10 15:30:15 -05:00
Chelsea Holland Komlo
5762071428
change log for driver health checks
2018-04-10 15:58:23 -04:00
Chelsea Holland Komlo
f7ef13cc64
fingerprinter should set health check status if health check is not periodic
2018-04-10 15:29:51 -04:00
Chelsea Holland Komlo
ede4f518bd
add setters for access to the fingerprint manager's node
...
refactor extracting driver info
2018-04-10 15:29:51 -04:00
Chelsea Holland Komlo
f479da19f5
guard against overwriting health status
2018-04-10 15:29:51 -04:00
Chelsea Holland Komlo
ece1618815
immediately set healthy to false when driver moves to undetected
2018-04-10 15:29:51 -04:00
Preetha Appan
d17bfd8045
Make leader election test run on all three protocol versions
2018-04-10 14:20:02 -05:00
Preetha Appan
b3402efd0b
Adds a new custom description for update alloc triggered evals to make it easier to unit test.
2018-04-10 14:00:07 -05:00
Michael Lange
6dfba843dc
Merge pull request #4124 from hashicorp/b-ui-nodes-before-addresses
...
UI: Defer showing alloc addresses until the node is loaded
2018-04-10 11:28:02 -07:00
Charlie Voiselle
4a5f90194c
Vendored hashicorp/go-getter
...
Brings in fix for directory permissions when expanding tarballs
2018-04-10 13:07:35 -05:00
Michael Schurter
9dcbb1f3bd
Merge pull request #4119 from hashicorp/b-remove-bogus-hint
...
cli: remove outdated hints
2018-04-10 10:57:40 -07:00
Alex Dadgar
6bfd222f27
changelog
2018-04-10 10:42:45 -07:00
Alex Dadgar
3d367d6fd7
Fix client uptime metric missing client prefix
2018-04-10 10:39:36 -07:00
Preetha Appan
6b6e97e50c
Dev mode should never persist nodeid
2018-04-10 12:34:14 -05:00
Michael Schurter
b0bb04e279
Merge pull request #4125 from sethvargo/sethvargo/user_agent
...
Set user-agent when talking to GCE metadata
2018-04-10 09:50:26 -07:00
Michael Lange
9d60c9db9a
Defer showing alloc addresses until the node is loaded
...
The URLs for addresses are meaningless until the node http addr
is available.
2018-04-10 09:31:35 -07:00
Preetha Appan
e1c3c7ab6c
Lint fixes
2018-04-10 11:22:16 -05:00
Seth Vargo
df4fe7e76c
Set user-agent when talking to GCE metadata
2018-04-10 10:36:46 -04:00
Preetha Appan
6d0e1c9fea
Use preconfigured nodeID if there isn't a persisted node ID, and persist it if its not persisted.
2018-04-10 08:47:33 -05:00
Preetha Appan
216c053742
Remove debug print statements
2018-04-10 08:16:50 -05:00
Alex Dadgar
d179a09b83
WIP: Not setting node id properlperly
2018-04-09 18:01:28 -07:00
Nick Ethier
79e8451903
Merge pull request #4123 from hashicorp/b-vendor-cli
...
Update vendored mitchellh/cli and transitive dependency
2018-04-09 18:56:51 -04:00
Preetha Appan
868f4f19f4
Unit tests for rolling upgrade and killing a leader
2018-04-09 17:42:30 -05:00
Nick Ethier
f6b0473900
vendor: update mitchellh/cli and transitive deps
2018-04-09 18:02:14 -04:00
Nick Ethier
52577d6023
Merge pull request #4122 from hashicorp/b-vendor-safetemp
...
Vendor in github.com/hashicorp/go-safetemp
2018-04-09 17:58:15 -04:00
Nick Ethier
a541707528
vendor: pull in go-safetemp
2018-04-09 17:19:26 -04:00
Alex Dadgar
0733ef47e6
vendor go-getter
2018-04-09 13:34:38 -07:00
Preetha Appan
24203ae2f7
Remove duplicate commit
2018-04-09 15:08:09 -05:00
Chelsea Komlo
d3bd8fb96e
Merge pull request #4109 from hashicorp/f-shorten-docker-health-timeout
...
Shorten docker health timeout
2018-04-09 15:38:39 -04:00
Michael Schurter
efb9a02430
cli: remove outdated hints
...
Hints no longer apply in the 0.8 Node RPC world.
2018-04-09 12:09:47 -07:00
Preetha Appan
d1cb5df477
Batch evals for rescheduling failed allocs correctly and group them by job ID
2018-04-09 14:05:31 -05:00
Chelsea Komlo
bad69b5233
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
73ba78a729
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
ea4b65dd41
only initialize docker clients if they are nil
2018-04-09 14:13:07 -04:00
Michael Schurter
d086f17708
rpc: wrap up old version check in a helper
...
DRY it up
2018-04-09 11:09:05 -07:00
Michael Schurter
e1cbcf0b3c
rpc: give min rpc version variable a better name
2018-04-09 11:09:05 -07:00
Michael Schurter
27396e8a3c
docs: mention some cli backward incompatibility
2018-04-09 11:09:05 -07:00
Michael Schurter
88a9409f8e
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
bd3132bd6d
Merge pull request #4117 from hashicorp/r-node-status-refactor
...
Correctly initialize array length
2018-04-09 14:05:38 -04:00
Michael Schurter
41ce60e1a3
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
b54f18daf8
docs: mention . env var change in changelog
2018-04-09 10:30:11 -07:00
Michael Schurter
5305d8bc67
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
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