Commit Graph

25097 Commits

Author SHA1 Message Date
Tim Gross 04a5cb69f7 docs: add warnings about backing up keyring to snapshot commands (#19400)
The `operator snapshot` commands and agent don't back up Nomad's key
material. Add some warnings about this to places where users might be looking
for information on cluster recovery.

Fixes: https://github.com/hashicorp/nomad/issues/19389
2023-12-08 16:08:17 -05:00
hc-github-team-nomad-core 22f9867ed3
Backport of update PKI example in template spec with the new pkiCert function into release/1.6.x (#19396)
Co-authored-by: Adrian Todorov <adrian.todorov@hashicorp.com>
2023-12-08 14:50:35 -05:00
Luiz Aoqui 1d3a38aae0
Revert "deps: update go-metrics to v0.5.3 in 1.6.x" (#19375)
* Revert "deps: update go-metrics to v0.5.3 (#19190) (#19208)"

This reverts commit 1112a282d76e67e26b3973a1e4cfc85b22678072.

* changelog add entry for #19375
2023-12-08 08:47:02 -05:00
hc-github-team-nomad-core 3e7017e119
Backport of client: allow incomplete allocrunners to be removed on restore into release/1.6.x #19361
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2023-12-07 14:30:17 -05:00
hc-github-team-nomad-core a8c0b2ebb5
Backport of connect: deployments should wait for Connect sidecar checks into release/1.6.x #19365
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2023-12-07 14:27:56 -05:00
hc-github-team-nomad-core e1a6a4c42f
Backport of docs: expand on Sentinel policy reference into release/1.6.x #19358
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2023-12-07 14:17:12 -05:00
Piotr Kazmierczak 852efb461e Merge branch 'release/1.6.4' into release/1.6.x 2023-12-07 12:26:19 +01:00
hc-github-team-nomad-core 4812076ba7 Prepare for next release 2023-12-07 08:28:06 +00:00
hc-github-team-nomad-core 65829a0b01 Generate files for 1.6.4 release 2023-12-07 08:27:54 +00:00
Michael Schurter 3dc7c0fec6 cl 2023-12-05 16:38:49 -08:00
Michael Schurter 26ddcda724 Update to Go 1.21.5 2023-12-05 16:38:34 -08:00
hc-github-team-nomad-core 64d8063a9b
Backport of docs: clarify behavior and recommendations for mTLS vs TLS for HTTP into release/1.6.x #19307
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2023-12-04 15:49:54 -05:00
hc-github-team-nomad-core e4fd687791
backport of commit af71f4a55a7189c35b88dfb435cd1096c4898615 (#19261)
Co-authored-by: Adrian Todorov <adrian.todorov@hashicorp.com>
2023-12-04 08:58:58 +00:00
hc-github-team-nomad-core 9909d1fa73
backport of commit b83c1e14c13b05a89524fb6ea6e94ddcca7db1c8 (#19281)
Co-authored-by: Seth Hoenig <shoenig@duck.com>
2023-12-01 14:08:21 -06:00
hc-github-team-nomad-core 1a309b43fd
Backport of vault: fix legacy token workflow for poststop tasks into release/1.6.x #19272
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2023-12-01 13:44:57 -05:00
Tim Gross 413728fcde
variables: fix access to variables for poststop tasks (#19270)
In the recent auth refactor, we accidentally fixed a bug where poststop tasks
would not get access to Variables. Fix this same bug for backports by ensuring
that we use client-terminal status and not server-terminal status to enforce
access.
2023-12-01 13:01:48 -05:00
hc-github-team-nomad-core c7086d5a96
backport of commit a35acdb84e2445930598663bb8cbc133e9832b4d (#19264)
Co-authored-by: Phil Renaud <phil.renaud@hashicorp.com>
2023-12-01 11:23:47 -05:00
hc-github-team-nomad-core 655b6fa97f
backport of commit 7ab7edf9cdec6ceab92e47c1472a43d802de0486 (#19240)
Co-authored-by: Phil Renaud <phil.renaud@hashicorp.com>
2023-11-30 10:58:50 -05:00
hc-github-team-nomad-core b62e524bbb
backport of commit 573c3103fb6da48143982cd5457f9bc0a1e33221 (#19234)
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
2023-11-30 07:45:30 +00:00
hc-github-team-nomad-core ef2de73315
backport of commit d29ac461a7229ca61da9561c1058e14aecbe4b90 (#19223)
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-11-29 13:33:08 -05:00
hc-github-team-nomad-core 406e2a5658
backport of commit 0819aab23799ab6ed31c926ef42e3174105600ec (#19219)
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
2023-11-29 16:41:21 +00:00
hc-github-team-nomad-core dd381f8fde
backport of commit 2e254112f555c73eca98b0b7d599cd8e58ddf3a7 (#19143)
Co-authored-by: Phil Renaud <phil.renaud@hashicorp.com>
2023-11-29 09:34:33 -05:00
Luiz Aoqui a0a1f0bf4f
deps: revert incorrect Consul update from #19208 (#19211) 2023-11-28 14:20:10 -05:00
Luiz Aoqui e552e1726f
deps: update go-metrics to v0.5.3 (#19190) (#19208)
Update `go-metrics` to v0.5.3 to pick
https://github.com/hashicorp/go-metrics/pull/146.
2023-11-28 13:52:25 -05:00
hc-github-team-nomad-core 03e23c9bae
backport of commit e2487698e63d6d4961ebe9a34324274fb58377ec (#19202)
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
2023-11-28 14:45:33 +00:00
hc-github-team-nomad-core 627dc49147
backport of commit 772ddd3638d4130b0e3590c5d0279e5757823250 (#19193)
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-11-27 17:58:54 -05:00
hc-github-team-nomad-core f149c55d5a
chore(deps): bump google.golang.org/grpc from 1.55.0 to 1.59.0 (#18908) (#19184)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-27 09:34:03 +00:00
Piotr Kazmierczak 2c25d302a7
Merge pull request #19178 from hashicorp/backport/b-websocket-close-messages/eminently-concise-fly
Backport of agent: ignore websocket statuses 1000, 1001 and 1005 correctly into release/1.6.x
2023-11-27 10:21:25 +01:00
hc-github-team-nomad-core b5ae52ec54
backport of commit 2bbce293ad60eff3207da7306fbeedb4fa327451 (#19181)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-27 09:05:19 +00:00
Piotr Kazmierczak 78ce5a7d8a backport of commit 742651f2f715af69dda77b8ffb3af3d114e25ac2 2023-11-27 08:33:08 +00:00
hc-github-team-nomad-core 525534f1d8
backport of commit cfbb2e8923d254bc940e1b01c3e772769600fefe (#19168)
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
2023-11-24 10:56:31 +00:00
hc-github-team-nomad-core 4701162b2d
backport of commit d2849b8a7678110f2c4643d5036ab55e6872770b (#19161)
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-11-23 16:15:10 -05:00
hc-github-team-nomad-core 17e7e0d330
backport of commit bdac8d9583b5b65267bb3f9d00d00be52024ce95 (#19163)
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-11-23 16:14:52 -05:00
hc-github-team-nomad-core 9f804b0b4c
backport of commit 46442f441f8de8d22dbc243af041aa38c58bd6bc (#19158)
Co-authored-by: Jorge Marey <6938602+jorgemarey@users.noreply.github.com>
2023-11-23 10:58:50 -05:00
Charlie Voiselle 78d7c2bbee
backport of commit 659c0945fc35a2a0a999be7ce531beb55cfeeeab (#19004) (#19129)
[core] Honor job's namespace when checking `distinct_hosts` feasibility
Manual backport because of conflicts in upgrade-specific.mdx
2023-11-20 14:06:51 -05:00
hc-github-team-nomad-core d21d4e85cf
backport of commit ff928a804590611111763632388161dc711adf88 (#19124)
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2023-11-17 15:10:23 -05:00
hc-github-team-nomad-core c742a55583
backport of commit a3f8a52fd4b192db339540152033b94f1e010b31 (#19123)
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2023-11-17 15:10:13 -05:00
hc-github-team-nomad-core ed9786c957
backport of commit 557b4942d0f1959bb8509ff9303fa0baa37c0276 (#19116)
Co-authored-by: codenoid <14269809+codenoid@users.noreply.github.com>
2023-11-17 09:05:59 -05:00
hc-github-team-nomad-core 7057c0c886
e2e: fix and modernize rescheduling test (#19105) (#19107)
The E2E test suite for rescheduling had a few bugs:
* Using the command line to stop a job with a failing deployment returns a non-zero exit
  code, which would cause an otherwise passing test to fail.
* Two of the input jobs were actually invalid but were only correctly detected
  as such because of #17342

This changeset also updates the whole test suite to move it off the v1
"framework". A few test assertions are also de-flaked.

Fixes: #19076

Co-authored-by: Tim Gross <tgross@hashicorp.com>
2023-11-16 15:52:05 -05:00
Judith Malnick 5f5ed4161e docs: fix networking and licensing links (#19096) 2023-11-16 09:06:21 -05:00
hc-github-team-nomad-core fd4ba6ebb6
Backport of Move systemd unit file rate limits from [Service] to [Unit] block into release/1.6.x #19103
Co-authored-by: Adrian Todorov <adrian.todorov@hashicorp.com>
2023-11-16 08:41:47 -05:00
hc-github-team-nomad-core 70f69fc9e6
backport of commit 26746a4093169b703cf1d8e207c1c226b9b160be (#19092)
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-11-14 23:09:04 -05:00
hc-github-team-nomad-core 1a506eba24
backport of commit cf8dde0850a23d4e8b0b48bc5fea2f66388ab711 (#18544)
Co-authored-by: Phil Renaud <phil.renaud@hashicorp.com>
2023-11-14 14:38:26 -05:00
hc-github-team-nomad-core f9dd34d816
backport of commit 533f293fa832c9f7343c952da08c819454b5eb1e (#18675)
Co-authored-by: Phil Renaud <phil.renaud@hashicorp.com>
2023-11-14 14:36:54 -05:00
hc-github-team-nomad-core 9843620934
docs: fix link to dynamic node metadata API (#19086) (#19087)
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2023-11-14 11:28:58 -05:00
hc-github-team-nomad-core 1aad861d61
tools: bump version of `hc-install` (#19063) (#19065)
The version we have of `hc-install` doesn't allow installing Enterprise
binaries. Upgrade so that this is available to the development team and to our
E2E tests in the Enterprise repo.

(Cherry-pick also backports install of `go-modtool`)
2023-11-10 10:12:51 -05:00
hc-github-team-nomad-core 720248ddb0
Bump consul-template to 0.35.0 (#19032) (#19045)
Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com>
2023-11-09 10:30:55 -05:00
hc-github-team-nomad-core c160ce99e3
backport of commit ab36cf031c80253d9c2827852f8ecbeae3d6ff5b (#19027)
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-11-07 20:15:31 -05:00
hc-github-team-nomad-core 9634ef7bb2
backport of commit cf2f48efd4ecf68f2502d4443a60477d1e3fb0f5 (#19017)
Co-authored-by: Seth Hoenig <shoenig@duck.com>
2023-11-07 14:04:24 -06:00
hc-github-team-nomad-core db11c461ce
backport of commit e4f98a8d1da82e55e2943e07cb681e939c36cdcb (#19008)
Co-authored-by: Dave May <dmay@hashicorp.com>
2023-11-07 07:47:54 +00:00