Commit Graph

18413 Commits

Author SHA1 Message Date
Michael Lange
ea29d409ef Remove vendored xterm.js files 2020-06-03 09:25:19 -07:00
Michael Lange
c505079a42 Merge pull request #8079 from shishir-a412ed/f-ui-iis-driver
Add nomad-driver-iis to nomad UI docs.
2020-06-02 09:30:45 -07:00
Mahmood Ali
af3d50aec8 Merge pull request #8042 from greut/docker-v19.03.9
docker v19.03.10
2020-06-02 10:14:14 -04:00
Shishir Mahajan
5574d57315 Fix review comments. 2020-06-01 19:15:01 -07:00
Shishir Mahajan
7570887bc6 Fix go-lint issue. 2020-06-01 18:54:58 -07:00
Dustin Taylor
38112e2dab Descriptions 2020-06-01 18:54:58 -07:00
Shishir Mahajan
9435013a2c Fix review comments. 2020-06-01 18:54:58 -07:00
Shishir Mahajan
165bdb2f77 Fixed missing comma. 2020-06-01 18:54:58 -07:00
Shishir Mahajan
e13b30da65 Add nomad-driver-iis to nomad UI docs. 2020-06-01 18:54:58 -07:00
Yoan Blanc
1b61b16c01 docker pick https://github.com/moby/moby/pull/40021
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-06-01 22:43:58 +02:00
Yoan Blanc
67051f0185 docker/cli v19.03.10
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-06-01 22:43:56 +02:00
Yoan Blanc
37974a814a docker v19.03.10
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-06-01 22:43:31 +02:00
Yoan Blanc
610075e748 docker v19.03.9
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-06-01 22:43:28 +02:00
Buck Doyle
67e9690b7d Convert to angle bracket invocation (#8075)
This is mostly a direct application of the ember-angle-brackets-codemod.
I manually restored newlines in multi-line component invocations, usually
preserving file line length except for now-non-positional link-to @route.

I needed to rename task to taskState in some cases to avoid Ember
Concurrency naming conflicts.
2020-06-01 14:03:56 -05:00
Seth Hoenig
81355d9578 Merge pull request #8087 from hashicorp/f-docker-mem-config
driver/docker: enable setting hard/soft memory limits
2020-06-01 12:16:55 -05:00
Seth Hoenig
5a0dc99959 driver/docker: add integration test around setting memory_hard_limit 2020-06-01 12:00:47 -05:00
Seth Hoenig
0d0d245981 docs: reference kernel documentation regarding soft memory limit activation 2020-06-01 11:16:11 -05:00
Seth Hoenig
779b615a52 docs: use correct url path for doc string
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2020-06-01 10:52:36 -05:00
Seth Hoenig
108860ac86 docs: fix markdown for field in changelog
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2020-06-01 10:52:12 -05:00
Chris Baker
6e15cf7fe4 Merge pull request #8086 from hashicorp/docs-add-go-redirect-fix-changelog
docs: add go-getter redirect fix to changelog
2020-06-01 10:16:20 -05:00
Drew Bailey
aeb74c9cd5 license changelog (#8088) 2020-06-01 11:07:54 -04:00
Drew Bailey
13f26183f5 Docs/license (#8076)
* license cli documentation

license docs

backout doc change

more docs

* license api endpoint documentation
2020-06-01 10:55:03 -04:00
Seth Hoenig
81f1be048a driver/docker: use pointer parameter on driver because locks 2020-06-01 09:35:17 -05:00
Seth Hoenig
d35358a07c docs: update docs & changelog for docker driver memory_hard_limit configuration 2020-06-01 09:24:49 -05:00
Seth Hoenig
186aa59fc9 driver/docker: enable setting hard/soft memory limits
Fixes #2093

Enable configuring `memory_hard_limit` in the docker config stanza for tasks.
If set, this field will be passed to the container runtime as `--memory`, and
the `memory` configuration from the task resource configuration will be passed
as `--memory_reservation`, creating hard and soft memory limits for tasks using
the docker task driver.
2020-06-01 09:22:45 -05:00
Seth Hoenig
87778d4ac9 docs: add go-getter redirect fix to changelog 2020-06-01 09:01:35 -05:00
Mahmood Ali
9ace1c8013 Merge pull request #8083 from hashicorp/test-deflake-20200531
More Test deflaking - 2020-05-31 edition
2020-06-01 09:28:45 -04:00
Buck Doyle
06baadd01e UI: add filesystem browsing for allocations (#7951)
This partially addresses #7799.

Task state filesystems are contained within a subdirectory of their
parent allocation, so almost everything that existed for browsing task
state filesystems was applicable to browsing allocations, just without
the task name prepended to the path. I aimed to push this differential
handling into as few contained places as possible.

The tests also have significant overlap, so this includes an extracted
behavior to run the same tests for allocations and task states.
2020-06-01 08:15:59 -05:00
Mahmood Ali
3b04afee2e Merge pull request #8047 from hashicorp/f-snapshot-save
API for atomic snapshot backups
2020-06-01 07:55:16 -04:00
Mahmood Ali
e6f521301d If leadership fails, consider it handled
The callers for `forward` and old implementation expect failures to be
accompanied with a true value!  This fixes the issue and have tests
passing!
2020-05-31 22:06:17 -04:00
Mahmood Ali
081c1b6d4a more review feedback 2020-05-31 21:39:09 -04:00
Mahmood Ali
781f110489 Apply suggestions from code review
Co-authored-by: Drew Bailey <2614075+drewbailey@users.noreply.github.com>
2020-05-31 21:29:17 -04:00
Mahmood Ali
65937ffd21 Merge pull request #8001 from hashicorp/f-jobs-list-across-nses
endpoint to expose all jobs across all namespaces
2020-05-31 21:28:03 -04:00
Mahmood Ali
ca0b03201e Merge pull request #8036 from hashicorp/f-background-vault-revoke-on-restore
Speed up leadership establishment
2020-05-31 21:27:16 -04:00
Mahmood Ali
127a960a54 clarify rpc consistency readiness comment 2020-05-31 21:26:41 -04:00
Mahmood Ali
5ad6790189 Merge pull request #8043 from greut/distribution-v2.7.1
vendor: pin docker/distribution to v2.7.1
2020-05-31 21:20:54 -04:00
Mahmood Ali
e9d14a3e19 Apply suggestions from code review
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2020-05-31 21:04:39 -04:00
Mahmood Ali
4fbc13e0bf Merge pull request #8078 from hashicorp/b-empty-cluster-metadata
Handle nil/empty cluster metadata
2020-05-31 20:59:29 -04:00
Mahmood Ali
2f1c63e548 tests: ensure that test is long enough to configure cgroups 2020-05-31 10:42:06 -04:00
Mahmood Ali
5cd40195cb tests: terminate agent gracefully
Ensure that api test agent is terminated gracefully. This is desired for
two purposes:

First, to ensure that the logs are fully flished out.  If the agent is
killed mid log line and go test doesn't emit a new line before `---
PASS:` indicator, the test may be marked as failed, even if it passed.
Sample failure is https://circleci.com/gh/hashicorp/nomad/72360 .

Second, ensure that the agent terminates any auxiliary processes (e.g.
logmon, tasks).
2020-05-31 10:35:37 -04:00
Mahmood Ali
03524de50e tests: Run a task long enough to be restartable 2020-05-31 10:33:03 -04:00
changli0617
c4416b26d3 Merge pull request #8077 from hashicorp/changli0617-patch-1
Update alert-banner.js
2020-05-29 13:36:53 -07:00
Mahmood Ali
d5350c119d Handle nil/empty cluster metadata
Handle case where a snapshot is made before cluster metadata is created.

This fixes a bug where a server may have empty cluster metadata if it
created and installed a Raft snapshot before a new cluster metadata ID is
generated.

This case is very unlikely to arise.  Most likely reason is when
upgrading from an old version slowly where servers may use snapshots
before all servers upgrade.  This happened for a user with a log line
like:

```
2020-05-21T15:21:56.996Z [ERROR] nomad.fsm: ClusterSetMetadata failed: error=""set cluster metadata failed: refusing to set new cluster id, previous: , new: <<redacted>
```
2020-05-29 13:34:21 -04:00
changli0617
f1746a75cc Update alert-banner.js 2020-05-29 10:09:43 -07:00
Seth Hoenig
abbf4b27cf Merge pull request #8074 from ogadaki/patch-2
docs: fix typo in eligibility command doc
2020-05-29 08:44:56 -05:00
Nicolas Decoster
6f8829e57e docs: fix typo in eligibility command doc 2020-05-29 15:14:59 +02:00
Drew Bailey
5be192fac3 give enterpriseclient a logger (#8072) 2020-05-28 15:43:16 -04:00
Drew Bailey
967facc55e removes pro tags (#8014) 2020-05-28 15:40:17 -04:00
Seth Hoenig
88bb1c785e Merge pull request #8071 from hashicorp/docs-update-cni-version-reference
docs: update CNI version in connect setup docs
2020-05-28 10:33:50 -05:00
Seth Hoenig
c9d1ae133b docs: update CNI version in setup docs
Update reference to CNI from version 0.8.4 to 0.8.6, which includes
bug fixes, new features, etc.

https://github.com/containernetworking/plugins/releases/tag/v0.8.6
2020-05-28 10:23:02 -05:00