Commit Graph

16177 Commits

Author SHA1 Message Date
Mahmood Ali
bf91e83fb9 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
da832a54f5 Merge pull request #6498 from hashicorp/docs-security
docs: link to security page on website
2019-10-15 14:00:47 -07:00
Spencer Owen
0abdbbf7b7 Fix grammar (#6486) 2019-10-15 15:04:57 -05:00
Michael Schurter
c785e4c4cc docs: link to security page on website
Add link to https://www.nomadproject.io/security.html
2019-10-15 12:56:48 -07:00
Buck Doyle
882a0210fe UI: Update Ember to 3.12 LTS (#6419)
This is mostly deprecation fixes and blueprint changes. There
are some dependency updates too; the changes to Ember
Basic Dropdown necessitated changing it to angle bracket
component invocation. The conversion of the rest of the
templates will happen separately.
2019-10-15 13:32:58 -05:00
Michael Lange
53400c5484 Merge pull request #6466 from hashicorp/b-ui-firefox-log-window-off-screen
Use max-width to ensure the width rule is observed in Firefox
2019-10-15 11:09:20 -07:00
Mahmood Ali
1064b9f71f Merge pull request #6425 from hashicorp/f-cli-show-full-ids
cli: show full id for single node or alloc status
2019-10-15 10:54:25 -04:00
Mahmood Ali
9942dec211 Merge pull request #6290 from hashicorp/r-generated-code-refactor
dev: avoid codecgen code in downstream projects
2019-10-15 08:22:31 -04:00
Tim Gross
8d97fc8b4a e2e: upgrade terraform to 0.12.x (#6489) 2019-10-14 11:27:08 -04:00
Tim Gross
0371664d03 e2e: move remote-exec inline to script (#6488)
A failing script in a `remote-exec` provisioner's `inline` stanza
won't fail the provisioning step. This lets us continue on to execute
tests against potentially broken deployments, rather than letting us
know the provisioning itself failed.
2019-10-14 10:23:41 -04:00
Danielle
71ea45c205 Merge pull request #6331 from hashicorp/dani/f-volume-mount-propagation
volumes: Add support for mount propagation
2019-10-14 14:29:40 +02:00
Danielle Lancashire
afb59bedf5 volumes: Add support for mount propagation
This commit introduces support for configuring mount propagation when
mounting volumes with the `volume_mount` stanza on Linux targets.

Similar to Kubernetes, we expose 3 options for configuring mount
propagation:

- private, which is equivalent to `rprivate` on Linux, which does not allow the
           container to see any new nested mounts after the chroot was created.

- host-to-task, which is equivalent to `rslave` on Linux, which allows new mounts
                that have been created _outside of the container_ to be visible
                inside the container after the chroot is created.

- bidirectional, which is equivalent to `rshared` on Linux, which allows both
                 the container to see new mounts created on the host, but
                 importantly _allows the container to create mounts that are
                 visible in other containers an don the host_

private and host-to-task are safe, but bidirectional mounts can be
dangerous, as if the code inside a container creates a mount, and does
not clean it up before tearing down the container, it can cause bad
things to happen inside the kernel.

To add a layer of safety here, we require that the user has ReadWrite
permissions on the volume before allowing bidirectional mounts, as a
defense in depth / validation case, although creating mounts should also require
a priviliged execution environment inside the container.
2019-10-14 14:09:58 +02:00
Michael Lange
85153a5ecf Merge pull request #6396 from hashicorp/d-updated-ui-guides
Docs: Updated UI guides
2019-10-11 10:33:37 -07:00
Luiz Aoqui
73234fe5d8 Merge pull request #6473 from hashicorp/docs-fix-acl-prefix-param
docs: fix ACL `prefix` param documentation
2019-10-11 10:51:34 -04:00
Luiz Aoqui
677d36d1ac docs: fix ACL prefix param documentation 2019-10-11 10:28:44 -04:00
Danielle
6e6f61c224 Merge pull request #6472 from hashicorp/b-docs-config
docs: Update stateful workloads guide to reflect rc-1 config changes
2019-10-11 15:08:12 +02:00
Danielle
36f9b94ccf Merge pull request #6071 from hashicorp/dani/hclfmt
make: Add task for formatting hcl/nomad files
2019-10-11 15:08:00 +02:00
Danielle Lancashire
d058dabe3e chore: initial hclfmt 2019-10-11 14:00:05 +02:00
Danielle Lancashire
6a1f66335d make: Add make task for formatting HCL 2019-10-11 13:59:22 +02:00
Danielle Lancashire
31324e1f6b docs: Update stateful workloads guide to reflect rc-1 config changes 2019-10-11 13:45:28 +02:00
Danielle
15335be39e Merge pull request #6429 from hashicorp/f-log-to-file
Add support for logging to a file
2019-10-11 13:35:39 +02:00
Michael Schurter
af24b4dcb4 Merge pull request #6469 from hashicorp/docs-0100-rc1
docs: 0.10.0-beta1 -> 0.10.0-rc1
2019-10-10 13:36:25 -07:00
Michael Schurter
69a9dae64e docs: 0.10.0-beta1 -> 0.10.0-rc1 2019-10-10 13:09:19 -07:00
Michael Schurter
b261170ebd Merge pull request #6465 from hashicorp/docs-nobeta
docs: remove beta flag from connect
2019-10-10 13:05:45 -07:00
Lang Martin
4280dbe0be Merge pull request #6467 from hashicorp/test-disable-test-rkt
circleci: disable test-rkt, which is deprecated and often fails
2019-10-10 15:49:46 -04:00
Michael Schurter
9fc2f8dd2c Merge pull request #6468 from hashicorp/release-fix-dist
release: tag on HEAD not master
2019-10-10 11:55:34 -07:00
Michael Schurter
738a39c88e release: tag on HEAD not master 2019-10-10 11:49:59 -07:00
Michael Schurter
d1dfdfc103 Merge pull request #6464 from hashicorp/docs-noraft
docs: drop raft from 0.10.0 upgrade guide
2019-10-10 11:13:00 -07:00
Lang Martin
0f13d440ba circleci: disable test-rkt, which is deprecated and often fails 2019-10-10 13:46:33 -04:00
Michael Lange
c9bd7c89ed Use max-width to ensure the width rule is observed in Firefox 2019-10-10 10:34:33 -07:00
Michael Schurter
a8ffbbc2c9 docs: remove beta flag from connect 2019-10-10 10:31:06 -07:00
Michael Schurter
10c74cf7e1 docs: drop raft from 0.10.0 upgrade guide
Unforutunately we are not changing the default for 0.10.0 and the 0.8
upgrade docs are more detailed when it comes to manually updating your
version.
2019-10-10 10:22:36 -07:00
Danielle Lancashire
567ad88165 logging: Correctly track number of written bytes
Currently this assumes that a short write will never happen. While these
are improbable in a case where rotation being off a few bytes would
matter, this now correctly tracks the number of written bytes.
2019-10-10 14:02:14 +02:00
Danielle Lancashire
277a252ea4 logging: Sort files when pruning old logs
Currently this logging implementation is dependent on the order of files
as returned by filepath.Glob, which although internal methods are
documented to be lexographical, does not publicly document this. Here we
defensively resort.
2019-10-10 13:51:16 +02:00
Emamul Andalib
850360a630 Update consul.html.md (#6456)
"you may have have" to "you may have".
2019-10-09 12:35:16 -04:00
Omar Khawaja
e92e67a586 update Nomad and Consul versions along with Ubuntu vagrant box version (#6451) 2019-10-09 12:30:23 -04:00
Luiz Aoqui
bb849e0f76 Merge pull request #6444 from hashicorp/docs-add-prefix-param-to-acl-endpoints
docs: improve documentation for `prefix` param on API endpoints
2019-10-08 19:08:27 -04:00
Luiz Aoqui
3fa874e003 docs: clarify prefix API param requirements 2019-10-08 18:11:56 -04:00
Preetha
0507d04f4e Merge pull request #6439 from hashicorp/f-docs-clarify-job-gc-interval
clarify version for new gc config in server stanza
2019-10-08 16:43:03 -05:00
Chris Baker
d764f63a82 Merge pull request #6428 from Norbinsh/master
Docs: remove small duplication
2019-10-08 16:40:04 -05:00
Seth Hoenig
06eff9dbad Merge pull request #6447 from hashicorp/contributing-doc-tweaks
contributing: fix typo & append RPC checklist
2019-10-08 14:54:56 -05:00
Seth Hoenig
0fe14e4681 contributing: fix typo & append RPC checklist 2019-10-08 19:28:35 +00:00
Michael Schurter
32faf94802 Merge pull request #6443 from hashicorp/docs-jobspec-checklist
docs: add sidebar to jobspec checklist
2019-10-08 12:27:28 -07:00
Buck Doyle
e6c66354d0 UI: Update to Ember 3.8 LTS (#5968) 2019-10-08 13:44:19 -05:00
Michael Schurter
418ec80e41 Merge pull request #6446 from hashicorp/revert-6445-revert-6395-b-missing-vault-sercret
Revert "Revert "Use joint context to cancel prestart hooks""
2019-10-08 11:35:34 -07:00
Michael Schurter
43909b1374 Revert "Revert "Use joint context to cancel prestart hooks"" 2019-10-08 11:34:09 -07:00
Michael Schurter
eb8aba3d80 Merge pull request #6445 from hashicorp/revert-6395-b-missing-vault-sercret
Revert "Use joint context to cancel prestart hooks"
2019-10-08 11:28:18 -07:00
Michael Schurter
680e30457f Revert "Use joint context to cancel prestart hooks" 2019-10-08 11:27:08 -07:00
Luiz Aoqui
608514ab30 docs: add missing prefix param to the ACL API endpoints 2019-10-08 14:13:36 -04:00
Michael Schurter
ddd8a92302 docs: add sidebar to jobspec checklist 2019-10-08 10:55:53 -07:00