Nomad v1.2.0 Release Notes

Release Date: 2021-11-15 // over 2 years ago
  • ๐Ÿ”‹ 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]
    • 0๏ธโƒฃ 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]
    • 0๏ธโƒฃ 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]