Commit graph

14189 commits

Author SHA1 Message Date
Preetha 4a63d1b1d1
Update CHANGELOG.md 2019-01-29 15:25:21 -06:00
Alex Dadgar 6f418ebaf0 Always populate task dir environment variables
Fixes an issue where if a task was restarted after restating the client,
the task dir environment variables would not be populated. This PR fixes
this for both upgrades from 0.8.X and for normal 0.9 restarts.
2019-01-29 13:17:10 -08:00
Omar Khawaja 45a07ce15f
LXC driver guide (#5255)
* skeleton for external plugins guide section

* initial content

* add installation and configuration steps

* complete steps to deployg lxc workload

* update link

* correct typo in link

* change link name

* fix alignment and word wrap at 80

* updates

* update lxc driver download link and commands in step 3

* fix link typo
2019-01-29 16:02:58 -05:00
Omar Khawaja 55ccd41634
add plugin content (docs) (#5186)
* call out pluggable drivers in task drivers section and link/add info to plugin stanza

* fix hyphenation

* removing page and nav that tells users drivers are not pluggable

* show new syntax for configuring raw_exec plugin on client

* enabled option value for raw_exec is boolean

* add plugin options section and mark client options as soon to be deprecated

* fix typos

* add plugin options for rkt task drivers and place deprecation warning in client options

* add some plugin options with plugin configuration example + mark client options as soon to be deprecated

* modify deprecation warning

* replace colon with - for options

* add docker plugin options

* update links within docker task driver to point to plugin options

* fix typo and clarify config options for lxc task driver

* replace raw_exec plugin syntax example with docker example

* create external section

* restructure lxc docs and add backward incompatibility warning

* update lxc driver doc

* add redirect for lxc driver doc

* call out plugin options and mark client config options for drivers as deprecated

* add placeholder for lxc driver binary download

* update data_dir/plugins reference with plugin_dir reference

* Update website/source/docs/external/lxc.html.md

Co-Authored-By: Omar-Khawaja <Omar-Khawaja@users.noreply.github.com>

* corrections

* remove lxc from built-in drivers navigation

* reorganize doc structure and fix redirect

* add detail about 0.9 changes

* implement suggestions/fixes

* removed extraneous punctuation

* add official lxc driver link
2019-01-29 15:53:05 -05:00
Preetha Appan 7578522f58
variable name fix 2019-01-29 13:48:45 -06:00
Preetha Appan a6cebbbf9e
Make sure that all servers are 0.9 before applying scheduler config entry 2019-01-29 12:47:42 -06:00
Michael Schurter 67b428b3ef
Merge pull request #5261 from hashicorp/b-server-api-panic
nomad: fix panic when no node conn found
2019-01-29 06:45:57 -08:00
Mahmood Ali 76afe33812
Merge pull request #5256 from hashicorp/r-golang-1.11.5
dev: use golang 1.11.5
2019-01-29 08:39:58 -05:00
Michael Schurter 3aba7ee826 nomad: fix panic when no node conn found
A missing return would cause a panic when a server could find no route
to a client.
2019-01-28 21:55:35 -08:00
Preetha 25cb640a73
Merge pull request #5252 from hashicorp/beta_tag_docs
Add 0.9 beta superscript to sidebar for all 0.9 features
2019-01-28 22:17:35 -06:00
Nick Ethier 4fd95aca01
Merge pull request #5260 from hashicorp/b-driver-stats-timestamp
executor: fix bug and add tests for incorrect stats timestamp reporting
2019-01-28 23:14:17 -05:00
Nick Ethier bb9a8afe9b
executor: fix bug and add tests for incorrect stats timestamp reporting 2019-01-28 21:57:45 -05:00
Preetha cf15a80aad
Merge pull request #5259 from hashicorp/b-npe-scheduler
scheduler: fix NPE when deployment is nil, but placement is a canary
2019-01-28 20:23:47 -06:00
Nick Ethier 24cbf42798
scheduler: fix NPE when deployment is nil, but placement is a canary 2019-01-28 20:22:59 -06:00
Nick Ethier bcbed3c532
Merge pull request #5248 from hashicorp/b-rawexec-leak
Fix leaked executor in raw_exec
2019-01-28 21:18:31 -05:00
Alex Dadgar 655b43328d
Merge pull request #5257 from hashicorp/f-changelog
Nomad 0.9.0 changelog
2019-01-28 15:48:45 -08:00
Alex Dadgar 5043ba4ab8
Update CHANGELOG.md 2019-01-28 15:48:33 -08:00
Preetha 7db55b50d4
Merge pull request #5258 from hashicorp/remove-mac-log-caveats
remove mac logs caveat
2019-01-28 17:19:36 -06:00
Alex Dadgar 4647091d8b add more detail to backwards incompatabilities 2019-01-28 15:16:42 -08:00
Omar Khawaja b0f779d428 remove mac logs caveat 2019-01-28 18:01:17 -05:00
Alex Dadgar 394d0da4b8 rework spread doc intro 2019-01-28 14:59:55 -08:00
Alex Dadgar 8ac1f3e598 changelog 2019-01-28 14:56:45 -08:00
Mahmood Ali 32aa667592
dev: use golang 1.11.5
Use latest Golang point release at this time for development.
2019-01-28 15:05:47 -05:00
Nick Ethier f9baa9d378
circbufwritter: add defer to stop ticker in flush loop 2019-01-28 14:33:20 -05:00
Alex Dadgar e98acb4539 Merge branch 'master' of github.com:hashicorp/nomad 2019-01-28 11:19:17 -08:00
Alex Dadgar b938a71397 make nomad upgrade e2e build on non linux 2019-01-28 11:18:59 -08:00
Preetha ac4db29cd0
Merge pull request #5254 from hashicorp/b-website-link-fix
fixed broken link in docs
2019-01-28 13:18:23 -06:00
Alex Dadgar 9310058dc4
Merge pull request #5253 from hashicorp/b-template-env
Fix env templates having interpolated destinations
2019-01-28 11:17:16 -08:00
Mahmood Ali 2e29f96875 fix link typo 2019-01-28 14:04:46 -05:00
Chris Baker 7eaf429515 fixed broken link in docs 2019-01-28 19:03:54 +00:00
Alex Dadgar 4e616043cc
Merge pull request #5245 from hashicorp/b-docker-shutdown
Fix killing non-existant container with a kill timeout
2019-01-28 10:33:47 -08:00
Alex Dadgar 6e8dff67ab changelog 2019-01-28 10:32:14 -08:00
Alex Dadgar 5da21635fb Fix env templates having interpolated destinations
Fixes an issue where env templates that had interpolated destinations
would not work.

Fixes https://github.com/hashicorp/nomad/issues/5250
2019-01-28 10:28:53 -08:00
Alex Dadgar 991bcc3ef1 Don't fall through 2019-01-28 09:53:19 -08:00
Alex Dadgar 403faa0d7c comment 2019-01-28 09:47:53 -08:00
Preetha 144535203d
Merge pull request #5251 from hashicorp/doc-fix-recovery-raft-port
Update port in Raft V3 example.
2019-01-28 11:38:07 -06:00
Preetha 4b2395a06a
quota replication bug fix to changelog 2019-01-28 11:24:01 -06:00
Preetha Appan f0adfcfd91
Add 0.9 beta superscript to sidebar for all 0.9 features 2019-01-28 11:16:23 -06:00
Nick Ethier 610d1600ef
circbufwriter: defer unlock in Write since it will not block 2019-01-28 12:15:12 -05:00
Nick Ethier 4fc9b79acc
circbufwriter: Add tests 2019-01-28 12:04:41 -05:00
Preetha 48b4ed91a3
Merge pull request #5249 from hashicorp/consul_e2e
Consul e2e tests
2019-01-28 10:46:49 -06:00
Preetha 437520a6e6
Merge pull request #5244 from hashicorp/b-template-restart-count
Fix double restart counting for templates
2019-01-28 10:38:19 -06:00
Nick Ethier c21ce7b523
add circbufwriter package 2019-01-28 11:35:21 -05:00
Charlie Voiselle e3a38806e8
Update outage.html.markdown 2019-01-28 09:04:52 -05:00
Preetha Appan 25a29cb52f
Moved in place upgrade canary test over to new e2e framework 2019-01-27 20:15:35 -06:00
Preetha fbb89d382a
fix typo 2019-01-26 17:48:34 -06:00
Preetha 7185d3e97b
Update CHANGELOG.md 2019-01-26 17:48:02 -06:00
Preetha 0dafa5f2cd
Update CHANGELOG.md 2019-01-26 17:47:35 -06:00
Preetha Appan b4a722e08f
Basic consul registration e2e 2019-01-26 10:58:25 -06:00
Preetha Appan 2d135e96b7
Fix broken scheduling links in advanced scheduling guide 2019-01-26 10:57:49 -06:00