Commit Graph

14111 Commits

Author SHA1 Message Date
Michael Lange
586e98bbea Apply new date and timestamp helpers e'rywhere 2019-02-01 09:19:28 -08:00
Michael Lange
076dddbe7f New helpers to standardize date and timestamp formats 2019-02-01 09:19:28 -08:00
Michael Lange
77e4e64b5f Always show an absolute timestamp tooltip when showing relative dates 2019-01-30 09:59:41 -08:00
Preetha
23b892a8cd 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
b283ca729c Merge pull request #5263 from hashicorp/d-upgrade-09
docs: add 0.9 specific upgrade notes
2019-01-30 08:07:29 -08:00
Mahmood Ali
541cddd3e2 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
a06b032984 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
11d1af8913 Add link to preemption from schedulers page 2019-01-30 09:24:18 -06:00
Danielle Tomlinson
94aff6ad76 docs: Update affinity stanza in device 2019-01-30 14:23:03 +01:00
Mahmood Ali
32fa3257ea 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
d72b7044be 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
68fd76bfc2 docs: add 0.9 specific upgrade notes 2019-01-29 15:18:15 -08:00
Alex Dadgar
bb514cfa39 fix lxc sidebar 2019-01-29 15:03:02 -08:00
Preetha Appan
66cf368e21 fix broken link 2019-01-29 16:58:52 -06:00
Preetha
7465ee314e 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
25914d4162 ensure tests run a 0.9 server 2019-01-29 16:19:45 -06:00
Alex Dadgar
dcb1821d3c 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
fe6d7df6c4 Fix usage of fsi variable 2019-01-29 14:07:55 -08:00
Preetha Appan
8a5769148a Guard operator endpoints for minimum server version 2019-01-29 15:50:36 -06:00
Omar Khawaja
2964d5a2ea fix typo from plugin_dir to data_dir (#5267) 2019-01-29 16:49:28 -05:00
Michael Schurter
569c26f073 mention #5261 in changelog 2019-01-29 13:38:47 -08:00
Preetha
94f9a6c009 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
0f334fcac0 Update CHANGELOG.md 2019-01-29 15:25:21 -06:00
Alex Dadgar
97e3603043 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
de589d29e1 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
cca1c9ccb6 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
7ae9e0f6a7 variable name fix 2019-01-29 13:48:45 -06:00
Preetha Appan
c998b67b8e Make sure that all servers are 0.9 before applying scheduler config entry 2019-01-29 12:47:42 -06:00
Michael Schurter
530993af24 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
66decf95bb 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
f3834347e9 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
3477ea009f 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
a1c826e0fa 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
8aa451806b executor: fix bug and add tests for incorrect stats timestamp reporting 2019-01-28 21:57:45 -05:00
Preetha
4c11386388 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
80a04052b6 scheduler: fix NPE when deployment is nil, but placement is a canary 2019-01-28 20:22:59 -06:00
Nick Ethier
14c5a1c1f1 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
1d94e8a851 Merge pull request #5257 from hashicorp/f-changelog
Nomad 0.9.0 changelog
2019-01-28 15:48:45 -08:00
Alex Dadgar
528c304181 Update CHANGELOG.md 2019-01-28 15:48:33 -08:00
Preetha
228d248b6d Merge pull request #5258 from hashicorp/remove-mac-log-caveats
remove mac logs caveat
2019-01-28 17:19:36 -06:00
Alex Dadgar
c7fe892bbe add more detail to backwards incompatabilities 2019-01-28 15:16:42 -08:00
Omar Khawaja
b159476dfd remove mac logs caveat 2019-01-28 18:01:17 -05:00
Alex Dadgar
85f0a8bf6f rework spread doc intro 2019-01-28 14:59:55 -08:00
Alex Dadgar
75104f8f28 changelog 2019-01-28 14:56:45 -08:00
Mahmood Ali
6b12ce0e91 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
d6ada19db1 circbufwritter: add defer to stop ticker in flush loop 2019-01-28 14:33:20 -05:00
Alex Dadgar
d69ccf16cb Merge branch 'master' of github.com:hashicorp/nomad 2019-01-28 11:19:17 -08:00
Alex Dadgar
1b8187c8ec make nomad upgrade e2e build on non linux 2019-01-28 11:18:59 -08:00
Preetha
e8ac62c321 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
d5772838a3 Merge pull request #5253 from hashicorp/b-template-env
Fix env templates having interpolated destinations
2019-01-28 11:17:16 -08:00