Commit Graph

11320 Commits

Author SHA1 Message Date
Alex Dadgar
e0171acbdd Move where attribute for driver detection is set 2018-04-12 15:50:25 -07:00
Chelsea Holland Komlo
228a2319c2 delete driver name from only health check attributes 2018-04-12 18:24:41 -04:00
Alex Dadgar
d0605c5229 Fix tests 2018-04-12 14:29:30 -07:00
Alex Dadgar
f45b51a138 Driver health detection cleanups
This PR does:

1. Health message based on detection has format "Driver XXX detected"
and "Driver XXX not detected"
2. Set initial health description based on detection status and don't
wait for the first health check.
3. Combine updating attributes on the node, fingerprint and health
checking update for drivers into a single call back.
4. Condensed driver info in `node status` only shows detected drivers
and make the output less wide by removing spaces.
2018-04-12 12:46:40 -07:00
Alex Dadgar
725f36a7ca Non-verbose driver formatting and don't display non-detected 2018-04-12 11:26:00 -07:00
Preetha
a9c4f28d0d Merge pull request #4141 from hashicorp/autopilot-docs
Autopilot docs enchancements
2018-04-12 13:06:49 -05:00
Alex Dadgar
57f8f78959 Merge pull request #4140 from hashicorp/d-upgrade
Upgrade guide for CLI and advertise.RPC changes
2018-04-12 10:11:03 -07:00
Preetha Appan
f15137cc53 add sentence about non voting servers for increasing scheduling throughput 2018-04-12 10:22:13 -05:00
Preetha Appan
a7c0e2113d Fix broken link in autopilot documentation 2018-04-12 10:18:16 -05:00
Preetha Appan
a74865de5f Add link to autopilot guide in operator autopilot CLI help text 2018-04-12 09:02:32 -05:00
Preetha
935f03ab91 Merge pull request #4139 from hashicorp/b-reschedule-invalid-system-jobs
Make system jobs fail validation if they contain a reschedule stanza
2018-04-11 20:01:19 -05:00
Preetha Appan
20a029adaa add canonicalize for reschedulepolicy to simplify validation logic 2018-04-11 18:47:27 -05:00
Alex Dadgar
367db07c1c Upgrade guide for CLI and advertise.RPC changes
Add documentation for upgrading to Nomad 0.8 with regards to the new CLI
organization and the changed meaning of the RPC advertise on servers.
2018-04-11 15:11:38 -07:00
Preetha Appan
ae74aa9654 dont print reschedule policy in error message 2018-04-11 17:07:14 -05:00
Preetha Appan
b1b08a536b Fix more tests 2018-04-11 15:51:24 -05:00
Preetha Appan
a181137991 Fix one more failing test 2018-04-11 15:49:23 -05:00
Preetha
6c0bbe0c29 Merge pull request #4131 from hashicorp/b-rescheduling-fix-gc
Update garbage collection logic to make sure allocs with pending evals are not GCed
2018-04-11 15:44:36 -05:00
Preetha Appan
beb1a013db Always merge with default reschedule policy if its not nil 2018-04-11 15:26:01 -05:00
Preetha Appan
a499147d49 Make test descriptions better 2018-04-11 15:12:23 -05:00
Preetha Appan
532c106b63 Make system jobs fail validation if they contain a reschedule stanza 2018-04-11 14:56:20 -05:00
Alex Dadgar
2d8736064c Merge pull request #4137 from hashicorp/d-vault-guide
Use new Vault CLI commands in guides
2018-04-11 12:52:38 -07:00
Alex Dadgar
852e3b4fa0 Use new Vault CLI commands in guides 2018-04-11 12:51:36 -07:00
Preetha
f52b9fa5b6 Merge pull request #4136 from hashicorp/f-eval-status-show-waituntil
Show wait until value in eval status if it is set
2018-04-11 14:49:29 -05:00
Preetha Appan
2ec37d3e61 Show wait until value in eval status if it is set 2018-04-11 14:01:42 -05:00
Preetha Appan
9cbba2517f Update alloc GC eligility logic to not rely on follow up evals 2018-04-11 13:58:02 -05:00
Michael Schurter
b98152b963 Merge pull request #4116 from hashicorp/ga-build-only
Embed Google Analytics only in production
2018-04-11 11:24:23 -07:00
Charlie Voiselle
f945e51bc7 Merge pull request #4135 from hashicorp/b-fix-til
Changed "til" to "until"
2018-04-11 13:10:31 -05:00
Chelsea Komlo
b70caf987c Merge pull request #4133 from hashicorp/d-update-securing-nomad-guide
Add paragraph to explain rpc_migrate_mode when migrating a cluster
2018-04-11 14:01:42 -04:00
Chelsea Holland Komlo
aad039905e minor spelling/punctuation fixups 2018-04-11 13:41:39 -04:00
Jeff Escalante
d52730a3be Merge pull request #3954 from hashicorp/je.segment
Switch web analytics to segment
2018-04-11 13:37:02 -04:00
Charlie Voiselle
c728a2feb8 Changed "til" to "until"
Should be "till" or "until"; chose "until" because it is unambiguous as to meaning.
2018-04-11 12:36:28 -05:00
Chelsea Holland Komlo
446454b26e code review rewording recommendations 2018-04-11 13:31:10 -04:00
Chelsea Holland Komlo
8acc0129dd add link to rpc_upgrade_mode docs 2018-04-11 12:00:52 -04:00
Chelsea Holland Komlo
f792b577a0 add paragraph to explain rpc_migrate_mode when migrating a cluster
Update documentation on dynamically reloading TLS configuration
2018-04-11 11:48:24 -04:00
Chelsea Komlo
2505f09402 Merge pull request #4130 from hashicorp/d-health-check-changelog
Add change log entry for driver health checks
2018-04-10 18:49:55 -04:00
Chelsea Holland Komlo
571f8b63d9 client subsystem; reworded changelog 2018-04-10 18:49:09 -04:00
Chelsea Komlo
d32a4822fd Merge pull request #4111 from hashicorp/b-undetected-set-health-to-false
Immediately set driver health status to false when driver moves to undetected
2018-04-10 18:30:31 -04:00
Charlie Voiselle
0d86c893ff Update CHANGELOG.md 2018-04-10 17:26:34 -05:00
Charlie Voiselle
65e10e9f33 Merge pull request #4129 from hashicorp/b-vendor-go-getter
Vendored hashicorp/go-getter
2018-04-10 17:25:41 -05:00
Preetha
12fae72eba Merge pull request #4120 from hashicorp/b-rescheduling-minimize-evals
Batch evals for rescheduling failed allocs correctly
2018-04-10 17:18:35 -05:00
Preetha Appan
a5965d0cb0 Fix unit test for core scheduler GC 2018-04-10 17:12:06 -05:00
Alex Dadgar
340724299b 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
4b503dd6f9 Simplify and update allocation gc eligibility logic 2018-04-10 16:08:37 -05:00
Preetha
06412a5b1a 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
a40750e596 update comment for when the fingerprinter setting health status 2018-04-10 16:53:00 -04:00
Preetha Appan
f8427c847d minor code review fix 2018-04-10 15:33:01 -05:00
Preetha Appan
87bcd3871b 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
5e72046ef5 change log for driver health checks 2018-04-10 15:58:23 -04:00
Chelsea Holland Komlo
46ec4633fe fingerprinter should set health check status if health check is not periodic 2018-04-10 15:29:51 -04:00
Chelsea Holland Komlo
9eaa1e7c9e add setters for access to the fingerprint manager's node
refactor extracting driver info
2018-04-10 15:29:51 -04:00