Commit graph

19201 commits

Author SHA1 Message Date
Drew Bailey 686b546572
Merge pull request #8670 from hashicorp/release-0.12.3
Release 0.12.3
2020-08-13 17:28:08 -04:00
Drew Bailey f8c7f94721
prepare release 2020-08-13 17:26:02 -04:00
Nomad Release Bot 6db5ff3a49
Release v0.12.3 2020-08-13 20:39:28 +00:00
Nomad Release bot 09dae4b612 Generate files for 0.12.3 release 2020-08-13 20:06:27 +00:00
Lang Martin 6d8165c410
command/agent/csi_endpoint: explicit allocations (#8669) 2020-08-13 15:48:08 -04:00
Lang Martin e32f128435
CHANGELOG 0.12.3 (#8668) 2020-08-13 13:43:47 -04:00
Ryan Mickler 086e8dd173
Provided base ceph-rbd CSI driver example (#8664) 2020-08-13 13:00:37 -04:00
Ricky Grassmuck 737223c26a
Add Demo for Openstack Cinder CSI Plugin Deployment (#8662) 2020-08-13 12:59:45 -04:00
Tim Gross 7dca72acbe
csi: fix panic from assignment to nil map in plugin API (#8666) 2020-08-13 11:36:41 -04:00
Lang Martin e8a5565c1a
nomad/state/state_store: handle type conversion failure explicitly (#8660) 2020-08-12 17:53:12 -04:00
Tim Gross 3faa138732
fix panic converting structs to API in CSI endpoint (#8659) 2020-08-12 15:59:10 -04:00
Drew Bailey 1b330c7f0c
add info about multi-vault namespaces (#8654)
* add info about multi-vault namespaces

* typo
2020-08-12 14:13:22 -04:00
Drew Bailey 486856ba5f
Merge pull request #8653 from hashicorp/bump-website-version
bump website version
2020-08-12 12:03:31 -04:00
Drew Bailey b7913ecdb9
bump website version 2020-08-12 11:59:50 -04:00
James Rasell 450a08962f
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 3c43f9c348
Merge pull request #8652 from hashicorp/release-0.12.2
Release 0.12.2
2020-08-12 10:57:31 -04:00
Drew Bailey 1441837e14
update version for next release 2020-08-12 10:56:57 -04:00
Drew Bailey 65d124c413
fix date for 0.12.2 release 2020-08-12 10:55:19 -04:00
Drew Bailey 769a32a871
update changelog for 0.12.2 release 2020-08-12 10:54:29 -04:00
Tim Gross 38b23c1af0
directory for CSI examples (#8651) 2020-08-12 10:38:49 -04:00
James Rasell d4251929f7
docs: fix incorrect Autoscaler policy block dir detail. 2020-08-12 11:37:59 +01:00
Nomad Release Bot 38db279f06
Release v0.12.2 2020-08-12 01:26:01 +00:00
Nomad Release bot 1ea9d4eb22 Generate files for 0.12.2 release 2020-08-12 00:50:49 +00:00
Michael Lange 6ca01a9df4
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 e39574be59
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 9cd2aaaa43
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 4f0af55a8f docs: update connect integration limitations 2020-08-11 16:43:52 -05:00
Buck Doyle 8d8177e9c2
Add CHANGELOG updates (#8644) 2020-08-11 16:21:14 -05:00
Lang Martin 15b55c500d
CHANGELOG entries for 0.12.2 (#8643) 2020-08-11 16:36:42 -04:00
Mahmood Ali fa57dbffa9
changelog vault fix (#8642) 2020-08-11 16:16:24 -04:00
Mahmood Ali 626435b8dc
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 c462f8d0d5
Merge pull request #8524 from hashicorp/b-vault-health-checks
Skip checking Vault health
2020-08-11 16:01:07 -04:00
Lang Martin 07ea822c6a
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 1c95bdb616
upgrade go metrics to 0.3.4 (#8637) 2020-08-11 13:26:45 -04:00
Lang Martin 1d7998f39f
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 a27913e699
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 c82b2a2454
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 def7084be7
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 443fdaa86b
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 fb27082e5c
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 994468a3e0
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 f245ba91c4
nomad/state/state_store: two cases of incorrect CSIPlugin in-place (#8630) 2020-08-10 18:15:29 -04:00
Tim Gross 8ff8dde618
changelog entries for 0.12.2 CSI work (#8620) 2020-08-10 16:47:26 -04:00
Mahmood Ali dce1dc44eb distinguish between transient and persistent errors 2020-08-10 16:46:06 -04:00
Tim Gross 09a97bd158
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 bc8d30fd5b
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 e9044c47cd consul: clarify consecutive checks in docs 2020-08-10 14:08:09 -05:00
Seth Hoenig 6ab3d21d2c consul: validate script type when ussing check thresholds 2020-08-10 14:08:09 -05:00
Seth Hoenig 546a724d1c consul: grrrrr hclfmt test resource file 2020-08-10 14:08:09 -05:00
Seth Hoenig fd4804bf26 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