Commit Graph

19225 Commits

Author SHA1 Message Date
Shengjing Zhu
274bf2ee1c Adjust cgroup change in libcontainer 2020-08-20 00:31:07 +08:00
Shengjing Zhu
6a1139b9fe Update runc to v1.0.0-rc92 2020-08-19 23:56:35 +08:00
Tim Gross
ae2001bd36 migrate AMI builds to new account (#8674) 2020-08-19 08:20:59 -04:00
Tim Gross
108a42283b failed core jobs should not have follow-ups (#8682)
If a core job fails more than the delivery limit, the leader will create a new
eval with the TriggeredBy field set to `failed-follow-up`.

Evaluations for core jobs have the leader's ACL, which is not valid on another
leader after an election. The `failed-follow-up` evals do not have ACLs, so
core job evals that fail more than the delivery limit or core job evals that
span leader elections will never succeed and will be re-enqueued forever. So
we should not retry with a `failed-follow-up`.
2020-08-18 16:48:43 -04:00
Tim Gross
a8b144cb91 mrd: remove redundant validation in HTTP endpoint (#8685)
The `regionForJob` function in the HTTP job endpoint overrides the region for
multiregion jobs to `global`, which is used as a sentinel value in the
server's job endpoint to avoid re-registration loops. This changeset removes
an extraneous check that results in errors in the web UI and makes
round-tripping through the HTTP API cumbersome for all consumers.
2020-08-18 16:48:09 -04:00
Tim Gross
e85c318ac9 multiregion: validation should always return error for OSS (#8687) 2020-08-18 15:35:38 -04:00
Tim Gross
d8ac3f9451 migrate E2E test runs to new AWS account (#8676) 2020-08-18 14:24:34 -04:00
Drew Bailey
a153515170 Merge pull request #8680 from hashicorp/dmay-website-license-put
Change 'license set' to 'license put' to reflect correct syntax
2020-08-18 12:01:28 -04:00
James Rasell
9b5c5503ac Merge pull request #8678 from hashicorp/f-gh-8142-changelog
changelog: add entry for GH-8142.
2020-08-18 09:08:42 +02:00
davemay99
8d2bd22db1 Change 'license set' to 'license put' to reflect correct syntax 2020-08-17 14:10:21 -04:00
Nick Ethier
2176fbd90a docker: use Nomad managed resolv.conf when DNS options are set (#8600) 2020-08-17 10:22:08 -04:00
Buck Doyle
02b121817c Add missing server shutdown (#8677)
This removes repeated instances of this warning from test logs:
You created a second Pretender instance while there was already one running.
2020-08-17 08:17:29 -05:00
James Rasell
be76cfbb4c changelog: add entry for GH-8142. 2020-08-17 08:58:50 +01:00
James Rasell
9a536d26b1 Merge pull request #8636 from hashicorp/f-gh-8142
api: add node purge SDK function.
2020-08-17 09:45:54 +02:00
Luiz Aoqui
c1060b7c45 Merge pull request #8675 from hashicorp/docs/alloc-metrics-labels
docs: update allocation metrics
2020-08-14 16:59:15 -04:00
Luiz Aoqui
581f283a8e docs: update allocation metrics 2020-08-14 14:16:38 -04:00
James Rasell
42de70466a 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
4f39d161ed 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
5709549ab7 Merge pull request #8673 from hashicorp/skip-podman-e2e
skip podman e2e
2020-08-14 09:44:15 -04:00
Drew Bailey
3d61ad83fc skip podman e2e 2020-08-14 09:02:56 -04:00
James Rasell
75f2732678 docs: update Docker driver to detail new image_pull_timeout params. 2020-08-14 09:40:24 +01:00
James Rasell
b3b7a91f6d changelog: add entry for GH-8589. 2020-08-14 09:40:09 +01:00
James Rasell
38271df0f3 api: add node purge SDK function. 2020-08-14 08:40:03 +01:00
Drew Bailey
2a6beed6da Merge pull request #8670 from hashicorp/release-0.12.3
Release 0.12.3
2020-08-13 17:28:08 -04:00
Drew Bailey
61ecde9494 prepare release 2020-08-13 17:26:02 -04:00
Nomad Release Bot
ef99996f14 Release v0.12.3 2020-08-13 20:39:28 +00:00
Nomad Release bot
2db8abd962 Generate files for 0.12.3 release 2020-08-13 20:06:27 +00:00
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
James Rasell
a40a14064a 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
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