Michael Schurter
5bd920f828
Mention tls_skip_verify support
2017-07-18 09:15:57 -07:00
Alex Dadgar
e0a1097d38
Changelog
2017-07-17 18:27:53 -07:00
Alex Dadgar
5b14f091b1
Merge pull request #2848 from hashicorp/f-autocomplete
...
Add command autocompletion.
2017-07-17 18:27:04 -07:00
Alex Dadgar
22e84d00ab
Fix deep copy of driver config
2017-07-17 17:53:21 -07:00
Alex Dadgar
641e178416
Stop before trying to place
2017-07-17 17:18:12 -07:00
Michael Schurter
420be86e39
Test AllocDir.Copy
2017-07-17 15:46:54 -07:00
Michael Schurter
cdb2e96d99
Add AllocRunner.allocID for ease-of-use
...
Since the AllocRunner.alloc struct can be mutated, most of AllocRunner
needs to acquire a lock to get the alloc's ID. Log lines always need to
include the alloc ID, so we often skipped acquiring a lock just to grab
the ID and accepted the race.
Let's make the race detector a little happier by storing the ID in a
single assignment field.
2017-07-17 15:46:54 -07:00
Michael Schurter
181fda825a
Fix log level
2017-07-17 15:46:54 -07:00
Michael Schurter
98f6e7f10f
Don't fail if task dirs don't exist on creation
...
Task dir metadata is created in AllocRunner.Run which may not run before
an alloc is sync'd and Nomad exits. There's no reason not to just create
task dir metadata on restore if it doesn't exist.
2017-07-17 15:46:54 -07:00
Michael Schurter
51515cbe0c
Ensure allocDir is never nil and persisted safely
...
Fixes #2834
2017-07-17 15:46:54 -07:00
Alex Dadgar
755d20da92
Merge pull request #2830 from hashicorp/b-max-warning
...
Warn instead of error when max_parallel is greater than count.
2017-07-17 15:35:23 -07:00
Alex Dadgar
cd78b99d14
Address feedback
2017-07-17 15:35:14 -07:00
Alex Dadgar
978e3f68f6
Merge pull request #2839 from hashicorp/b-failed-eval
...
Fix allocations pointing to unknown deployment
2017-07-17 15:05:03 -07:00
Alex Dadgar
c10b6c0560
Merge pull request #2842 from hashicorp/d-init
...
Update init command to show new update stanza.
2017-07-17 15:04:49 -07:00
Alex Dadgar
810ab68f94
Add command autocompletion.
...
This PR adds command autocompletion to the CLI.
2017-07-17 15:00:40 -07:00
Alex Dadgar
84c2f25e0a
Deployment GC ensures no alloc references
2017-07-17 14:09:59 -07:00
Alex Dadgar
311084c724
Allow the deployment to not exist and just no-op
2017-07-17 14:09:59 -07:00
Alex Dadgar
0821ee67f5
Fix alloc broadcaster panic on double close
2017-07-17 14:09:05 -07:00
Michael Schurter
2373f94c74
Merge pull request #2846 from hashicorp/f_docs_spelling_units
...
Spellcheck sweep of website directory
2017-07-17 11:58:58 -07:00
Charlie Voiselle
3cff38ff94
Spellcheck sweep of website directory
...
Caught some typos. Made units separate from the numbers 1GHz -> 1 GHz
after talking to Nick about questions of style (this has the side effect of making future spell checking easier).
2017-07-17 14:41:50 -04:00
Alex Dadgar
53bcc6a2cc
spelling errors
2017-07-17 11:19:37 -07:00
Alex Dadgar
abe8fbc8fe
Merge pull request #2845 from hashicorp/f-version
...
Allow cli package to handle version.
2017-07-17 11:15:11 -07:00
Alex Dadgar
df3d9229fe
Allow cli package to handle version.
...
This PR removes our custom handling of the version flag and updates job
history to use a version flag instead of `-job-version`.
2017-07-17 11:04:07 -07:00
Alex Dadgar
129d5fd4c3
Update init command to show new update stanza.
2017-07-16 11:12:43 -07:00
Alex Dadgar
66a90326e1
Treat destructive updates atomically
2017-07-16 10:35:38 -07:00
Michael Schurter
76e7424020
Merge pull request #2837 from hashicorp/b-2835-docker-panic
...
Fix nil panic in Docker error condition
2017-07-14 13:09:09 -07:00
Michael Schurter
d5453481c4
Add changelog entry
2017-07-14 10:52:20 -07:00
Michael Schurter
0a6bf87365
Fix nil panic in Docker error condition
...
Fixes #2835
Yet another bug caused by overwriting container and then trying to
reference container.ID in the err handling block. Did a quick audit of
docker.go and it seems to be the last offender. See #2804 for previous
bug.
2017-07-14 10:48:19 -07:00
Michael Schurter
9514c3bf12
Update go-getter to get .xz support
2017-07-14 10:31:21 -07:00
Alex Dadgar
cae1457ef9
Merge pull request #2833 from hashicorp/f-log-rejection
...
Log reason a plan gets rejected per node.
2017-07-14 10:17:19 -07:00
Alex Dadgar
f91312a49a
Fix typo
2017-07-14 09:53:46 -07:00
Alex Dadgar
7a74080079
Log reason a plan gets rejected per node.
...
This PR adds a log explaining why a plan gets rejected. Should help
debugging.
2017-07-13 17:14:02 -07:00
Alex Dadgar
e71e315950
Fix log line for gc'ing deployments
2017-07-13 15:07:25 -07:00
Rob Genova
cbfaa47d34
Merge pull request #2831 from hashicorp/d-vault-integration-tokens
...
Update the `vault token-create` example on the Vault Integration page to use `-orphan`
2017-07-13 13:16:49 -07:00
Alex Dadgar
2fff6d7b4a
Merge pull request #2826 from abednarik/patch-1
...
Update README.md
2017-07-13 13:15:52 -07:00
Alex Dadgar
aa2126cc1a
Warn instead of error when max_parallel is greater than count.
...
Fixes https://github.com/hashicorp/nomad/issues/2819
2017-07-13 13:10:45 -07:00
Rob Genova
df8549d40e
Update the vault token-create
example to use -orphan
(to prevent revocation if the parent token expires); add note about Vault token hierarchies
2017-07-13 13:04:31 -07:00
Michael Schurter
0192fb7a4c
Remove synced folder from demo vagrant
...
Demo vagrant isn't intended to be used from a cloned repo, so this was
syncing random host folders which is a bit sketchy.
2017-07-13 11:47:19 -07:00
Alejandro Bednarik
ad68277223
Update README.md
...
Change Ubuntu version used in Vagrant for development purpose.
2017-07-12 15:09:54 -03:00
Michael Schurter
233142b291
Merge pull request #2822 from hashicorp/d-fix-demo-vagrant
...
Don't require cloned repo for demo vagrant
2017-07-11 13:19:40 -07:00
Michael Schurter
caaf4adbf2
Don't require cloned repo for demo vagrant
...
Also update how Docker installed to match the latest upstream
instructions.
2017-07-11 08:00:46 -07:00
Rob Genova
02f3d363ee
Merge pull request #2754 from hashicorp/d-spark-guide
...
Apache Spark Integration Guide
2017-07-10 22:11:06 -07:00
Rob Genova
d307f592e3
Fix terraform links
2017-07-10 22:09:17 -07:00
Rob Genova
5968ec37ad
Fix link to Terraform
2017-07-10 22:03:45 -07:00
Rob Genova
85afcc4354
Merge pull request #2815 from hashicorp/d-getting-started-terraform
...
Update Getting Started guide to reference example Terraform configuration
2017-07-10 15:59:07 -07:00
Rob Genova
5f55f5a5ab
Merge pull request #2738 from hashicorp/f-terraform-config
...
Add Packer, Terraform configs to spin up an integrated Nomad, Consul, Vault cluster in AWS
2017-07-10 15:55:04 -07:00
Rob Genova
1fe574630d
Move Terraform reference to Next Steps
2017-07-10 12:41:40 -07:00
Rob Genova
9b96a50497
update references to build tgz
2017-07-10 12:05:36 -07:00
Rob Genova
a08778ab6e
Add reference to example Terraform configuration; reframe getting started options as manual vs. automated
2017-07-08 10:16:13 -07:00
Rob Genova
28d9ea3e40
Fix formatting; remove reference to personal S3 bucket
2017-07-08 08:20:10 -07:00