Commit graph

7893 commits

Author SHA1 Message Date
Michael Schurter a2eb7d17c9 Improve PortMap handling and simplify Builder creation 2017-05-23 13:53:34 -07:00
Michael Schurter 8da110855e Move path building to task dir initialization 2017-05-23 13:53:34 -07:00
Michael Schurter d2c08ff24b Refactor TaskEnvironment into Builder and TaskEnv 2017-05-23 13:53:33 -07:00
Michael Schurter 10b6610e56 Functional consul template env file support 2017-05-23 13:45:14 -07:00
Michael Schurter 5fccb2acbe Mention #2658 --security-opts 2017-05-22 09:25:44 -07:00
Alex Dadgar b76cd44b0f Merge pull request #2663 from benmoss/master
Update cluster tutorial to generate random client UUIDs
2017-05-21 16:46:42 -07:00
Ben 2dd97a5bd4 Update cluster tutorial to generate random client UUIDs 2017-05-21 19:44:43 -04:00
Alex Dadgar 15d3c94b23 Merge pull request #2662 from benmoss/master
Make example clients generate random HostIDs
2017-05-21 16:27:00 -07:00
Ben e801af74cf Make example clients generate random HostIDs
The tutorial has you make two clients on the same Vagrant box, so they
end up with the same secret ID.

Fixes #2661.
2017-05-21 19:20:32 -04:00
Michael Schurter cf30b3e5b0 Merge pull request #2658 from Evertras/master
Add SecurityOpt as a config field in Docker driver
2017-05-19 17:17:08 -07:00
Brandon Fulljames 694450314d Add security_opt to docs, alphabetize section 2017-05-19 17:04:28 -07:00
Brandon Fulljames 6d7caa5f6b Fix for test 2017-05-19 16:59:07 -07:00
Brandon Fulljames 6b2d5bd4fd Add SecurityOpt as a config field in Docker driver 2017-05-19 16:18:49 -07:00
Alex Dadgar 3d9ae039e4 Changelog 2017-05-18 10:30:54 -07:00
Alex Dadgar 4503e2d1f7 Merge pull request #2634 from hashicorp/f-update-block
New Update block syntax
2017-05-18 13:29:17 -04:00
Alex Dadgar 6d76fb2f17 Merge branch 'master' of github.com:hashicorp/nomad 2017-05-17 14:46:03 -07:00
Alex Dadgar ee8dd84965 Fix nil job on allocation
The way the copying was happening on the alloc_runner was by temporarily
setting the alloc.Job to nil, copying and then restoring it. This
created an issue in which when the alloc was shared (which it is in
server/client mode and between alloc_runner/task_runner) there were race
conditions that could create a panic.

Fixes https://github.com/hashicorp/nomad/issues/2605
2017-05-17 14:07:06 -04:00
Alex Dadgar cd7538dc44 Fix readme 2017-05-17 12:57:38 -04:00
Michael Schurter 06f937bf28 Merge pull request #2591 from hashicorp/b-2180-script-updates
Properly interpolate services on updated tasks
2017-05-17 09:09:01 -07:00
johannesa 323a0a78f3 Fixed wrong newline 2017-05-17 16:51:22 +02:00
johannesa c3f4b1a2ee Added snippet for mac address in docs 2017-05-17 16:48:51 +02:00
johannesa ea644237cf mac address pinning in docker driver
This commit adds mac address pining to the docker driver.
2017-05-17 16:41:00 +02:00
Alex Dadgar 57f643b252 Use a lock to increment the vault port 2017-05-16 13:25:07 -04:00
Alex Dadgar 816d6a2a49 changelog 2017-05-16 13:04:23 -04:00
Alex Dadgar 316bed0fcb Merge pull request #2648 from hashicorp/b-vault-panic
Fix Vault Client panic when given nonexistant role
2017-05-16 13:01:50 -04:00
Alex Dadgar d3012f1447 Fix Vault Client panic when given nonexistant role
The Vault API returns a nil secret and nil error when reading an object
that doesn't exist. The old code assumed an error would be returned and
thus will panic when trying to validate a non-existant role.
2017-05-16 12:59:58 -04:00
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
Rob Genova 26c937249c update READMEs 2017-05-15 21:40:20 -07:00
Rob Genova 04d601f013 Merge branch 'f-terraform-config' of github.com:hashicorp/nomad into f-terraform-config 2017-05-15 21:36:02 -07:00
Rob Genova d5c3fabc77 update READMEs 2017-05-15 21:33:40 -07:00
rcgenova a205443992 Update README.md 2017-05-15 21:19:51 -07:00
rcgenova b7fc422cea Update README.md 2017-05-15 21:19:17 -07:00
Rob Genova 33e7af8314 terraform README updates 2017-05-15 21:17:48 -07: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
Rob Genova 3de63d132c Initial commit for Terraform/AWS support 2017-05-15 11:56:41 -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