Commit Graph

457 Commits

Author SHA1 Message Date
Alex Dadgar
16ec4481e3 Improve Vault error handling 2018-04-03 14:29:22 -07:00
Chelsea Holland Komlo
aeb744d930 add clarifying comment 2018-03-29 10:58:39 -04:00
Chelsea Holland Komlo
dff03f6a91 emit first node event 2018-03-28 17:26:53 -04:00
Chelsea Holland Komlo
cdfeac13a1 specify driver health messages 2018-03-28 11:35:21 -04:00
Chelsea Holland Komlo
041786360e use time.Time for node events for compatibility 2018-03-27 15:43:57 -04:00
Chelsea Holland Komlo
9c143301de fix issue when updating node events 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
06a306e460 improve comments; update watchDriver 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
7b2ed01472 remove unused function 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
8597da0c5d simplify logic
bump log level
2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
115d54cb19 fix up health check logic comparison; add node events to client driver checks 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
8aefd294e1 Code review feedback 2018-03-21 15:15:26 -04:00
Alex Dadgar
3ad03d9498 notes from walk through 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
8a0ed4e5ff improve tests 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
fd25db9e1d updating comments; locking concurrent node access 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
9dfb5c6b46 go style; update comments 2018-03-21 15:15:25 -04:00
Chelsea Holland Komlo
9ec5a93bc1 fix scheduler driver name; create node structs file 2018-03-21 15:15:25 -04:00
Chelsea Holland Komlo
a340baddf1 allow nomad to schedule based on the status of a client driver health check
Slight updates for go style
2018-03-21 15:15:25 -04:00
Chelsea Holland Komlo
1570972cb3 add concept of health checks to fingerprinters and nodes
fix up feedback from code review

add driver info for all drivers to node
2018-03-21 15:15:25 -04:00
Preetha Appan
dc183ad209 Fix spelling in comment 2018-03-14 15:54:25 -05:00
Alex Dadgar
4252ffe71c fix clearing node events 2018-03-14 09:48:59 -07:00
Chelsea Komlo
9cb3a02b0f Merge pull request #3945 from hashicorp/f-add-node-events
Add node events
2018-03-14 08:42:55 -04:00
Preetha
c4389cd61a Merge pull request #3968 from hashicorp/f-nicer-vault-error
Make server side error messages from vault more clearer
2018-03-13 20:49:39 -05:00
Alex Dadgar
8ba5ba33de small cleanup 2018-03-13 18:08:22 -07:00
Chelsea Holland Komlo
319f80907c code review feedback 2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
6eb9911caf code review feedback 2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
9ef6ad031a fix up go check warnings 2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
a72dcbfcdd add client side emitting of node events
Changelog
2018-03-13 18:08:21 -07:00
Preetha Appan
d83ad728db Address some code review comments 2018-03-13 18:19:16 -05:00
Preetha Appan
f4a4685d84 Return the err from server correctly 2018-03-13 18:10:14 -05:00
Preetha Appan
71e4061e0e Remove error wrapping and make vault connection server side errors clearer. 2018-03-13 17:09:03 -05:00
Alex Dadgar
42e9fe1b57 Merge pull request #3890 from hashicorp/b-heartbeat
Heartbeat improvements and handling failures during establishing leadership
2018-03-12 14:41:59 -07:00
Josh Soref
0afd7f8d56 spelling: transition 2018-03-11 19:06:05 +00:00
Josh Soref
c297d03315 spelling: thresholds 2018-03-11 19:03:47 +00:00
Josh Soref
c10723cd5a spelling: server 2018-03-11 18:55:30 +00:00
Josh Soref
25eb073964 spelling: registry 2018-03-11 18:41:13 +00:00
Josh Soref
84277e6d6a spelling: otherwise 2018-03-11 18:34:27 +00:00
Josh Soref
65bb9c727e spelling: labels 2018-03-11 18:21:44 +00:00
Josh Soref
71163eeab0 spelling: heartbeating 2018-03-11 18:12:19 +00:00
Josh Soref
3da43206f8 spelling: controls 2018-03-11 17:50:39 +00:00
Josh Soref
fe8ccc109d spelling: already 2018-03-11 17:39:04 +00:00
Josh Soref
461d44f924 spelling: allocation 2018-03-11 17:37:22 +00:00
Chelsea Holland Komlo
bf72619e8c simplify retry logic 2018-03-01 09:48:26 -05:00
Chelsea Holland Komlo
4b6bcf7293 reset timer after updating node copy 2018-02-27 17:18:10 -05:00
Chelsea Holland Komlo
29696110b2 add network resources equal method, use time ticker
remove impossible test case
2018-02-27 12:42:53 -05:00
Chelsea Holland Komlo
44fdb74378 use time ticker, update how network resources are compared 2018-02-26 18:47:11 -05:00
Chelsea Holland Komlo
cd5be3bea9 improved testing; node networks comparison 2018-02-26 15:55:38 -05:00
Chelsea Holland Komlo
4271123b4f code review fixups 2018-02-26 12:36:30 -05:00
Chelsea Holland Komlo
7246c9d1ff edge trigger node update
test update config copy trigger
2018-02-26 12:36:04 -05:00
Alex Dadgar
f970e3dc9d Registering back to initializing
Fix a bug in which if the node attributes/meta changed, we would
re-register the node in status initializing. This would incorrectly
trigger the client to log that it missed its heartbeat.

It would change the status of the Node to initializing until the next
heartbeat occured.
2018-02-16 17:49:31 -08:00
Alex Dadgar
efa8bc0615 Fix original client server list behavior 2018-02-15 16:04:53 -08:00