Upgrade Nomad & Consul to LTS#2870
Conversation
Removed Nomad client `no_cgroups` flag for raw exec that is no longer supported.
PR SummaryHigh Risk Overview Reviewed by Cursor Bugbot for commit 56de665. 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 718e042. Configure here.
| plugin "raw_exec" { | ||
| config { | ||
| enabled = true | ||
| no_cgroups = true |
There was a problem hiding this comment.
Raw exec cgroup limits orchestrator
High Severity
Removing no_cgroups = true from the client raw_exec plugin config enables cgroup memory enforcement in Nomad 1.7+. The system orchestrator job uses raw_exec with no resources block, so Nomad’s default memory cap can OOM-kill the orchestrator after the LTS upgrade.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 718e042. Configure here.


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.