Commit graph

7275 commits

Author SHA1 Message Date
Alex Dadgar 5c7697d652 changelog 2017-05-09 13:03:57 -07:00
Alex Dadgar 23685d65d0 Merge pull request #2610 from hashicorp/f-bolt-db
Client persist state using bolt-db and more efficient write patterns
2017-05-09 13:01:36 -07:00
Alex Dadgar d6c0e0d282 Merge pull request #2628 from hashicorp/b-ignore-consul-dereg-err
Ignore Consul deregister errors on executors
2017-05-09 11:36:23 -07:00
Alex Dadgar 3cd7e06fba Fix test 2017-05-09 11:35:48 -07:00
Michael Schurter 3b15db1ac4 Ignore Consul deregister errors on executors
Errors here only occur if Consul is not running when Nomad is restarted.

Errors here are only an issue if:
 * Consul is being used but is down or misbehaving
 * The executor is old (<0.6)
 * The task has services
 * The services hit a pre-0.6 consul.Syncer bug

If all of those conditions are met the pre-0.6 bugs will persist for
this task until Nomad is restarted.
2017-05-09 11:28:27 -07:00
Alex Dadgar ba70cc4f01 Merge branch 'master' into f-bolt-db 2017-05-09 11:11:55 -07:00
Alex Dadgar 843bc26e5d Respond to comments 2017-05-09 10:50:24 -07:00
Michael Schurter 13aa9ed776 Merge pull request #2626 from hashicorp/f-remove-win-cgo
Update go-winio to remove cgo on Windows
2017-05-09 10:25:24 -07:00
Michael Schurter 21dff59304 Update go-winio to remove cgo on Windows
Thanks to Microsoft/go-winio#51
2017-05-08 15:43:48 -07:00
Michael Schurter 4a02815ead Merge pull request #2622 from hashicorp/f-2594-support-consul-unix
Update consul/api to support unix socket addrs
2017-05-08 15:22:34 -07:00
Michael Schurter 835a1ab3b3 Add #2622 to Changelog 2017-05-08 11:57:09 -07:00
Michael Schurter 85210eb92f Update consul/api to support unix socket addrs
Fixes #2594
2017-05-08 11:57:04 -07:00
Michael Schurter 95195daca2 Fix version constraint example in docs
Thanks @phinze!
2017-05-08 11:30:08 -07:00
Michael Schurter 5b8415df2c Merge pull request #2585 from hashicorp/b-2554-container-exec
Execute exec/java script checks in containers
2017-05-05 10:31:18 -07:00
Michael Schurter f350c1f37e Merge pull request #2608 from hashicorp/f-test-verify_https_client
Test verify_https_client behavior and skip Consul HTTPS health checks when enabled
2017-05-04 17:36:13 -07:00
Michael Schurter 749406e50b Remove extra Travis logging 2017-05-04 17:35:54 -07:00
Michael Schurter 096493348b Bump Travis to latest Go 1.8.x 2017-05-04 17:04:59 -07:00
Michael Schurter 28e17b7a09 Test pre06ScriptCheck 2017-05-04 16:49:00 -07:00
Michael Schurter b11d1ad1ce Oops, remove dev logging 2017-05-04 16:27:04 -07:00
Michael Schurter 897b516117 Reuse ExecScript implementation 2017-05-04 16:21:40 -07:00
Michael Schurter c2592f9250 Merge pull request #2616 from hashicorp/docs-fix-0.5.5-upgrade
Fix upgrade instructions for docker load option
2017-05-04 10:33:37 -07:00
Michael Schurter 1e7e83451c Typeos 2017-05-04 10:24:50 -07:00
Michael Schurter 6541b7ca0b Merge pull request #2614 from hashicorp/b-2343-windows-panic
Update go-winio to fix Go 1.8 compat
2017-05-04 10:21:47 -07:00
Michael Schurter 3e7fb10718 Fix upgrade instructions for docker load option 2017-05-04 10:15:42 -07:00
Michael Schurter b3112835a0 Add #2343 docker + windows panic fix to changelog 2017-05-04 09:08:52 -07:00
Alex Dadgar 5f92d0e41a changelog 2017-05-03 17:24:30 -07:00
Alex Dadgar 1e3d1167a3 Merge pull request #2507 from hashicorp/f-task-env-vars
Add env vars for dc, region
2017-05-03 17:22:43 -07:00
Michael Schurter a2a8af471a go-winio now requires cgo which requires mingw 2017-05-03 17:09:12 -07:00
Alex Dadgar d023364994 Merge pull request #2612 from hashicorp/jbs-264
Docs: Update node-status page
2017-05-03 16:19:13 -07:00
Brian Shumate 5c6932b54a
Remove evict 2017-05-03 18:45:27 -04:00
Michael Schurter fc68234b73 Update go-winio to get Microsoft/go-winio#48 2017-05-03 15:22:55 -07:00
Michael Schurter 5cc2742fce Update go-winio to Microsoft/go-winio#31
Didn't fix the panic.
2017-05-03 15:22:55 -07:00
Michael Schurter 24c8434368 Adding logging for Travis 2017-05-03 15:18:48 -07:00
Alex Dadgar 2d54ee2925 Fix tests 2017-05-03 15:14:19 -07:00
Brian Shumate 74f5229f48
Docs: Update node-status page
- Add details about Desired Status and Client Status for #264
2017-05-03 17:46:06 -04:00
Michael Schurter 4dc897a664 Don't reuse transport/client 2017-05-03 13:26:55 -07:00
Kate Taggart 706e09748b fix test. 2017-05-03 12:45:59 -07:00
Kate Taggart 9ae7459f27 important word change in docs. 2017-05-03 12:45:59 -07:00
Kate Taggart 2fb6301b37 responding to feedback on PR: remove Region from Node struct, some grammatical niceties. 2017-05-03 12:45:59 -07:00
Kate Taggart 6d469a8266 remove periods from things that aren't sentences. 2017-05-03 12:45:59 -07:00
Kate Taggart f6236dec34 mention the two newly available env vars in the docs. 2017-05-03 12:45:59 -07:00
Kate Taggart af22cb722e I think I did it. 2017-05-03 12:45:59 -07:00
Kate Taggart 277d5ddb36 allow region to also be interpolated, like datacenter. 2017-05-03 12:45:59 -07:00
Kate Taggart 9fa97c38a0 just found out dc and region are going to be a bit different, as Region didn't previously exist in the Node struct. 2017-05-03 12:45:59 -07:00
Kate Taggart 1a5ebace03 add helper functions to set and clear dc, region names. 2017-05-03 12:45:59 -07:00
Kate Taggart 2062d5d1dc add dc and region to task env building function. flipped order of a couple functions to be consistent with the ordering of the rest of that section. 2017-05-03 12:45:59 -07:00
Kate Taggart e572ec8997 starting the jelly bean trail for two new env vars 2017-05-03 12:45:59 -07:00
Alex Dadgar b2f692ff42 better change_mode explanation for templates 2017-05-03 12:40:27 -07:00
Alex Dadgar 9faa98e13b Fix tests 2017-05-03 12:38:49 -07:00
Michael Schurter c4ab8211b6 Skip https health check if verify_https_client is true 2017-05-03 12:19:02 -07:00