Commit graph

9699 commits

Author SHA1 Message Date
Rob Genova 5a191b5483 update Enterprise language 2017-11-17 14:44:48 -08:00
Samuel BERTHE 0fca2e19c8 review(docker driver): sysctls -> sysctl + ulimits -> ulimit 2017-11-17 16:30:45 -06:00
Rob Genova f2f1d1c6ee bump Terraform version to 0.11.0 2017-11-17 14:26:27 -08:00
Samuel BERTHE 6c93922cb7 Oops 2017-11-17 16:14:14 -06:00
Samuel BERTHE dc295b3ce1 doc(docker driver): Adds doc for ulimit and sysctl 2017-11-17 16:14:14 -06:00
Samuel BERTHE c8363bc44b 💄 2017-11-17 16:03:22 -06:00
Samuel BERTHE 281ab90484 test(docker driver): testing sysctls and ulimits 2017-11-17 16:03:22 -06:00
Samuel BERTHE b9a10ff7fa feat(docker driver): adds sysctls and ulimits configs 2017-11-17 16:03:22 -06:00
Preetha c02b740182
Update CHANGELOG.md 2017-11-17 15:31:25 -06:00
Preetha 55483bb546
Update CHANGELOG.md 2017-11-17 15:10:01 -06:00
Preetha Appan 3592635ede Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
Preetha 1d321f3556
Update CHANGELOG.md 2017-11-17 14:35:54 -06:00
Preetha e3b276b719
Merge pull request #3558 from hashicorp/b-nomad-validate-with-defaults
Make validate command ignore environment variables in service name
2017-11-17 14:31:42 -06:00
Preetha 8aa08682a9
Remove documentation around service name validation 2017-11-17 14:31:27 -06:00
Rob Genova 472c88798c bump Packer version to 1.1.2 2017-11-17 12:22:21 -08:00
Alex Dadgar 32140001e3 changelog 2017-11-17 12:10:15 -08:00
Alex Dadgar 205d42dc9a changelog 2017-11-17 10:35:12 -08:00
Alex Dadgar 69d3bf7392
Merge pull request #3559 from hashicorp/b-metrics
Don't emit metrics for non-running tasks
2017-11-17 10:33:23 -08:00
Chelsea Holland Komlo 767a0be29d update nomad guide for dynamic certificate reloading 2017-11-17 12:46:45 -05:00
Preetha Appan 1c4375163a Change error message to use original name for clarity, rather than the name after substituting env vars with placeholder. 2017-11-17 08:44:18 -06:00
Preetha fa9f7df16e
Rewording for clarity 2017-11-17 08:38:55 -06:00
Michael Schurter 3845c8d200
Merge pull request #3562 from hashicorp/b-3561-rkt-rm
Remove rkt pods when exiting
2017-11-16 17:30:21 -08:00
Michael Schurter 737fb45640
Merge pull request #3551 from hashicorp/b-3419-docker-409-bug
Fix Docker name conflict bug by updating dockerclient
2017-11-16 16:38:54 -08:00
Michael Schurter 437fce9954 Improve rktRemove error message 2017-11-16 15:45:14 -08:00
Preetha Appan 32e025e2ad Move service validation explanation doc 2017-11-16 16:58:37 -06:00
Michael Schurter 3ceec0caab Remove rkt pods when exiting
Fixes #3561
2017-11-16 14:33:44 -08:00
Charlie Voiselle 7a231897a5
Merge pull request #3556 from angrycub/f-fingerprint-log-level
Dropped loglevel for AWS fingerprinter env read misses to DEBUG
2017-11-16 16:27:25 -05:00
Charlie Voiselle 969ddf9c2a Lowered to DEBUG from AD feedback 2017-11-16 14:13:03 -05:00
Alex Dadgar 7e509e24ba Vendor in fixed go-metrics 2017-11-16 10:42:49 -08:00
Preetha Appan 88b7c36357 Fix flaky test TestPrettyTimeDiff 2017-11-16 09:48:14 -06:00
Preetha eb0f8bb02a
Update validate.html.md.erb 2017-11-16 07:56:26 -06:00
Preetha e99dec75a7
Adding some more explanatory text around validating 2017-11-15 16:48:16 -06:00
Rob Genova 173e8fd40e
Update README.md 2017-11-15 14:18:49 -08:00
Preetha Appan d668afea7a Update documentation about validation logic for service names. 2017-11-15 15:42:03 -06:00
Preetha Appan d3110f21bd Changes service name validation logic to ignore any environment variables first. 2017-11-15 15:35:43 -06:00
Alex Dadgar 05b1588cea Only publish metric when the task is running and dev mode publishes metrics 2017-11-15 13:21:06 -08:00
Alex Dadgar 07963f0b6d
Merge pull request #3546 from hashicorp/f-heuristic
Better interface selection heuristic
2017-11-15 12:51:21 -08:00
Alex Dadgar a479ee6f0c changelog 2017-11-15 12:50:49 -08:00
Alex Dadgar d01653266d use revised wording 2017-11-15 12:49:22 -08:00
Rob Genova 0bbb793c36 add Azure .pem file to .gitignore 2017-11-15 19:42:30 +00:00
Rob Genova 67d21ed192 restructure README files; add Azure README 2017-11-15 19:40:34 +00:00
Rob Genova b2b9dc10dc update provisioning scripts to support both AWS and Azure 2017-11-15 19:39:36 +00:00
Rob Genova c392e85738 update AWS Terraform configs for consistency 2017-11-15 19:38:50 +00:00
Rob Genova 5768949d66 update Azure Terraform configs 2017-11-15 19:37:32 +00:00
Alex Dadgar 97ec3974a9 Use interface attached to default route 2017-11-15 11:32:32 -08:00
Rob Genova ffa44f6651 update config files to support systemd and Azure; reorganize Packer file hierarchy; update Vagrantfile to use latest tool versions 2017-11-15 19:31:46 +00:00
Michael Schurter 5ebf110036
Merge pull request #3502 from hashicorp/b-3420-restore-dead-leader
Handle leader task being dead in RestoreState
2017-11-15 11:21:14 -08:00
Michael Schurter f86f0bd9ea Handle leader task being dead in RestoreState
Fixes the panic mentioned in
https://github.com/hashicorp/nomad/issues/3420#issuecomment-341666932

While a leader task dying serially stops all follower tasks, the
synchronizing of state is asynchrnous. Nomad can shutdown before all
follower tasks have updated their state to dead thus saving the state
necessary to hit this panic: *have a non-terminal alloc with a dead
leader.*

The actual fix is a simple nil check to not assume non-terminal allocs
leader's have a TaskRunner.
2017-11-15 10:36:13 -08:00
Charlie Voiselle 1197637251 Dropped loglevel for AWS fingerprinter env reads
Certain environments use WARN for serious logging; however, it's very
possible to have machines without some of the fingerprinted keys
(public-ipv4 and public-hostname specifcally).  Setting log level to
INFO seems more consistent with this possibility.
2017-11-15 18:20:59 +00:00
Max Timchenko 8b7e61d055 Do not emit logs on SIGPIPE since logging service could be unavailable
This should fix https://github.com/hashicorp/nomad/issues/3554
2017-11-15 18:01:41 +02:00