Commit graph

7560 commits

Author SHA1 Message Date
Alex Dadgar d5c0f9dc8b Merge pull request #2646 from derzufall/patch-1
Docu was misleading
2017-05-16 12:35:08 -04:00
Alex Dadgar 121f312ff6 Merge pull request #2647 from sixfeetover/patch-1
Small typo fix in vault stanza
2017-05-16 12:34:18 -04:00
Jeff Fraser 2f26887378 Small typo fix in vault stanza 2017-05-16 11:46:59 -04:00
Ni Br bf9ae7943b Docu was misleading
The actual parameter for go-getter is 'sshkey' and not 'sshkeys'. The current docu is wrong here... corrected this. kkthxbai
2017-05-16 17:01:10 +02:00
Michael Schurter b8fdeaca94 Merge pull request #2645 from hashicorp/b-fix-consul-verify-ssl
Fix consul.verify_ssl
2017-05-15 15:57:13 -07:00
Michael Schurter a4e2463477 Fix consul.verify_ssl
Was getting ignored and would have defaulted to false if it wasn't
ignored.

Now defaults to true as per docs and isn't ignored.
2017-05-15 15:32:32 -07:00
Michael Schurter 3841692138 gc_max_allocs should include blocked & migrating 2017-05-12 16:03:22 -07:00
Michael Schurter 49ce86ee0a Lower default gc_max_allocs to 50 2017-05-12 15:57:27 -07:00
Michael Schurter 5fd438661d Merge pull request #2399 from multani/sockaddr-template
Add support for late binding to IP addresses using go-sockaddr/template
2017-05-11 17:25:03 -07:00
Michael Schurter 0453c2709c Add new gc_max_allocs tuneable
More than gc_max_allocs may be running on a node, but terminal allocs
will be garbage collected to try to keep the total number below the
limit.
2017-05-11 17:18:02 -07:00
Alex Dadgar 67920c32b5 Merge branch 'master' of github.com:hashicorp/nomad 2017-05-11 14:55:17 -07:00
Alex Dadgar 079a4da7d2 Fix flaky test: TestServer_RPC_MixedTLS 2017-05-11 14:55:12 -07:00
Alex Dadgar 919c50ba5c Merge branch 'master' into f-update-block 2017-05-11 13:08:31 -07:00
Alex Dadgar 9a4dd71b6f Merge pull request #2621 from hashicorp/f-deployments
Deployment object and new Plan Apply FSM codepath
2017-05-11 13:08:19 -07:00
Alex Dadgar 68c3a2bd98 Fix vet errors 2017-05-11 13:08:08 -07:00
Alex Dadgar ac2afece53 Fix truncate test 2017-05-11 13:05:53 -07:00
Alex Dadgar 83f5e65aae Plan allows updating the status of deployments 2017-05-11 12:49:04 -07:00
Alex Dadgar 9a576bafd1 Use a detected struct to hold deployment status for an allocation 2017-05-11 11:09:29 -07:00
Alex Dadgar 71788faacd Easy feedback fixes 2017-05-10 15:26:00 -07:00
Alex Dadgar 3a53bdb669 API defaults use structs default 2017-05-10 13:51:52 -07:00
Alex Dadgar 50eec3ef35 handle upgrading old update block syntax 2017-05-10 13:48:53 -07:00
Alex Dadgar 76d4f62bb5 Merge pull request #2632 from hashicorp/jbs-docs-scheduler-types
DOCS: Update Scheduler Types page
2017-05-10 10:03:44 -07:00
Brian Shumate 4a75e2928a
DOCS: Update Scheduler Types page
- Update grammar
- Add link to Large-scale cluster management at Google with Borg
2017-05-10 12:45:23 -04:00
Alex Dadgar 6232b66ea7 Thread through warnings about deprecations 2017-05-09 20:52:47 -07:00
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
Alex Dadgar 10b040aea3 New update block; still need to handle the upgrade path 2017-05-08 17:44:26 -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
Alex Dadgar 7078d563cb Create Deployments through plan application 2017-05-05 15:33:19 -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 f286b6b798 Build new env from new alloc before interpolating 2017-05-04 15:06:15 -07:00
Alex Dadgar 343ff03f02 Deployment struct, state store, fsm persist/restore 2017-05-04 13:37:18 -07:00
Alex Dadgar e65dca8746 Structs 2017-05-04 13:37:17 -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