github hashicorp/nomad v1.2.0

2 years ago

1.2.0 (November 15, 2021)

FEATURES:

  • System Batch scheduler: Run batch jobs cluster-wide with the new 'sysbatch' scheduler. [GH-9160]

BREAKING CHANGES:

  • cli: Renamed folders in nomad operator debug bundle for clarity [GH-11307]
  • device/nvidia: The Nvidia device plugin is no longer packaged with Nomad and is instead distributed separately. Further, the Nvidia device plugin codebase is now in a separate repository. If you are using Nvidia devices, please follow the 1.2.0 upgrade guide as you will have to install the Nvidia device plugin before conducting an in-place upgrade to Nomad 1.2.0 [GH-10796]

IMPROVEMENTS:

  • agent: Added tls -> rpc_upgrade_mode to be reloaded on SIGHUP [GH-11144]
  • agent: Log the cause of failure if agent failed to start [GH-11353]
  • build: Updated to Go 1.17.1 [GH-11251]
  • cli: Add -idempotency-token option for the nomad job dispatch command [GH-10930]
  • cli: Add -show-url option for the nomad ui command. [GH-11213]
  • cli: Add nomad job allocs command [GH-11242]
  • cli: Added support for -force-color to the CLI to force colored output. [GH-10975]
  • cli: Allow specifying namesapce and region in the nomad ui command [GH-11364]
  • cli: Improve nomad job plan output for artifact and template changes [GH-11400]
  • cli: Improve debug capture for Consul/Vault [GH-11466]
  • cli: Improve debug namespace and region support [GH-11269]
  • cli: Improved autocomplete support for job dispatch and operator debug [GH-11270]
  • cli: Update nomad operator debug bundle to include sample of clients by default [GH-11398]
  • cli: added hcl2-strict flag to control HCL2 parsing errors where variable passed without root [GH-11284]
  • cli: added json and template flag opts to the acl bootstrap command [GH-11411]
  • cli: the command node status now returns host_network information as well [GH-11432]
  • client/plugins/drivermanager: log if there is an error in a driver event [GH-11280]
  • client: Add network interface name to log output during fingerprint [GH-11184]
  • client: Allow configuring minimum and maximum host ports used for dynamic ports [GH-11167]
  • client: Never embed client.alloc_dir in chroots to prevent infinite recursion from misconfiguration. [GH-11334]
  • consul/connect: Allow http2 and grpc protocols in ingress gateways [GH-11187]
  • core: Elevated rejected node plan log lines to help diagnose #9506 [GH-11416]
  • deps: Update hashicorp/go-discover to 20210818145131-c573d69da192 [GH-11249]
  • deps: Update hashicorp/go-hclog to v1.0.0 [GH-11283]
  • driver/docker: Added support for Docker's --init parameter [GH-11331]
  • scheduler: Warn users when system and sysbatch evaluations fail to place an allocation [GH-11111]
  • server: Allow tuning of node failover heartbeat TTL [GH-11127]
  • ui: Add new chart for system and sysbatch job status per client [GH-11078]
  • ui: Display client name as a tooltip where the client ID is used [GH-11358]
  • ui: Display jobs from all namespaces by default [GH-11357]
  • ui: Display the Nomad version in the Servers and Clients tables and allow filtering and sorting [GH-11366]
  • ui: Persist node drain settings in the browser [GH-11368]
  • ui: Update Nomad UI favicon [GH-11371]
  • vault: Add JobID and TaskGroup to Vault Token metadata [GH-11397]

BUG FIXES:

  • agent: Fixed an issue that caused some non-JSON log output when log_json was enabled [GH-11291]
  • agent: Fixed an issue that could cause previous log lines to be overwritten [GH-11386]
  • build: Update go toolchain to 1.17.3 [GH-11461]
  • cli: Fix support for group.consul field in the HCLv1 parser [GH-11423]
  • client: Added NOMAD_LICENSE to default environment variable deny list. [GH-11215]
  • client: Fixed a bug where network speed fingerprint could fail on Windows [GH-11183]
  • client: Removed spurious error log messages when tasks complete [GH-11273]
  • core: Fix a bug to stop running system job allocations once their datacenters are removed from the job [GH-11391]
  • core: Fixed an issue that created incorrect plan output for jobs with services with the same name. [GH-10965]
  • csi: Fixed a bug where the client would incorrectly set an empty capacity range for CSI volume creation requests. [GH-11238]
  • deps: Updated hashicorp/go-plugin to v1.4.3 to fix handles leakage on Windows platforms [GH-11143]
  • driver/exec: Set CPU resource limits when cgroup-v2 is enabled [GH-11287]
  • jobspec: ensure consistent error handling between var-file & cli vars [GH-11165]
  • rpc: Set the job deregistration eval priority to the job priority [GH-11426]
  • rpc: Set the job scale eval priority to the job priority [GH-11429]
  • server: Fixed a panic on arm64 platform when dispatching a job with a payload [GH-11396]
  • server: Fixed a panic that may occur when preempting multiple allocations on the same node [GH-11346]

Don't miss a new nomad release

NewReleases is sending notifications on new releases.