Nomad v1.2.4 Release Notes

Release Date: 2022-01-18 // over 2 years ago
  • ๐Ÿ”‹ FEATURES:

    • ๐Ÿ‘ท ui: Add filters to allocations table in jobs/job/allocation view [GH-11544]

    ๐Ÿ‘Œ IMPROVEMENTS:

    • agent/config: Allow binding the HTTP server to multiple addresses. [GH-11582]
    • ๐Ÿ”ง agent: Added ui configuration block [GH-11555]
    • api: Add pagination and filtering to Evaluations List API [GH-11648]
    • ๐Ÿš€ api: Added pagination to deployments list API [GH-11743]
    • api: Improve error message returned by Operator.LicenseGet [GH-11644]
    • api: Return a HTTP 404 instead of a HTTP 500 from the Stat File and List Files API endpoints when a file or directory is not found. [GH-11482]
    • โšก๏ธ api: Updated the CSI volumes list API to respect wildcard namespaces [GH-11724]
    • ๐Ÿš€ api: Updated the deployments list API to respect wildcard namespaces [GH-11743]
    • โšก๏ธ api: Updated the evaluations list API to respect wildcard namespaces [GH-11710]
    • api: return HTTP204 on CORS pre-flight checks and allow dot in CORS header keys. [GH-11323]
    • ๐Ÿ‘ท cli: Add -var and -var-file to the command line printed by job plan [GH-11631]
    • cli: Add event stream capture to nomad operator debug [GH-11865]
    • cli: Added a nomad eval list command. [GH-11675]
    • ๐Ÿ”Š cli: Made the operator raft info, operator raft logs, operator raft state, and operator snapshot state commands visible to command line help. [GH-11682]
    • ๐Ÿš€ cli: Return non-zero exit code from monitor if deployment fails [GH-11550]
    • ๐Ÿ‘ท cli: provide -no-shutdown-delay option to job stop and alloc stop commands to ignore shutdown_delay [GH-11596]
    • ๐Ÿ‘ท core: allow setting and propagation of eval priority on job de/registration [GH-11532]
    • โšก๏ธ deps: Update armon/go-metrics to v0.3.10 [GH-11504]
    • ๐Ÿณ driver/docker: Added support for client-wide pids_limit configuration [GH-11526]
    • ๐Ÿ‘ท hcl: tolerate empty strings for zero integer values in quota and job specification. [GH-11325]
    • metrics (Enterprise): Emit nomad.license.expiration_time_epoch metric to show the expiration time of the Nomad Enterprise license.
    • metrics: Added metric for client.allocated.max_memory [GH-11490]
    • metrics: added nomad.client.allocs.memory.mapped_file metric [GH-11500]
    • ๐Ÿš€ scaling: Don't emit scaling action with error in case of active deployment [GH-11556]
    • โฑ scheduler: Added a RejectJobRegistration field to the scheduler configuration API that enabled a setting to reject job register, dispatch, and scale requests without a management ACL token [GH-11610]
    • โฑ server: Make num_schedulers and enabled_schedulers hot reloadable; add agent API endpoint to enable dynamic modifications of these values. [GH-11593]
    • ๐Ÿ”ง template: Expose consul-template configuration options at the client level for consul_retry, vault_retry, max_stale, block_query_wait and wait. Expose per-template configuration ๐Ÿ”ง for wait that will override the client level configuration. Add wait_bounds to ๐Ÿ‘ allow operators to constrain per-template overrides at the client level. [GH-11606]
    • ๐Ÿ’ป ui: Add filters to the allocation list in the client and task group details pages [GH-11545]
    • ๐Ÿ’ป ui: Add titles to breadcrumb labels in app navigation bar [GH-11590]
    • ๐Ÿ’ป ui: Display section title in the navigation breadcrumbs [GH-11687]
    • ๐Ÿ”ง ui: Display the Consul and Vault links configured in the agent [GH-11557]
    • ๐Ÿ’ป ui: add links to legend items in allocation-summary [GH-11820]

    ๐Ÿ› BUG FIXES:

    • ๐Ÿ›  agent: Fixed an issue that caused Consul values to be logged during template rendering [GH-11838]
    • agent: Validate reserved_ports are valid to prevent unschedulable nodes. [GH-11830]
    • ๐Ÿ“ฑ api: Fixed a bug where API or CLI clients could become unresponsive when cron expressions contained zero-padded months [GH-11132]
    • ๐Ÿ›  artifact: Fixed a bug where uncompressed .tar archives were not unpacked after download. [GH-11481]
    • ๐Ÿ›  cli: Fixed a bug where the -stale flag was not respected by nomad operator debug [GH-11678]
    • cli: Rework meta commands cli flag logic to handle TLS options individually. [GH-11592]
    • client: Fixed a bug where clients would ignore the client_auto_join setting after losing connection with the servers, causing them to incorrectly fallback to Consul discovery if it was set to false. [GH-11585]
    • ๐Ÿ›  client: Fixed a bug where the allocation log streaming API was missing log frames that spanned log file rotation [GH-11721]
    • ๐Ÿ›  client: Fixed a memory and goroutine leak for batch tasks and any task that exits without being shut down from the server [GH-11741]
    • ๐Ÿ–จ client: Fixed host network reserved port fingerprinting [GH-11728]
    • core: Fix missing fields in Node.Copy() [GH-11744]
    • ๐Ÿ›  csi: Fixed a bug where deregistering volumes would attempt to deregister the wrong volume if the ID was a prefix of the intended volume [GH-11852]
    • ๐Ÿš€ csi: Fixed a bug where volume claim releases that were not fully processed before a leadership transition would be ignored [GH-11776]
    • ๐Ÿ›  drivers: Fixed a bug where the resolv.conf copied from the system was not readable to unprivileged processes within the task [GH-11856]
    • ๐Ÿ›  quotas (Enterprise): Fixed a bug quotas can be incorrectly calculated when nodes fail ranking. [GH-11848]
    • ๐Ÿ›  rpc: Fixed scaling policy get index response when the policy is found [GH-11579]
    • โฑ scheduler: detect, log, and emit nomad.nomad.plan.node_rejected metric when an unexpected port collision is detected [GH-11793]
    • ๐ŸŽ scheduler: Fixed a performance bug where spread and node affinity can cause a job to take longer than the nack timeout to be evaluated. [GH-11712]
    • โšก๏ธ template: Fixed a bug where templates did not receive an updated vault token if change_mode = "noop" was set in the job definition's vault stanza. [GH-11783]
    • ๐Ÿ‘ท ui: Fix the ACL requirements for displaying the job details page [GH-11672]