Daniel Rossbach
9bb9aab714
qemu driver: Add option to configure drive_interface ( #11864 )
2022-06-10 10:03:51 -04:00
Seth Hoenig
0e14eea59b
Merge pull request #13330 from hashicorp/b-windows-go-path-order
...
build: rearrange go path order on windows
2022-06-10 08:06:25 -05:00
Luiz Aoqui
f0db5f4c51
changelog: add entry for #12961 ( #13318 )
2022-06-10 09:04:00 -04:00
Seth Hoenig
c1f57833c0
build: rearrange go path order on windows
...
If PATH comes first, an older version of Go is used that cannot install
dependencies that use features of newer versions of Go, which we just
installed.
2022-06-10 07:41:12 -05:00
Raffaele Di Fazio
0b9fc17ae4
Update supplement.mdx with the right GitHub spelling ( #13326 )
2022-06-10 11:46:19 +02:00
Seth Hoenig
2697e63ad6
Merge pull request #13308 from hashicorp/f-generic-helpers
...
helpers: provide a few generic helper functions
2022-06-09 13:08:37 -05:00
Seth Hoenig
109f25feb5
helpers: provide a few generic helper functions
...
This PR deprecates some functions in favor of generic alternatives.
The new functions are compatible only with Nomad v1.4+.
The old functions (nor their use) should not be removed until Nomad v1.6+.
2022-06-09 10:43:54 -05:00
Tim Gross
dd1bbbec0a
CSI: skip node unpublish on GC'd or down nodes ( #13301 )
...
If the node has been GC'd or is down, we can't send it a node
unpublish. The CSI spec requires that we don't send the controller
unpublish before the node unpublish, but in the case where a node is
gone we can't know the final fate of the node unpublish step.
The `csi_hook` on the client will unpublish if the allocation has
stopped and if the host is terminated there's no mount for the volume
anyways. So we'll now assume that the node has unpublished at its
end. If it hasn't, any controller unpublish will potentially hang or
error and need to be retried.
2022-06-09 11:33:22 -04:00
phreakocious
f8774369d2
Add guest_agent config option for QEMU driver ( #12800 )
...
Add boolean 'guest_agent' config option for QEMU driver, which will
create the socket file for the QEMU Guest Agent in the task dir when
enabled.
2022-06-09 09:21:38 -04:00
Derek Strickland
e78a5908b9
docker: update images to reference hashicorpdev Docker organization ( #12903 )
...
docker: update images to reference hashicorpdev dockerhub organization
generate job_init.bindata_assetfs.go
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com >
2022-06-08 15:06:00 -04:00
Derek Strickland
7899fd3fac
consul-template: Add fault tolerant defaults ( #13041 )
...
consul-template: Add fault tolerant defaults
Co-authored-by: Tim Gross <tgross@hashicorp.com >
2022-06-08 14:08:25 -04:00
Shantanu Gadgil
b1a84bb77e
heartbeat_grace is a server parameter (#13288 )
...
`heartbeat_grace` is a `server` parameter, not a `client` parameter.
2022-06-08 10:49:23 -04:00
dependabot[bot]
e751087be2
build(deps): bump node-fetch in /scripts/screenshots/src ( #11908 )
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 10:48:36 -04:00
dependabot[bot]
c406325ead
build(deps-dev): bump ember-page-title from 6.2.0 to 7.0.0 in /ui ( #11738 )
...
Bumps [ember-page-title](https://github.com/ember-cli/ember-page-title ) from 6.2.0 to 7.0.0.
- [Release notes](https://github.com/ember-cli/ember-page-title/releases )
- [Changelog](https://github.com/ember-cli/ember-page-title/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ember-cli/ember-page-title/compare/v6.2.0...v7.0.0 )
---
updated-dependencies:
- dependency-name: ember-page-title
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 10:30:37 -04:00
dependabot[bot]
ea966b8baf
build(deps): bump node-fetch from 2.6.1 to 2.6.7 in /ui ( #11909 )
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 10:27:01 -04:00
dependabot[bot]
90b995d4fc
build(deps): bump semver-regex from 3.1.2 to 3.1.4 in /ui ( #13224 )
...
Bumps [semver-regex](https://github.com/sindresorhus/semver-regex ) from 3.1.2 to 3.1.4.
- [Release notes](https://github.com/sindresorhus/semver-regex/releases )
- [Commits](https://github.com/sindresorhus/semver-regex/compare/v3.1.2...v3.1.4 )
---
updated-dependencies:
- dependency-name: semver-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 10:25:17 -04:00
dependabot[bot]
6c4f05c31f
chore(deps): bump lodash-es from 4.17.20 to 4.17.21 in /ui ( #12323 )
...
Bumps [lodash-es](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
---
updated-dependencies:
- dependency-name: lodash-es
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 10:23:50 -04:00
dependabot[bot]
742227e900
build(deps): bump follow-redirects from 1.14.5 to 1.14.8 in /ui ( #12060 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.5 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.5...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 10:22:49 -04:00
dependabot[bot]
91fd24a796
build(deps): bump mout from 1.2.2 to 1.2.3 in /ui ( #12035 )
...
Bumps [mout](https://github.com/mout/mout ) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/mout/mout/releases )
- [Changelog](https://github.com/mout/mout/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mout/mout/compare/v1.2.2...v1.2.3 )
---
updated-dependencies:
- dependency-name: mout
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 10:21:34 -04:00
Luiz Aoqui
8071a641e7
changelog: add entry for #12925 ( #13250 )
2022-06-08 10:14:33 -04:00
Tim Gross
6b774291e3
update AWS cpu info for fingerprinter ( #13280 )
2022-06-08 09:45:52 -04:00
Tim Gross
b74712321b
CSI: no early return when feasibility check fails on eligible nodes ( #13274 )
...
As a performance optimization in the scheduler, feasibility checks
that apply to an entire class are only checked once for all nodes of
that class. Other feasibility checks are "available" checks because
they rely on more ephemeral characteristics and don't contribute to
the hash for the node class. This currently includes only CSI.
We have a separate fast path for "available" checks when the node has
already been marked eligible on the basis of class. This fast path has
a bug where it returns early rather than continuing the loop. This
causes the entire task group to be rejected.
Fix the bug by not returning early in the fast path and instead jump
to the top of the loop like all the other code paths in this method.
Includes a new test exercising topology at whole-scheduler level and a
fix for an existing test that should've caught this previously.
2022-06-07 13:31:10 -04:00
Derek Strickland
ec3b7150e4
alloc_runner: stop sidecar tasks last ( #13055 )
...
alloc_runner: stop sidecar tasks last
2022-06-07 11:35:19 -04:00
James Rasell
78553f9aad
e2e: use longer wait in template update triggers to avoid flake. ( #13271 )
2022-06-07 14:49:03 +02:00
James Rasell
c8c16d9881
state: only update index on change when deleting evals. ( #13227 )
...
When deleting evaluations and allocations during a reap event, the
index table entries for evals and allocs was updated irregardless
of whether changes were made.
This change modifies the state logic so that the index table is
only modified when the corresponding table has actually been
modified. Along with matching expected behaviour, this change has
the potential to reduce the number of times blocking queries will
return without any real state change.
2022-06-07 11:56:43 +02:00
Tim Gross
9c582eaf6c
changelog entry for #12534 ( #13260 )
2022-06-06 16:19:17 -04:00
Kevin Schoonover
d725acb380
parse ACL token from authorization header ( #12534 )
2022-06-06 15:51:02 -04:00
Conor Evans
2a01807d20
add filebase64 function ( #11791 )
...
Signed-off-by: Conor Evans <coevans@tcd.ie >
2022-06-06 11:58:17 -04:00
dgotlieb
99b9408c91
docs: update warning for gateway listener docs for non-tcp protos
2022-06-06 10:53:01 -04:00
Radek Simko
0246944d68
docs/job-spec: Fix formatting in network page ( #13228 )
2022-06-06 10:14:12 -04:00
dependabot[bot]
0bc084a7fa
build(deps): bump semver-regex from 3.1.3 to 3.1.4 in /website ( #13225 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-06 09:11:22 -05:00
Radek Simko
e2e635a87d
client/allochealth: add healthy_deadline as context to error messages ( #13214 )
2022-06-06 10:11:08 -04:00
Radek Simko
cbde2ba94b
docs/docker: fix broken link to bridge mode ( #13221 )
2022-06-06 09:59:36 -04:00
Radek Simko
ff87354665
docs: link to client reqs section for added clarity ( #13215 )
2022-06-06 09:56:29 -04:00
Karan Sharma
2d95f06026
feat: Warn if bootstrap_expect is even number ( #12961 )
2022-06-06 15:22:59 +02:00
Lance Haig
eafc93902b
Allow Operator Generated bootstrap token ( #12520 )
2022-06-03 07:37:24 -04:00
Luiz Aoqui
b7357fd325
update README Nomad logo ( #13206 )
2022-06-02 19:21:26 -04:00
Huan Wang
b6e07487c2
adding support for customized ingress tls ( #13184 )
2022-06-02 18:43:58 -04:00
Seth Hoenig
97cc819241
Merge pull request #13205 from hashicorp/b-batch-preempt2
...
core: reschedule evicted batch job when resources become available
2022-06-02 16:32:01 -05:00
Shantanu Gadgil
f0bc4cedca
fingerprint kernel architecture name ( #13182 )
2022-06-02 15:51:00 -04:00
Seth Hoenig
682dbaac5a
core: reschedule evicted batch job when resources become available
...
This PR fixes a bug where an evicted batch job would not be rescheduled
once resources become available.
Closes #9890
2022-06-02 14:04:13 -05:00
Seth Hoenig
9d03cd4c70
Merge pull request #12951 from jorgemarey/f-srv-tagged-addresses
...
Allow setting tagged addresses on services
2022-06-01 10:51:49 -05:00
Tim Gross
5ef12a6948
website: set dependabot assignees ( #12969 )
...
The website build code has been moved out to another repository, so
what's remaining here is local development tooling. Assign these PRs to
the web platform team, but also cut down on the noise we're sending
their way.
2022-06-01 11:40:32 -04:00
Seth Hoenig
3ca5292d91
consul: avoid reflection in comparing service map types
2022-06-01 10:22:00 -05:00
Tim Gross
a0e8de33ee
refactor index threshold calculation for core GC jobs ( #13196 )
...
Almost all GC jobs check the index of the objects being GC'd to see if
they're older than a configured threshold. This code was repeated six
times in `CoreScheduler` with only logging changes, so it seems safe
to extract it as its own method.
2022-06-01 11:12:20 -04:00
Seth Hoenig
63fed3b51b
Merge pull request #13194 from hashicorp/update-golangci-lint
...
build: update golangci-lint to v1.46.2
2022-06-01 08:12:44 -05:00
Jason Paul Deland
f42c94dadd
demo/terraform: fix nvidia drivers installation
2022-05-31 20:17:55 -04:00
Seth Hoenig
0be43c2485
Merge pull request #13193 from hashicorp/build-exclude-go-work-sum
...
build: git ignore go.work.sum files
2022-05-31 19:03:40 -05:00
Seth Hoenig
a7b56e81d8
build: git ignore go.work.sum files
2022-05-31 18:37:49 -05:00
Seth Hoenig
2fdb782a0c
build: update golangci-lint to v1.46.2
...
This version of golangci-lint improves support for generics, but also
is more strict in copy vs. loop for slice copying.
2022-05-31 23:32:01 +00:00