Commit Graph

19197 Commits

Author SHA1 Message Date
Lang Martin
9ef347280c command/agent/csi_endpoint: explicit allocations (#8669) 2020-08-13 15:48:08 -04:00
Lang Martin
c167fb63a8 CHANGELOG 0.12.3 (#8668) 2020-08-13 13:43:47 -04:00
Ryan Mickler
47ba285008 Provided base ceph-rbd CSI driver example (#8664) 2020-08-13 13:00:37 -04:00
Ricky Grassmuck
d26929c8c3 Add Demo for Openstack Cinder CSI Plugin Deployment (#8662) 2020-08-13 12:59:45 -04:00
Tim Gross
88fa668786 csi: fix panic from assignment to nil map in plugin API (#8666) 2020-08-13 11:36:41 -04:00
Lang Martin
956c3a426d nomad/state/state_store: handle type conversion failure explicitly (#8660) 2020-08-12 17:53:12 -04:00
Tim Gross
307b7b7449 fix panic converting structs to API in CSI endpoint (#8659) 2020-08-12 15:59:10 -04:00
Drew Bailey
71e8a68d99 add info about multi-vault namespaces (#8654)
* add info about multi-vault namespaces

* typo
2020-08-12 14:13:22 -04:00
Drew Bailey
760e8df523 Merge pull request #8653 from hashicorp/bump-website-version
bump website version
2020-08-12 12:03:31 -04:00
Drew Bailey
60e4a9147a bump website version 2020-08-12 11:59:50 -04:00
James Rasell
fe91bdd05a Merge pull request #8650 from hashicorp/fix-docs-autoscaler-agent-policy-dir
docs: fix incorrect Autoscaler policy block dir detail.
2020-08-12 17:05:41 +02:00
Drew Bailey
bfaab031e0 Merge pull request #8652 from hashicorp/release-0.12.2
Release 0.12.2
2020-08-12 10:57:31 -04:00
Drew Bailey
dc8cd8ef38 update version for next release 2020-08-12 10:56:57 -04:00
Drew Bailey
7827656b9a fix date for 0.12.2 release 2020-08-12 10:55:19 -04:00
Drew Bailey
b5d16d1159 update changelog for 0.12.2 release 2020-08-12 10:54:29 -04:00
Tim Gross
1cf09822ed directory for CSI examples (#8651) 2020-08-12 10:38:49 -04:00
James Rasell
ea769d0344 docs: fix incorrect Autoscaler policy block dir detail. 2020-08-12 11:37:59 +01:00
Nomad Release Bot
abf3d10bbe Release v0.12.2 2020-08-12 01:26:01 +00:00
Nomad Release bot
ee69b3379a Generate files for 0.12.2 release 2020-08-12 00:50:49 +00:00
Michael Lange
f2848ce231 Merge pull request #8594 from hashicorp/b-ui/task-group-scale-guard
UI: Add guard against null scale events collection
2020-08-11 15:33:16 -07:00
Nick Ethier
c11dbcd001 docker: support group allocated ports and host_networks (#8623)
* docker: support group allocated ports

* docker: add new ports driver config to specify which group ports are mapped

* docker: update port mapping docs
2020-08-11 18:30:22 -04:00
Seth Hoenig
8272654dab Merge pull request #8645 from hashicorp/docs-update-connect-lims
docs: update connect integration limitations
2020-08-11 17:03:58 -05:00
Seth Hoenig
20b840eae8 docs: update connect integration limitations 2020-08-11 16:43:52 -05:00
Buck Doyle
eac787f61a Add CHANGELOG updates (#8644) 2020-08-11 16:21:14 -05:00
Lang Martin
e464a449b7 CHANGELOG entries for 0.12.2 (#8643) 2020-08-11 16:36:42 -04:00
Mahmood Ali
33a3e998a7 changelog vault fix (#8642) 2020-08-11 16:16:24 -04:00
Mahmood Ali
ca72ff09f7 commit code-generated msgpack parser on releases (#8640)
Noticed that the structs code-generated parsers is no longer committed
when we cut a release, starting with v0.12.  We've been committing
generated code to ease reproduction and rebuilding the tag.

Note for example that `structs.generated.go` was present in the [0.11.3
commit](8918fc804a)
but not in the [0.12.1
one](14a6893a25).

We leave the files ignored, so developers don't accidentally commit them
in local development.
2020-08-11 16:02:18 -04:00
Mahmood Ali
104ab500da Merge pull request #8524 from hashicorp/b-vault-health-checks
Skip checking Vault health
2020-08-11 16:01:07 -04:00
Lang Martin
b5ef217c90 nomad debug renamed to nomad operator debug (#8602)
* renamed: command/debug.go -> command/operator_debug.go
* website: rename debug -> operator debug
* website/pages/api-docs/agent: name in api docs
2020-08-11 15:39:44 -04:00
Drew Bailey
750a0dc14a upgrade go metrics to 0.3.4 (#8637) 2020-08-11 13:26:45 -04:00
Lang Martin
9e7d044fcf debug command archive content changes (#8462)
* command/debug: print interval data so the operator knows its waiting

* command/debug: use the Consul/Vault env for queries

* command/debug: capture the operator endpoints

* command/debug: capture API errors in the archive bundle
2020-08-11 13:14:28 -04:00
Lang Martin
c0bf46da1e CSI RPC Token (#8626)
* client/allocrunner/csi_hook: use the Node SecretID
* client/allocrunner/csi_hook: include the namespace for Claim
2020-08-11 13:08:39 -04:00
Lang Martin
8a095fca90 CSI: volume and plugin allocations in the API (#8590)
* command/agent/csi_endpoint: explicitly convert to API structs, and convert allocs for single object get endpoints
2020-08-11 12:24:41 -04:00
Tim Gross
8888ab380b msgpack-rpc errors cannot be wrapped (#8633)
Our RPC calls mangle the errors we get, which prevents us from using wrapped
errors and `errors.Is`.

Also fixes log message fields.
2020-08-11 10:25:43 -04:00
Tim Gross
fbefdb98c3 csi: nomad volume detach command (#8584)
The soundness guarantees of the CSI specification leave a little to be desired
in our ability to provide a 100% reliable automated solution for managing
volumes. This changeset provides a new command to bridge this gap by providing
the operator the ability to intervene.

The command doesn't take an allocation ID so that the operator doesn't have to
keep track of alloc IDs that may have been GC'd. Handle this case in the
unpublish RPC by sending the client RPC for all the terminal/nil allocs on the
selected node.
2020-08-11 10:18:54 -04:00
Tim Gross
d21ef34cbc RPC errors must be wrapped in order to wrap internal errors (#8632)
The CSI client RPC uses error wrapping to detect the type of error bubbling up
from plugins, but if the errors we get aren't wrapped at each layer, we can't
unwrap the inner error.

Also eliminates some unused args.
2020-08-11 09:13:52 -04:00
James Rasell
55821da83b docs: fix minor formatting issues on docker driver page. (#8578)
Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com>
2020-08-11 12:41:50 +02:00
Lang Martin
083ec181f8 nomad/state/state_store: two cases of incorrect CSIPlugin in-place (#8630) 2020-08-10 18:15:29 -04:00
Tim Gross
c097c40776 changelog entries for 0.12.2 CSI work (#8620) 2020-08-10 16:47:26 -04:00
Mahmood Ali
a3b4f060fb distinguish between transient and persistent errors 2020-08-10 16:46:06 -04:00
Tim Gross
297bef8295 e2e: spread CSI controller plugins across multiple DCs (#8629)
Controller plugins that land on the same node will collide over their CSI
`mount_dir`, so give them enough room in our tests that they don't land on the
same host.

Also, version bump the EBS node plugins to match the controllers.
2020-08-10 16:41:39 -04:00
Seth Hoenig
b515fe89eb Merge pull request #8614 from hashicorp/f-consul-passfail
consul: able to set pass/fail thresholds on consul service checks
2020-08-10 14:25:22 -05:00
Seth Hoenig
a22a7caf71 consul: clarify consecutive checks in docs 2020-08-10 14:08:09 -05:00
Seth Hoenig
9a49740230 consul: validate script type when ussing check thresholds 2020-08-10 14:08:09 -05:00
Seth Hoenig
6d7476cd3d consul: grrrrr hclfmt test resource file 2020-08-10 14:08:09 -05:00
Seth Hoenig
e664f9b69a consul: able to set pass/fail thresholds on consul service checks
This change adds the ability to set the fields `success_before_passing` and
`failures_before_critical` on Consul service check definitions. This is a
feature added to Consul v1.7.0 and later.
  https://www.consul.io/docs/agent/checks#success-failures-before-passing-critical

Nomad doesn't do much besides pass the fields through to Consul.

Fixes #6913
2020-08-10 14:08:09 -05:00
Tim Gross
9e9ca50842 changelog entry for MRD bugfix (#8625) 2020-08-10 14:29:30 -04:00
Seth Hoenig
e5c314811b Merge pull request #8624 from hashicorp/docs-cl-cnbridge
docs: add cl entry for connect native bridge mode
2020-08-10 13:24:16 -05:00
Drew Bailey
c08555247f update vault integration docs (#8543)
* update vault integration docs

docs/integrations/vault-integration was a copy of the learn guide. Remove that and move /docs/vault-integration to this location instead

fix link

fix link

Update website/pages/docs/integrations/vault-integration.mdx

Co-authored-by: Michael Schurter <mschurter@hashicorp.com>

Update website/pages/docs/integrations/vault-integration.mdx

Co-authored-by: Michael Schurter <mschurter@hashicorp.com>

Update website/pages/docs/integrations/vault-integration.mdx

Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>

Update website/pages/docs/integrations/vault-integration.mdx

Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>

Update website/pages/docs/integrations/vault-integration.mdx

Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>

Update website/pages/docs/integrations/vault-integration.mdx

Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>

Update website/pages/docs/integrations/vault-integration.mdx

Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>

Update website/pages/docs/integrations/vault-integration.mdx

Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>

* revert accidental deletion

Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>
2020-08-10 14:23:43 -04:00
Seth Hoenig
b822e6ee54 docs: add cl entry for connect native bridge mode 2020-08-10 13:21:26 -05:00