Commit graph

14376 commits

Author SHA1 Message Date
Mahmood Ali 389e043129 drivers: pass logger through driver plugin client
This fixes a panic whenever driver plugin attempts to log a message.
2019-01-25 09:38:41 -05:00
Nick Ethier 7c61b47a6d
Merge pull request #5240 from hashicorp/b-docker-bridgeip-logging
docker: only log missing bridge_ip on initial fingerprint
2019-01-24 22:54:54 -05:00
Nick Ethier ddbcfe65e6
Merge pull request #5239 from hashicorp/b-driver-stats-interval
plugins/drivers: change stats interval to duration type in proto
2019-01-24 22:54:30 -05:00
Nick Ethier ac693fe6ac
docker: only log missing bridge_ip on initial fingerprint 2019-01-24 22:34:57 -05:00
Nick Ethier c41f96943d
plugins/drivers: change stats interval to duration type in proto 2019-01-24 22:19:18 -05:00
Preetha 729917182c
Merge pull request #5234 from hashicorp/b-preemption-docs
Documentation for preemption
2019-01-24 18:32:14 -06:00
Preetha Appan 1cbabb33b5
fixed formatting 2019-01-24 17:24:20 -06:00
Preetha Appan 78d98cd575
Delete intro section which is now in index page 2019-01-24 17:20:22 -06:00
Preetha ce5869c840
Merge pull request #5238 from hashicorp/b-spread-docs-fixes
Documentation fixes for affinity and spread
2019-01-24 16:57:06 -06:00
Preetha Appan 437ccfc1a2
review comments 2019-01-24 16:50:23 -06:00
Preetha Appan 920eb28aca
more code review comments 2019-01-24 16:40:00 -06:00
Alex Dadgar 98b53956c0
Apply suggestions from code review
Co-Authored-By: preetapan <preetha@hashicorp.com>
2019-01-24 15:42:11 -06:00
Preetha Appan 2db052d4ad
improve spread docs 2019-01-24 14:58:26 -06:00
Nick Ethier c7cc81924d
drivers/docker: handle shutdown of upgraded tasks correctly 2019-01-24 14:21:59 -05:00
Preetha Appan ed7e1bc064
Fix spacing and add links to affinity stanza from various pages 2019-01-24 12:12:40 -06:00
Preetha Appan 419a2682b0
update to Consul 1.4.0 for e2e tests 2019-01-24 09:52:15 -06:00
Preetha ec92bf673c
Merge pull request #5223 from hashicorp/f-jobs-list-datacenters
Add Datacenters to the JobListStub struct
2019-01-24 08:13:30 -06:00
Nick Ethier e104528288
e2e/nomad09upgrade: remove test file that is not needed 2019-01-23 21:23:13 -05:00
Nick Ethier a5823a270c
Merge pull request #5209 from hashicorp/f-driver-upgradepath-test
e2e tests for upgrade path to driver plugins
2019-01-23 21:03:29 -05:00
Nick Ethier be976d9c9a
Merge branch 'master' into f-driver-upgradepath-test
* master: (23 commits)
  tests: avoid assertion in goroutine
  spell check
  ci: run checkscripts
  tests: deflake TestRktDriver_StartWaitRecoverWaitStop
  drivers/rkt: Remove unused github.com/rkt/rkt
  drivers/rkt: allow development on non-linux
  cli: Hide `nomad docker_logger` from help output
  api: test api and structs are in sync
  goimports until make check is happy
  nil check node resources to prevent panic
  tr: use context in as select statement
  move pluginutils -> helper/pluginutils
  vet
  goimports
  gofmt
  Split hclspec
  move hclutils
  Driver tests do not use hcl2/hcl, hclspec, or hclutils
  move reattach config
  loader and singleton
  ...
2019-01-23 21:01:24 -05:00
Nick Ethier 22da77f3fa
e2e: removed unused code in nomade09upgrade suite 2019-01-23 20:54:23 -05:00
Alex Dadgar 35d8830858
Merge pull request #5231 from hashicorp/d-devices
Document devices
2019-01-23 17:47:24 -08:00
Alex Dadgar 87912de1af spelling mistakes 2019-01-23 17:47:07 -08:00
Michael Schurter 18853a1df2
Update devices/gpu/nvidia/README.md
Co-Authored-By: dadgar <alex@hashicorp.com>
2019-01-23 17:44:24 -08:00
Nick Ethier 00272dd568
Merge branch 'f-driver-upgradepath-test' of https://github.com/hashicorp/nomad into f-driver-upgradepath-test
* 'f-driver-upgradepath-test' of https://github.com/hashicorp/nomad:
2019-01-23 20:29:08 -05:00
Nick Ethier 1f7d1fa9ea
Merge pull request #5232 from hashicorp/f-driver-upgradepath-docker
drivers: add docker upgrade path and e2e test
2019-01-23 20:28:51 -05:00
Nick Ethier ccdc1c4615
Merge branch 'f-driver-upgradepath-test' of https://github.com/hashicorp/nomad into f-driver-upgradepath-test
* 'f-driver-upgradepath-test' of https://github.com/hashicorp/nomad:
  Apply suggestions from code review
2019-01-23 20:26:32 -05:00
Preetha Appan 9983364df7
Add scheduler config docs and link from preemption docs 2019-01-23 18:57:45 -06:00
Preetha Appan 5bdfac0819
Add preemption section to scheduling internals
Also reorganize the docs so that scheduling has subpages in it
2019-01-23 18:10:36 -06:00
Nick Ethier fc380f8e8e
Merge pull request #5233 from hashicorp/f-split-slowtests
ci: run seperate build jobs for slower packages
2019-01-23 16:31:55 -05:00
Alex Dadgar 41d5f52f63 fix package import 2019-01-23 12:53:33 -08:00
Nick Ethier 204f6d3270
ci: run seperate build jobs for slower packages 2019-01-23 15:39:34 -05:00
Nick Ethier 5b9013528e
drivers: add docker upgrade path and e2e test 2019-01-23 14:44:42 -05:00
Nick Ethier a36c4320ff
Merge pull request #5227 from hashicorp/b-client-highcpu-usage
Fix bug related to high cpu usage
2019-01-23 14:27:51 -05:00
Michael Schurter ce4a828fd1
Apply suggestions from code review
Co-Authored-By: nickethier <ncethier@gmail.com>
2019-01-23 14:09:49 -05:00
Alex Dadgar 3ecc68c6a6 change example job a bit 2019-01-23 10:58:46 -08:00
Alex Dadgar 48dfbbcad9 fix docker runtime attribute 2019-01-23 10:58:46 -08:00
Alex Dadgar 37d5def1d5 Json job 2019-01-23 10:58:46 -08:00
Alex Dadgar 003aa2a69c nvidia device plugin docs 2019-01-23 10:58:46 -08:00
Alex Dadgar 5198ff05c3 convert driver to device for device constraint/attributes 2019-01-23 10:58:45 -08:00
Alex Dadgar 867ebce6b6 link to resources page 2019-01-23 10:58:45 -08:00
Alex Dadgar dbd9d22a32 Device job stanza 2019-01-23 10:58:45 -08:00
Mahmood Ali 698f0a1575
Merge pull request #5229 from hashicorp/r-grabbag-201901019
Grab bag of small changes
2019-01-23 13:06:51 -05:00
Mahmood Ali 8d76bb0e82 tests: avoid assertion in goroutine 2019-01-23 12:34:16 -05:00
Mahmood Ali 651bbe5330 spell check 2019-01-23 10:54:52 -05:00
Mahmood Ali d696143da7 ci: run checkscripts
`travis.sh` contained some bash-ism despite it being invoked with `sh`.
2019-01-23 10:54:52 -05:00
Mahmood Ali 464a70fda6 tests: deflake TestRktDriver_StartWaitRecoverWaitStop 2019-01-23 10:54:49 -05:00
Mahmood Ali 08db847aa8 drivers/rkt: Remove unused github.com/rkt/rkt 2019-01-23 10:53:49 -05:00
Mahmood Ali a64ad99b94 drivers/rkt: allow development on non-linux
Avoid depending on OS-specific library for some simple structs.
2019-01-23 10:53:49 -05:00
Danielle Tomlinson 4f63925667
Merge pull request #5230 from hashicorp/dani/b-hide-docker_logger-command
cli: Hide `nomad docker_logger` from help output
2019-01-23 16:46:11 +01:00