Skip to content

Releases: hashicorp/nomad

v1.4.0

06 Oct 03:01
Compare
Choose a tag to compare

1.4.0 (October 04, 2022)

FEATURES:

  • ACL Roles: Added support for ACL Roles. [GH-14320]
  • Nomad Native Service Discovery: Add built-in support for checks on Nomad services [GH-13715]
  • Variables: Added support for storing encrypted configuration values. [GH-13000]
  • UI Services table: Display task-level services in addition to group-level services. [GH-14199]

BREAKING CHANGES:

  • audit (Enterprise): fixed inconsistency in event filter logic [GH-14212]
  • cli: eval status -json no longer supports listing all evals in JSON. Use eval list -json. [GH-14651]
  • core: remove support for raft protocol version 2 [GH-13467]

SECURITY:

  • client: recover from panics caused by artifact download to prevent the Nomad client from crashing [GH-14696]

IMPROVEMENTS:

  • acl: ACL tokens can now be created with an expiration TTL. [GH-14320]
  • api: return a more descriptive error when /v1/acl/bootstrap fails to decode request body [GH-14629]
  • autopilot: upgrade to raft-autopilot library [GH-14441]
  • cli: Removed deprecated network quota fields from quota status output [GH-14468]
  • cli: acl policy info output format has changed to improve readability with large policy documents [GH-14140]
  • cli: operator debug now writes newline-delimited JSON files for large collections [GH-14610]
  • cli: ignore -hcl2-strict when -hcl1 is set. [GH-14426]
  • cli: warn destructive update only when count is greater than 1 [GH-13103]
  • client: Add built-in support for checks on nomad services [GH-13715]
  • client: re-enable nss-based user lookups [GH-14742]
  • connect: add namespace, job, and group to Envoy stats [GH-14311]
  • connect: add nomad environment variables to envoy bootstrap [GH-12959]
  • consul: Allow interpolation of task environment values into Consul Service Mesh configuration [GH-14445]
  • consul: Enable setting custom tagged_addresses field [GH-12951]
  • core: constraint operands are now compared numerically if operands are numbers [GH-14722]
  • deps: Update fsouza/go-dockerclient to v1.8.2 [GH-14112]
  • deps: Update go.etcd.io/bbolt to v1.3.6 [GH-14025]
  • deps: Update google.golang.org/grpc to v1.48.0 [GH-14103]
  • deps: Update gopsutil for improvements in fingerprinting on non-Linux platforms [GH-14209]
  • deps: Updated github.com/armon/go-metrics to v0.4.1 which includes a performance improvement for Prometheus sink [GH-14493]
  • deps: Updated github.com/hashicorp/go-version to v1.6.0 [GH-14364]
  • deps: remove unused darwin C library [GH-13894]
  • fingerprint: Add node attribute for number of reservable cores: cpu.num_reservable_cores [GH-14694]
  • fingerprint: Consul and Vault attributes are no longer cleared on fingerprinting failure [GH-14673]
  • jobspec: Added strlen HCL2 function to determine the length of a string [GH-14463]
  • server: Log when a node's eligibility changes [GH-14125]
  • ui: Display different message when trying to exec into a job with no task running. [GH-14071]
  • ui: add service discovery, along with health checks, to job and allocation routes [GH-14408]
  • ui: adds a sidebar to show in-page logs for a given task, accessible via job, client, or task group routes [GH-14612]
  • ui: allow deep-dive clicks to tasks from client, job, and task group routes. [GH-14592]
  • ui: attach timestamps and a visual indicator on failure to health checks in the Web UI [GH-14677]

BUG FIXES:

  • api: Fixed a bug where the List Volume API did not include the ControllerRequired and ResourceExhausted fields. [GH-14484]
  • cli: Ignore Vault token when generating job diff. [GH-14424]
  • cli: fixed a bug in the operator api command where the HTTPS scheme was not always correctly calculated [GH-14635]
  • cli: return exit code 255 when nomad job plan fails job validation. [GH-14426]
  • cli: set content length on POST requests when using the nomad operator api command [GH-14634]
  • client: Fixed bug where clients could attempt to connect to servers with invalid addresses retrieved from Consul. [GH-14431]
  • core: prevent new allocations from overlapping execution with stopping allocations [GH-10446]
  • csi: Fixed a bug where a volume that was successfully unmounted by the client but then failed controller unpublishing would not be marked free until garbage collection ran. [GH-14675]
  • csi: Fixed a bug where the server would not send controller unpublish for a failed allocation. [GH-14484]
  • csi: Fixed a data race in the volume unpublish endpoint that could result in claims being incorrectly marked as freed before being persisted to raft. [GH-14484]
  • helpers: Fixed a bug where random stagger func did not protect against negative inputs [GH-14497]
  • jobspec: Fixed a bug where an artifact with headers configuration would fail to parse when using HCLv1 [GH-14637]
  • metrics: Update client node_scheduling_eligibility value with server heartbeats. [GH-14483]
  • quotas (Enterprise): Fixed a server crashing panic when updating and checking a quota concurrently.
  • rpc (Enterprise): check for spec changes in all regions when registering multiregion jobs [GH-14519]
  • scheduler (Enterprise): Fixed bug where the scheduler would treat multiregion jobs as paused for job types that don't use deployments [GH-14659]
  • template: Fixed a bug where the splay timeout was not being applied when change_mode was set to script. [GH-14749]
  • ui: Remove extra space when displaying the version in the menu footer. [GH-14457]

v1.3.6

06 Oct 03:02
Compare
Choose a tag to compare

1.3.6 (October 04, 2022)

SECURITY:

  • client: recover from panics caused by artifact download to prevent the Nomad client from crashing [GH-14696]

IMPROVEMENTS:

  • api: return a more descriptive error when /v1/acl/bootstrap fails to decode request body [GH-14629]
  • cli: ignore -hcl2-strict when -hcl1 is set. [GH-14426]
  • cli: warn destructive update only when count is greater than 1 [GH-13103]
  • consul: Allow interpolation of task environment values into Consul Service Mesh configuration [GH-14445]
  • ui: Display different message when trying to exec into a job with no task running. [GH-14071]

BUG FIXES:

  • api: Fixed a bug where the List Volume API did not include the ControllerRequired and ResourceExhausted fields. [GH-14484]
  • cli: Ignore Vault token when generating job diff. [GH-14424]
  • cli: fixed a bug in the operator api command where the HTTPS scheme was not always correctly calculated [GH-14635]
  • cli: return exit code 255 when nomad job plan fails job validation. [GH-14426]
  • cli: set content length on POST requests when using the nomad operator api command [GH-14634]
  • client: Fixed bug where clients could attempt to connect to servers with invalid addresses retrieved from Consul. [GH-14431]
  • csi: Fixed a bug where a volume that was successfully unmounted by the client but then failed controller unpublishing would not be marked free until garbage collection ran. [GH-14675]
  • csi: Fixed a bug where the server would not send controller unpublish for a failed allocation. [GH-14484]
  • csi: Fixed a data race in the volume unpublish endpoint that could result in claims being incorrectly marked as freed before being persisted to raft. [GH-14484]
  • helpers: Fixed a bug where random stagger func did not protect against negative inputs [GH-14497]
  • jobspec: Fixed a bug where an artifact with headers configuration would fail to parse when using HCLv1 [GH-14637]
  • metrics: Update client node_scheduling_eligibility value with server heartbeats. [GH-14483]
  • quotas (Enterprise): Fixed a server crashing panic when updating and checking a quota concurrently.
  • rpc: check for spec changes in all regions when registering multiregion jobs [GH-14519]
  • scheduler: Fixed bug where the scheduler would treat multiregion jobs as paused for job types that don't use deployments [GH-14659]
  • template: Fixed a bug where the splay timeout was not being applied when change_mode was set to script. [GH-14749]
  • ui: Remove extra space when displaying the version in the menu footer. [GH-14457]

v1.2.13

06 Oct 03:02
Compare
Choose a tag to compare

1.2.13 (October 04, 2022)

SECURITY:

  • client: recover from panics caused by artifact download to prevent the Nomad client from crashing [GH-14696]

BUG FIXES:

  • api: Fixed a bug where the List Volume API did not include the ControllerRequired and ResourceExhausted fields. [GH-14484]
  • client: Fixed bug where clients could attempt to connect to servers with invalid addresses retrieved from Consul. [GH-14431]
  • csi: Fixed a bug where a volume that was successfully unmounted by the client but then failed controller unpublishing would not be marked free until garbage collection ran. [GH-14675]
  • csi: Fixed a bug where the server would not send controller unpublish for a failed allocation. [GH-14484]
  • csi: Fixed a bug where volume claims on lost or garbage collected nodes could not be freed [GH-14720]
  • csi: Fixed a data race in the volume unpublish endpoint that could result in claims being incorrectly marked as freed before being persisted to raft. [GH-14484]
  • jobspec: Fixed a bug where an artifact with headers configuration would fail to parse when using HCLv1 [GH-14637]
  • metrics: Update client node_scheduling_eligibility value with server heartbeats. [GH-14483]
  • quotas (Enterprise): Fixed a server crashing panic when updating and checking a quota concurrently.
  • rpc: check for spec changes in all regions when registering multiregion jobs [GH-14519]

v1.4.0-rc.1

27 Sep 20:07
Compare
Choose a tag to compare
v1.4.0-rc.1 Pre-release
Pre-release

1.4.0 (Unreleased)

FEATURES:

  • ACL Roles: Added support for ACL Roles. [GH-14320]
  • Nomad Native Service Discovery: Add built-in support for checks on Nomad services [GH-13715]
  • Variables: Added support for storing encrypted configuration values. [GH-13000]
  • UI Services table: Display task-level services in addition to group-level services. [GH-14199]

BREAKING CHANGES:

  • audit (Enterprise): fixed inconsistency in event filter logic [GH-14212]
  • core: remove support for raft protocol version 2 [GH-13467]
  • cli: eval status -json no longer supports listing all evals in JSON. Use eval list -json. [GH-14651]

SECURITY:

  • client: recover from panics caused by artifact download to prevent the Nomad client from crashing [GH-14696]

IMPROVEMENTS:

  • acl: ACL tokens can now be created with an expiration TTL. [GH-14320]
  • api: return a more descriptive error when /v1/acl/bootstrap fails to decode request body [GH-14629]
  • autopilot: upgrade to raft-autopilot library [GH-14441]
  • build: Update go toolchain to 1.19 [GH-14132]
  • cli: Removed deprecated network quota fields from quota status output [GH-14468]
  • cli: acl policy info output format has changed to improve readability with large policy documents [GH-14140]
  • cli: operator debug now writes newline-delimited JSON files for large collections [GH-14610]
  • cli: ignore -hcl2-strict when -hcl1 is set. [GH-14426]
  • cli: warn destructive update only when count is greater than 1 [GH-13103]
  • client: Add built-in support for checks on nomad services [GH-13715]
  • connect: add namespace, job, and group to Envoy stats [GH-14311]
  • connect: add nomad environment variables to envoy bootstrap [GH-12959]
  • consul: Allow interpolation of task environment values into Consul Service Mesh configuration [GH-14445]
  • consul: Enable setting custom tagged_addresses field [GH-12951]
  • core: constraint operands are now compared numerically if operands are numbers [GH-14722]
  • deps: Update fsouza/go-dockerclient to v1.8.2 [GH-14112]
  • deps: Update go.etcd.io/bbolt to v1.3.6 [GH-14025]
  • deps: Update google.golang.org/grpc to v1.48.0 [GH-14103]
  • deps: Update gopsutil for improvements in fingerprinting on non-Linux platforms [GH-14209]
  • deps: Updated github.com/armon/go-metrics to v0.4.1 which includes a performance improvement for Prometheus sink [GH-14493]
  • deps: Updated github.com/hashicorp/go-version to v1.6.0 [GH-14364]
  • deps: remove unused darwin C library [GH-13894]
  • fingerprint: Add node attribute for number of reservable cores: cpu.num_reservable_cores [GH-14694]
  • fingerprint: Consul and Vault attributes are no longer cleared on fingerprinting failure [GH-14673]
  • jobspec: Added strlen HCL2 function to determine the length of a string [GH-14463]
  • server: Log when a node's eligibility changes [GH-14125]
  • ui: Display different message when trying to exec into a job with no task running. [GH-14071]
  • ui: add service discovery, along with health checks, to job and allocation routes [GH-14408]
  • ui: adds a sidebar to show in-page logs for a given task, accessible via job, client, or task group routes [GH-14612]
  • ui: allow deep-dive clicks to tasks from client, job, and task group routes. [GH-14592]
  • ui: attach timestamps and a visual indicator on failure to health checks in the Web UI [GH-14677]

BUG FIXES:

  • api: Fixed a bug where the List Volume API did not include the ControllerRequired and ResourceExhausted fields. [GH-14484]
  • cli: Ignore Vault token when generating job diff. [GH-14424]
  • cli: fixed a bug in the operator api command where the HTTPS scheme was not always correctly calculated [GH-14635]
  • cli: return exit code 255 when nomad job plan fails job validation. [GH-14426]
  • cli: set content length on POST requests when using the nomad operator api command [GH-14634]
  • client: Fixed bug where clients could attempt to connect to servers with invalid addresses retrieved from Consul. [GH-14431]
  • core: prevent new allocations from overlapping execution with stopping allocations [GH-10446]
  • csi: Fixed a bug where a volume that was successfully unmounted by the client but then failed controller unpublishing would not be marked free until garbage collection ran. [GH-14675]
  • csi: Fixed a bug where the server would not send controller unpublish for a failed allocation. [GH-14484]
  • csi: Fixed a data race in the volume unpublish endpoint that could result in claims being incorrectly marked as freed before being persisted to raft. [GH-14484]
  • helpers: Fixed a bug where random stagger func did not protect against negative inputs [GH-14497]
  • jobspec: Fixed a bug where an artifact with headers configuration would fail to parse when using HCLv1 [GH-14637]
  • metrics: Update client node_scheduling_eligibility value with server heartbeats. [GH-14483]
  • quotas (Enterprise): Fixed a server crashing panic when updating and checking a quota concurrently.
  • rpc (Enterprise): check for spec changes in all regions when registering multiregion jobs [GH-14519]
  • scheduler (Enterprise): Fixed bug where the scheduler would treat multiregion jobs as paused for job types that don't use deployments [GH-14659]
  • ui: Remove extra space when displaying the version in the menu footer. [GH-14457]

v1.4.0-beta.1

15 Sep 14:26
Compare
Choose a tag to compare
v1.4.0-beta.1 Pre-release
Pre-release

1.4.0 (Unreleased)

FEATURES:

  • ACL Roles: Added support for ACL Roles. [GH-14320]
  • Nomad Native Service Discovery: Add built-in support for checks on Nomad services [GH-13715]
  • Variables: Added support for storing encrypted configuration values. [GH-13000]
  • UI Services table: Display task-level services in addition to group-level services. [GH-14199]

BREAKING CHANGES:

  • audit (Enterprise): fixed inconsistency in event filter logic [GH-14212]
  • core: remove support for raft protocol version 2 [GH-13467]

IMPROVEMENTS:

  • acl: ACL tokens can now be created with an expiration TTL. [GH-14320]
  • autopilot: upgrade to raft-autopilot library [GH-14441]
  • build: Update go toolchain to 1.19 [GH-14132]
  • cli: Removed deprecated network quota fields from quota status output [GH-14468]
  • cli: acl policy info output format has changed to improve readability with large policy documents [GH-14140]
  • cli: ignore -hcl2-strict when -hcl1 is set. [GH-14426]
  • cli: warn destructive update only when count is greater than 1 [GH-13103]
  • client: Add built-in support for checks on nomad services [GH-13715]
  • consul: Allow interpolation of task environment values into Consul Service Mesh configuration [GH-14445]
  • consul: Enable setting custom tagged_addresses field [GH-12951]
  • deps: Update fsouza/go-dockerclient to v1.8.2 [GH-14112]
  • deps: Update go.etcd.io/bbolt to v1.3.6 [GH-14025]
  • deps: Update google.golang.org/grpc to v1.48.0 [GH-14103]
  • deps: Update gopsutil for improvements in fingerprinting on non-Linux platforms [GH-14209]
  • deps: Updated github.com/armon/go-metrics to v0.4.1 which includes a performance improvement for Prometheus sink [GH-14493]
  • deps: Updated github.com/hashicorp/go-version to v1.6.0 [GH-14364]
  • deps: remove unused darwin C library [GH-13894]
  • jobspec: Added strlen HCL2 function to determine the length of a string [GH-14463]
  • server: Log when a node's eligibility changes [GH-14125]
  • ui: Display different message when trying to exec into a job with no task running. [GH-14071]
  • ui: add service discovery, along with health checks, to job and allocation routes [GH-14408]
  • ui: added visual regression tests for top-level UI routes [GH-12872]

BUG FIXES:

  • api: Fixed a bug where the List Volume API did not include the ControllerRequired and ResourceExhausted fields. [GH-14484]
  • cli: Ignore Vault token when generating job diff. [GH-14424]
  • cli: return exit code 255 when nomad job plan fails job validation. [GH-14426]
  • client: Fixed bug where clients could attempt to connect to servers with invalid addresses retrieved from Consul. [GH-14431]
  • core: prevent new allocations from overlapping execution with stopping allocations [GH-10446]
  • csi: Fixed a bug where the server would not send controller unpublish for a failed allocation. [GH-14484]
  • csi: Fixed a data race in the volume unpublish endpoint that could result in claims being incorrectly marked as freed before being persisted to raft. [GH-14484]
  • helpers: Fixed a bug where random stagger func did not protect against negative inputs [GH-14497]
  • metrics: Update client node_scheduling_eligibility value with server heartbeats. [GH-14483]
  • quotas (Enterprise): Fixed a server crashing panic when updating and checking a quota concurrently.
  • rpc: check for spec changes in all regions when registering multiregion jobs [GH-14519]
  • ui: Remove extra space when displaying the version in the menu footer. [GH-14457]
  • ui: Stabilizes visual regression tests [GH-14551]
  • ui: when creating a secure variable, check against your namespaces rather than assuming default [GH-13991]

v1.3.5

31 Aug 19:48
Compare
Choose a tag to compare

1.3.5 (August 31, 2022)

IMPROVEMENTS:

  • cgroups: use cgroup.kill interface file when using cgroups v2 [GH-14371]
  • consul: Reduce load on Consul leader server by allowing stale results when listing namespaces. [GH-12953]

BUG FIXES:

  • cli: Fixed a bug where forcing a periodic job would fail if the job ID prefix-matched other periodic jobs [GH-14333]
  • template: Fixed a bug that could cause Nomad to panic when using change_mode = "script" [GH-14374]
  • ui: Revert a change that resulted in UI errors when ACLs were not used. [GH-14381]

v1.2.12

31 Aug 19:48
Compare
Choose a tag to compare

1.2.12 (August 31, 2022)

IMPROVEMENTS:

  • consul: Reduce load on Consul leader server by allowing stale results when listing namespaces. [GH-12953]

BUG FIXES:

  • cli: Fixed a bug where forcing a periodic job would fail if the job ID prefix-matched other periodic jobs [GH-14333]

v1.1.18

31 Aug 19:47
Compare
Choose a tag to compare

1.1.18 (August 31, 2022)

BUG FIXES:

  • cli: Fixed a bug where forcing a periodic job would fail if the job ID prefix-matched other periodic jobs [GH-14333]

v1.3.4

25 Aug 21:39
Compare
Choose a tag to compare

1.3.4 (August 25, 2022)

IMPROVEMENTS:

  • api: HTTP server now returns a 429 error code when hitting the connection limit [GH-13621]
  • build: update to go1.19 [GH-14132]
  • cli: operator debug now outputs current leader to debug bundle [GH-13472]
  • cli: operator snapshot state supports -filter expressions and avoids writing large temporary files [GH-13658]
  • client: add option to restart all tasks of an allocation, regardless of lifecycle type or state. [GH-14127]
  • client: only start poststop tasks after poststart tasks are done. [GH-14127]
  • deps: Updated github.com/hashicorp/go-discover to latest to allow setting the AWS endpoint definition [GH-13491]
  • driver/docker: Added config option to disable container healthcheck [GH-14089]
  • qemu: Added option to configure drive_interface [GH-11864]
  • sentinel: add the ability to reference the namespace and Nomad acl token in policies [GH-14171]
  • template: add script change_mode that allows scripts to be executed on template change [GH-13972]
  • ui: Add button to restart all tasks in an allocation. [GH-14223]
  • ui: add general keyboard navigation to the Nomad UI [GH-14138]

BUG FIXES:

  • api: cleanup whitespace from failed api response body [GH-14145]
  • cli: Fixed a bug where job validation requeset was not sent to leader [GH-14065]
  • cli: Fixed a bug where the memory usage reported by Allocation Resource Utilization is zero on systems using cgroups v2 [GH-14069]
  • cli: Fixed a bug where vault token not respected in plan command [GH-14088]
  • client/logmon: fixed a bug where logmon cannot find nomad executable [GH-14297]
  • client: Fixed a bug where cpuset initialization would not work on first agent startup [GH-14230]
  • client: Fixed a bug where user lookups would hang or panic [GH-14248]
  • client: Fixed a problem calculating a services namespace [GH-13493]
  • csi: Fixed a bug where volume claims on lost or garbage collected nodes could not be freed [GH-13301]
  • template: Fixed a bug where job templates would use uid and gid 0 after upgrading to Nomad 1.3.3, causing tasks to fail with the error failed looking up user: managing file ownership is not supported on Windows. [GH-14203]
  • ui: Fixed a bug that caused the allocation details page to display the stats bar chart even if the task was pending. [GH-14224]
  • ui: Removes duplicate breadcrumb header when navigating from child job back to parent. [GH-14115]
  • vault: Fixed a bug where Vault clients were recreated when the server configuration was reloaded, even if there were no changes to the Vault configuration. [GH-14298]
  • vault: Fixed a bug where changing the Vault configuration namespace field was not detected as a change during server configuration reload. [GH-14298]

v1.2.11

25 Aug 21:38
Compare
Choose a tag to compare

1.2.11 (August 25, 2022)

IMPROVEMENTS:

BUG FIXES:

  • api: cleanup whitespace from failed api response body [GH-14145]
  • client/logmon: fixed a bug where logmon cannot find nomad executable [GH-14297]
  • client: Fixed a bug where user lookups would hang or panic [GH-14248]
  • ui: Fixed a bug that caused the allocation details page to display the stats bar chart even if the task was pending. [GH-14224]
  • vault: Fixed a bug where Vault clients were recreated when the server configuration was reloaded, even if there were no changes to the Vault configuration. [GH-14298]
  • vault: Fixed a bug where changing the Vault configuration namespace field was not detected as a change during server configuration reload. [GH-14298]