Michael Schurter
24134a047a
Merge pull request #11236 from hashicorp/test-flaky-autopilot
...
test: fix flaky TestAutopilot_CleanupDeadServer
2021-09-29 13:15:43 -07:00
Luiz Aoqui
a7872f0ba5
docs: add Nomad version requirement note for sysbatch ( #11231 )
2021-09-29 15:14:51 -04:00
Michael Schurter
da92fafdc4
Merge pull request #10992 from ggriffiths/px_csi_driver_example
...
Add Portworx CSI Driver example
2021-09-29 10:53:08 -07:00
Michael Schurter
b93649a21b
docs: add @ggriffiths as author
2021-09-29 10:50:51 -07:00
Michael Schurter
caf57e12cb
Merge pull request #11234 from hashicorp/docs-csi-demo
...
docs: note demos/csi is unsupported
2021-09-29 08:54:56 -07:00
Michael Schurter
c1bd10456c
test: fix flaky TestAutopilot_CleanupDeadServer
...
The fix seems to be related to the pointer comparison and swapping we
did around killing a non-leader. I actually can't quite explain it, but
when comparing against Consul's version of this test I noticed they used
the slice index to track the killed server instead of pointer swapping.
As soon as I switched to slice index tracking I could no longer
reproduce the failure.
In addition:
- Tested membership counts on all servers instead of just 1 for added
correctness.
- Stopped testing raft v1 because it is unsupported.
2021-09-28 16:38:56 -07:00
Michael Schurter
d7e123d7cd
test: fix fake by increasing time window
...
Test originally only had a 10ms time window tolerance. Increased to
100ms and also improved assertions and docstrings.
2021-09-28 12:22:59 -07:00
Michael Schurter
6b44b5bd40
docs: note demos/csi is unsupported
...
Also start tagging authors to ease support by third parties.
2021-09-28 11:11:19 -07:00
jmwilkinson
d88b224248
Update filesystem.mdx ( #11182 )
...
* Update filesystem.mdx
Update summary of alloc directory to include information on access differences between task drivers and filesystem isolation modes.
Co-authored-by: Tim Gross <tim@0x74696d.com>
2021-09-27 16:36:04 -07:00
Noel Quiles
2d4395f4cb
Update alert banner for HashiConf Global 2021 ( #11229 )
2021-09-27 14:49:33 -04:00
James Rasell
8e4cc1b88b
Merge pull request #11224 from hashicorp/b-docs-node-eval-apidocs
...
docs: fix API docs node evaluate example call.
2021-09-24 15:18:49 +02:00
James Rasell
10f0fc3cc5
docs: fix API docs node evaluate example call.
2021-09-24 10:28:22 +01:00
Michael Schurter
05b01fe0c0
Merge pull request #11218 from hashicorp/docs-update-reserved
...
DOCS: Clarify the reservation example
2021-09-22 16:15:34 -07:00
Charlie Voiselle
e707012136
Clarify that reservation example
...
The current wording can lead someone to believe that you can use percentage values.
2021-09-22 18:30:39 -04:00
Luiz Aoqui
a7698dedba
Disable PowerShell profile and simplify fingerprinting link speed on Windows ( #11183 )
2021-09-22 11:17:47 -04:00
Michael Schurter
0745fdbcf6
Merge pull request #11215 from hashicorp/b-license-env-deny
...
client: add NOMAD_LICENSE to default env deny list
2021-09-21 16:53:26 -07:00
Luiz Aoqui
8d19831247
docs: add some extra documentation around client host environment variables ( #11208 )
...
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2021-09-21 17:23:30 -04:00
Michael Schurter
4ad0c258b9
client: add NOMAD_LICENSE to default env deny list
...
By default we should not expose the NOMAD_LICENSE environment variable
to tasks.
Also refactor where the DefaultEnvDenyList lives so we don't have to
maintain 2 copies of it. Since client/config is the most obvious
location, keep a reference there to its unfortunate home buried deep
in command/agent/host. Since the agent uses this list as well for the
/agent/host endpoint the list must be accessible from both command/agent
and client.
2021-09-21 13:51:17 -07:00
Michael Schurter
7d2ca0088e
Merge pull request #11214 from hashicorp/docs-1.1.5-changelog
...
Update changelog for v1.1.5 and v1.0.11
2021-09-21 09:59:41 -07:00
Michael Schurter
a61a03adf2
Update changelog for v1.1.5 and v1.0.11
2021-09-21 09:09:40 -07:00
Michael Schurter
bbf7a3eb02
Merge pull request #11210 from hashicorp/docs-1.1.5
...
website: update to 1.1.5
2021-09-21 08:59:58 -07:00
Michael Schurter
ff33225acb
website: update to 1.1.5
...
Also update LAST_RELEASE in makefile to 1.1.5
2021-09-20 16:50:37 -07:00
Michael Schurter
31c65f7ce4
Merge pull request #11206 from hashicorp/b-gh-11202
...
client: task env vars should take precedence over host env vars.
2021-09-20 11:22:58 -07:00
James Rasell
3cba21718e
changelog: add entry for #11206
2021-09-20 18:05:42 +01:00
James Rasell
2c49063f85
client: task env vars should take precendece over host env vars.
2021-09-20 09:15:28 +01:00
Florian Apolloner
7805b8edf4
Fixed usage of NOMAD_CLI_NO_COLOR env variable. ( #11168 )
2021-09-17 20:37:05 -04:00
Michael Schurter
571b0c1469
Merge pull request #11198 from hashicorp/f-no-audit-log-timestamp
...
docs: add upgrade guide entry for audit log naming
2021-09-17 11:57:46 -07:00
James Rasell
645741cd94
Merge pull request #11194 from hashicorp/b-fix-e2e-acl-tls-provision
...
e2e: fix provisioning when ACLs and TLS enabled.
2021-09-17 08:11:10 +02:00
Michael Schurter
ebf0bca5f8
docs: add changelog entry for audit log naming
2021-09-16 16:21:57 -07:00
Michael Schurter
aa241fb87f
docs: add upgrade guide entry for audit log naming
2021-09-16 16:19:52 -07:00
James Rasell
30273d9256
e2e: fix provisioning when ACLs and TLS enabled; no nightly TLS.
2021-09-16 17:15:41 +02:00
Luiz Aoqui
edd32ba571
Log network device name during fingerprinting ( #11184 )
2021-09-16 10:48:31 -04:00
Luiz Aoqui
1035805a42
connect: update allowed protocols in ingress gateway config ( #11187 )
2021-09-16 10:47:53 -04:00
James Rasell
4487a41249
Merge pull request #11189 from hashicorp/f-gh-11173-docs
...
docs: add changelog and website entry for #11173
2021-09-16 08:13:29 +02:00
James Rasell
0e926ef3fd
allow configuration of Docker hostnames in bridge mode ( #11173 )
...
Add a new hostname string parameter to the network block which
allows operators to specify the hostname of the network namespace.
Changing this causes a destructive update to the allocation and it
is omitted if empty from API responses. This parameter also supports
interpolation.
In order to have a hostname passed as a configuration param when
creating an allocation network, the CreateNetwork func of the
DriverNetworkManager interface needs to be updated. In order to
minimize the disruption of future changes, rather than add another
string func arg, the function now accepts a request struct along with
the allocID param. The struct has the hostname as a field.
The in-tree implementations of DriverNetworkManager.CreateNetwork
have been modified to account for the function signature change.
In updating for the change, the enhancement of adding hostnames to
network namespaces has also been added to the Docker driver, whilst
the default Linux manager does not current implement it.
2021-09-16 08:13:09 +02:00
James Rasell
da8bd5612d
changelog: add entry for #11173 .
2021-09-15 11:44:10 +02:00
James Rasell
b5039c96a4
docs: add network.hostname job specification website entry.
2021-09-15 11:43:47 +02:00
Luiz Aoqui
bbae221c8c
deps: update go-memdb to 1.3.2 ( #11185 )
2021-09-14 20:26:45 -04:00
Michael Schurter
7035c94320
Merge pull request #11111 from hashicorp/b-system-no-match
...
scheduler: warn when system jobs cannot place an alloc
2021-09-13 16:06:04 -07:00
Michael Schurter
d32d0326e8
docs: focus changelog entry for #11111 on the ux
...
While I don't think this fully encompasses the changes, other bits
like marking sysbatch as dead immediately are new so haven't changed
from a previous release.
2021-09-10 16:45:43 -07:00
Michael Schurter
9ff246a394
scheduler: deep copy AllocMetric
...
Defensively deep copy AllocMetric to avoid side effects from shared map
references.
2021-09-10 16:41:31 -07:00
Luiz Aoqui
84416303b2
dependabot: set proper theme/* labels ( #11154 )
2021-09-10 09:41:05 -04:00
Joel Watson
7e100cc682
Merge pull request #11145 from hashicorp/watsonian/gpu-update
...
docs: Update Nvidia GPU installation instructions
2021-09-09 10:19:18 -05:00
James Rasell
04a15b5c16
Merge pull request #11105 from hashicorp/f-add-staticcheck-ci
...
ci: add staticcheck with ST1020 and update golangci-lint
2021-09-09 09:42:12 +02:00
James Rasell
686189aade
Merge pull request #11143 from hashicorp/b-gh-11026
...
deps: update go-plugin to v1.4.3 to fix Windows handle leak.
2021-09-09 09:39:22 +02:00
dependabot[bot]
31874f3616
build(deps): bump postcss from 7.0.35 to 7.0.36 in /ui ( #10771 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 7.0.35 to 7.0.36.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.36 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 19:44:11 -04:00
dependabot[bot]
398c928aa9
build(deps): bump hosted-git-info from 2.8.8 to 2.8.9 in /ui ( #10737 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
---
updated-dependencies:
- dependency-name: hosted-git-info
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 19:43:23 -04:00
dependabot[bot]
a92c59b042
build(deps): bump ws from 7.4.3 to 7.4.6 in /ui ( #10669 )
...
Bumps [ws](https://github.com/websockets/ws ) from 7.4.3 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.4.3...7.4.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 19:40:31 -04:00
dependabot[bot]
39b7cb0fa1
build(deps): bump ssri from 6.0.1 to 6.0.2 in /ui ( #10398 )
...
Bumps [ssri](https://github.com/npm/ssri ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases )
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md )
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 19:39:12 -04:00
dependabot[bot]
08417cf95c
build(deps): bump path-parse from 1.0.6 to 1.0.7 in /ui ( #11028 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 18:01:59 -04:00