Commit graph

14321 commits

Author SHA1 Message Date
Alex Dadgar 41265d4d61 Change types of weights on spread/affinity 2019-01-30 12:20:38 -08:00
Nick Ethier e7ea26449e
client: fix bug during 0.8 state up grade that causes external drivers to fail 2019-01-30 14:22:29 -05:00
Alex Dadgar 728eaea216
Release v0.9.0-beta1 2019-01-30 11:08:30 -08:00
Alex Dadgar b2a2d793df version bump 2019-01-30 11:00:09 -08:00
Alex Dadgar 1bff98612d remove deleting generated code in clean step 2019-01-30 10:55:03 -08:00
Alex Dadgar bc804dda2e Nomad 0.9.0-beta1 generated code 2019-01-30 10:49:44 -08:00
Michael Schurter 71c5a73b7b
Merge pull request #5277 from hashicorp/d-changelog
changelog: minor wording fixes
2019-01-30 10:06:04 -08:00
Michael Schurter 798a25f9c5
Merge pull request #5270 from hashicorp/f-install-protoc-gen-go
install specific version of protoc-gen-go
2019-01-30 10:05:46 -08:00
Michael Lange c3eb0b2493 Always show an absolute timestamp tooltip when showing relative dates 2019-01-30 09:59:41 -08:00
Preetha cfe9e7af05
Merge pull request #5273 from hashicorp/dani/nvidia-affinity
docs: Update affinity stanza in device
2019-01-30 10:51:21 -06:00
Michael Schurter 217b6c9ff6 minor wording fixes 2019-01-30 08:37:42 -08:00
Michael Schurter 0eec0428b2
Merge pull request #5263 from hashicorp/d-upgrade-09
docs: add 0.9 specific upgrade notes
2019-01-30 08:07:29 -08:00
Michael Schurter 17a8c6639c Install versioned release of codecgen
Gets us one step closer to a reproducible build. Also removes the unused
vendored version.
2019-01-30 08:00:17 -08:00
Michael Schurter f6d760298b fix perms in protoc installer 2019-01-30 07:57:57 -08:00
Michael Schurter 32fd800583 install specific version of protoc-gen-go 2019-01-30 07:57:40 -08:00
Mahmood Ali c737a155f8
docs: fix job json example (#5274)
The internal needs to be long enough to accomodate the attempts.

Also, clarify that the input should be a json file rather than an hcl
`.nomad` one.
2019-01-30 10:33:10 -05:00
Preetha 19bf260579
Merge pull request #5276 from hashicorp/docs_system_Sched
Add link to preemption from schedulers page
2019-01-30 09:30:50 -06:00
Preetha Appan e0beebc432
Add link to preemption from schedulers page 2019-01-30 09:24:18 -06:00
Danielle Tomlinson 6876d4e12f docs: Update affinity stanza in device 2019-01-30 14:23:03 +01:00
Mahmood Ali 2f9e67f9e7
Merge pull request #5266 from hashicorp/b-background-dont-fail
ci: ignore background ping errors
2019-01-30 07:44:36 -05:00
Mahmood Ali 6fb80e5cc2 ci: ignore background ping errors
We attempt to kill background ping process twice, and sometimes the
second kill fails, e.g.
https://travis-ci.org/hashicorp/nomad/jobs/486050357, let's not fail the job.
2019-01-29 21:21:32 -05:00
Michael Schurter 728585b9c2 docs: add 0.9 specific upgrade notes 2019-01-29 15:18:15 -08:00
Alex Dadgar 05b1b03156 fix lxc sidebar 2019-01-29 15:03:02 -08:00
Preetha Appan bbf934ca02
fix broken link 2019-01-29 16:58:52 -06:00
Preetha 66973ec901
Merge pull request #5269 from hashicorp/b_schedconfig_panicfix
Guard operator endpoints for minimum server version
2019-01-29 16:22:16 -06:00
Preetha Appan c848a1d387
ensure tests run a 0.9 server 2019-01-29 16:19:45 -06:00
Alex Dadgar bf787ab5d8
Merge pull request #5268 from hashicorp/b-task-dir-envs
Always populate task dir environment variables
2019-01-29 14:09:08 -08:00
Alex Dadgar 5062c54874 Fix usage of fsi variable 2019-01-29 14:07:55 -08:00
Preetha Appan 496eb1de0c
Guard operator endpoints for minimum server version 2019-01-29 15:50:36 -06:00
Omar Khawaja d11a4c5d6b
fix typo from plugin_dir to data_dir (#5267) 2019-01-29 16:49:28 -05:00
Michael Schurter b11a490ad3 mention #5261 in changelog 2019-01-29 13:38:47 -08:00
Preetha 5d428f9ea6
Merge pull request #5265 from hashicorp/b_schedconfig_panicfix
Make sure that all servers are 0.9 to apply scheduler config
2019-01-29 15:29:58 -06:00
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