Commit graph

16706 commits

Author SHA1 Message Date
Michael Schurter 39437a5c5b
Merge branch 'master' into release-0100 2019-10-22 08:17:57 -07:00
Michael Schurter ea9f6aa857
Merge pull request #6524 from hashicorp/website-0100
docs: bump to Nomad 0.10.0
2019-10-22 07:53:17 -07:00
Michael Schurter b6bb561854 cleanup post 0.10.0 release 2019-10-22 07:48:09 -07:00
Michael Schurter fdd067de58 docs: bump to Nomad 0.10.0 2019-10-22 07:35:37 -07:00
Michael Schurter be337960fd
Release v0.10.0 2019-10-22 07:33:45 -07:00
Nomad Release bot 3e6c9dd40e Generate files for 0.10.0 release 2019-10-22 12:34:56 +00:00
Mahmood Ali 262dcb0842 Revert "lint: ignore generated windows syscall wrappers"
This reverts commit 482862e6ab0f8db748367bb1eefc2efd11fbe11a.
2019-10-22 08:23:44 -04:00
Mahmood Ali 55a8e3300c reorder changelog 2019-10-22 08:23:30 -04:00
Michael Lange 6ad5ec2d7e Changelog entry: couple of UI bugs 2019-10-21 15:16:58 -07:00
Michael Lange 6428475164 Changelog entry: couple of UI bugs 2019-10-21 15:10:00 -07:00
Michael Schurter 460bd63db0 client: expose group network ports in env vars
Fixes #6375

Intentionally omitted IPs prior to 0.10.0 release to minimize changes
and risk.
2019-10-21 13:28:35 -07:00
Michael Schurter c126f5009a
Merge pull request #6515 from hashicorp/b-expose-group-ports
client: expose group network ports in env vars
2019-10-21 13:27:46 -07:00
Michael Schurter 8634533e82 client: expose group network ports in env vars
Fixes #6375

Intentionally omitted IPs prior to 0.10.0 release to minimize changes
and risk.
2019-10-21 12:31:13 -07:00
Danielle c5a95d8b90
Merge pull request #6518 from mre/patch-1
Update link to new blog
2019-10-21 15:37:53 +02:00
Matthias Endler e802fd6d41
Update link to new blog 2019-10-21 15:35:24 +02:00
Mahmood Ali 977b86f924 driver/docker: ensure that defaults are populated
Looks like we may need to pass default literal at each layer to be able,
so defaults are set properly.
2019-10-18 18:27:28 -04:00
Mahmood Ali 7907486bfd
Merge pull request #6325 from hashicorp/b-docker-reconcile-periodically
docker: periodically reconcile containers
2019-10-18 15:53:30 -04:00
Mahmood Ali 1bdfcdcab7 add timeouts for docker reconciler docker calls 2019-10-18 15:31:13 -04:00
Mahmood Ali 414e01b6a6 only set a single label for now
Other labels aren't strictly necessary here, and we may follow up with a
better way to customize.
2019-10-18 15:31:13 -04:00
Mahmood Ali a05cf13d48 Merge pull request #6510 from hashicorp/r-golang-1.12.12
Use golang 1.12.12
2019-10-18 15:15:22 -04:00
Mahmood Ali 3aec7b56ea Only start reconciler once in main driver
driver.SetConfig is not appropriate for starting up reconciler
goroutine.  Some ephemeral driver instances are created for validating
config and we ought not to side-effecting goroutines for those.

We currently lack a lifecycle hook to inject these, so I picked the
`Fingerprinter` function for now, and reconciler should only run after
fingerprinter started.

Use `sync.Once` to ensure that we only start reconciler loop once.
2019-10-18 14:43:23 -04:00
Michael Schurter bb82f365ff connect: upgrade to envoy 1.11.2 and add sha
Append the Docker image sha to the Envoy image to ensure users default
to using the version that Nomad was tested against.
2019-10-18 10:16:58 -07:00
Michael Schurter fda887a77b
Merge pull request #6509 from hashicorp/f-add-envoy-sha
connect: upgrade to envoy 1.11.2 and add sha
2019-10-18 10:14:57 -07:00
Mahmood Ali 2e56eaf1b9
Merge pull request #6510 from hashicorp/r-golang-1.12.12
Use golang 1.12.12
2019-10-18 10:52:28 -04:00
Michael Schurter ee5ea3ecc7 connect: upgrade to envoy 1.11.2 and add sha
Append the Docker image sha to the Envoy image to ensure users default
to using the version that Nomad was tested against.
2019-10-18 07:46:53 -07:00
Mahmood Ali e498bb951c e2e tests assume non-root user 2019-10-18 09:21:30 -04:00
Mahmood Ali c26866c0c8 adjust circleci scripts to use official golang image 2019-10-18 08:52:49 -04:00
Mahmood Ali 94dfcaad70 Use golang 1.12.12
Use use base official golang image in CircleCI, as it gets refreshed
more quickly compared to circleci/golang, and we don't benefit from
circleci image customizations much.
2019-10-18 08:44:47 -04:00
Seth Hoenig 1f01b48841
Merge pull request #6455 from hashicorp/f-set-connect-sidcar-tags-web
docs: document service tags for connect sidecar
2019-10-17 15:14:46 -05:00
Seth Hoenig 8b03477f46
Merge pull request #6448 from hashicorp/f-set-connect-sidecar-tags
connect: enable setting tags on consul connect sidecar service in job…
2019-10-17 15:14:09 -05:00
Seth Hoenig 9f8a25b81e docs: document service tags for connect sidecar 2019-10-17 19:27:04 +00:00
Seth Hoenig 039fbd3f3b connect: enable setting tags on consul connect sidecar service in jobspec (#6415) 2019-10-17 19:25:20 +00:00
Mahmood Ali ac3b555cc8 docker label refactoring and additional tests 2019-10-17 10:45:13 -04:00
Mahmood Ali e24c3fac56 add docker labels 2019-10-17 10:45:12 -04:00
Mahmood Ali 8739cc2a62 refactor reconciler code and address comments 2019-10-17 09:42:23 -04:00
Mahmood Ali 2e04f4b4f2 Merge pull request #6422 from hashicorp/c-api-websocket-mod
api: declare websocket as a dependency
2019-10-17 08:55:00 -04:00
Mahmood Ali c01c6de481 address code review comments 2019-10-17 08:36:02 -04:00
Mahmood Ali 2a63caafba docker: explicit grace period for initial container reconcilation
Ensure we wait for some grace period before killing docker containers
that may have launched in earlier nomad restore.
2019-10-17 08:36:02 -04:00
Mahmood Ali aa59280edc docker: periodically reconcile containers
When running at scale, it's possible that Docker Engine starts
containers successfully but gets wedged in a way where API call fails.
The Docker Engine may remain unavailable for arbitrary long time.

Here, we introduce a periodic reconcilation process that ensures that any
container started by nomad is tracked, and killed if is running
unexpectedly.

Basically, the periodic job inspects any container that isn't tracked in
its handlers.  A creation grace period is used to prevent killing newly
created containers that aren't registered yet.

Also, we aim to avoid killing unrelated containters started by host or
through raw_exec drivers.  The logic is to pattern against containers
environment variables and mounts to infer if they are an alloc docker
container.

Lastly, the periodic job can be disabled to avoid any interference if
need be.
2019-10-17 08:36:01 -04:00
Alvin Huang fd93d9cfcf
remove check for relative url validation (#6504) 2019-10-16 17:50:40 -04:00
Omar Khawaja aa8524bbae
Getting started learn redirect (#6460)
* redirect getting started section to learn

* formatting

* move redirects.txt to source directory
2019-10-16 16:17:29 -04:00
Charlie Voiselle ae8bfce399
Merge pull request #6434 from hashicorp/docs-add-grpc-info
docs: Added grpc info; small style fixes to connect guide
2019-10-16 14:18:20 -04:00
Preetha 79fb1c1682
Merge pull request #6453 from ogadaki/patch-1
fix typo in HCL code
2019-10-16 11:16:53 -05:00
Preetha 988afc1859
Merge pull request #6491 from hashicorp/support-external-redirects
Support external redirects for website
2019-10-16 11:14:22 -05:00
Mahmood Ali 418e0165aa
Merge pull request #6426 from hashicorp/b-dep-go-plugin-8091134
upgrade go-plugin to latest, 8091134
2019-10-16 07:48:29 -04:00
Mahmood Ali 63461ad41c
Merge pull request #6422 from hashicorp/c-api-websocket-mod
api: declare websocket as a dependency
2019-10-16 07:48:11 -04:00
Mahmood Ali 61e66cb077
Merge pull request #6427 from hashicorp/b-fs-endpoint-errors
agent: report fs log errors as http errors
2019-10-15 20:12:59 -04:00
Mahmood Ali 88f8127820 tests: avoid using unnecessary pipe 2019-10-15 17:22:03 -04:00
Mahmood Ali 533120cf5d
Merge pull request #6423 from hashicorp/b-direct-node-failure
cli: recover from client ACL lookup failures
2019-10-15 17:09:59 -04:00
Michael Schurter 229832824d
Merge pull request #6498 from hashicorp/docs-security
docs: link to security page on website
2019-10-15 14:00:47 -07:00