Mahmood Ali
29d49f0a09
Merge pull request #8700 from shishir-a412ed/f-ui-podman-driver
...
Podman driver: Add support for signal task.
2020-08-20 07:11:45 -04:00
Mahmood Ali
80b10a3181
Merge pull request #8693 from zhsj/update-runc
...
Update runc to v1.0.0-rc92
2020-08-20 07:11:27 -04:00
Michael Schurter
72bd8f477c
docs: clarify e2e tests
...
Just a smattering of attempted improvements as I read through this
again. Some of my goals:
- Tried to add more high level info to the intro to set the context
- Clarify the difference between *test* dev and *agent* dev workflows
- Add -timeout to provisioning step because cable Internet is lol
2020-08-19 20:32:31 -07:00
Michael Schurter
4d2bb7e660
Merge pull request #8688 from hashicorp/test-deflake-consul-e2e
...
test: deflake consul e2e tests
2020-08-19 20:11:25 -07:00
Shishir Mahajan
7055477860
Podman driver: Add support for signal task.
2020-08-19 17:25:52 -07:00
Michael Schurter
66bc07d01a
test: deflake consul e2e tests
...
Modernize test patterns by removing gomega and avoiding the mock_driver.
2020-08-19 14:29:22 -07:00
Tim Gross
9a3caa49db
e2e: remove unused spark dependency ( #8695 )
2020-08-19 14:59:36 -04:00
Shengjing Zhu
311fe43b3c
Vendor sync
2020-08-20 00:31:07 +08:00
Shengjing Zhu
7a4f48795d
Adjust cgroup change in libcontainer
2020-08-20 00:31:07 +08:00
Shengjing Zhu
c69984f853
Update runc to v1.0.0-rc92
2020-08-19 23:56:35 +08:00
Mahmood Ali
8a342926b7
Respect alloc job version for lost/failed allocs
...
This change fixes a bug where lost/failed allocations are replaced by
allocations with the latest versions, even if the version hasn't been
promoted yet.
Now, when generating a plan for lost/failed allocations, the scheduler
first checks if the current deployment is in Canary stage, and if so, it
ensures that any lost/failed allocations is replaced one with the latest
promoted version instead.
2020-08-19 09:52:48 -04:00
Tim Gross
a49732816c
migrate AMI builds to new account ( #8674 )
2020-08-19 08:20:59 -04:00
Tim Gross
1aa242c15a
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
22e77bb03c
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
38ec70eb8d
multiregion: validation should always return error for OSS ( #8687 )
2020-08-18 15:35:38 -04:00
Tim Gross
d810dab50b
migrate E2E test runs to new AWS account ( #8676 )
2020-08-18 14:24:34 -04:00
Jasmine Dahilig
ee522ab587
task lifecycle: e2e tests
2020-08-18 10:49:50 -07:00
Drew Bailey
4e35a5a83e
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
3eead6d071
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
3c12ef8f70
Change 'license set' to 'license put' to reflect correct syntax
2020-08-17 14:10:21 -04:00
Nick Ethier
1849a20b66
docker: use Nomad managed resolv.conf when DNS options are set ( #8600 )
2020-08-17 10:22:08 -04:00
Buck Doyle
2f022a6a5e
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
39351e1902
changelog: add entry for GH-8142.
2020-08-17 08:58:50 +01:00
James Rasell
b6a884a7cb
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
5296e5b5c2
Merge pull request #8675 from hashicorp/docs/alloc-metrics-labels
...
docs: update allocation metrics
2020-08-14 16:59:15 -04:00
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
Michael Schurter
de08ae8083
test: add allocrunner test for poststart hooks
2020-08-12 09:54:14 -07: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