Commit Graph

19261 Commits

Author SHA1 Message Date
Luiz Aoqui d4f8629968
docs: update allocation metrics 2020-08-14 14:16:38 -04:00
James Rasell c90a2da3ff
Merge pull request #8672 from hashicorp/f-gh-8142-docs
docs: update docs to reference new Docker driver image_pull_timeout params.
2020-08-14 16:08:18 +02:00
James Rasell dab8282be5
Merge pull request #8589 from hashicorp/f-gh-5718
driver/docker: allow configurable pull context timeout setting.
2020-08-14 16:07:59 +02:00
Drew Bailey 9cf8eda2c3
Merge pull request #8673 from hashicorp/skip-podman-e2e
skip podman e2e
2020-08-14 09:44:15 -04:00
Drew Bailey 76d7d926a7
skip podman e2e 2020-08-14 09:02:56 -04:00
James Rasell 01413d8258
docs: update Docker driver to detail new image_pull_timeout params. 2020-08-14 09:40:24 +01:00
James Rasell b797341ab7
changelog: add entry for GH-8589. 2020-08-14 09:40:09 +01:00
James Rasell edce647da1
api: add node purge SDK function. 2020-08-14 08:40:03 +01:00
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
JanMa 7a04afebf6 Update docs for nspawn driver
There have been some new config options added in recent releases of the nspawn
driver. This commit updates the docs accordingly.
2020-08-12 20:28:03 +02: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
James Rasell bc42cd2e5e
driver/docker: allow configurable pull context timeout setting.
Pulling large docker containers can take longer than the default
context timeout. Without a way to change this it is very hard for
users to utilise Nomad properly without hacky work arounds.

This change adds an optional pull_timeout config parameter which
gives operators the possibility to account for increase pull times
where needed. The infra docker image also has the option to set a
custom timeout to keep consistency.
2020-08-12 08:58:07 +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