Upgrade Nomad & Consul to LTS#2870
Conversation
PR SummaryHigh Risk Overview Reviewed by Cursor Bugbot for commit dc098a3. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Code Review
This pull request updates the Packer build variables in the Makefiles for both AWS and GCP provider disk images to use prefixed environment variables, bumps the default versions of Consul to 1.19.2 and Nomad to 1.10.5, and removes the no_cgroups = true configuration from the raw_exec plugin in the Nomad run scripts. There are no review comments, and I have no additional feedback to provide.
❌ 3 Tests Failed:
View the full list of 5 ❄️ flaky test(s)
To view more test analytics, go to the Test Analytics Dashboard |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 718e042d163411229e0c1862e2ba3181a3cde817. Configure here.
|
Separate changes needed for 1.8 compatibility into a separate PR |
7345499 to
892346d
Compare
9fb5616 to
0b37bbb
Compare
Removed Nomad client `no_cgroups` flag for raw exec that is no longer supported.
0b37bbb to
dc098a3
Compare
Details on Nomad and Consul update flow - #2870 Now we need to go to 1.8 (Nomad) and 1.17 (Consul), which are still backward-compatible with the current versions. After this is set up and running on all nodes we will do two more updates to go to LTS 1.21.5 (Consul), 1.10.5 (Nomad)

The upgrade requires 3 full cluster rollouts due to a limited compatibility window between releases.
We can theoretically do the upgrade in fewer hops, but there is no official guarantee that the cluster will work with older nodes.
Releases available:
The oldest still supported Consul is 1.21.X LTS is supported until April 30, 2027 (https://developer.hashicorp.com/consul/docs/upgrade/lts).
The oldest still supported Nomad is 1.10.X LTS is supported until April 30, 2027 (https://developer.hashicorp.com/nomad/docs/release-notes).
Depends on #2868 as a prerequisite to allow customizing Nomad and Consul versions per cluster.