Commit Graph

7327 Commits

Author SHA1 Message Date
Michael Schurter
7dac668adf Functional consul template env file support 2017-05-23 13:45:14 -07:00
Michael Schurter
052cb28c30 Mention #2658 --security-opts 2017-05-22 09:25:44 -07:00
Alex Dadgar
9fc11b6888 Merge pull request #2663 from benmoss/master
Update cluster tutorial to generate random client UUIDs
2017-05-21 16:46:42 -07:00
Ben
90f66355ca Update cluster tutorial to generate random client UUIDs 2017-05-21 19:44:43 -04:00
Alex Dadgar
98c6c39302 Merge pull request #2662 from benmoss/master
Make example clients generate random HostIDs
2017-05-21 16:27:00 -07:00
Ben
5081dd54cf 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
f735ef712f 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
250c40714d Add security_opt to docs, alphabetize section 2017-05-19 17:04:28 -07:00
Brandon Fulljames
dc95acdcc6 Fix for test 2017-05-19 16:59:07 -07:00
Brandon Fulljames
b0304477a2 Add SecurityOpt as a config field in Docker driver 2017-05-19 16:18:49 -07:00
Alex Dadgar
56cd8b6913 Changelog 2017-05-18 10:30:54 -07:00
Alex Dadgar
22a6a8e0a8 Merge pull request #2634 from hashicorp/f-update-block
New Update block syntax
2017-05-18 13:29:17 -04:00
Alex Dadgar
42801072ff Merge branch 'master' of github.com:hashicorp/nomad 2017-05-17 14:46:03 -07:00
Alex Dadgar
aa15ad51d1 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
7ac5a3e984 Fix readme 2017-05-17 12:57:38 -04:00
Michael Schurter
70fdc46abc Merge pull request #2591 from hashicorp/b-2180-script-updates
Properly interpolate services on updated tasks
2017-05-17 09:09:01 -07:00
Alex Dadgar
d72e86cbe3 Use a lock to increment the vault port 2017-05-16 13:25:07 -04:00
Alex Dadgar
19a80c342f changelog 2017-05-16 13:04:23 -04:00
Alex Dadgar
b72ebf673d 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
f8ee86065d 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
45c9e4b8cb Merge pull request #2646 from derzufall/patch-1
Docu was misleading
2017-05-16 12:35:08 -04:00
Alex Dadgar
89c3e5b186 Merge pull request #2647 from sixfeetover/patch-1
Small typo fix in vault stanza
2017-05-16 12:34:18 -04:00
Jeff Fraser
134a80cab4 Small typo fix in vault stanza 2017-05-16 11:46:59 -04:00
Ni Br
da97094816 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
3faeb0985d 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
786821c582 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
b9bd1b0e95 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
Alex Dadgar
f36371a5d0 Merge branch 'master' of github.com:hashicorp/nomad 2017-05-11 14:55:17 -07:00
Alex Dadgar
458c3c50db Fix flaky test: TestServer_RPC_MixedTLS 2017-05-11 14:55:12 -07:00
Alex Dadgar
cf8c781fc3 Merge branch 'master' into f-update-block 2017-05-11 13:08:31 -07:00
Alex Dadgar
0762f9c791 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
7fb1b37e09 Fix vet errors 2017-05-11 13:08:08 -07:00
Alex Dadgar
5202ff7a1b Fix truncate test 2017-05-11 13:05:53 -07:00
Alex Dadgar
7c2e59f32a Plan allows updating the status of deployments 2017-05-11 12:49:04 -07:00
Alex Dadgar
710945bffa Use a detected struct to hold deployment status for an allocation 2017-05-11 11:09:29 -07:00
Alex Dadgar
f949a77ee3 Easy feedback fixes 2017-05-10 15:26:00 -07:00
Alex Dadgar
715c6bcc4a API defaults use structs default 2017-05-10 13:51:52 -07:00
Alex Dadgar
77978ae907 handle upgrading old update block syntax 2017-05-10 13:48:53 -07:00
Alex Dadgar
616d5c2a4a 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
a302e030b6 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
7515f778a9 Thread through warnings about deprecations 2017-05-09 20:52:47 -07:00
Alex Dadgar
ff571bce50 changelog 2017-05-09 13:03:57 -07:00
Alex Dadgar
d11ca57705 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
bdaa2baee5 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
997390b04c Fix test 2017-05-09 11:35:48 -07:00
Michael Schurter
92b19c441a 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
e47be9f771 Merge branch 'master' into f-bolt-db 2017-05-09 11:11:55 -07:00
Alex Dadgar
3f1ccf7278 Respond to comments 2017-05-09 10:50:24 -07:00
Michael Schurter
5804fbe3d4 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
d606e98a6e New update block; still need to handle the upgrade path 2017-05-08 17:44:26 -07:00