Project: Nomad (Orchestration & Management / Scheduling & Orchestration)
File: CHANGELOG-unsupported.md

The versions of Nomad listed here are no longer supported by HashiCorp. SECURITY: build: Update to Go 1.21.3 ] BUG FIXES: build: Add `timetzdata` Go build tag on Windows binaries to embed time zone data so periodic jobs are able to specify a time zone value on Windows environments ] cli: Fixed an unexpected behavior of the `nomad acl token update` command that could cause a management token to be downgraded to client on update ] client: prevent tasks from starting without the prestart hooks running ] csi: check controller plugin health early during volume register/create ] metrics: Fixed a bug where CPU counters could report errors for negative values ] scaling: Unblock blocking queries to /v1/job/{job-id}/scale if the job goes away ] scheduler (Enterprise): auto-unblock evals with associated quotas when node resources are freed up ] scheduler: Ensure duplicate allocation indexes are tracked and fixed when performing job updates ] services: use interpolated address when performing nomad service health checks ] IMPROVEMENTS: build: Update to Go 1.21.0 ] raft: remove use of deprecated Leader func ] BUG FIXES: acl: Fixed a bug where ACL tokens linked to ACL roles containing duplicate policies would cause erronous permission denined responses ] cli: Add missing help message for the `-consul-namespace` flag in the `nomad job run` command ] cli: Fixed a bug that prevented CSI volumes in namespaces other than `default` from being displayed in the `nomad node status -verbose` output ] cli: Snapshot name is required in `volume snapshot create` command ] client: Fixed a bug where the state of poststop tasks could be corrupted by client gc ] client: Ignore stale server updates to prevent GCing allocations that should be running ] client: return 404 instead of 500 when trying to access logs and files from allocations that have been garbage collected ] core: Fixed a bug where exponential backoff could result in excessive CPU usage ] csi: fixed a bug that could case a panic when deleting volumes ] fingerprint: fix 'default' alias not being added to interface specified by network_interface ] jobspec: Add diff for Task Group scaling block ] migration: Fixed a bug where previous alloc logs were destroyed when migrating ephemeral_disk on the same client ] scheduler: Fixed a bug where device IDs were not correctly filtered in constraints ] services: Add validation message when `tlsskipverify` is set to `true` on a Nomad service ] BUG FIXES: csi: Fixed a bug in sending concurrent requests to CSI controller plugins by serializing them per plugin ] csi: Fixed a bug where CSI controller requests could be sent to unhealthy plugins ] csi: Fixed a bug where CSI controller requests could not be sent to controllers on nodes ineligible for scheduling ] services: Fixed a bug that prevented passing query parameters in Nomad native service discovery HTTP health check paths ] ui: Fixed a bug that prevented nodes from being filtered by the "Ineligible" and "Draining" state filters ] ui: Fixed error handling for cross-region requests when the receiving region does not implement the endpoint being requested ] SECURITY: acl: Fixed a bug where a namespace ACL policy without label was applied to an unexpected namespace. ] search: Fixed a bug where ACL did not filter plugin and variable names in search endpoint. ] sentinel (Enterprise): Fixed a bug where ACL tokens could be exfiltrated via Sentinel logs ] IMPROVEMENTS: cli: Add `-quiet` flag to `nomad var init` command ] cni: Ensure to setup CNI addresses in deterministic order ] deps: Updated Vault SDK to 0.9.0 ] deps: update docker to

] BUG FIXES: api: Fixed a bug that caused a panic when calling the `Jobs().Plan()` function with a job missing an ID ] api: add missing constant for unknown allocation status ] api: add missing field NetworkStatus for Allocation ] cgroups: Fixed a bug removing all DevicesSets when alloc is created/removed ] cli: Output error messages during deployment monitoring ] client: Fixed a bug where Nomad incorrectly wrote to memory swappiness cgroup on old kernels ] client: fixed a bug that prevented Nomad from fingerprinting Consul 1.13.8 correctly ] consul: Fixed a bug where Nomad would repeatedly try to revoke successfully revoked SI tokens ] core: Fix panic around client deregistration and pending heartbeats ] core: fixed a bug that caused job validation to fail when a task with `killtimeout` was placed inside a group with `update.progressdeadline` set to 0 ] csi: Fixed a bug where CSI volumes would fail to restore during client restarts ] drivers/docker: Fixed a bug where long-running docker operations would incorrectly timeout ] identity: Fixed a bug where workload identities for periodic and dispatch jobs would not have access to their parent job's ACL policy ] replication: Fix a potential panic when a non-authoritative region is upgraded and a server with the new version becomes the leader. ] scheduler: Fixed a bug that could cause replacements for failed allocations to be placed in the wrong datacenter during a canary deployment ] scheduler: Fixed a panic when a node has only one configured dynamic port ] ui: dont show a service as healthy when its parent allocation stops running ] IMPROVEMENTS: core: Prevent `task.killtimeout` being greater than `update.progressdeadline` ] BUG FIXES: bug: Corrected status description and modification time for canceled evaluations ] client: Fixed a bug where restarting a terminal allocation turns it into a zombie where allocation and task hooks will run unexpectedly ] client: clean up resources upon failure to restore task during client restart ] scale: Fixed a bug where evals could be created with the wrong type ] scheduler: Fixed a bug where implicit `spread` targets were treated as separate targets for scoring ] scheduler: Fixed a bug where scores for spread scheduling could be -Inf ] IMPROVEMENTS: build: Update from Go 1.20.3 to Go 1.20.4 ] dependency: update runc to 1.1.5 ] BUG FIXES: api: Fixed filtering on maps with missing keys ] build: Linux packages now have vendor label and set the default label to

This fix is implemented for any future releases, but will not be updated for historical releases ] client: Fix CNI plugin version fingerprint when output includes protocol version ] client: Fix address for ports in IPv6 networks ] client: Fixed a bug where restarting proxy sidecar tasks failed ] client: Prevent a panic when an allocation has a legacy task-level bridge network and uses a driver that does not create a network namespace ] core: the deployment's list endpoint now supports look up by prefix using the wildcard for namespace ] csi: gracefully recover tasks that use csi node plugins ] docker: Fixed a bug where plugin config values were ignored ] drain: Fixed a bug where drains would complete based on the server status and not the client status of an allocation ] driver/exec: Fixed a bug where `capdrop` and `capadd` would not expand capabilities ] scale: Do not allow scale requests for jobs of type system ] scheduler: Fix reconciliation of reconnecting allocs when the replacement allocations are not running ] scheduler: honor false value for distinct_hosts constraint ] server: Added verification of cron jobs already running before forcing new evals right after leader change ] services: Fixed a bug preventing group service deregistrations after alloc restarts ] SECURITY: build: update to Go 1.20.3 to prevent denial of service attack via malicious HTTP headers ] IMPROVEMENTS: build: Update to go1.20.2 ] BUG FIXES: client: Fixed a bug where clients using Consul discovery to join the cluster would get permission denied errors ] client: Fixed a bug where cpuset initialization fails after Client restart ] plugin: Add missing fields to `TaskConfig` so they can be accessed by external task drivers ] services: Fixed a bug where a service would be deregistered twice ] SECURITY: variables: Fixed a bug where a workload-associated policy with a deny capability was ignored for the workload's own variables ] IMPROVEMENTS: env/ec2: update cpu metadata ] BUG FIXES: client: Fixed a bug that prevented allocations with interpolated values in Consul services from being marked as healthy ] client: Fixed a bug where clients used the serf advertise address to connect to servers when using Consul auto-discovery ] docker: Fixed a bug where pause containers would be erroneously removed ] scheduler: Fixed a bug where collisions in dynamic port offerings would result in spurious plan-for-node-rejected errors ] server: Fixed a bug where deregistering a job that was already garbage collected would create a new evaluation ] server: Fixed a bug where node updates that produced errors from service discovery or CSI plugin updates were not logged ] server: Fixed a bug where the `system reconcile summaries` command and API would not return any scheduler-related errors ] BREAKING CHANGES: core: Ensure no leakage of evaluations for batch jobs. Prior to this change allocations and evaluations for batch jobs were never garbage collected until the batch job was explicitly stopped. The new `batchevalgc_threshold` server configuration controls how often they are collected. The default threshold is `24h`. ] IMPROVEMENTS: api: improved error returned from AllocFS.Logs when response is not JSON ] cli: Added `-wait` flag to `deployment status` for use with `-monitor` mode ] cli: Added tls command to enable creating Certificate Authority and Self signed TLS certificates. There are two sub commands `tls ca` and `tls cert` that are helpers when creating certificates. ] client: detect and cleanup leaked iptables rules ] consul: add client configuration for grpccafile ] deps: Update google.golang.org/grpc to v1.51.0 ] docs: link to an envoy troubleshooting doc when envoy bootstrap fails ] env/ec2: update cpu metadata ] fingerprint: Detect CNI plugins and set versions as node attributes ] scheduler: allow using device IDs in `affinity` and `constraint` ] ui: Add a button for expanding the Task sidebar to full width ] ui: Made task rows in Allocation tables look more aligned with their parent ] ui: Show events alongside logs in the Task sidebar ] ui: The web UI will now show canary_tags of services anyplace we would normally show tags. ] DEPRECATIONS: api: The connect `ConsulExposeConfig.Path` field is deprecated in favor of `ConsulExposeConfig.Paths` ] api: The connect `ConsulProxy.ExposeConfig` field is deprecated in favor of

] BUG FIXES: acl: Fixed a bug in token creation which failed to parse expiration TTLs correctly ] acl: Fixed a bug where creating/updating a policy which was invalid would return a 404 status code, not a 400 ] agent: Make agent syslog log level follow log_level config ] api: Added missing node states to NodeStatus constants ] api: Fix stale querystring parameter value as boolean ] api: Fixed a bug where exposeConfig field was not provided correctly when getting the jobs via the API ] api: Fixed a nil pointer dereference when periodic jobs are missing their periodic spec ] cgutil: handle panic coming from runc helper method ] check: Add support for sending custom host header ] cli: Fixed a bug where `nomad fmt -check` would overwrite the file being checked ] cli: Fixed a panic in `deployment status` when rollback deployments are slow to appear ] cli: corrected typos in ACL role create/delete CLI commands ] cli: fix nomad fmt -check flag not returning error code ] client: Fixed a bug where allocation cleanup hooks would not run ] connect: ingress http/2/grpc listeners may exclude hosts ] consul: Fixed a bug where acceptable service identity on Consul token was not accepted ] consul: Fixed a bug where consul token was not respected when reverting a job ] consul: Fixed a bug where services would continuously re-register when using ipv6 ] consul: correctly interpret missing consul checks as unhealthy ] core: enforce strict ordering that node status updates are recorded after allocation updates for reconnecting clients ] csi: Fixed a bug where a crashing plugin could panic the Nomad client ] csi: Fixed a bug where secrets that include '=' were incorrectly rejected ] csi: Fixed a bug where volumes in non-default namespaces could not be scheduled for system or sysbatch jobs ] csi: Fixed potential state store corruption when garbage collecting CSI volume claims or checking whether it's safe to force-deregister a volume ] docker: Fixed a bug where images referenced by multiple tags would not be GC'd ] docker: Fixed a bug where infraimage did not get allocid label ] docker: configure restart policy for bridge network pause container ] eval broker: Fixed a bug where the cancelable eval reaper used an incorrect lock when getting the set of cancelable evals from the broker ] event stream: Fixed a bug where undefined ACL policies on the request's ACL would result in incorrect authentication errors ] fix: Add the missing option propagationmode for volumemount ] parser: Fixed a panic in the job spec parser when a variable validation block was missing its condition ] scheduler (Enterprise): Fixed a bug that prevented new allocations from multiregion jobs to be placed in situations where other regions are not involved, such as node updates. ] services: Fixed a bug where check_restart on nomad services on tasks failed with incorrect CheckIDs ] template: Fixed a bug that caused the chage script to fail to run ] template: Fixed a bug where the template runner's Nomad token would be erased by in-place updates to a task ] ui: Fix allocation memory chart to display the same value as the CLI ] ui: Fix navigation to pages for jobs that are not in the default namespace ] ui: Fixed a bug where the exec window would not maintain namespace upon refresh ] ui: Scale down logger height in the UI when the sidebar container also has task events ] volumes: Fixed a bug where `per_alloc` was allowed for volume blocks on system and sysbatch jobs, which do not have an allocation index ] SECURITY: artifact: Provide mitigations against unbounded artifact decompression ] build: Update to go1.20.1 ] IMPROVEMENTS: api: Added an API for counting evaluations that match a filter ] cli: Improved performance of eval delete with large filter sets ] consul: add trace logging around service registrations ] deps: Updated github.com/aws/aws-sdk-go from 1.44.84 to 1.44.126 ] deps: Updated github.com/docker/cli from 20.10.18+incompatible to

] exec: Allow running commands from mounted host volumes ] scheduler: when multiple evaluations are pending for the same job, evaluate the latest and cancel the intermediaries on success ] server: Add a git `revision` tag to the serf tags gossiped between servers. ] template: Expose per-template configuration for `erroronmissing_key`. This allows jobspec authors to specify that a template should fail if it references a struct or map key that does not exist. The default value is false and should be fully backward compatible. ] ui: Adds a "Pack" tag and logo on the jobs list index when appropriate ] ui: add consul connect service upstream and on-update info to the service sidebar ] ui: allow users to upload files by click or drag in the web ui ] BUG FIXES: api: Ensure all request body decode errors return a 400 status code ] autopilot: Fixed a bug where autopilot would try to fetch raft stats from other regions ] cleanup: fixed missing timer.Reset for plan queue stat emitter ] client: Fixed a bug where tasks would restart without waiting for interval ] client: fixed a bug where non-`docker` tasks with network isolation would leak network namespaces and iptables rules if the client was restarted while they were running ] client: prevent allocations from failing on client reconnect by retrying RPC requests when no servers are available yet ] csi: Fixed race condition that can cause a panic when volume is garbage collected ] device: Fixed a bug where device plugins would not fingerprint on startup ] drivers: Fixed a bug where one goroutine was leaked per task ] drivers: pass missing `propagation_mode` configuration for volume mounts to external plugins ] event_stream: fixed a bug where dynamic port values would fail to serialize in the event stream ] fingerprint: Ensure Nomad can correctly fingerprint Consul gRPC where the Consul agent is running v1.14.0 or greater ] keyring: Fixed a bug where a missing key would prevent any further replication. ] keyring: Fixed a bug where replication would stop after snapshot restores ] keyring: Re-enabled keyring garbage collection after fixing a bug where keys would be garbage collected even if they were used to sign a live allocation's workload identity. ] scheduler: Fixed a bug that prevented disconnected allocations to be updated after they reconnect. ] scheduler: Prevent unnecessary placements when disconnected allocations reconnect. ] template: Fixed a bug where template could cause agent panic on startup ] ui: Fixed a bug where the task log sidebar would close and re-open if the parent job state changed ] variables: Fixed a bug where a long-running rekey could hit the nack timeout ] wi: Fixed a bug where clients running pre-1.4.0 allocations would erase the token used to query service registrations after upgrade ] SECURITY: event stream: Fixed a bug where ACL token expiration was not checked when emitting events ] variables: Fixed a bug where non-sensitive variable metadata (paths and raft indexes) was exposed via the template `nomadVarList` function to other jobs in the same namespace. ] IMPROVEMENTS: cli: Added `-id-prefix-template` option to `nomad job dispatch` ] cli: add nomad fmt to the CLI ] deps: update go-memdb for goroutine leak fix ] docker: improve memory usage for docker_logger ] event stream: Added ACL role topic with create and delete types ] scheduler: Allow jobs not requiring network resources even when no network is fingerprinted ] ui: adds searching and filtering to the topology page ] BUG FIXES: acl: Callers should be able to read policies linked via roles to the token used ] acl: Ensure all federated servers meet

minimum before ACL roles can be written ] acl: Fixed a bug where Nomad version checking for one-time tokens was enforced across regions ] cli: prevent a panic when the Nomad API returns an error while collecting a debug bundle ] client: Check ACL token expiry when resolving token within ACL cache ] client: Fixed a bug where Nomad could not detect cores on recent RHEL systems ] client: Fixed a bug where network fingerprinters were not reloaded when the client configuration was reloaded with SIGHUP ] client: Resolve ACL roles within client ACL cache ] consul: Fixed a bug where services continuously re-registered ] consul: atomically register checks on initial service registration ] deps: Update hashicorp/consul-template to 90370e07bf621811826b803fb633dadbfb4cf287; fixes template rerendering issues when only user or group set ] deps: Update hashicorp/raft to v1.3.11; fixes unstable leadership on server removal ] event stream: Check ACL token expiry when resolving tokens ] event stream: Resolve ACL roles within ACL tokens ] keyring: Fixed a bug where `nomad system gc` forced a root keyring rotation. ] keyring: Fixed a bug where if a key is rotated immediately following a leader election, plans that are in-flight may get signed before the new leader has the key. Allow for a short timeout-and-retry to avoid rejecting plans. ] keyring: Fixed a bug where keyring initialization is blocked by un-upgraded federated regions ] keyring: Fixed a bug where root keyring garbage collection configuration values were not respected. ] keyring: Fixed a bug where root keyring initialization could occur before the raft FSM on the leader was verified to be up-to-date. ] keyring: Fixed a bug where root keyring replication could make incorrectly stale queries and exit early if those queries did not return the expected key. ] keyring: Fixed a bug where the root keyring replicator's rate limiting would be skipped if the keyring replication exceeded the burst rate. ] keyring: Removed root key garbage collection to avoid orphaned workload identities ] nomad native service discovery: Ensure all local servers meet v.1.3.0 minimum before service registrations can be written ] scheduler: Fixed a bug where version checking for disconnected clients handling was enforced across regions ] servicedisco: Fixed a bug where job using checks could land on incompatible client ] services: Fixed a regression where check task validation stopped allowing some configurations ] ui: Fixed line charts to update x-axis (time) where relevant ] ui: Fixes an issue where service tags would bleed past the edge of the screen ] variables: Fixed a bug where Nomad version checking was not enforced for writing to variables ] variables: Fixed a bug where getting empty results from listing variables resulted in a permission denied error. ] BUG FIXES: keyring: Fixed a panic that can occur during upgrades to 1.4.0 when initializing the keyring ] FEATURES: ACL Roles:* Added support for ACL Roles. ] Nomad Native Service Discovery*: Add built-in support for checks on Nomad services ] Variables:* Added support for storing encrypted configuration values. ] UI Services table:* Display task-level services in addition to group-level services. ] BREAKING CHANGES: audit (Enterprise): fixed inconsistency in event filter logic ] cli: `eval status -json` no longer supports listing all evals in JSON. Use `eval list -json`. ] core: remove support for raft protocol version 2 ] SECURITY: client: recover from panics caused by artifact download to prevent the Nomad client from crashing ] IMPROVEMENTS: acl: ACL tokens can now be created with an expiration

] api: return a more descriptive error when /v1/acl/bootstrap fails to decode request body ] autopilot: upgrade to raft-autopilot library ] cli: Removed deprecated network quota fields from `quota status` output ] cli: `acl policy info` output format has changed to improve readability with large policy documents ] cli: `operator debug` now writes newline-delimited JSON files for large collections ] cli: ignore `-hcl2-strict` when -hcl1 is set. ] cli: warn destructive update only when count is greater than 1 ] client: Add built-in support for checks on nomad services ] client: re-enable nss-based user lookups ] connect: add namespace, job, and group to Envoy stats ] connect: add nomad environment variables to envoy bootstrap ] consul: Allow interpolation of task environment values into Consul Service Mesh configuration ] consul: Enable setting custom tagged_addresses field ] core: constraint operands are now compared numerically if operands are numbers ] deps: Update fsouza/go-dockerclient to v1.8.2 ] deps: Update go.etcd.io/bbolt to v1.3.6 ] deps: Update google.golang.org/grpc to v1.48.0 ] deps: Update gopsutil for improvements in fingerprinting on non-Linux platforms ] deps: Updated `github.com/armon/go-metrics` to `v0.4.1` which includes a performance improvement for Prometheus sink ] deps: Updated `github.com/hashicorp/go-version` to `v1.6.0` ] deps: remove unused darwin C library ] fingerprint: Add node attribute for number of reservable cores: `cpu.numreservablecores` ] fingerprint: Consul and Vault attributes are no longer cleared on fingerprinting failure ] jobspec: Added `strlen` HCL2 function to determine the length of a string ] server: Log when a node's eligibility changes ] ui: Display different message when trying to exec into a job with no task running. ] ui: add service discovery, along with health checks, to job and allocation routes ] ui: adds a sidebar to show in-page logs for a given task, accessible via job, client, or task group routes ] ui: allow deep-dive clicks to tasks from client, job, and task group routes. ] ui: attach timestamps and a visual indicator on failure to health checks in the Web UI ] BUG FIXES: api: Fixed a bug where the List Volume API did not include the `ControllerRequired` and `ResourceExhausted` fields. ] cli: Ignore Vault token when generating job diff. ] cli: fixed a bug in the `operator api` command where the HTTPS scheme was not always correctly calculated ] cli: return exit code `255` when `nomad job plan` fails job validation. ] cli: set content length on POST requests when using the `nomad operator api` command ] client: Fixed bug where clients could attempt to connect to servers with invalid addresses retrieved from Consul. ] core: prevent new allocations from overlapping execution with stopping allocations ] 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. ] csi: Fixed a bug where the server would not send controller unpublish for a failed allocation. ] 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. ] helpers: Fixed a bug where random stagger func did not protect against negative inputs ] jobspec: Fixed a bug where an `artifact` with `headers` configuration would fail to parse when using HCLv1 ] metrics: Update client `nodeschedulingeligibility` value with server heartbeats. ] 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 ] scheduler (Enterprise): Fixed bug where the scheduler would treat multiregion jobs as paused for job types that don't use deployments ] template: Fixed a bug where the `splay` timeout was not being applied when `change_mode` was set to `script`. ] ui: Remove extra space when displaying the version in the menu footer. ] BUG FIXES: core: fixed a bug that caused job validation to fail when a task with `killtimeout` was placed inside a group with

set to 0 ] BUG FIXES: bug: Corrected status description and modification time for canceled evaluations ] client: Fixed a bug where restarting a terminal allocation turns it into a zombie where allocation and task hooks will run unexpectedly ] client: clean up resources upon failure to restore task during client restart ] scale: Fixed a bug where evals could be created with the wrong type ] scheduler: Fixed a bug where implicit `spread` targets were treated as separate targets for scoring ] scheduler: Fixed a bug where scores for spread scheduling could be -Inf ] IMPROVEMENTS: build: Update from Go 1.20.3 to Go 1.20.4 ] core: Prevent `task.killtimeout` being greater than `update.progressdeadline` ] BUG FIXES: api: Fixed filtering on maps with missing keys ] build: Linux packages now have vendor label and set the default label to HashiCorp. This fix is implemented for any future releases, but will not be updated for historical releases ] client: Fix CNI plugin version fingerprint when output includes protocol version ] client: Fix address for ports in IPv6 networks ] client: Fixed a bug where restarting proxy sidecar tasks failed ] client: Prevent a panic when an allocation has a legacy task-level bridge network and uses a driver that does not create a network namespace ] core: the deployment's list endpoint now supports look up by prefix using the wildcard for namespace ] csi: gracefully recover tasks that use csi node plugins ] docker: Fixed a bug where plugin config values were ignored ] drain: Fixed a bug where drains would complete based on the server status and not the client status of an allocation ] driver/exec: Fixed a bug where `capdrop` and `capadd` would not expand capabilities ] scale: Do not allow scale requests for jobs of type system ] scheduler: Fix reconciliation of reconnecting allocs when the replacement allocations are not running ] scheduler: honor false value for distinct_hosts constraint ] server: Added verification of cron jobs already running before forcing new evals right after leader change ] services: Fixed a bug preventing group service deregistrations after alloc restarts ] SECURITY: build: update to Go 1.20.3 to prevent denial of service attack via malicious HTTP headers ] IMPROVEMENTS: build: Update to go1.20.2 ] BUG FIXES: client: Fixed a bug where clients using Consul discovery to join the cluster would get permission denied errors ] client: Fixed a bug where cpuset initialization fails after Client restart ] plugin: Add missing fields to `TaskConfig` so they can be accessed by external task drivers ] services: Fixed a bug where a service would be deregistered twice ] IMPROVEMENTS: env/ec2: update cpu metadata ] BUG FIXES: client: Fixed a bug where clients used the serf advertise address to connect to servers when using Consul auto-discovery ] docker: Fixed a bug where pause containers would be erroneously removed ] scheduler: Fixed a bug where collisions in dynamic port offerings would result in spurious plan-for-node-rejected errors ] server: Fixed a bug where deregistering a job that was already garbage collected would create a new evaluation ] server: Fixed a bug where node updates that produced errors from service discovery or CSI plugin updates were not logged ] server: Fixed a bug where the `system reconcile summaries` command and API would not return any scheduler-related errors ] BREAKING CHANGES: core: Ensure no leakage of evaluations for batch jobs. Prior to this change allocations and evaluations for batch jobs were never garbage collected until the batch job was explicitly stopped. The new `batchevalgc_threshold` server configuration controls how often they are collected. The default threshold is

] IMPROVEMENTS: client: detect and cleanup leaked iptables rules ] consul: add client configuration for grpccafile ] env/ec2: update cpu metadata ] fingerprint: Detect CNI plugins and set versions as node attributes ] DEPRECATIONS: api: The connect `ConsulExposeConfig.Path` field is deprecated in favor of `ConsulExposeConfig.Paths` ] api: The connect `ConsulProxy.ExposeConfig` field is deprecated in favor of `ConsulProxy.Expose` ] BUG FIXES: acl: Fixed a bug where creating/updating a policy which was invalid would return a 404 status code, not a 400 ] agent: Make agent syslog log level follow log_level config ] api: Added missing node states to NodeStatus constants ] api: Fix stale querystring parameter value as boolean ] api: Fixed a bug where exposeConfig field was not provided correctly when getting the jobs via the API ] api: Fixed a nil pointer dereference when periodic jobs are missing their periodic spec ] cgutil: handle panic coming from runc helper method ] cli: Fixed a panic in `deployment status` when rollback deployments are slow to appear ] connect: ingress http/2/grpc listeners may exclude hosts ] consul: Fixed a bug where acceptable service identity on Consul token was not accepted ] consul: Fixed a bug where consul token was not respected when reverting a job ] consul: Fixed a bug where services would continuously re-register when using ipv6 ] core: enforce strict ordering that node status updates are recorded after allocation updates for reconnecting clients ] csi: Fixed a bug where a crashing plugin could panic the Nomad client ] csi: Fixed a bug where secrets that include '=' were incorrectly rejected ] csi: Fixed a bug where volumes in non-default namespaces could not be scheduled for system or sysbatch jobs ] csi: Fixed potential state store corruption when garbage collecting CSI volume claims or checking whether it's safe to force-deregister a volume ] docker: Fixed a bug where images referenced by multiple tags would not be GC'd ] docker: Fixed a bug where infraimage did not get allocid label ] docker: configure restart policy for bridge network pause container ] event stream: Fixed a bug where undefined ACL policies on the request's ACL would result in incorrect authentication errors ] fix: Add the missing option propagationmode for volumemount ] parser: Fixed a panic in the job spec parser when a variable validation block was missing its condition ] scheduler (Enterprise): Fixed a bug that prevented new allocations from multiregion jobs to be placed in situations where other regions are not involved, such as node updates. ] template: Fixed a bug that caused the chage script to fail to run ] ui: Fix allocation memory chart to display the same value as the CLI ] ui: Fix navigation to pages for jobs that are not in the default namespace ] volumes: Fixed a bug where `per_alloc` was allowed for volume blocks on system and sysbatch jobs, which do not have an allocation index ] SECURITY: artifact: Provide mitigations against unbounded artifact decompression ] build: Update to go1.20.1 ] BUG FIXES: api: Ensure all request body decode errors return a 400 status code ] cleanup: fixed missing

for plan queue stat emitter ] client: Fixed a bug where tasks would restart without waiting for interval ] client: fixed a bug where non-`docker` tasks with network isolation would leak network namespaces and iptables rules if the client was restarted while they were running ] client: prevent allocations from failing on client reconnect by retrying RPC requests when no servers are available yet ] csi: Fixed race condition that can cause a panic when volume is garbage collected ] device: Fixed a bug where device plugins would not fingerprint on startup ] drivers: Fixed a bug where one goroutine was leaked per task ] drivers: pass missing `propagation_mode` configuration for volume mounts to external plugins ] event_stream: fixed a bug where dynamic port values would fail to serialize in the event stream ] fingerprint: Ensure Nomad can correctly fingerprint Consul gRPC where the Consul agent is running v1.14.0 or greater ] scheduler: Fixed a bug that prevented disconnected allocations to be updated after they reconnect. ] scheduler: Prevent unnecessary placements when disconnected allocations reconnect. ] template: Fixed a bug where template could cause agent panic on startup ] IMPROVEMENTS: deps: update go-memdb for goroutine leak fix ] docker: improve memory usage for docker_logger ] BUG FIXES: acl: Fixed a bug where Nomad version checking for one-time tokens was enforced across regions ] client: Fixed a bug where Nomad could not detect cores on recent RHEL systems ] consul: Fixed a bug where services continuously re-registered ] consul: atomically register checks on initial service registration ] deps: Update hashicorp/raft to v1.3.11; fixes unstable leadership on server removal ] nomad native service discovery: Ensure all local servers meet v.1.3.0 minimum before service registrations can be written ] scheduler: Fixed a bug where version checking for disconnected clients handling was enforced across regions ] SECURITY: client: recover from panics caused by artifact download to prevent the Nomad client from crashing ] IMPROVEMENTS: api: return a more descriptive error when /v1/acl/bootstrap fails to decode request body ] cli: ignore `-hcl2-strict` when -hcl1 is set. ] cli: warn destructive update only when count is greater than 1 ] consul: Allow interpolation of task environment values into Consul Service Mesh configuration ] ui: Display different message when trying to exec into a job with no task running. ] BUG FIXES: api: Fixed a bug where the List Volume API did not include the `ControllerRequired` and `ResourceExhausted` fields. ] cli: Ignore Vault token when generating job diff. ] cli: fixed a bug in the `operator api` command where the HTTPS scheme was not always correctly calculated ] cli: return exit code `255` when `nomad job plan` fails job validation. ] cli: set content length on POST requests when using the `nomad operator api` command ] client: Fixed bug where clients could attempt to connect to servers with invalid addresses retrieved from Consul. ] 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. ] csi: Fixed a bug where the server would not send controller unpublish for a failed allocation. ] 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. ] helpers: Fixed a bug where random stagger func did not protect against negative inputs ] jobspec: Fixed a bug where an `artifact` with `headers` configuration would fail to parse when using HCLv1 ] metrics: Update client `nodeschedulingeligibility` value with server heartbeats. ] 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 ] scheduler: Fixed bug where the scheduler would treat multiregion jobs as paused for job types that don't use deployments ] template: Fixed a bug where the `splay` timeout was not being applied when `change_mode` was set to `script`. ] ui: Remove extra space when displaying the version in the menu footer. ] IMPROVEMENTS: cgroups: use

interface file when using cgroups v2 ] consul: Reduce load on Consul leader server by allowing stale results when listing namespaces. ] BUG FIXES: cli: Fixed a bug where forcing a periodic job would fail if the job ID prefix-matched other periodic jobs ] template: Fixed a bug that could cause Nomad to panic when using `change_mode = "script"` ] ui: Revert a change that resulted in UI errors when ACLs were not used. ] IMPROVEMENTS: api: HTTP server now returns a 429 error code when hitting the connection limit ] build: update to go1.19 ] cli: `operator debug` now outputs current leader to debug bundle ] cli: `operator snapshot state` supports `-filter` expressions and avoids writing large temporary files ] client: add option to restart all tasks of an allocation, regardless of lifecycle type or state. ] client: only start poststop tasks after poststart tasks are done. ] deps: Updated `github.com/hashicorp/go-discover` to latest to allow setting the AWS endpoint definition ] driver/docker: Added config option to disable container healthcheck ] qemu: Added option to configure `drive_interface` ] sentinel: add the ability to reference the namespace and Nomad acl token in policies ] template: add script change_mode that allows scripts to be executed on template change ] ui: Add button to restart all tasks in an allocation. ] ui: add general keyboard navigation to the Nomad UI ] BUG FIXES: api: cleanup whitespace from failed api response body ] cli: Fixed a bug where job validation requeset was not sent to leader ] cli: Fixed a bug where the memory usage reported by Allocation Resource Utilization is zero on systems using cgroups v2 ] cli: Fixed a bug where vault token not respected in plan command ] client/logmon: fixed a bug where logmon cannot find nomad executable ] client: Fixed a bug where cpuset initialization would not work on first agent startup ] client: Fixed a bug where user lookups would hang or panic ] client: Fixed a problem calculating a services namespace ] csi: Fixed a bug where volume claims on lost or garbage collected nodes could not be freed ] 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`. ] ui: Fixed a bug that caused the allocation details page to display the stats bar chart even if the task was pending. ] ui: Removes duplicate breadcrumb header when navigating from child job back to parent. ] 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. ] vault: Fixed a bug where changing the Vault configuration `namespace` field was not detected as a change during server configuration reload. ] IMPROVEMENTS: build: Update go toolchain to 1.18.5 ] csi: Add `stagepublishbasedir` field to `csiplugin` block to support plugins that require a specific staging/publishing directory for mounts ] qemu: use shorter socket file names to reduce the chance of hitting the max path length ] template: Expose consul-template configuration options at the client level for `nomad_retry`. ] template: Templates support new uid/gid parameter pair ] ui: Reorder and apply the same style to the Evaluations list page filters to match the Job list

] BUG FIXES: acl: Fixed a bug where the timestamp for expiring one-time tokens was not deterministic between servers ] deployments: Fixed a bug that prevented auto-approval if canaries were marked as unhealthy during deployment ] metrics: Fixed a bug where blocked evals with no class produced no dc:class scope metrics ] namespaces: Fixed a bug that allowed deleting a namespace that contained a CSI volume ] qemu: restore the monitor socket path when restoring a QEMU task. ] servicedisco: Fixed a bug where non-unique services would escape job validation ] ui: Add missing breadcrumb in the Evaluations page. ] ui: Fixed a bug where task memory was reported as zero on systems using cgroups v2 ] IMPROVEMENTS: agent: Added delete support to the eval HTTP API ] agent: emit a warning message if the agent starts with `bootstrap_expect` set to an even number. ] agent: logs are no longer buffered at startup when logging in JSON format ] api: enable setting `?choose` parameter when querying services ] api: refactor ACL check when using the all namespaces wildcard in the job and alloc list endpoints ] api: support Authorization Bearer header in lieu of X-Nomad-Token header ] bootstrap: Added option to allow for an operator generated bootstrap token to be passed to the `acl bootstrap` command ] cli: Added `delete` command to the eval CLI ] cli: Added `scheduler get-config` and `scheduler set-config` commands to the operator CLI ] cli: always display job ID and namespace in the `eval status` command ] cli: display namespace and node ID in the `eval list` command and when `eval status` matches multiple evals ] cli: update default redis and use nomad service discovery ] client: added more fault tolerant defaults for template configuration ] core: Added the ability to pause and un-pause the eval broker and blocked eval broker ] core: On node updates skip creating evaluations for jobs not in the node's datacenter. ] core: automatically mark clients with recurring plan rejections as ineligible ] driver/docker: Eliminate excess Docker registry pulls for the `infra_image` when it already exists locally. ] fingerprint: add support for detecting kernel architecture of clients. (attribute: `kernel.arch`) ] hcl: added support for using the `filebase64` function in jobspecs ] metrics: emit `nomad.nomad.plan.rejectiontracker.nodescore` metric for the number of times a node had a plan rejection within the past time window ] qemu: add support for guest agent socket ] ui: Namespace filter query paramters are now isolated by route ] BUG FIXES: api: Fix listing evaluations with the wildcard namespace and an ACL token ] api: Fixed a bug where Consul token was not respected for job revert API ] cli: Fixed a bug in the names of the `node drain` and `node status` sub-commands ] cli: Fixed a bug where job validate did not respect vault token or namespace ] client: Fixed a bug where maxkilltimeout client config was ignored ] client: Fixed a bug where network.dns block was not interpolated ] cni: Fixed a bug where loopback address was not set for all drivers ] connect: Added missing ability of setting Connect upstream destination namespace ] core: Fixed a bug where an evicted batch job would not be rescheduled ] core: Fixed a bug where blocked eval resources were incorrectly computed ] core: Fixed a bug where reserved ports on multiple node networks would be treated as a collision. `client.reserved.reservedports` is now merged into each `hostnetwork`'s reserved ports instead of being treated as a collision. ] core: Fixed a bug where the plan applier could deadlock if leader's state lagged behind plan's creation index for more than 5

] csi: Fixed a regression where a timeout was introduced that prevented some plugins from running by marking them as unhealthy after 30s by introducing a configurable `health_timeout` field ] csi: Fixed a scheduler bug where failed feasibility checks would return early and prevent processing additional nodes ] docker: Fixed a bug where cgroups-v1 parent was being set ] lifecycle: fixed a bug where sidecar tasks were not being stopped last ] state: Fix listing evaluations from all namespaces ] ui: Allow running jobs from a namespace-limited token ] ui: Fix a bug that prevented viewing the details of an evaluation in a non-default namespace ] ui: Fixed a bug that prevented the UI task exec functionality to work from behind a reverse proxy. ] ui: Fixed an issue where editing or running a job with a namespace via the UI would throw a 404 on redirect. ] ui: fixed a bug where links to jobs with "@" in their name would mis-identify namespace and 404 ] volumes: Fixed a bug where additions, updates, or removals of host volumes or CSI volumes were not treated as destructive updates ] SECURITY: A vulnerability was identified in the go-getter library that Nomad uses for its artifacts such that a specially crafted Nomad jobspec can be used for privilege escalation onto client agent hosts. ] BUG FIXES: agent: fixed a panic on startup when the `server.protocol_version` config parameter was set ] FEATURES: Edge compute improvements*: Added support for reconnecting healthy allocations when disconnected clients reconnect. ] Native service discovery*: Register and discover services using builtin simple service discovery. ] BREAKING CHANGES: agent: The state database on both clients and servers will automatically migrate its underlying database on startup. Downgrading to a previous version of an agent after upgrading it to Nomad 1.3 is not supported. ] client: The client state store will be automatically migrated to a new schema version when upgrading a client. Downgrading to a previous version of the client after upgrading it to Nomad 1.3 is not supported. To downgrade safely, users should erase the Nomad client's data directory. ] connect: Consul Service Identity ACL tokens automatically generated for Connect services are now created as Local rather than Global tokens. Nomad clusters with Connect services making cross-Consul datacenter requests will need to ensure their Consul agents are configured with anonymous ACL tokens of sufficient node and service read permissions. ] connect: The minimum Consul version supported by Nomad's Connect integration is now Consul v1.8.0. ] csi: The client filesystem layout for CSI plugins has been updated to correctly handle the lifecycle of multiple allocations serving the same plugin. Running plugin tasks will not be updated after upgrading the client, but it is recommended to redeploy CSI plugin jobs after upgrading the cluster. ] raft: The default raft protocol version is now 3 so you must follow the guide when upgrading an existing cluster to Nomad 1.3.0. Downgrading the raft protocol version is not supported. ] SECURITY: server: validate mTLS certificate names on agent to agent endpoints ] IMPROVEMENTS: agent: Switch from boltdb/bolt to go.etcd.io/bbolt ] api: Add `related` query parameter to the Evaluation details endpoint ] api: Add support for filtering and pagination to the jobs and volumes list endpoint ] api: Add support for filtering and pagination to the node list endpoint ] api: Add support for filtering, sorting, and pagination to the ACL tokens and allocations list endpoint ] api: Added ParseHCLOpts helper func to ease parsing HCLv1 jobspecs ] api: CSI secrets for list and delete snapshots are now passed in HTTP headers ] api:

now explicitly closes frames channel after being canceled ] api: default to using `DefaultPooledTransport` client to support keep-alive by default ] api: filter values of evaluation and deployment list api endpoints ] api: sort return values of evaluation and deployment list api endpoints by creation index ] build: make targets now respect GOBIN variable ] build: upgrade and speedup circleci configuration ] cli: Added -json flag to `nomad job {run,plan,validate}` to support parsing JSON formatted jobs ] cli: Added -os flag to node status to display operating system name ] cli: Added `nomad operator api` command to ease querying Nomad's HTTP API. ] cli: CSI secrets argument for `volume snapshot list` has been made consistent with `volume snapshot delete` ] cli: Return a redacted value for mount flags in the `volume status` command, instead of `<none>` ] cli: `operator debug` command now skips generating pprofs to avoid a panic on Nomad 0.11.2. 0.11.1, and 0.11.0 ] cli: add `nomad config validate` command to check configuration files without an agent ] cli: added `-pprof-interval` to `nomad operator debug` command ] cli: display the Raft version instead of the Serf protocol in the `nomad server members` command ] cli: rename the `nomad server members` `-detailed` flag to `-verbose` so it matches other commands ] client: Added `NOMADSHORTALLOC_ID` allocation env var ] client: Allow interpolation of the network.dns block ] client: Download up to 3 artifacts concurrently ] client: Enable support for cgroups v2 ] client: fingerprint AWS instance life cycle option ] client: set NOMADCPUCORES environment variable when reserving cpu cores ] connect: automatically set allocid in envoystats_tags configuration ] connect: bootstrap envoy sidecars using -proxy-for ] consul/connect: write Envoy bootstrapping information to disk for debugging ] consul: Added implicit Consul constraint for task groups utilising Consul service and check registrations ] consul: add go-sockaddr templating support to nomad consul address ] consul: improve service name validation message to include maximum length requirement ] core: Enable configuring raft boltdb freelist sync behavior ] core: The unused protocol_version agent configuration value has been removed. ] csi: Add pagination parameters to `volume snapshot list` command ] csi: Added `-secret` and `-parameter` flags to `volume snapshot create` command ] csi: Added support for storage topology ] csi: Allow for concurrent plugin allocations ] csi: Allow volumes to be re-registered to be updated while not in use ] csi: Display plugin capabilities in `nomad plugin status -verbose` output ] csi: Respect the verbose flag in the output of `volume status` ] csi: Sort allocations in `plugin status` output ] csi: add flag for providing secrets as a set of key/value pairs to delete a volume ] csi: allow namespace field to be passed in volume spec ] deps: Update hashicorp/raft-boltdb to v2.2.0 ] deps: Update serf library to v0.9.7 ] deps: Updated hashicorp/consul-template to v0.29.0 ] deps: Updated hashicorp/raft to v1.3.5 ] deps: Upgrade kr/pty to creack/pty v1.1.5 ] deps: use gorilla package for gzip http handler ] drainer: defer draining CSI plugin jobs until system jobs are drained ] drivers/rawexec: Add support for cgroups v2 in rawexec driver ] drivers: removed support for restoring tasks created before Nomad 0.9 ] fingerprint: add support for detecting DigitalOcean environment ] metrics: Emit metrics regarding raft boltdb operations ] metrics: emit `nomad.vault.tokenlastrenewal` and `nomad.vault.tokennextrenewal` metrics for Vault token renewal information ] namespaces: Allow adding custom metadata to namespaces. ] namespaces: Allow enabling/disabling allowed drivers per namespace. ] raft: The default raft protocol version is now

] scheduler: Seed node shuffling with the evaluation ID to make the order reproducible ] scheduler: recover scheduler goroutines on panic ] server: Transfer Raft leadership in case the Nomad server fails to establish leadership ] server: store and check previous Raft protocol version to prevent downgrades ] services: Enable setting arbitrary address on Nomad or Consul service registration ] template: Upgraded to from consul-template v0.25.2 to v0.28.0 which includes the sprig library of functions and more. ] ui: added visual indicators for disconnected allocations and client nodes ] ui: break long service tags into multiple lines ] ui: change sort-order of evaluations to be reverse-chronological ] ui: make buttons with confirmation more descriptive of their actions ] DEPRECATIONS: Raft protocol version 2 is deprecated and will be removed in Nomad 1.4.0. ] BUG FIXES: api: Apply prefix filter when querying CSI volumes in all namespaces ] cleanup: prevent leaks from time.After ] client: Fixed a bug that could prevent a preempting alloc from ever starting. ] client: Fixed a bug where clients that retry blocking queries would not reset the correct blocking duration ] config: Fixed a bug where the `reservable_cores` setting was not respected ] core: Fixed auto-promotion of canaries in jobs with at least one task group without canaries. ] core: prevent malformed plans from crashing leader ] csi: Fixed a bug where `plugin status` commands could choose the incorrect plugin if a plugin with a name that matched the same prefix existed. ] csi: Fixed a bug where `volume snapshot list` did not correctly filter by plugin IDs. The `-plugin` parameter is required. ] csi: Fixed a bug where allocations with volume claims would fail their first placement after a reschedule ] csi: Fixed a bug where allocations with volume claims would fail to restore after a client restart ] csi: Fixed a bug where creating snapshots required a plugin ID instead of falling back to the volume's plugin ID ] csi: Fixed a bug where fields were missing from the Read Volume API response ] csi: Fixed a bug where garbage collected nodes would block releasing a volume ] csi: Fixed a bug where per-alloc volumes used the incorrect ID when querying for `alloc status -verbose` ] csi: Fixed a bug where plugin configuration updates were not considered destructive ] csi: Fixed a bug where plugins would not restart if they failed any time after a client restart ] csi: Fixed a bug where plugins written in NodeJS could fail to fingerprint ] csi: Fixed a bug where purging a job with a missing plugin would fail ] csi: Fixed a bug where single-use access modes were not enforced during validation ] csi: Fixed a bug where the maximum number of volume claims was incorrectly enforced when an allocation claims a volume ] csi: Fixed a bug where the plugin instance manager would not retry the initial gRPC connection to plugins ] csi: Fixed a bug where the plugin supervisor would not restart the task if it failed to connect to the plugin ] csi: Fixed a bug where volume snapshot timestamps were always zero values ] csi: Fixed bug where accessing plugins was subject to a data race ] csi: fixed a bug where `volume detach`, `volume deregister`, and `volume status` commands did not accept an exact ID if multiple volumes matched the prefix ] csi: provide `CSI_ENDPOINT` environment variable to plugin tasks ] jobspec: Fixed a bug where connect sidecar resources were ignored when using HCL1 ] lifecycle: Fixed a bug where successful poststart tasks were marked as unhealthy ] recommendations (Enterprise): Fixed a bug where the recommendations list RPC incorrectly forwarded requests to the authoritative region ] scheduler: fixed a bug where in-place updates on ineligible nodes would be ignored ] server: Write peers.json file with correct permissions ] template: Fixed a bug preventing allowing all consul-template

] template: Fixed a bug where the default `function_denylist` would be appended to a specified list ] ui: Fix the link target for CSI volumes on the task detail page ] ui: Fixed a bug where volumes were being incorrectly linked when per_alloc=true ] ui: fix broken link to task-groups in the Recent Allocations table in the Job Detail overview page. ] ui: fix the unit for the task row memory usage metric ] SECURITY: artifact: Provide mitigations against unbounded artifact decompression ] build: Update to go1.20.1 ] BUG FIXES: api: Ensure all request body decode errors return a 400 status code ] cleanup: fixed missing timer.Reset for plan queue stat emitter ] client: Fixed a bug where tasks would restart without waiting for interval ] client: fixed a bug where non-`docker` tasks with network isolation would leak network namespaces and iptables rules if the client was restarted while they were running ] csi: Fixed race condition that can cause a panic when volume is garbage collected ] device: Fixed a bug where device plugins would not fingerprint on startup ] drivers: Fixed a bug where one goroutine was leaked per task ] drivers: pass missing `propagation_mode` configuration for volume mounts to external plugins ] event_stream: fixed a bug where dynamic port values would fail to serialize in the event stream ] fingerprint: Ensure Nomad can correctly fingerprint Consul gRPC where the Consul agent is running v1.14.0 or greater ] IMPROVEMENTS: deps: update go-memdb for goroutine leak fix ] BUG FIXES: acl: Fixed a bug where Nomad version checking for one-time tokens was enforced across regions ] deps: Update hashicorp/raft to v1.3.11; fixes unstable leadership on server removal ] SECURITY: client: recover from panics caused by artifact download to prevent the Nomad client from crashing ] BUG FIXES: api: Fixed a bug where the List Volume API did not include the `ControllerRequired` and `ResourceExhausted` fields. ] client: Fixed bug where clients could attempt to connect to servers with invalid addresses retrieved from Consul. ] 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. ] csi: Fixed a bug where the server would not send controller unpublish for a failed allocation. ] csi: Fixed a bug where volume claims on lost or garbage collected nodes could not be freed ] 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. ] jobspec: Fixed a bug where an `artifact` with `headers` configuration would fail to parse when using HCLv1 ] metrics: Update client `nodeschedulingeligibility` value with server heartbeats. ] 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 ] IMPROVEMENTS: consul: Reduce load on Consul leader server by allowing stale results when listing namespaces. ] BUG FIXES: cli: Fixed a bug where forcing a periodic job would fail if the job ID prefix-matched other periodic jobs ] IMPROVEMENTS: build: update to go1.19 ] BUG FIXES: api: cleanup whitespace from failed api response body ] client/logmon: fixed a bug where logmon cannot find nomad executable ] client: Fixed a bug where user lookups would hang or panic ] ui: Fixed a bug that caused the allocation details page to display the stats bar chart even if the task was pending. ] vault: Fixed a bug where Vault clients were recreated when the server configuration was reloaded, even if there were no changes to the Vault

] vault: Fixed a bug where changing the Vault configuration `namespace` field was not detected as a change during server configuration reload. ] BUG FIXES: acl: Fixed a bug where the timestamp for expiring one-time tokens was not deterministic between servers ] build: Update go toolchain to 1.18.5 ] deployments: Fixed a bug that prevented auto-approval if canaries were marked as unhealthy during deployment ] metrics: Fixed a bug where blocked evals with no class produced no dc:class scope metrics ] namespaces: Fixed a bug that allowed deleting a namespace that contained a CSI volume ] qemu: restore the monitor socket path when restoring a QEMU task. ] BUG FIXES: api: Fix listing evaluations with the wildcard namespace and an ACL token ] api: Fixed a bug where Consul token was not respected for job revert API ] cli: Fixed a bug in the names of the `node drain` and `node status` sub-commands ] client: Fixed a bug where maxkilltimeout client config was ignored ] client: Fixed a bug where network.dns block was not interpolated ] cni: Fixed a bug where loopback address was not set for all drivers ] connect: Added missing ability of setting Connect upstream destination namespace ] core: Fixed a bug where an evicted batch job would not be rescheduled ] core: Fixed a bug where blocked eval resources were incorrectly computed ] core: Fixed a bug where reserved ports on multiple node networks would be treated as a collision. `client.reserved.reservedports` is now merged into each `hostnetwork`'s reserved ports instead of being treated as a collision. ] core: Fixed a bug where the plan applier could deadlock if leader's state lagged behind plan's creation index for more than 5 seconds. ] csi: Fixed a regression where a timeout was introduced that prevented some plugins from running by marking them as unhealthy after 30s by introducing a configurable `health_timeout` field ] csi: Fixed a scheduler bug where failed feasibility checks would return early and prevent processing additional nodes ] lifecycle: fixed a bug where sidecar tasks were not being stopped last ] state: Fix listing evaluations from all namespaces ] ui: Allow running jobs from a namespace-limited token ] ui: Fixed a bug that prevented the UI task exec functionality to work from behind a reverse proxy. ] volumes: Fixed a bug where additions, updates, or removals of host volumes or CSI volumes were not treated as destructive updates ] SECURITY: A vulnerability was identified in the go-getter library that Nomad uses for its artifacts such that a specially crafted Nomad jobspec can be used for privilege escalation onto client agent hosts. ] SECURITY: server: validate mTLS certificate names on agent to agent endpoints ] IMPROVEMENTS: build: upgrade and speedup circleci configuration ] BUG FIXES: Fixed a bug where successful poststart tasks were marked as unhealthy ] api: Apply prefix filter when querying CSI volumes in all namespaces ] cleanup: prevent leaks from time.After ] client: Fixed a bug that could prevent a preempting alloc from ever starting. ] client: Fixed a bug where clients that retry blocking queries would not reset the correct blocking duration ] config: Fixed a bug where the `reservable_cores` setting was not respected ] core: Fixed auto-promotion of canaries in jobs with at least one task group without canaries. ] core: prevent malformed plans from crashing leader ] csi: Fixed a bug where `plugin status` commands could choose the incorrect plugin if a plugin with a name that matched the same prefix existed. ] csi: Fixed a bug where `volume snapshot list` did not correctly filter by plugin IDs. The `-plugin` parameter is

] csi: Fixed a bug where allocations with volume claims would fail their first placement after a reschedule ] csi: Fixed a bug where allocations with volume claims would fail to restore after a client restart ] csi: Fixed a bug where creating snapshots required a plugin ID instead of falling back to the volume's plugin ID ] csi: Fixed a bug where fields were missing from the Read Volume API response ] csi: Fixed a bug where garbage collected nodes would block releasing a volume ] csi: Fixed a bug where per-alloc volumes used the incorrect ID when querying for `alloc status -verbose` ] csi: Fixed a bug where plugin configuration updates were not considered destructive ] csi: Fixed a bug where plugins would not restart if they failed any time after a client restart ] csi: Fixed a bug where plugins written in NodeJS could fail to fingerprint ] csi: Fixed a bug where purging a job with a missing plugin would fail ] csi: Fixed a bug where single-use access modes were not enforced during validation ] csi: Fixed a bug where the maximum number of volume claims was incorrectly enforced when an allocation claims a volume ] csi: Fixed a bug where the plugin instance manager would not retry the initial gRPC connection to plugins ] csi: Fixed a bug where the plugin supervisor would not restart the task if it failed to connect to the plugin ] csi: Fixed a bug where volume snapshot timestamps were always zero values ] csi: Fixed bug where accessing plugins was subject to a data race ] csi: fixed a bug where `volume detach`, `volume deregister`, and `volume status` commands did not accept an exact ID if multiple volumes matched the prefix ] csi: provide `CSI_ENDPOINT` environment variable to plugin tasks ] jobspec: Fixed a bug where connect sidecar resources were ignored when using HCL1 ] scheduler: fixed a bug where in-place updates on ineligible nodes would be ignored ] ui: Fix the link target for CSI volumes on the task detail page ] ui: fix the unit for the task row memory usage metric ] BACKWARDS INCOMPATIBILITIES: ACL authentication is now required for the Nomad API job parse endpoint to address a potential security vulnerability SECURITY: Add ACL requirement and HCL validation to the job parse API endpoint to prevent excessive CPU usage. ] Fix race condition in use of go-getter that could cause a client agent to download the wrong artifact into the wrong destination. ] Prevent panic in spread iterator during allocation stop. ] Resolve symlinks to prevent unauthorized access to files outside the allocation directory. ] BUG FIXES: csi: Fixed a bug where garbage collected allocations could block new claims on a volume ] csi: Fixed a bug where releasing volume claims would fail with ACL errors after leadership transitions. ] csi: Unmount volumes from the client before sending unpublish RPC ] template: Fixed a bug where client template configuration that did not include any of the new 1.2.4 configuration options could result in none of the configuration getting set. ] FEATURES: ui: Add filters to allocations table in jobs/job/allocation view ] IMPROVEMENTS: agent/config: Allow binding the HTTP server to multiple addresses. ] agent: Added `ui` configuration block ] api: Add pagination and filtering to Evaluations List API ] api: Added pagination to deployments list API ] api: Improve error message returned by `Operator.LicenseGet` ] 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

] api: Updated the CSI volumes list API to respect wildcard namespaces ] api: Updated the deployments list API to respect wildcard namespaces ] api: Updated the evaluations list API to respect wildcard namespaces ] api: return HTTP204 on CORS pre-flight checks and allow dot in CORS header keys. ] cli: Add `-var` and `-var-file` to the command line printed by `job plan` ] cli: Add event stream capture to `nomad operator debug` ] cli: Added a `nomad eval list` command. ] cli: Made the `operator raft info`, `operator raft logs`, `operator raft state`, and `operator snapshot state` commands visible to command line help. ] cli: Return non-zero exit code from monitor if deployment fails ] cli: provide `-no-shutdown-delay` option to `job stop` and `alloc stop` commands to ignore `shutdown_delay` ] core: allow setting and propagation of eval priority on job de/registration ] deps: Update `armon/go-metrics` to `v0.3.10` ] driver/docker: Added support for client-wide `pids_limit` configuration ] hcl: tolerate empty strings for zero integer values in quota and job specification. ] metrics (Enterprise): Emit `nomad.license.expirationtimeepoch` metric to show the expiration time of the Nomad Enterprise license. metrics: Added metric for `client.allocated.max_memory` ] metrics: added nomad.client.allocs.memory.mapped_file metric ] scaling: Don't emit scaling action with error in case of active deployment ] 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 ] server: Make numschedulers and enabledschedulers hot reloadable; add agent API endpoint to enable dynamic modifications of these values. ] template: Expose consul-template configuration options at the client level for `consul_retry`, `vaultretry`, `maxstale`, `blockquerywait` 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. ] ui: Add filters to the allocation list in the client and task group details pages ] ui: Add titles to breadcrumb labels in app navigation bar ] ui: Display section title in the navigation breadcrumbs ] ui: Display the Consul and Vault links configured in the agent ] ui: add links to legend items in allocation-summary ] BUG FIXES: agent: Fixed an issue that caused Consul values to be logged during template rendering ] agent: Validate reserved_ports are valid to prevent unschedulable nodes. ] api: Fixed a bug where API or CLI clients could become unresponsive when cron expressions contained zero-padded months ] artifact: Fixed a bug where uncompressed `.tar` archives were not unpacked after download. ] cli: Fixed a bug where the `-stale` flag was not respected by `nomad operator debug` ] cli: Rework meta commands cli flag logic to handle TLS options individually. ] client: Fixed a bug where clients would ignore the `clientautojoin` setting after losing connection with the servers, causing them to incorrectly fallback to Consul discovery if it was set to `false`. ] client: Fixed a bug where the allocation log streaming API was missing log frames that spanned log file rotation ] client: Fixed a memory and goroutine leak for batch tasks and any task that exits without being shut down from the server ] client: Fixed host network reserved port fingerprinting ] core: Fix missing fields in Node.Copy() ] csi: Fixed a bug where deregistering volumes would attempt to deregister the wrong volume if the ID was a prefix of the intended volume ] csi: Fixed a bug where volume claim releases that were not fully processed before a leadership transition would be ignored ] drivers: Fixed a bug where the

copied from the system was not readable to unprivileged processes within the task ] quotas (Enterprise): Fixed a bug quotas can be incorrectly calculated when nodes fail ranking. ] rpc: Fixed scaling policy get index response when the policy is found ] scheduler: detect, log, and emit `nomad.nomad.plan.node_rejected` metric when an unexpected port collision is detected ] scheduler: Fixed a performance bug where `spread` and node affinity can cause a job to take longer than the nack timeout to be evaluated. ] 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. ] ui: Fix the ACL requirements for displaying the job details page ] SECURITY: Updated to Go 1.17.5. Go 1.17.3 contained 2 CVEs. could allow a task on a Unix system with exhausted file handles to misdirect I/O. could create unbounded memory growth in HTTP2 servers. Nomad servers do not use HTTP2. ] BUG FIXES: scheduler: Fix panic when system jobs are filtered by node class ] SECURITY: Allow limiting QEMU arguments to reduce access to host resources. ] FEATURES: System Batch scheduler*: Run batch jobs cluster-wide with the new 'sysbatch' scheduler. ] BREAKING CHANGES: cli: Renamed folders in `nomad operator debug` bundle for clarity ] 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 . 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 ] IMPROVEMENTS: agent: Added `tls -> rpcupgrademode` to be reloaded on SIGHUP ] agent: Log the cause of failure if agent failed to start ] build: Updated to Go 1.17.1 ] cli: Add `-idempotency-token` option for the `nomad job dispatch` command ] cli: Add `-show-url` option for the `nomad ui` command. ] cli: Add `nomad job allocs` command ] cli: Added support for `-force-color` to the CLI to force colored output. ] cli: Allow specifying namesapce and region in the `nomad ui` command ] cli: Improve `nomad job plan` output for `artifact` and `template` changes ] cli: Improve debug capture for Consul/Vault ] cli: Improve debug namespace and region support ] cli: Improved autocomplete support for job dispatch and operator debug ] cli: Update `nomad operator debug` bundle to include sample of clients by default ] cli: added `hcl2-strict` flag to control HCL2 parsing errors where variable passed without root ] cli: added json and template flag opts to the acl bootstrap command ] cli: the command `node status` now returns `host_network` information as well ] client/plugins/drivermanager: log if there is an error in a driver event ] client: Add network interface name to log output during fingerprint ] client: Allow configuring minimum and maximum host ports used for dynamic ports ] client: Never embed client.alloc_dir in chroots to prevent infinite recursion from misconfiguration. ] consul/connect: Allow `http2` and `grpc` protocols in ingress gateways ] core: Elevated rejected node plan log lines to help diagnose #9506 ] deps: Update `hashicorp/go-discover` to `20210818145131-c573d69da192` ] deps: Update `hashicorp/go-hclog` to

] driver/docker: Added support for Docker's `--init` parameter ] scheduler: Warn users when system and sysbatch evaluations fail to place an allocation ] server: Allow tuning of node failover heartbeat TTL ] ui: Add new chart for `system` and `sysbatch` job status per client ] ui: Display client name as a tooltip where the client ID is used ] ui: Display jobs from all namespaces by default ] ui: Display the Nomad version in the Servers and Clients tables and allow filtering and sorting ] ui: Persist node drain settings in the browser ] ui: Update Nomad UI favicon ] vault: Add JobID and TaskGroup to Vault Token metadata ] BUG FIXES: agent: Fixed an issue that caused some non-JSON log output when `log_json` was enabled ] agent: Fixed an issue that could cause previous log lines to be overwritten ] build: Update go toolchain to 1.17.3 ] cli: Fix support for `group.consul` field in the HCLv1 parser ] client: Added `NOMAD_LICENSE` to default environment variable deny list. ] client: Fixed a bug where network speed fingerprint could fail on Windows ] client: Removed spurious error log messages when tasks complete ] core: Fix a bug to stop running system job allocations once their datacenters are removed from the job ] core: Fixed an issue that created incorrect plan output for jobs with services with the same name. ] csi: Fixed a bug where the client would incorrectly set an empty capacity range for CSI volume creation requests. ] deps: Updated `hashicorp/go-plugin` to v1.4.3 to fix handles leakage on Windows platforms ] driver/exec: Set CPU resource limits when cgroup-v2 is enabled ] jobspec: ensure consistent error handling between var-file & cli vars ] rpc: Set the job deregistration eval priority to the job priority ] rpc: Set the job scale eval priority to the job priority ] server: Fixed a panic on arm64 platform when dispatching a job with a payload ] server: Fixed a panic that may occur when preempting multiple allocations on the same node ] BUG FIXES: cli: Fixed a bug where forcing a periodic job would fail if the job ID prefix-matched other periodic jobs ] BUG FIXES: client/logmon: fixed a bug where logmon cannot find nomad executable ] ui: Fixed a bug that caused the allocation details page to display the stats bar chart even if the task was pending. ] 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. ] vault: Fixed a bug where changing the Vault configuration `namespace` field was not detected as a change during server configuration reload. ] BUG FIXES: acl: Fixed a bug where the timestamp for expiring one-time tokens was not deterministic between servers ] deployments: Fixed a bug that prevented auto-approval if canaries were marked as unhealthy during deployment ] namespaces: Fixed a bug that allowed deleting a namespace that contained a CSI volume ] qemu: restore the monitor socket path when restoring a QEMU task. ] BUG FIXES: api: Fixed a bug where Consul token was not respected for job revert API ] cli: Fixed a bug in the names of the `node drain` and `node status` sub-commands ] client: Fixed a bug where maxkilltimeout client config was ignored ] cni: Fixed a bug where loopback address was not set for all drivers ] core: Fixed a bug where an evicted batch job would not be rescheduled ] core: Fixed a bug where reserved ports on multiple node networks would be treated as a collision. `client.reserved.reservedports` is now merged into each `hostnetwork`'s reserved ports instead of being treated as a collision. ] core: Fixed a bug where the plan applier could deadlock if leader's state lagged behind plan's creation index for more than 5

] csi: Fixed a regression where a timeout was introduced that prevented some plugins from running by marking them as unhealthy after 30s by introducing a configurable `health_timeout` field ] csi: Fixed a scheduler bug where failed feasibility checks would return early and prevent processing additional nodes ] lifecycle: fixed a bug where sidecar tasks were not being stopped last ] ui: Allow running jobs from a namespace-limited token ] ui: Fixed a bug that prevented the UI task exec functionality to work from behind a reverse proxy. ] volumes: Fixed a bug where additions, updates, or removals of host volumes or CSI volumes were not treated as destructive updates ] SECURITY: A vulnerability was identified in the go-getter library that Nomad uses for its artifacts such that a specially crafted Nomad jobspec can be used for privilege escalation onto client agent hosts. ] SECURITY: server: validate mTLS certificate names on agent to agent endpoints ] IMPROVEMENTS: api: Updated the CSI volumes list API to respect wildcard namespaces ] build: upgrade and speedup circleci configuration ] BUG FIXES: Fixed a bug where successful poststart tasks were marked as unhealthy ] api: Apply prefix filter when querying CSI volumes in all namespaces ] cleanup: prevent leaks from time.After ] client: Fixed a bug that could prevent a preempting alloc from ever starting. ] client: Fixed a bug where clients that retry blocking queries would not reset the correct blocking duration ] config: Fixed a bug where the `reservable_cores` setting was not respected ] core: Fixed auto-promotion of canaries in jobs with at least one task group without canaries. ] core: prevent malformed plans from crashing leader ] csi: Fixed a bug where `plugin status` commands could choose the incorrect plugin if a plugin with a name that matched the same prefix existed. ] csi: Fixed a bug where `volume snapshot list` did not correctly filter by plugin IDs. The `-plugin` parameter is

] csi: Fixed a bug where allocations with volume claims would fail their first placement after a reschedule ] csi: Fixed a bug where allocations with volume claims would fail to restore after a client restart ] csi: Fixed a bug where creating snapshots required a plugin ID instead of falling back to the volume's plugin ID ] csi: Fixed a bug where fields were missing from the Read Volume API response ] csi: Fixed a bug where garbage collected nodes would block releasing a volume ] csi: Fixed a bug where per-alloc volumes used the incorrect ID when querying for `alloc status -verbose` ] csi: Fixed a bug where plugin configuration updates were not considered destructive ] csi: Fixed a bug where plugins would not restart if they failed any time after a client restart ] csi: Fixed a bug where plugins written in NodeJS could fail to fingerprint ] csi: Fixed a bug where purging a job with a missing plugin would fail ] csi: Fixed a bug where single-use access modes were not enforced during validation ] csi: Fixed a bug where the maximum number of volume claims was incorrectly enforced when an allocation claims a volume ] csi: Fixed a bug where the plugin instance manager would not retry the initial gRPC connection to plugins ] csi: Fixed a bug where the plugin supervisor would not restart the task if it failed to connect to the plugin ] csi: Fixed a bug where volume snapshot timestamps were always zero values ] csi: Fixed bug where accessing plugins was subject to a data race ] csi: fixed a bug where `volume detach`, `volume deregister`, and `volume status` commands did not accept an exact ID if multiple volumes matched the prefix ] csi: provide `CSI_ENDPOINT` environment variable to plugin tasks ] jobspec: Fixed a bug where connect sidecar resources were ignored when using HCL1 ] scheduler: fixed a bug where in-place updates on ineligible nodes would be ignored ] ui: Fix the link target for CSI volumes on the task detail page ] ui: fix the unit for the task row memory usage metric ] BACKWARDS INCOMPATIBILITIES: ACL authentication is now required for the Nomad API job parse endpoint to address a potential security vulnerability SECURITY: Add ACL requirement and HCL validation to the job parse API endpoint to prevent excessive CPU usage. ] Fix race condition in use of go-getter that could cause a client agent to download the wrong artifact into the wrong destination. ] Prevent panic in spread iterator during allocation stop. ] Resolve symlinks to prevent unauthorized access to files outside the allocation directory. ] BUG FIXES: csi: Fixed a bug where garbage collected allocations could block new claims on a volume ] csi: Fixed a bug where releasing volume claims would fail with ACL errors after leadership transitions. ] csi: Fixed a bug where volume claim releases that were not fully processed before a leadership transition would be ignored ] csi: Unmount volumes from the client before sending unpublish RPC ] BUG FIXES: agent: Validate reserved_ports are valid to prevent unschedulable nodes. ] cli: Fixed a bug where the `-stale` flag was not respected by `nomad operator debug` ] client: Fixed a bug where clients would ignore the `clientautojoin` setting after losing connection with the servers, causing them to incorrectly fallback to Consul discovery if it was set to `false`. ] client: Fixed a memory and goroutine leak for batch tasks and any task that exits without being shut down from the server ] client: Fixed host network reserved port fingerprinting ] core: Fix missing fields in Node.Copy() ] csi: Fixed a bug where deregistering volumes would attempt to deregister the wrong volume if the ID was a prefix of the intended volume ] drivers: Fixed a bug where the `resolv.conf` copied from the system was not readable to unprivileged processes within the task ] quotas (Enterprise): Fixed a bug quotas can be incorrectly calculated when nodes fail ranking. ] rpc: Fixed scaling policy get index response when the policy is found ] scheduler: detect, log, and emit `nomad.nomad.plan.node_rejected` metric when an unexpected port collision is detected ] scheduler: Fixed a performance bug where `spread` and node affinity can cause a job to take longer than the nack timeout to be evaluated. ] 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. ] SECURITY: Updated to Go 1.16.12. Earlier versions of Go contained 2 CVEs. could allow a task on a Unix system with exhausted file handles to misdirect I/O. could create unbounded memory growth in HTTP2 servers. Nomad servers do not use HTTP2. ] SECURITY: Allow limiting QEMU arguments to reduce access to host resources. ] IMPROVEMENTS: cli: Improve debug namespace and region support ] client/plugins/drivermanager: log if there is an error in a driver event ] core: Elevated rejected node plan log lines to help diagnose #9506 ] BUG FIXES: agent: Fixed an issue that caused some non-JSON log output when `log_json` was enabled ] agent: Fixed an issue that could cause previous log lines to be overwritten ] cli: Fix support for `group.consul` field in the HCLv1 parser ] client: Added `NOMAD_LICENSE` to default environment variable deny

] client: Fixed a bug where network speed fingerprint could fail on Windows ] client: Removed spurious error log messages when tasks complete ] csi: Fixed a bug where the client would incorrectly set an empty capacity range for CSI volume creation requests. ] driver/exec: Set CPU resource limits when cgroup-v2 is enabled ] rpc: Set the job deregistration eval priority to the job priority ] rpc: Set the job scale eval priority to the job priority ] server: Fixed a panic on arm64 platform when dispatching a job with a payload ] server: Fixed a panic that may occur when preempting multiple allocations on the same node ] SECURITY: consul/connect: Fixed a bug causing the Nomad agent to panic if a mesh gateway was registered without a `proxy` block. ] IMPROVEMENTS: build: Updated to Go 1.16.8 ] BUG FIXES: client: Fixed a memory leak in log collector when tasks restart ] events: Fixed wildcard namespace handling ] IMPROVEMENTS: client: Allow Docker hostnames to be configured and interpolated in bridged networking mode ] deps: Updated `go-memdb` to `v1.3.2` ] BUG FIXES: audit (Enterprise): Don't timestamp active audit log file. ] cli: Display all possible scores in the allocation status table ] cli: Fixed a bug where the NOMADCLINO_COLOR environment variable was not always applied ] client: Task vars should take precedence over host vars when performing interpolation. ] ui: Fixed an issue that prevented periodic and dispatch jobs in a non-default namespace to be properly rendered ] ui: Fixed an issue when dispatching jobs from a non-default namespace ] SECURITY: Restricted access to the Raft RPC layer, so only servers within the region can issue Raft RPC requests. Previously, local clients and federated servers can issue Raft RPC requests directly. CVE-2021-37218 ] IMPROVEMENTS: build: Updated to Go 1.16.7 ] client: Speed up client startup time ] consul/connect: Reduced the noise of log messages emitted for connect native tasks ] csi: add flag for providing secrets as a set of key/value pairs to list snapshots ] deps: Updated `x/sys` to `20210818153620-00dd8d7831e7` ] scheduler: Re-evaluate nodes for system jobs after attributes changes ] ui: Add header separator between a child job priority and its parent ] BUG FIXES: core: Fixed a bug where system jobs with non-unique IDs may not be placed on new nodes ] agent: Don't timestamp active log file. ] deployments: Fixed a bug where multi-group deployments don't get auto-promoted when one group has no canaries. ] driver/docker: Fixed a bug in the authentication config where not all fields were set ] server: Fixed a bug where planning job update reports spurious in-place updates even if the update includes no changes ] ui: Add ability to search across all namespaces ] ui: Fixed a bug where the "Dispatch Job" button was displayed for non-parameterized jobs ] ui: Fixed a bug where the job dispatch form is not displayed when the job doesn't have meta fields ] IMPROVEMENTS: api: Added `NewSystemJob` helper function to create base system job object. ] audit (Enterprise): allow configuring file mode for audit logs ] build: no longer use vendor directory ] cli: Added a `-task` flag to `alloc restart` and `alloc signal` for consistent UX with `alloc exec` and `alloc logs` ] cli: Support recent job spec construct in the HCLv1 parser ] consul/connect: automatically set CONSULTLSSERVER_NAME for connect native tasks ] dispatch jobs: Added optional idempotency token to `WriteOptions` which prevents Nomad from creating new dispatched jobs for retried requests. ] ui: Added new screen to dispatch a parameterized batch job ] ui: Handle ACL token when running behind a reverse proxy ] BUG FIXES: api: Reverted to using http/1 to fix a 1.1.2 regression in `alloc exec` sessions ] cli: Fixed a bug where `-namespace` flag was not respected for `job run` and `job plan`

] cli: Fixed a panic when deployment monitor is invoked in some CI environments ] cli: Fixed system commands, so they correctly use passed flags ] cli: Fixed the help message for the `nomad alloc signal` command ] client: Fixed a bug where a restarted client may start an already completed tasks in rare conditions ] client: Fixed bug where meta blocks were not interpolated with task environment ] cni: Fixed a bug where fingerprinting of CNI configuration failed with default `cniconfigdir` and `cni_path` ] consul/connect: Avoid assumption of parent service when syncing connect proxies ] consul/connect: Fixed a bug causing high CPU with multiple connect sidecars in one group ] consul/connect: Fixed a bug where service deregistered before connect sidecar ] consul: Fixed a bug where services may incorrectly fail conflicting name validation ] consul: avoid extra sync operations when no action required ] consul: remove ineffective edge case handling on service deregistration ] core: Fixed a bug where affinity memoization may cause planning problems ] core: Fixed a bug where internalized constraint strings broke job plan ] core: Fixed a panic that may arise when upgrading pre-1.1.0 cluster to 1.1.x and may cause cluster outage ] csi: Fixed a bug where volume secrets were not used for creating snapshots. ] csi: fixed a CLI panic when formatting `volume status` with `-verbose` flag ] deps: Update `hashicorp/consul-template` to v0.25.2 to fix panic reading Vault secrets ] driver/docker: Moved the generated `/etc/hosts` file's mount source to the allocation directory so that it can be shared between tasks of an allocation. ] drivers: Fixed bug where Nomad incorrectly reported tasks as recovered successfully even when they were not. ] scheduler: Fixed a bug where updates to the `datacenters` field were not destructive. ] ui: Fixes bug where UI was not detecting namespace-specific capabilities. ] volumes: Fix a bug where the HTTP server would crash if a `volume_mount` block was empty ] IMPROVEMENTS: cli: Added `-monitor` flag to `deployment status` command and automatically monitor deployments from `job run` command. ] cli: Added remainder of available pprof profiles to `nomad operator debug` capture. ] consul/connect: Validate Connect service upstream address uniqueness within task group ] deps: Update gopsutil for multisocket cpuinfo detection performance fix ] docker: Tasks using `network.mode = "bridge"` that don't set their `networkmode` will receive a `/etc/hosts` file that includes the pause container's hostname and any `extrahosts`. ] BUG FIXES: artifact: Fixed support for 5 part vhosted-style AWS S3 buckets. ] artifact: HTTP requests made for artifacts will default to trying HTTP2 first. ] client/fingerprint/java: Fixed a bug where java fingerprinter would not detect some Java distributions ] consul: Fixed a bug where consul check parameters missing in group services ] consul/connect: Fixed an overly restrictive connect constraint ] consul/connect: Fixed a bug where Connect upstreams would not be updated in-place ] deployments: Fixed a bug where unnecessary goroutines were spawned whenever deployments were updated. ] quotas (Enterprise): Fixed a bug where quotas were evaluated before constraints, resulting in quota capacity being used up by filtered nodes. ] FEATURES: Connect Mesh Gateways*: Adds built-in support for running Consul Connect Mesh Gateways ] IMPROVEMENTS: build: Updated to Go 1.16.5 ] cli: Added success confirmation message for `nomad volume delete` and `nomad volume deregister`. ] cli: Cross-namespace `nomad job` commands will now select exact matches if the selection is unambiguous. ] client/fingerprint: Consul fingerprinter probes for additional enterprise and connect related attributes ] consul/connect: Only schedule connect tasks on nodes where connect is enabled in Consul ] csi: Validate that `volume` blocks for CSI volumes include the required `attachmentmode` and `accessmode`

] server: Make deployment rate limiting configurable for high volume loads ] BUG FIXES: api: Fixed event stream connection initialization when there are no events to send ] cli: Fixed a bug where `plugin status` did not validate the passed `type` flag correctly ] cli: Fixed a bug where `quota status` and `namespace status` commands may panic if the CLI targets a pre-1.1.0 cluster ] cli: Fixed a bug where `alloc exec` may fail with "unexpected EOF" without returning the exit code after a command ] consul: Fixed a bug where consul namespace API would be queried even when consul namespaces were not enabled ] consul: Fixed a bug where connect jobs would always fail job submission when allow_unauthenticated was set to false ] csi: Fixed a bug where `mount_options` were not passed to CSI controller plugins for validation during volume creation and mounting. ] csi: Fixed a bug where `capability` blocks were not passed to CSI controller plugins for validation for `nomad volume register` commands. ] client: Fixed a bug where `alloc exec` sessions may terminate abruptly after a few minutes ] drivers/exec: Fixed a bug where `exec` and `java` tasks inherit the Nomad agent's `oomscoreadj` value ] drivers/docker: Fixed a bug where short lived docker tasks may fail with obscure cpuset cgroup errors ] quotas (Enterprise): Fixed a bug where stopped allocations for a failed deployment can be double-credited to quota limits, resulting in a quota limit bypass. ] ui: Fixed a bug where exec would not work across regions. ] ui: Fixed global-search shortcut for non-english keyboards. ] FEATURES: Memory oversubscription*: Improve cluster efficiency by allowing applications, whether containerized or non-containerized, to use memory in excess of their scheduled amount. Reserved CPU cores*: Improve the performance of your applications by ensuring tasks have exclusive use of client CPUs. UI improvements*: Enjoy a streamlined operator experience with fuzzy search, resource monitoring, and authentication improvements. CSI enhancements*: Run stateful applications with improved volume management and support for Container Storage Interface (CSI) plugins such as Ceph. Readiness checks*: Differentiate between application liveness and readiness with new options for task health checks. Remote task drivers (technical preview)*: Use Nomad to manage your workloads on more platforms, such as AWS Lambda or Amazon ECS. Consul namespace support (Enterprise)*: Run Nomad-defined services in their HashiCorp Consul namespaces more easily using Nomad Enterprise. License autoloading (Enterprise)*: Automatically load Nomad licenses when a Nomad server agent starts using Nomad Enterprise. Autoscaling improvements*: Scale your applications more precisely with new strategies. BACKWARDS INCOMPATIBILITIES: csi: The `attachmentmode` and `accessmode` field are required for `volume` blocks in job specifications. Registering a volume requires at least one `capability` block with the `attachmentmode` and `accessmode` fields set. ] drivers/exec+java: Reduce set of linux capabilities enabled by default ] licensing: Enterprise licenses are no longer stored in raft or synced between servers. Loading the Enterprise license from disk or environment is required. The `nomad license put` command has been removed. ] SECURITY: drivers/docker+exec+java: Disable `CAPNETRAW` linux capability by default to prevent ARP spoofing. CVE-2021-32575 ](https://github.com/hashicorp/nomad/issues/10568) IMPROVEMENTS: api: Added an API endpoint for fuzzy search queries ] api: Removed unimplemented `CSIVolumes.PluginList` API. ] api: Added `namespace` field for the jobs list endpoint response ] build: Updated to Go 1.16.3 ] cli: Update defaults for `nomad operator debug` flags `-interval` and `-server-id` to match common usage. ] cli: Support an optional file argument for `volume init` and `quota init` commands ] client/config: Enable sockaddr templating for `network-interface` attribute. ] client/fingerprint: Added support multiple host network aliases for the same interface. ] consul: Allow setting `body` field on service/check Consul health

] consul/connect: Use exponential backoff for consul envoy bootstrap process ] consul/connect: Enable setting `localbindaddress` field on connect upstreams ] consul/connect: Added job-submission validation for Connect sidecar service and group names ] consul/connect: Automatically populate `CONSULHTTPADDR` for connect native tasks in host networking mode. ] consul/connect: Added `disabledefaulttcpcheck` field to `connect.sidecarservice` blocks to disable the default TCP listener check for Connect sidecar tasks. ] core: Persist metadata about most recent drain in Node.LastDrain ] csi: Added support for jobs to request a unique volume ID per allocation. ] driver/docker: Added support for optional extra container labels. ] driver/docker: Added support for configuring default logger behavior in the client configuration. ] metrics: Added blocked evaluation resources metrics ] networking: Added support for user-defined iptables rules on the NOMAD-ADMIN chain. ] networking: Added support for interpolating host network names with node attributes. ] nomad/structs: Removed deprecated Node.Drain field, added API extensions to restore it ] ui: Added a job reversion button ] ui: Added memory maximum to task group ribbon ] ui: Updated global search to use fuzzy search API ] ui: Changed displays of aggregate units to use larger suffixes when appropriate ] ui: Added resource reservation indicators on client charts and task breakdowns on allocation charts ] BUG FIXES: core (Enterprise): Update licensing library to v0.0.11 to include race condition fix. ] agent: Only allow querying Prometheus formatted metrics if Prometheus is enabled within the config ] api: Ensured that `api.LicenseGet` returned response meta data ] api: Added missing devices block to AllocatedTaskResources ] api: Fixed a panic that may occur on concurrent access to an SDK client ] cli: Fixed a bug where non-int proxy port would panic CLI ] cli: Fixed a bug where `snapshot agent` command panics on launch ] cli: Remove extra linefeeds in monitor.log files written by `nomad operator debug`. ] cli: Fixed a bug where parsing HCLv2 may panic on some variable interpolation syntax ] ] cli: Fixed a bug where `nomad operator debug` incorrectly parsed https Consul API URLs. ] cli: Fixed a panic where `nomad job run` or `plan` would crash when supplied with non-existent `-var-file` files. ] client: Fixed log formatting when killing tasks. ] client: Added handling for cgroup-v2 memory metrics ] client: Only publish measured allocation memory metrics ] client: Fixed a bug where small files would be assigned the wrong content type. ] consul/connect: Fixed a bug where job plan always different when using expose checks. ] consul/connect: Fixed a bug where HTTP ingress gateways could not use wildcard names. ] cni: Fallback to an interface with an IP address if sandbox interface lacks one. ] csi: Fixed a bug where volume with IDs that are a substring prefix of another volume could use the wrong volume for feasibility checking. ] drivers/docker: Fixed a bug where Dockerfile `STOPSIGNAL` was not honored. ] drivers/raw_exec: Fixed a bug where exit codes could be dropped and return a spurious error. ] scheduler: Fixed a bug where Nomad reports negative or incorrect running children counts for periodic jobs. ] scheduler: Fixed a bug where jobs requesting multiple CSI volumes could be incorrectly scheduled if only one of the volumes passed feasibility checking. ] service: Fixed a bug where new script checks would not be added on job

] server: Fixed a bug affecting periodic job summary counts ] server: Fixed a bug where draining a node may fail to migrate its allocations ] server: Fixed a bug where jobs may not run if submitted with ParentID field set ] server: Fixed a panic that may arise on submission of jobs containing invalid service checks ] ui: Fixed the rendering of interstitial components shown after processing a dynamic application sizing recommendation. ] BACKWARDS INCOMPATIBILITIES: ACL authentication is now required for the Nomad API job parse endpoint to address a potential security vulnerability SECURITY: Add ACL requirement and HCL validation to the job parse API endpoint to prevent excessive CPU usage. ] Fix race condition in use of go-getter that could cause a client agent to download the wrong artifact into the wrong destination. ] Prevent panic in spread iterator during allocation stop. ] Resolve symlinks to prevent unauthorized access to files outside the allocation directory. ] BUG FIXES: csi: Fixed a bug where garbage collected allocations could block new claims on a volume ] csi: Fixed a bug where releasing volume claims would fail with ACL errors after leadership transitions. ] csi: Fixed a bug where volume claim releases that were not fully processed before a leadership transition would be ignored ] csi: Unmount volumes from the client before sending unpublish RPC ] BUG FIXES: agent: Validate reserved_ports are valid to prevent unschedulable nodes. ] cli: Fixed a bug where the `-stale` flag was not respected by `nomad operator debug` ] client: Fixed a bug where clients would ignore the `clientautojoin` setting after losing connection with the servers, causing them to incorrectly fallback to Consul discovery if it was set to `false`. ] client: Fixed a memory and goroutine leak for batch tasks and any task that exits without being shut down from the server ] client: Fixed host network reserved port fingerprinting ] core: Fix missing fields in Node.Copy() ] csi: Fixed a bug where deregistering volumes would attempt to deregister the wrong volume if the ID was a prefix of the intended volume ] drivers: Fixed a bug where the `resolv.conf` copied from the system was not readable to unprivileged processes within the task ] quotas (Enterprise): Fixed a bug quotas can be incorrectly calculated when nodes fail ranking. ] rpc: Fixed scaling policy get index response when the policy is found ] scheduler: detect, log, and emit `nomad.nomad.plan.node_rejected` metric when an unexpected port collision is detected ] scheduler: Fixed a performance bug where `spread` and node affinity can cause a job to take longer than the nack timeout to be evaluated. ] 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. ] SECURITY: Updated to Go 1.16.12. Earlier versions of Go contained 2 CVEs. could allow a task on a Unix system with exhausted file handles to misdirect I/O. could create unbounded memory growth in HTTP2 servers. Nomad servers do not use HTTP2. ] SECURITY: Allow limiting QEMU arguments to reduce access to host resources. ] IMPROVEMENTS: cli: Improve debug namespace and region support ] cli: Update defaults for `nomad operator debug` flags `-interval` and `-server-id` to match common usage ] client/plugins/drivermanager: log if there is an error in a driver event ] core: Elevated rejected node plan log lines to help

#9506 ] BUG FIXES: agent: Fixed an issue that caused some non-JSON log output when `log_json` was enabled ] agent: Fixed an issue that could cause previous log lines to be overwritten ] client: Fixed a bug where network speed fingerprint could fail on Windows ] client: Removed spurious error log messages when tasks complete ] driver/exec: Set CPU resource limits when cgroup-v2 is enabled ] rpc: Set the job deregistration eval priority to the job priority ] rpc: Set the job scale eval priority to the job priority ] server: Fixed a panic that may occur when preempting multiple allocations on the same node ] IMPROVEMENTS: build: Updated to Go 1.15.15 ] BUG FIXES: client: Fixed a memory leak in log collector when tasks restart ] events: Fixed wildcard namespace handling ] IMPROVEMENTS: deps: Updated `go-memdb` to `v1.3.2` ] BUG FIXES: audit (Enterprise): Don't timestamp active audit log file. ] cli: Display all possible scores in the allocation status table ] cli: Fixed a bug where the NOMADCLINO_COLOR environment variable was not always applied ] client: Task vars should take precedence over host vars when performing interpolation. ] SECURITY: Restricted access to the Raft RPC layer, so only servers within the region can issue Raft RPC requests. Previously, local clients and federated servers can issue Raft RPC requests directly. CVE-2021-37218 ] BUG FIXES: core: Fixed a bug where system jobs with non-unique IDs may not be placed on new nodes ] agent: Don't timestamp active log file. ] deployments: Fixed a bug where multi-group deployments don't get auto-promoted when one group has no canaries. ] driver/docker: Fixed a bug in the authentication config where not all fields were set ] server: Fixed a bug where planning job update reports spurious in-place updates even if the update includes no changes ] BUG FIXES: core: Fixed a bug where internalized constraint strings broke job plan ] core: Fixed a bug where affinity memoization may cause planning problems ] cli: Fixed a bug where `-namespace` flag was not respected for `job run` and `job plan` commands. ] client: Fixed a bug where a restarted client may start an already completed tasks in rare conditions ] client: Fixed bug where meta blocks were not interpolated with task environment ] cni: Fixed a bug where fingerprinting of CNI configuration failed with default `cniconfigdir` and `cni_path` ] consul: Fixed a bug where services may incorrectly fail conflicting name validation ] deps: Update `hashicorp/consul-template` to v0.25.2 to fix panic reading Vault secrets ] drivers: Fixed bug where Nomad incorrectly reported tasks as recovered successfully even when they were not. ] scheduler: Fixed a bug where updates to the `datacenters` field were not destructive. ] volumes: Fix a bug where the HTTP server would crash if a `volume_mount` block was empty ] BUG FIXES: artifact: Fixed support for 5 part vhosted-style AWS S3 buckets. ] artifact: HTTP requests made for artifacts will default to trying HTTP2 first. ] client/fingerprint/java: Fixed a bug where java fingerprinter would not detect some Java distributions ] consul: Fixed a bug where consul check parameters missing in group services ] consul/connect: Fixed a bug where Connect upstreams would not be updated in-place ] deployments: Fixed a bug where unnecessary goroutines were spawned whenever deployments were updated. ] quotas (Enterprise): Fixed a bug where quotas were evaluated before constraints, resulting in quota capacity being used up by filtered nodes. ] quotas (Enterprise): Fixed a bug where stopped allocations for a failed deployment can be double-credited to quota limits, resulting in a quota limit

BUG FIXES: api: Fixed event stream connection initialization when there are no events to send ] cli: Fixed a bug where `plugin status` did not validate the passed `type` flag correctly ] cli: Fixed a bug where `alloc exec` may fail with "unexpected EOF" without returning the exit code after a command ] client: Fixed a bug where `alloc exec` sessions may terminate abruptly after a few minutes ] drivers/exec: Fixed a bug where `exec` and `java` tasks inherit the Nomad agent's `oomscoreadj` value ] ui: Fixed a bug where exec would not work across regions. ] ui: Fixed global-search shortcut for non-english keyboards. ] BUG FIXES: core (Enterprise): Update licensing library to v0.0.11 to include race condition fix. ] agent: Only allow querying Prometheus formatted metrics if Prometheus is enabled within the config ] api: Ensured that `api.LicenseGet` returned response meta data ] api: Added missing devices block to AllocatedTaskResources ] api: Fixed a panic that may occur on concurrent access to an SDK client ] cli: Fixed a bug where non-int proxy port would panic CLI ] cli: Fixed a bug where `snapshot agent` command panics on launch ] cli: Remove extra linefeeds in monitor.log files written by `nomad operator debug`. ] cli: Fixed a bug where parsing HCLv2 may panic on some variable interpolation syntax ] ] cli: Fixed a bug where `nomad operator debug` incorrectly parsed https Consul API URLs. ] cli: Fixed a panic where `nomad job run` or `plan` would crash when supplied with non-existent `-var-file` files. ] client: Fixed log formatting when killing tasks. ] client: Added handling for cgroup-v2 memory metrics ] client: Only publish measured allocation memory metrics ] client: Fixed a bug where small files would be assigned the wrong content type. ] consul/connect: Fixed a bug where job plan always different when using expose checks. ] consul/connect: Fixed a bug where HTTP ingress gateways could not use wildcard names. ] cni: Fallback to an interface with an IP address if sandbox interface lacks one. ] csi: Fixed a bug where volume with IDs that are a substring prefix of another volume could use the wrong volume for feasibility checking. ] drivers/docker: Fixed a bug where Dockerfile `STOPSIGNAL` was not honored. ] drivers/raw_exec: Fixed a bug where exit codes could be dropped and return a spurious error. ] scheduler: Fixed a bug where Nomad reports negative or incorrect running children counts for periodic jobs. ] scheduler: Fixed a bug where jobs requesting multiple CSI volumes could be incorrectly scheduled if only one of the volumes passed feasibility checking. ] service: Fixed a bug where new script checks would not be added on job updates. ] server: Fixed a bug affecting periodic job summary counts ] server: Fixed a bug where draining a node may fail to migrate its allocations ] server: Fixed a bug where jobs may not run if submitted with ParentID field set ] server: Fixed a panic that may arise on submission of jobs containing invalid service checks ] ui: Fixed the rendering of interstitial components shown after processing a dynamic application sizing recommendation. ] SECURITY: drivers/docker+exec+java: Disable `CAPNETRAW` linux capability by default to prevent ARP spoofing. CVE-2021-32575 ](https://github.com/hashicorp/nomad/issues/10568) FEATURES: Terminating Gateways*: Adds built-in support for running Consul Connect terminating gateways ] IMPROVEMENTS: api: Added OSS handling for license request to stop spurious errors from appearing in the logs ] agent: Removed leading whitespace from JSON-formatted log output. ] cli: Added optional `-task <task-name>` flag to `alloc logs` to match `alloc exec` ] cli: Improved `scaling policy` commands with -verbose, auto-completion, and prefix-matching ] consul/connect: Enable custom sidecar tasks to use connect expose checks ] consul/connect: Added validation to prevent `connect` blocks from being added to task services. ] consul/connect: Made handling of sidecar task container image URLs consistent with the `docker` task driver. ] drivers/exec+java: Added client plugin and task configuration options to re-enable previous PID/IPC namespace behavior ] ] ui: Added button to fail running deployments ] ui: Reduced bundle size by removing support for IE 11 ] BUG FIXES: cli: Fixed a bug where some fields in `dynamic` blocks were not

] cli: Fixed a bug where unset HCL2 variables would panic the CLI if the type was also not set. ] consul: Fixed a bug where failing tasks with group services would only cause the allocation to restart once instead of respecting the `restart` field. ] consul/connect: Fixed a bug where gateway proxy connection default timeout not set ] consul/connect: Fixed a bug preventing more than one connect gateway per Nomad client ] consul/connect: Fixed a bug where connect sidecar services would be re-registered unnecessarily. ] consul/connect: Fixed a bug where the sidecar health checks would fail if `host_network` was defined. ] consul/connect: Fixed a bug where tasks with connect services might be updated when no update necessary. ] deployments: Fixed a bug where deployments with multiple task groups and manual promotion would fail if promoted after the progress deadline. ] drivers/docker: Fixed a bug preventing multiple ports to be mapped to the same container port ] driver/qemu: Fixed a bug where network namespaces were not supported for QEMU workloads ] nomad/structs: Fixed a bug where static ports with the same value but different `host_network` were invalid ] scheduler: Fixed a bug where shared ports were not persisted during inplace updates for service jobs. ] scheduler: Fixed a bug where job statuses and summaries where duplicated and miscalculated when registering a job. ] scheduler: Fixed a bug that caused the scheduler not to detect changes for `host_network` port field. ] scheduler (Enterprise): Fixed a bug where the deprecated network `mbits` field was being considered as part of quota enforcement. ] ui: Fixed exec command escaping of emoji in task names ] ui: Consistently use the correct MHz shorthand throughout the UI ] ui: Fixed inconsistent namespace casing in the namespace selector ] ui: Always draw allocation associations if the alloc count is less than 10 ] ui: Fixed incorrect text alignment in the topology visualization in Firefox ] ui: Fixed node composite status so being down takes priority over being ineligible ] ui: Don't count reservations of terminal allocations in the topology visualization ] ui: Use server-sent error messages when applicable (e.g., when a task can't be stopped) ] ui: Send the region query param when making cross-region client/server monitor requests ] ui: Fixed a bug where namespaces were not being included when opening exec windows from allocations and tasks ] ui: Don't draw allocation associations in the topology visualization on window resize when the associations aren't supposed to be shown ] volumes: Fixed a bug where volume diffs were not displayed in the output of `nomad plan`. ] SECURITY: drivers/exec+java: Modified exec-based drivers to run tasks in private PID/IPC namespaces. CVE-2021-3283 ] IMPROVEMENTS: artifact: Added support for virtual host style AWS S3 paths. ] build: Updated to Go 1.15.6. ] client: Improve support for AWS Graviton instances ] consul/connect: Interpolate the connect, service meta, and service canary meta blocks with the task environment ] consul/connect: enable configuring custom gateway task ] cli: Added JSON/go template formatting to agent-info command. ] BUG FIXES: client: Fixed a bug where non-`docker` tasks with network isolation were restarted on client restart. ] client: Fixed a bug where clients configured with `cputotalcompute` did not update the `cpu.totalcompute` node

] client: Fixed an fingerprinter issue detecting bridge kernel module on RHEL ] core: Fixed a bug where an in place update dropped an allocations shared allocated resources ] consul: Fixed a bug where updating a task to include services would not work ] consul: Fixed alloc address mode port advertisement to use the mapped `to` port value ] consul/connect: Fixed a bug where absent ingress envoy proxy configuration could panic client ] consul/connect: Fixed a bug where in-place upgrade of Nomad client running Connect enabled jobs would panic ] lifecycle: Fixed a bug where poststop breaks deployments with consul service checks ] template: Fixed multiple issues in template src/dest and artifact dest interpolation ] template: Fixed a bug where dynamic secrets did not trigger the template `change_mode` after a client restart. ] scaling: Fixed a bug where job scaling endpoint did not enforce scaling policy min/max ] server: Fixed a bug where new servers may bootstrap prematurely when configured with `bootstrap_expect = 0` ] ui: The topology visualization will now render a subset of nodes instead of nothing when some nodes are running nomad <0.9.0 ] IMPROVEMENTS: drivers/docker: Added a new syntax for specifying `mount` ] BUG FIXES: core: Fixed a bug where ACLToken and ACLPolicy changes were ignored by the event stream ] core: Fixed a bug to honor HCL2 variables set by environment variables or variable files ] ] cli: Fixed a bug in the node count for the `nomad operator debug` command. ] cni: Fixed a bug where plugins that do not set the interface sandbox value could crash the Nomad client. ] consul/connect: Fixed a bug where client meta.connect.sidecar_image configuration was ignored ] consul/connect: Fixed a bug where client meta.connect.proxy_concurrency was not applied to connect gateways ] FEATURES: Event Stream*: Subscribe to change events as they occur in real time. ] Namespaces OSS*: Namespaces are now available in open source Nomad. ] Topology Visualization*: See all of the clients and allocations in a cluster at once. ] HCL 2*: Job files can contain variables, expressions, and advanced templating. PostStop*: Tasks can now run after all other tasks have finished ] IMPROVEMENTS: core: Improved job deregistration error logging. ] acl: Allow operators with `namespace:dispatch-job` capability to force periodic job invocation ] api: Added support for cancellation contexts to HTTP API. ] api: Job Register API now permits non-zero initial Version to accommodate multi-region deployments. ] api: Added ?resources=true query parameter to /v1/nodes and /v1/allocations to include resource allocations in listings. ] api: Added ?task_states=false query parameter to /v1/allocations to remove TaskStates from listings. Defaults to being included as before. ] build: Updated to Go 1.15.5. ] cli: Added autocompletion for `recommendation` commands ] cli: Added client node filtering arguments to `nomad operator debug` command. ] cli: Added goroutine debug pprof output and server-id=all to `nomad operator debug` capture. ] cli: Added metrics to `nomad operator debug` capture. ] cli: Added pprof duration and CSI details to `nomad operator debug` capture. ] cli: Added `scale` and `scaling-events` subcommands to the `job` command. ] cli: Added `scaling` command for interaction with the scaling API endpoint. ] client: Use ec2 CPU perf data from AWS API ] client: Added support for Azure fingerprinting. ] client: Batch state store writes to reduce disk IO. ] client: Reduce rate of sending allocation updates when servers are slow. ] client: Added support for fingerprinting the client node's Consul segment. ] client: Added `NOMADJOBID` and `NOMADPARENTJOB_ID` environment variables to those made available to jobs. ] client: Updated consul-template to v0.25.1 - config `functionblacklist` deprecated and replaced with `functiondenylist` ] config: Deprecated terms `blacklist` and `whitelist` from configuration and replaced them with `denylist` and `allowlist`. ] consul: Support advertising CNI and multi-host network addresses to consul ] consul: Support Consul namespace (Consul Enterprise) in client

] consul/connect: Dynamically select envoy sidecar at runtime ] consul/connect: Enable setting `datacenter` field on connect upstreams ] consul/connect: Envoy concurrency now defaults to 1 rather than number of cores ] csi: Support `nomad volume detach` with previously garbage-collected nodes. ] csi: Relaxed validation requirements when checking volume capabilities with controller plugins, to accommodate existing plugin behaviors. ] driver/docker: Upgrade pause container and detect architecture ] driver/docker: Support pinning tasks to specific CPUs with `cpuset_cpus` option. ] driver/raw_exec: Honor the task user setting when a user runs `nomad alloc exec` ] jobspec: Lowered minimum CPU allowed from 20 to 1. ] jobspec: Added support for `headers` option in `artifact` stanza ] BACKWARDS INCOMPATIBILITIES: core: null characters are prohibited in region, datacenter, job name/ID, task group name, and task name ] csi: registering a CSI volume with a `block-device` attachment mode and `mountoptions` now returns a validation error, instead of silently dropping the `mountoptions`. ] driver/docker: Tasks are now issued SIGTERM instead of SIGINT when stopping ] telemetry: removed backwards compatible/untagged metrics deprecated in 0.7 ] BUG FIXES: agent (Enterprise): Fixed a bug where audit logging caused websocket and streaming http endpoints to fail ] core: Fixed a bug where ACL handling prevented cross-namespace allocation listing ] core: Fixed a bug where AllocatedResources contained increasingly duplicated ports ] core: Fixed a bug where group level network ports not usable by task resource network stanza ] core: Fixed a bug where scaling policy filtering would ignore type query if job query was present ] core: Fixed a bug where a request to scale a job would fail if the job was not in the default namespace. ] core: Fixed a bug where blocking queries would not include the query's maximum wait time when calculating whether it was safe to retry. ] config (Enterprise): Fixed default enterprise config merging. ] client: Fixed an fingerprinter issue detecting bridge kernel module ] client: Fixed an issue with the Java fingerprinter on macOS causing pop-up notifications when no JVM installed. ] client: Fixed an issue in processing device plugin fingerprints which would temporarily hang nomad if no devices were found ] client: Fixed an in-place upgrade bug, where a Nomad client may fail to manage tasks that were started with pre-0.9 Nomad client. ] consul: Fixed a bug where canary_meta was not being interpolated with environment variables ] consul: Fixed a bug to correctly validate task when using script-checks in group-level services ] consul: Fixed a bug that caused connect sidecars to be re-registered in Consul every 30 seconds ] consul/connect: Fixed a bug to correctly trigger updates on jobspec changes ] csi: Fixed a bug where multi-writer volumes were allowed only 1 write claim. ] csi: Fixed a bug where garbage collection of plugins could prevent volume claim release. ] csi: Fixed a bug where concurrent updates to volumes could result in inconsistent state. ] csi: Fixed a bug where `nomad volume detach` would not accept prefixes for the node ID parameter. ] csi: Fixed a bug where `nomad alloc status -verbose` would display an error when querying volumes. ] csi: Fixed a bug where queries for CSI plugins could be interleaved, resulting in inconsistent counts of plugins. ] driver/docker: Fixed a bug where the Docker daemon could block longer than the `kill_timeout`. driver/docker: Fixed a bug where the default `image_delay` configuration was ignored if the `gc` configuration was not set. ] driver/rawexec: Fixed a bug where rawexec attempts to create a freezer cgroups for the tasks even when `no_cgroups` is set. ] scheduler: Fixed a bug where where system jobs would bind on all interfaces instead of the specified `host_network`. ] ui: Fixed a bug in the volume list page where allocation counts were not

] ui: Fixed a bug in the volume status page where read allocations and write allocations were not displayed. ] ui: Fixed a bug in the CSI volume and plugin status pages where plugins that don't require controllers were shown as unhealthy. ] SECURITY: drivers/docker+exec+java: Disable `CAPNETRAW` linux capability by default to prevent ARP spoofing. CVE-2021-32575 ](https://github.com/hashicorp/nomad/issues/10568) BUG FIXES: server: Backport from v1.0.2 - Fixed a bug where new servers may bootstrap prematurely when configured with `bootstrap_expect = 0` ] SECURITY: drivers/exec+java: Modified exec-based drivers to run tasks in private PID/IPC namespaces. CVE-2021-3283 ] BUG FIXES: client: Fixed a regression where `NOMAD{ALLOC,TASK,SECRETS}DIR` variables would cause an error when interpolated into `template.source` stanzas. ] SECURITY: docker: Fixed a bug where the `docker.volumes.enabled` configuration was not set to the default `false` if left unset. CVE-2020-28348 ] docker: Fixed a bug where Docker driver mounts of type "volume" (but not "bind") were not sandboxed when `docker.volumes.enabled` is set to `false`. The `docker.volumes.enabled` configuration will now disable Docker mounts with type "volume" when set to `false`. CVE-2020-28348 ] BUG FIXES: client: Fixed an in-place upgrade bug, where a Nomad client may fail to manage tasks that were started with pre-0.9 Nomad client. ] BUG FIXES: artifact: Fixed a regression in 0.12.6 where if the artifact `destination` field is an absolute path it is not appended to the task working directory, breaking the use of `NOMADSECRETSDIR` as part of the destination path. ] template: Fixed a regression in 0.12.6 where if the template `destination` field is an absolute path it is not appended to the task working directory, breaking the use of `NOMADSECRETSDIR` as part of the destination path. ] SECURITY: artifact: Fixed a bug where interpolation can be used in the artifact `destination` field to write artifact payloads outside the allocation directory. CVE-2020-27195 ] template: Fixed a bug where interpolation can be used in the template `source` and `destination` fields to read or write files outside the allocation directory even when `disablefilesandbox` was set to `false` (the default). CVE-2020-27195 ] template: Fixed a bug where the `disablefilesandbox` configuration was only respected for the template `file` function and not the template `source` and `destination` fields. CVE-2020-27195 ] BUG FIXES: core: Fixed a panic on job submission when the job contains a service with `expose = true` set ] core: Fixed a regression where stopping the sole job allocation result in two replacement allocations ] core: Fixed a bug where an allocation may be left running expectedly despite promoting a new job version ] cli: Fixed the whitespace in nomad monitor help output ] cli: Updated job samples to avoid using deprecated task level networks and mbit syntax ] cli: Fixed a bug where alloc signal fails if the CLI cannot contact the Nomad client directly ] cli: Fixed a bug where host volumes could cause `nomad node status` to panic when the `-verbose` flag was used. ] ui: Fixed ability to switch between tasks in alloc exec sessions ] ui: Task log streaming will no longer suddenly flip to a different task's logs. ] FEATURES: Consul Ingress Gateways*: Support for Consul Connect Ingress Gateways ] IMPROVEMENTS: api: Added node purge SDK functionality. ] api: Added an option to stop multiregion jobs globally. ] core: Added `poststart` hook to task lifecycle ] csi: Improved the accuracy of plugin `Expected` allocation counts. ] driver/docker: Allow configurable image pull context timeout setting. ] ui: Added exec keepalive

] BUG FIXES: core: Fixed a bug where unpromoted job versions are used when rescheduling failed allocations ] core: Fixed a bug where servers become unresponsive when cron jobs containing zero-padded months ] core: Fixed bugs where scaling policies could be matched against incorrect jobs with a similar prefix ] core: Fixed a bug where garbage collection evaluations that failed or spanned leader elections would be re-enqueued forever. ] core (Enterprise): Fixed a bug where enterprise servers may self-terminate as licenses are ignored after a Raft snapshot restore. ] cli (Enterprise): Fixed a panic in `nomad operator snapshot agent` if local path is not set ] client: Fixed a bug where `nomad operator debug` could cause a client agent to panic when the `-node-id` flag was used. ] csi: Fixed a bug where errors while connecting to plugins could cause a panic in the Nomad client. ] csi: Fixed a bug where querying CSI volumes would cause a panic if an allocation that claimed the volume had been garbage collected but the claim was not yet dropped. ] deployments (Enterprise): Fixed a bug where counts could not be changed in the web UI for multiregion jobs. ] deployments (Enterprise): Fixed a bug in multi-region deployments where a region that was dropped from the jobspec was not deregistered. ] docker: Fixed a bug where configuring DNS options in `bridge` or `cni` mode would prevent the container from being created. ] exec: Fixed a bug causing escape characters to be missed in special cases ] plan: Fixed a bug where plans always included a change for the `NomadTokenID`. ] BUG FIXES: csi: Fixed a panic in the API affecting both plugins and volumes. ] FEATURES: Multiple Vault Namespaces (Enterprise)*: Support for multiple Vault Namespaces ] Scaling Observability UI*: View changes in task group scale (both manual and automatic) over time. ] IMPROVEMENTS: cli: Move the `debug` command to `nomad operator debug` ] consul/connect: Added support for bridge networks with Connect Native tasks ] consul: Added support for setting `successbeforepassing` and `failuresbeforecritical` on consul service checks. ] csi: Added a `nomad volume detach` command to manually detach unused volumes. ] BUG FIXES: core: Fixed a bug where `nomad job plan` reports success and no updates if the job contains a scaling policy ] api: Added missing namespace field to scaling status GET response object ] api: Do not allow submission of jobs of type `system` that include task groups with scaling stanzas ] build: Updated to Go 1.14.7. Go 1.14.6 contained a CVE that is not believed to impact Nomad ] csi: Fixed a bug where ACL tokens were not used to call internal RPCs. ] csi: Fixed a bug where volumes could not be detached during node drains. ] csi: Fixed a bug where allocations in the API were omitted from plugins and volumes. ] csi: Fixed a bug where controller plugin RPCs would not be retried to a second controller if available. ] csi: Fixed a bug where retries of plugin RPCs would not gracefully resume from checkpoints in the workflow. ] csi: Fixed a bug causing errors during client deregistration if CSI node plugins did not fingerprint after stopping. ] csi: Fixed a bug where the `NodePublish` workflow incorrectly created target paths that should be created by the CSI plugin. ] csi: Fixed a bug in `nomad node status` where volumes attached to a node for an improperly cleaned-up allocation caused a panic in the CLI. ] deployments: Fixed a bug where Nomad Enterprise multi-region deployments would not leave "pending" status if namespaces were also in use. vault: Fixed a bug where vault integration fails if Vault's /sys/init endpoint is disabled ] vault: Fixed a bug where upgrades from pre-0.11.3 that use Vault can lead to memory spikes and write large Raft

] ui: Fixed various accessibility audit failures ] ui: Fixed global search navigation where job name ID ] ui: Fixed slow global search rendering by truncating results ] SECURITY: build: Updated to Go 1.14.6. Go 1.14.5 contained 2 CVEs which are low severity for Nomad ] IMPROVEMENTS: device/nvidia: Added a plugin config option to disable the plugin ] BUG FIXES: core: Fixed an atomicity bug where a job may fail to start if leadership transition occured while processing the job ] core: Fixed a regression bug where jobs with group level networking stanza fail to be scheduled with "missing network" constraint error ] core (Enterprise): Fixed a bug where users were not given full 6 hours to apply initial license when upgrading from unlicensed versions of Nomad. ] client: Fixed a bug where `network_interface` client configuration was ignored ] jobspec: Fixed validation of multi-region datacenters to allow empty region `datacenters` to default to job-level `datacenters` ] scheduler: Fixed a bug in Nomad Enterprise where canaries were not being created during multi-region deployments ] ui: Fixed stale namespaces after changing acl tokens ] ui: Fixed inclusion of allocation when opening exec window ] ui: Fixed layout of parameterized/periodic job title elemetns ] ui: Fixed order of column headers in client allocations table ] ui: Fixed missing namespace query param after changing acl tokens ] ui: Fixed exec to derive group and task when possible from allocation ] ui: Fixed runtime error when clicking "Run Job" while a prefix filter is set ] ui: Fixed the absence of the region query parameter on various actions, such as job stop, allocation restart, node drain. ] ui: Fixed issue where an orphaned child job would make it so navigating to a job detail page would hang the UI ] ui: Fixed issue where clicking View Raw File in a non-default region would not provide the region param resulting in a 404 ] vault: Fixed a bug where vault identity policies not considered in permissions check ] FEATURES: Preemption*: Preemption is now an open source feature Licensing (Enterprise)*: Nomad Enterprise now requires a license ] Multiregion Deployments (Enterprise)*: Nomad Enterprise now enables orchestrating deployments across multiple regions. ] Snapshot Backup and Restore*: Nomad eases disaster recovery with new endpoints and commands for point-in-time snapshots. Debug Log Archive*: Nomad debug captures state and logs to facilitate support ] Container Network Interface (CNI)*: Support for third-party vendors using the CNI plugin system. ] Multi-interface Networking*: Support for scheduling on specific network interfaces. ] Consul Connect Native*: Support for running Consul Connect Native tasks. ] Global Search*: Access jobs and clients from anywhere in the UI using the always available global search bar. ] Monitor UI*: Stream client and agent logs from the UI just like you would with the nomad monitor CLI command. ] Scaling UI*: Quickly adjust the count of a task group from the UI for task groups with a scaling declaration. ] BACKWARDS INCOMPATIBILITIES: driver/docker: The Docker driver no longer allows binding host volumes by default. Operators can set `volume` `enabled` plugin configuration to restore previous permissive behavior. ] driver/docker: The Docker driver's `port_map` configuration is deprecated in lieu of the `ports` field. driver/qemu: The Qemu driver requires images to reside in a operator-defined paths allowed for task access. ] IMPROVEMENTS: core: Support for persisting previous task group counts when updating a job ] core: Block

actions when the job is under active deployment ] api: Better error messages around Scaling->Max ] api: Persist previous count with scaling events ] api: Support querying for jobs and allocations across all namespaces ] api: New `/agent/host` endpoint returns diagnostic information about the host ] build: Updated to Go 1.14.4 ] build: Switched to Go modules for dependency management ] connect: Infer service task parameter where possible ] csi: Added `-force` flag to `nomad volume deregister` ] networking: Omitting the `port.to` field defaults to mapping to the same port value as the dynamically assigned port. ] server: Added `raft_multiplier` config to tweak Raft related timeouts ] BUG FIXES: cli: Fixed malformed alloc status address list when listing more than 1 address ] client: Fixed a bug where stdout/stderr were not properly reopened for community task drivers ] client: Fixed a bug where batch job sidecars may be left running after the main task completes ] connect: Fixed a bug where custom `sidecar_task` definitions were being shared ] csi: Fixed a bug where `NodeStageVolume` and `NodePublishVolume` requests were not receiving volume context ] driver/docker: Fixed a bug to set correct value for `memory-swap` when using `memoryhardlimit` ] ui: The log streamer will now always follow logs when the current scroll position is the end of the buffer. ] ui: The task group detail page no longer makes excessive requests to the allocation and stats endpoints. ] ui: Polling endpoints that have yet to be fetched normally works as expected (regression from 0.11.3). ] BUG FIXES: client: Backport from v0.12.9 - Fixed a regression where `NOMAD{ALLOC,TASK,SECRETS}DIR` variables would cause an error when interpolated into `template.source` stanzas. ] SECURITY: docker: Backport from v0.12.8 - Fixed a bug where Docker driver mounts of type "volume" (but not "bind") were not sandboxed when `docker.volumes.enabled` is set to `false`. The `docker.volumes.enabled` configuration will now disable Docker mounts with type "volume" when set to `false`. CVE-2020-28348 ] BUG FIXES: client: Backport from v0.12.8 - Fixed an in-place upgrade bug, where a Nomad client may fail to manage tasks that were started with pre-0.9 Nomad client. ] BUG FIXES: artifact: Backport from v0.12.7 - Fixed a regression in 0.11.5 where if the artifact `destination` field is an absolute path it is not appended to the task working directory, breaking the use of `NOMADSECRETSDIR` as part of the destination path. ] template: Backport from v0.12.7 - Fixed a regression in 0.11.5 where if the template `destination` field is an absolute path it is not appended to the task working directory, breaking the use of `NOMADSECRETSDIR` as part of the destination path. ] SECURITY: artifact: Backport from v0.12.6 - Fixed a bug where interpolation can be used in the artifact `destination` field to write artifact payloads outside the allocation directory. CVE-2020-27195 ] template: Backport from v0.12.6 - Fixed a bug where interpolation can be used in the template `source` and `destination` fields to read or write files outside the allocation directory even when `disablefilesandbox` was set to `false` (the default). CVE-2020-27195 ] template: Backport from v0.12.6 - Fixed a bug where the `disablefilesandbox` configuration was only respected for the template `file` function and not the template `source` and `destination` fields. CVE-2020-27195 ] SECURITY: build: Backport from v0.12.1* - Updated to Go 1.14.6. Go 1.14.5 contained 2 CVEs which are low severity for Nomad ] BUG FIXES: vault: Backport from v0.12.2* - Fixed a bug where upgrades from pre-0.11.3 that use Vault can lead to memory spikes and write large Raft messages. ] IMPROVEMENTS: build: Updated to Go

] csi: Return better error messages ] ] csi: Move volume claim releases out of evaluation workers ] csi: Added support for `VolumeContext` and `VolumeParameters` ] driver/docker: Added support for `memoryhardlimit` configuration in docker task driver ] logging: Remove spurious error log on task shutdown ] ui: Added filesystem browsing for allocations ] BUG FIXES: core: Fixed a critical bug causing agent to become unresponsive ], ] core: Fixed a bug impacting performance of scheduler on a server after it steps down ] core: Fixed a bug where new leader may take a long time until it can process requests ] core: Fixed a bug where stopafterclient_disconnect could cause the server to become unresponsive core: Fixed a bug where an internal metadata, ClusterID, may not be initialized properly upon a slow server upgrade ] api: Fixed a bug where setting connect sidecar task resources could fail ] client: Fixed a bug where artifact downloads failed on redirects ] csi: Validate empty volume arguments in API. ] FEATURES: Task dependencies UI*: task lifecycle charts and details IMPROVEMENTS: core: Added support for a per-group policy to stop tasks when a client is disconnected ] core: Allow spreading allocations as an alternative to binpacking ] client: Improve AWS CPU performance fingerprinting ] csi: Added support for volume secrets ] csi: Added periodic garbage collection of plugins and volume claims ] csi: Improved performance of volume claim releases by moving work out of scheduler ] driver/docker: Added support for custom runtimes ] ui: Added ACL-checking to conditionally turn off exec button ] ui: CSI searchable volumes and plugins pages ] ui: CSI plugins list and etail pages ] ] ui: CSI volume constraints table ] BUG FIXES: core: job scale status endpoint was returning incorrect counts ] core: Fixed bugs related to periodic jobs scheduled during daylight saving transition periods ] core: Fixed a bug where scores for allocations were biased toward nodes with resource reservations ] agent: Fine-tuned the severity level of http request failures ] api: api.ScalingEvent struct was missing

] api: validate scale count value is not negative ] api: autoscaling policies should not be returned for stopped jobs ] client: Fixed a bug where an multi-task allocation maybe considered unhealthy if some tasks are slow to start ] csi: Fixed checking of volume validation responses from plugins ] csi: Fixed counting of healthy and expected plugins after plugin job updates or stops ] csi: Added checkpointing to volume claim release to avoid unreleased claims on plugin errors ] driver/docker: Fixed a bug preventing garbage collecting unused docker images ] jobspec: autoscaling policy block should return a parsing error multiple `policy` blocks are provided ] ui: Fixed a bug where exec popup had incorrect URL for jobs where name id ] ui: Fixed a timeout issue where if the log stream request to a client eventually returns but only after the timeout it never gets closed ] ui: Setting a namespace on Volumes or Jobs persists that namespace choice when switching to another namespace-away page ] ui: Fixed a bug where clicking stdout or stderr when already on that clicked view would pause log streaming ] ui: Fixed a race condition that made swithing from stdout to stderr too quickly show an error ] ui: Switching namespaces now redirects to Volumes instead of Jobs when on a Storage page ] ui: Allocations always report resource reservations based on thier own job version ] vault: Fixed a bug where nomad retries revoking tokens indefinitely ] BUG FIXES: core: Fixed a bug that only ran a task `shutdown_delay` if the task had a registered service ] core: Fixed a panic when garbage collecting a job with allocations spanning multiple versions ] agent: Fixed a bug where http server logs did not honor json log formatting, and reduced http server logging level to Trace ] connect: Fixed bugs where some connect parameters would be ignored ] ] connect: Fixed a bug where an absent connect sidecar_service stanza would trigger panic ] connect: Fixed a bug where some connect proxy fields would be dropped from 'job inspect' output ] csi: Fixed a panic when claiming a volume for an allocation that was already garbage collected ] csi: Fixed a bug where CSI plugins with `NODESTAGEVOLUME` capabilities were receiving an incorrect volume ID ] driver/docker: Fixed a bug where retrying failed docker creation may in rare cases trigger a panic ] scheduler: Fixed a bug in managing allocated devices for a job allocation in in-place update scenarios ] vault: Upgrade http2 library to fix Vault API calls that fail with `http2: no cached connection was available` ] FEATURES: Container Storage Interface [beta]*: Nomad has expanded support of stateful workloads through support for CSI plugins. Exec UI*: an in-browser terminal for connecting to running allocations. Audit Logging (Enterprise)*: Audit logging support for Nomad Enterprise. Scaling APIs*: new scaling policy API and job scaling APIs to support external autoscalers Task Dependencies*: introduces `lifecycle` stanza with prestart and sidecar hooks for tasks within a task group BACKWARDS INCOMPATIBILITIES: driver/rkt: The Rkt driver is no longer packaged with Nomad and is instead distributed separately as a driver plugin. Further, the Rkt driver codebase is now in a separate . IMPROVEMENTS: core: Optimized streaming RPCs made between Nomad agents ] build: Updated to Go 1.14.1 ] consul: Added support for configuring `enabletagoverride` on service stanzas. ] client: Updated consul-template library to v0.24.1 - added support for working with consul connect. ] driver/exec: Added `nopivotroot` option for ramdisk use ] jobspec: Added task environment interpolation to `volume_mount` ] jobspec: Added support for a per-task restart policy ] server: Added minimum quorum check to Autopilot with minQuorum option ] connect: Added support for specifying Envoy expose path configurations ] ] connect: Added support for using Connect with TLS enabled Consul agents ] BUG FIXES: core: Fixed a bug where group network mode changes were not honored ] core: Optimized and fixed few bugs in underlying RPC handling ] ] api: Fixed a panic when canonicalizing a jobspec with an incorrect job type ] api: Fixed a bug where calling the node GC or GcAlloc endpoints resulted in an error EOF return on successful requests ] api: Fixed a bug where `/client/allocations/...` (e.g. allocation stats) requests may hang in special cases after a leader election ] cli: Fixed a bug where `nomad agent -dev` fails on Windows ] cli: Fixed a panic when displaying device plugins without stats ] cli: Fixed a bug where `alloc exec` command in TLS environments may fail ] client: Fixed a panic when running in Debian with `/etc/debian_version` is empty ] client: Fixed a bug affecting network detection in environments that mimic the EC2 Metadata API ] client: Fixed a bug where a multi-task allocation maybe considered healthy despite a task restarting ] consul: Fixed a bug where modified Consul service definitions would not be updated ] connect: Fixed a bug where Connect enabled allocation would not stop after promotion ] connect: Fixed a bug where restarting a client would prevent Connect enabled allocations from cleaning up properly ] driver/docker: Fixed handling of seccomp `security_opts` option ] driver/docker: Fixed a bug causing docker containers to use swap memory unexpectedly ] scheduler: Fixed a bug where changes to task group `shutdown_delay` were not persisted or displayed in plan output ] ui: Fixed handling of multi-byte unicode characters in allocation log view ] ] BUG FIXES: client: Backport from

- Fixed a regression where `NOMAD{ALLOC,TASK,SECRETS}DIR` variables would cause an error when interpolated into `template.source` stanzas. ] SECURITY: docker: Backport from v0.12.8 - Fixed a bug where Docker driver mounts of type "volume" (but not "bind") were not sandboxed when `docker.volumes.enabled` is set to `false`. The `docker.volumes.enabled` configuration will now disable Docker mounts with type "volume" when set to `false`. CVE-2020-28348 ] BUG FIXES: client: Backport from v0.12.8 - Fixed an in-place upgrade bug, where a Nomad client may fail to manage tasks that were started with pre-0.9 Nomad client. ] BUG FIXES: artifact: Backport from v0.12.7 - Fixed a regression in 0.10.6 where if the artifact `destination` field is an absolute path it is not appended to the task working directory, breaking the use of `NOMADSECRETSDIR` as part of the destination path. ] template: Backport from v0.12.7 - Fixed a regression in 0.10.6 where if the template `destination` field is an absolute path it is not appended to the task working directory, breaking the use of `NOMADSECRETSDIR` as part of the destination path. ] SECURITY: artifact: Backport from v0.12.6 - Fixed a bug where interpolation can be used in the artifact `destination` field to write artifact payloads outside the allocation directory. CVE-2020-27195 ] template: Backport from v0.12.6 - Fixed a bug where interpolation can be used in the template `source` and `destination` fields to read or write files outside the allocation directory even when `disablefilesandbox` was set to `false` (the default). CVE-2020-27195 ] template: Backport from v0.12.6 - Fixed a bug where the `disablefilesandbox` configuration was only respected for the template `file` function and not the template `source` and `destination` fields. CVE-2020-27195 ] SECURITY: server: Override content-type headers for unsafe content. CVE-2020-10944 ] FEATURES: api: Nomad now supports ability to remotely request /debug/pprof endpoints from a remote agent. ] consul/connect: Nomad may now register Consul Connect services when Consul is configured with ACLs enabled ] jobspec: Add `shutdown_delay` to task groups so task groups can delay shutdown after deregistering from Consul ] IMPROVEMENTS: Our Windows 32-bit and 64-bit executables for this version and up will be signed with a HashiCorp cert. Windows users will no longer see a warning about an "unknown publisher" when running our software. build: Updated to Go 1.12.16 ] cli: Included namespace in output when querying job status ] cli: Added option to change the name of the file created by the `nomad init` command client: Supported AWS EC2 Instance Metadata Service Version 2 (IMDSv2) ] consul: Add support for service `canary_meta` ] driver/docker: Added a `disablelogcollection` parameter to disable nomad log collection ] server: Introduced a `defaultschedulerconfig` config parameter to seed initial preemption configuration. ] scheduler: Removed penalty for allocation's previous node if the allocation did not fail. ] scheduler: Reduced logging verbosity during preemption ] ui: Updated Run Job button to be conditionally enabled according to ACLs ] BUG FIXES: agent: Fixed a panic when using `nomad monitor` on a client node ] agent: Fixed race condition in logging when using `nomad monitor` command ] agent: Fixed a bug where `nomad monitor -server-id` only work for a server's name instead of uuid or name ] core: Addressed an inconsistency where allocations created prior to 0.9 had missing fields ] cli: Fixed a bug where error messages appeared interleaved with help text inconsistently ] cli: Fixed a bug where `nomad monitor -node-id` would cause a cli panic when no nodes where found ] config: Fixed a bug where agent startup would fail if the

configuration was set ] consul: Fixed a bug where script-based health checks would fail if the service configuration included interpolation ] consul/connect: Fixed a bug where Connect-enabled jobs failed to validate when service names used interpolation ] drivers: Fixed a bug where exec, java, and raw_exec drivers collected and emited stats every second regardless of the telemetry config ] driver/exec: Fixed a bug where systemd cgroup wasn't removed upon a task completion ] server: Fixed a deadlock that may occur when server leadership flaps very quickly ] scheduler: Fixed a bug that caused evicted allocs on a lost node to be stuck in running ] scheduler: Fixed a bug where `nomad job plan/apply` returned errors instead of ignoring system job updates for ineligible nodes. ] scheduler: Fixed a bug where canary allocations where not properly stored across servers during deployments ] SECURITY: client: Nomad will no longer pass through the `CONSULHTTPTOKEN` environment variable when launching a task. ] SECURITY: agent: Added unauthenticated connection timeouts and limits to prevent resource exhaustion. CVE-2020-7218 ] server: Fixed insufficient validation for role and region for RPC connections when TLS enabled. CVE-2020-7956 ] IMPROVEMENTS: build: Updated to Go 1.12.16 NOTES: cli: Our release has been signed and notarized according to Apple's requirements. In the future, darwin releases will be signed and notarized with our standard naming convention. Prior to this release, MacOS 10.15+ users attempting to run our software may see the error: "'nomad' cannot be opened because the developer cannot be verified." This error affected all MacOS 10.15+ users who downloaded our software directly via web browsers, and was caused by . MacOS 10.15+ users should plan to upgrade to 0.10.2+. FEATURES: Nomad Monitor*: New `nomad monitor` command allows remotely following the logs of any Nomad Agent (clients or servers). See https://developer.hashicorp.com/nomad/docs/commands/monitor.html Docker Container Cleanup*: Nomad will now automatically remove Docker containers for tasks leaked due to Nomad or Docker crashes or bugs. IMPROVEMENTS: agent: Added support for running under Windows Service Manager ] api: Added `StartedAt` field to `Node.DrainStrategy` ] api: Added JSON representation of rules to policy endpoint response ] api: Update policy endpoint to permit anonymous access ] build: Updated to Go 1.12.13 ] cli: Show full ID in node and alloc individual status views ] client: Enable setting tags on Consul Connect sidecar service ] client: Added support for downloading artifacts from Google Cloud Storage ] command: Added -tls-server-name flag ] command: Added `nomad monitor` command to stream logs at a specified level for debugging ] quota: Added support for network bandwidth quota limits in Nomad enterprise BUG FIXES: core: Ignore `server` config values if `server` is disabled ] core: Added `semver` constraint for strict Semver

version comparisons ] core: Fixed server panic caused by a plan evicting and preempting allocs on a node ] api: Return a 404 if endpoint not found instead of redirecting to /ui/ ] api: Decompress web socket response body if gzipped on error responses ] api: Fixed a bug where some FS/Allocation API endpoints didn't return error messages ] api: Return 40X status code for failing ACL requests, rather than 500 ] cli: Made scoring column orders consistent `nomad alloc status` ] cli: Fixed a bug where `nomad alloc exec` fails if stdout is being redirected and not a TTY ] cli: Fixed a bug where a cli user may fail to query FS/Allocation API endpoints if they lack `node:read` capability ] client: client: Return empty values when host stats fail ] client: Fixed a bug where a client may not restart dead internal processes upon client's restart on Windows ] consul/connect: Fixed registering multiple Connect-enabled services in the same task group ] drivers: Fixed a bug where client may panic if a restored task failed to shutdown cleanly ] driver/exec: Fixed a bug where exec tasks can spawn processes that live beyond task lifecycle ] driver/docker: Added mechanism for detecting running unexpectedly running docker containers ] scheduler: Changes to devices in resource stanza should cause rescheduling ] scheduler: Fixed a bug that allowed inplace updates after affinity or spread were changed ] ui: Fixed client sorting ] vault: Allow overriding implicit Vault version constraint ] vault: Supported Vault auth role's new fields, `tokenperiod` and `tokenexplicitmaxttl` ], ] BUG FIXES: core: Fixed server panic when upgrading from 0.8 -> 0.10 and performing an inplace update of an allocation. ] api: Fixed panic when submitting Connect-enabled job without using a bridge network ] client: Fixed client panic when upgrading from 0.8 -> 0.10 and performing an inplace update of an allocation. ] FEATURES: Consul Connect*: Nomad may now register Consul Connect services and manages an Envoy proxy sidecar to provide secured service-to-service communication. Network Namespaces*: Task Groups may now define a shared network namespace. Each allocation will receive its own network namespace and loopback interface. Ports may be forwarded from the host into the network namespace. Host Volumes*: Nomad expanded support of stateful workloads through locally mounted storage volumes. UI Allocation File Explorer*: Nomad UI enhanced operability with a visual file system explorer for allocations. IMPROVEMENTS: core: Added rolling deployments for service jobs by default and max_parallel=0 disables deployments ] agent: Allowed the job GC interval to be configured ] agent: Added `log_level` to be reloaded on SIGHUP ] api: Added follow parameter to file streaming endpoint to support older browsers ] client: Upgraded `go-getter` to support GCP links ] client: Remove consul service stanza from `job init --short` jobspec ] drivers: Exposed namespace as `NOMAD_NAMESPACE` environment variable in running tasks ] metrics: Added job status (pending, running, dead) metrics ] metrics: Added status and scheduling ability to client metrics ] server: Added an option to configure job GC interval ] ui: Added allocation filesystem explorer ] ui: Added creation time to evaluations table ] BUG FIXES: cli: Fixed `nomad run ...` on Windows so it works with unprivileged accounts ] client: Fixed a bug in client fingerprinting on 32-bit nodes ] client: Fixed a bug where completed allocations may re-run after client restart ] client: Fixed failure to start if another client is already running with the same data directory ] client: Fixed a panic that may occur when an `nomad alloc exec` is initiated while process is terminating ] devices: Fixed a bug causing CPU usage spike when a device is detected ] drivers: Allowd user-defined environment variable keys to contain dashes ] driver/docker: Set gc image_delay default to 3 minutes ] driver/docker: Improved docker driver handling of container creation or starting failures ], ] ui: Fixed a bug where the allocation log viewer would render HTML or hide content that matched XML syntax ] ui: Fixed a bug where allocation log viewer doesn't show all content in Firefox ] ui: Fixed navigation via clicking recent allocation row ] ui: Fixed a bug where the allocation log viewer would render HTML or hide content that matched XML syntax ] ui: Fixed a bug where allocation log viewer doesn't show all content in Firefox ] BUG FIXES: core: Fixed server panic caused by a plan evicting and preempting allocs on a node ] SECURITY: core: Redacted replication token in agent/self API endpoint. The replication token is a management token that can be used for further privilege

CVE-2019-12741 ] core: Fixed a bug where a user may start raw_exec task on clients despite driver being disabled. CVE-2019-15928 ] ] enterprise/acl: Fix ACL access checks in Nomad Enterprise where users may query allocation information and perform lifecycle actions in namespaces they are not authorized to. CVE-2019-16742 ] IMPROVEMENTS: client: Reduced memory footprint of nomad logging and executor processes ] BUG FIXES: core: Fixed a bug where scheduler may schedule an allocation on a node without required drivers ] client: Fixed a bug where completed allocations may re-run after client restart ] ] devices: Fixed a bug causing CPU usage spike when a device is detected ] drivers: Fixed port mapping for docker and qemu drivers ] drivers/docker: Fixed a case where a `nomad alloc exec` would never time out ] ui: Fixed a bug where allocation log viewer doesn't show all content. ] SECURITY: client/template: Fix security vulnerabilities associated with task template rendering (CVE-2019-14802), introduced in Nomad 0.5.0 ] ] client/artifact: Fix a privilege escalation in the `exec` driver exploitable by artifacts with setuid permissions (CVE-2019-14803) ] BACKWARDS INCOMPATIBILITIES: client/template: When rendering a task template, only task environment variables are included by default. ] client/template: When rendering a task template, the `plugin` function is no longer permitted by default and will raise an error. ] client/template: When rendering a task template, path parameters for the `file` function will be restricted to the task directory by default. Relative paths or symlinks that point outside the task directory will raise an error. ] IMPROVEMENTS: core: Added create and modify timestamps to evaluations ] BUG FIXES: api: Fixed job region to default to client node region if none provided ] ui: Fixed links containing IPv6 addresses to include required square brackets ] vault: Fix deadlock when reloading server Vault configuration ] IMPROVEMENTS: api: Inferred content type of file in alloc filesystem stat endpoint ] api: Used region from job hcl when not provided as query parameter in job registration and plan endpoints ] core: Deregister nodes in batches rather than one at a time ] core: Removed deprecated upgrade path code pertaining to older versions of Nomad ] core: System jobs that fail because of resource availability are retried when resources are freed ] core: Support reloading log level in agent via SIGHUP ] client: Improved task event display message to include kill time out ] client: Removed extraneous information to improve formatting for hcl parsing error messages ] driver/docker: Added logging defaults to use json-file log driver with log rotation ] metrics: Added namespace label as appropriate to metrics ] ui: Added page titles ] ui: Added buttons to copy client and allocation UUIDs ] ui: Moved client status, draining, and eligibility fields into single state column ] BUG FIXES: core: Ensure plans are evaluated against a new enough snapshot index ] core: Handle error case when attempting to stop a non-existent allocation ] core: Improved job spec parsing error messages for variable interpolation failures ] core: Fixed a bug where nomad log and exec requests may time out or fail in tls enabled clusters

client: Fixed a bug where consul service health checks may flap on client restart ] client: Fixed a bug where too many check-based restarts would deadlock the client ] client: Fixed a bug where successfully completed tasks may restart on client restart ] client: Fixed a bug where stats of external driver plugins aren't collected on plugin restart ] client: Fixed an issue where an alloc remains in pending state if nomad fails to create alloc directory ] client: Fixed an issue where client may kill running allocs if the client and the leader are restarting simultaneously ] client: Fixed regression that prevented registering multiple services with the same name but different ports in Consul correctly ] client: Fixed a race condition when performing local task restarts that would result in incorrect task not found errors on Windows ] client: Reduce CPU usage on clients running many tasks on Linux ] client: Updated consul-template dependency to address issue with anonymous requests ] driver: Fixed an issue preventing local task restarts on Windows ] driver: Fixed an issue preventing external driver plugins from launching executor process ] driver/docker: Fixed a bug mounting relative paths on Windows ] driver/exec: Upgraded libcontainer dependency to avoid zombie `runc:] metrics: Added metrics for raft and state store indexes. ] metrics: Upgrade prometheus client to avoid label conflicts ] ui: Fixed ability to click sort arrow to change sort direction ] BUG FIXES: core: Fixed a panic that occurs if a job is updated with new task groups ] core: Update node's `StatusUpdatedAt` when node drain or eligibility changes ] core: Fixed a panic that may occur when preempting jobs for network resources ] core: Fixed a config parsing issue when client metadata contains a boolean value ] core: Fixed a config parsing issue where consul, vault, and autopilot stanzas break when using a config directory ] api: Allow sumitting alloc restart requests with an empty body ] client: Fixed an issue where task restart attempts is not honored properly ] client: Fixed a panic that occurs when a 0.9.2 client is running with 0.8 nomad servers ] client: Fixed an issue with cleaning up consul service registration entries when tasks fail to start. ] SECURITY: driver/exec: Fix privilege escalation issue introduced in Nomad 0.9.0. In Nomad 0.9.0 and 0.9.1, exec tasks by default run as `nobody` but with elevated capabilities, allowing tasks to perform privileged linux operations and potentially escalate permissions. (CVE-2019-12618) ] BACKWARDS INCOMPATIBILITIES: api: The `api` package removed `Config.SetTimeout` and `Config.ConfigureTLS` functions, intended to be used internally only. ] api: The endpoint now filters out deployments associated with older instances of the job. This can happen if jobs are purged and recreated with the same id. To get all deployments irrespective of creation time, add `all=true`. The `nomad job deployment`CLI also defaults to doing this filtering. ] client: The format of service IDs in Consul has changed. If you rely upon Nomad's service IDs (not service names; those are stable), you will need to update your code. ] client: The format of check IDs in Consul has changed. If you rely upon Nomad's check IDs you will need to update your code. ] client: On startup a client will reattach to running tasks as before but will not restart exited tasks. Exited tasks will be restarted only after the client has reestablished communication with servers. System jobs will always be

] FEATURES: core: Add `nomad alloc stop` command to reschedule allocs ] core: Add `nomad alloc signal` command to signal allocs and tasks ] core: Add `nomad alloc restart` command to restart allocs and tasks ] code: Add `nomad alloc exec` command for debugging and running commands in an alloc ] core/enterprise: Preemption capabilities for batch and service jobs ui: Preemption reporting everywhere where allocations are shown and as part of the plan step of job submit ] ui: Ability to search clients list by class, status, datacenter, or eligibility flags ] ui: Ability to search jobs list by type, status, datacenter, or prefix ] ui: Ability to stop and restart allocations ] ui: Ability to restart tasks ] vault: Add initial support for Vault namespaces ] IMPROVEMENTS: core: Add `-verbose` flag to `nomad status` wrapper command ] core: Add ability to filter job deployments by most recent version of job ] core: Add node name to output of `nomad node status` command in verbose mode ] core: Reduce the size of the raft transaction for plans by only sending fields updated by the plan applier ] core: Add job update `auto_promote` flag, which causes deployments to promote themselves when all canaries become healthy ] api: Support configuring `http.Client` used by golang `api` package ] api: Add preemption related fields to API results that return an allocation list. ] api: Add additional config options to scheduler configuration endpoint to disable preemption ] cli: Add acl token list command ] client: Reduce unnecessary lost nodes on server failure ] client: Canary Promotion no longer causes services registered in Consul to become unhealthy ] client: Allow use of maintenance mode and externally registered checks against Nomad-registered consul services ] driver/exec: Fixed an issue causing large memory consumption for light processes ] telemetry: Add `client.allocs.memory.allocated` metric to expose allocated task memory in bytes. ] ui: Colored log support ] ui: Upgraded from Ember 2.18 to 3.4 ] ui: Replace XHR cancellation by URL with XHR cancellation by token ] BUG FIXES: core: Fixed accounting of allocated resources in metrics. ] core: Fixed disaster recovering with raft 3 protocol peers.json ], ] core: Fixed a panic that may occur when preempting service jobs ] core: Fixed an edge case that caused division by zero when computing spread score ] core: Change configuration parsing to use the HCL library's decode, improving JSON support ] core: Fix a case where non-leader servers would have an ever growing number of waiting evaluations ] cli: Fix output and exit status for system jobs with constraints ] and ] client: Fix network fingerprinting to honor manual configuration ] client: Job validation now checks that the datacenter field does not contain empty strings ] client: Fix network port mapping related environment variables when running with Nomad 0.8 servers ] client: Fix issue with terminal state deployments being modified when allocation subsequently fails ] driver/docker: Fix regression around image GC ] metrics: Fixed stale metrics ] vault: Fix renewal time to be 1/2 lease duration with jitter ] BUG FIXES: core: Fix bug with incorrect metrics on pending allocations ] client: Fix issue with recovering from logmon failures ], ] client: Fix deadlock on client startup after reboot ] client: Fix issue with node registration where newly registered nodes would not run system jobs ] driver/docker: Fix regression around volume handling ] driver/docker: Fix regression in which logs aren't collected for docker container with `tty` set to true ] driver/exec: Fix an issue where raw_exec and exec processes are leaked when nomad agent is restarted ] BACKWARDS INCOMPATIBILITIES: core: Drop support for CentOS/RHEL 6. glibc >= 2.14 is required. core: Switch to structured logging using . If you have tooling that parses Nomad's logs, the format of logs has changed and your tools may need updating. core: IOPS as a resource is now deprecated ]. Nomad continues to parse IOPS in jobs to allow job authors time to remove iops from their jobs. core: Allow the != constraint to match against keys that do not exist ] client: Task config validation is more strict in 0.9. For example unknown parameters in stanzas under the task config were ignored in previous versions but in 0.9 this will cause a task failure. client: Task config interpolation requires names to be valid identifiers (`node.region` or

Interpolating other variables requires a new indexing syntax: `env] client: Node metadata variables must have valid identifiers, whether specified in the config file (`client.meta` stanza) or on the command line (`-meta`). ] driver/lxc: The LXC driver is no longer packaged with Nomad and is instead distributed separately as a driver plugin. Further, the LXC driver codebase is now in a separate . If you are using LXC, please follow the 0.9.0 upgrade guide as you will have to install the LXC driver before conducting an in-place upgrade to Nomad 0.9.0 ] FEATURES: Affinities and Spread*: Jobs may now specify affinities towards certain node attributes. Affinities act as soft constraints, and inform the scheduler that the job has a preference for certain node properties. The new spread stanza informs the scheduler that allocations should be spread across a specific property such as datacenter or availability zone. This is useful to increase failure tolerance of critical applications. System Job Preemption*: System jobs may now preempt lower priority allocations. The ability to place system jobs on all targeted nodes is critical since system jobs often run applications that provide services for all allocations on the node. Driver Plugins*: Nomad now supports task drivers as plugins. Driver plugins operate the same as built-in drivers and can be developed and distributed independently from Nomad. Device Plugins*: Nomad now supports scheduling and mounting devices via device plugins. Device plugins expose hardware devices such as GPUs to Nomad and instruct the client on how to make them available to tasks. Device plugins can expose the health of devices, the devices attributes, and device usage statistics. Device plugins can be developed and distributed independently from Nomad. Nvidia GPU Device Plugin*: Nomad builds-in a Nvidia GPU device plugin to add out-of-the-box support for scheduling Nvidia GPUs. Client Refactor*: Major focus has been put in this release to refactor the Nomad Client codebase. The goal of the refactor has been to make the codebase more modular to increase developer velocity and testability. Mobile UI Views:* The side-bar navigation, breadcrumbs, and various other page elements are now responsively resized and repositioned based on your browser size. Job Authoring from the UI:* It is now possible to plan and submit new jobs, edit existing jobs, stop and start jobs, and promote canaries all from the UI. Improved Stat Tracking in UI:* The client detail, allocation detail, and task detail pages now have line charts that plot CPU and Memory usage changes over time. Structured Logging*: Nomad now uses structured logging with the ability to output logs in a JSON format. IMPROVEMENTS: core: Added advertise address to client node meta data ] core: Added support for specifying node affinities. Affinities allow job operators to specify weighted placement preferences according to different node attributes ] core: Added support for spreading allocations across a specific attribute. Operators can specify spread target percentages across failure domains such as datacenter or rack ] core: Added preemption support for system jobs. System jobs can now preempt other jobs of lower priority. See for more

] acls: Allow support for using globs in namespace definitions ] agent: Support JSON log output ] api: Reduced api package dependencies ] client: Extend timeout to 60 seconds for Windows CPU fingerprinting ] client: Refactor client to support plugins and improve state handling ] client: Updated consul-template library to pick up recent fixes and improvements] client: When retrying a failed artifact, do not download any successfully downloaded artifacts again ] client: Added service metadata tag that enables the Consul UI to show a Nomad icon for services registered by Nomad ] cli: Added support for coloured output on Windows ] driver/docker: Rename Logging `type` to `driver` ] driver/docker: Support logs when using Docker for Mac ] driver/docker: Added support for specifying `storage_opt` in the Docker driver ] driver/docker: Added support for specifying `cpucfsperiod` in the Docker driver ] driver/docker: Added support for setting bind and tmpfs mounts in the Docker driver ] driver/docker: Report container images with user friendly name rather than underlying image ID ] driver/docker: Add support for collecting stats on Windows ] drivers/docker: Report docker driver as undetected before first connecting to the docker daemon ] drivers: Added total memory usage to task resource metrics ] server/rpc: Reduce logging when undergoing temporary network errors such as hitting file descriptor limits ] server/vault: Tweaked logs to better identify vault connection errors ] server/vault: Added Vault token expiry info in `nomad status` CLI, and some improvements to token refresh process ] telemetry: All client metrics include a new `node_class` tag ] telemetry: Added new tags with value of child job id and parent job id for parameterized and periodic jobs ] ui: Improved JSON editor ] ui: Mobile friendly views ] ui: Filled out the styleguide ] ui: Support switching regions ] ui: Canaries can now be promoted from the UI ] ui: Stopped jobs can be restarted from the UI ] ui: Support widescreen format in alloc logs view ] ui: Gracefully handle errors from the stats end points ] ui: Added links to Jobs and Clients from the error page template ] ui: Jobs can be authored, planned, submitted, and edited from the UI ] ui: Display recent allocations on job page and introduce allocation tab ] ui: Refactored breadcrumbs and adjusted the breadcrumb paths on each page ] ui: Switching namespaces in the UI will now always "reset" back to the jobs list page ] ui: CPU and Memory metrics are plotted over time during a session in line charts on node detail, allocation detail, and task detail pages ], ], ] BUG FIXES: core: Removed some GPL code inadvertently added for macOS support ] core: Fix an issue where artifact checksums containing interpolated variables failed validation ] core: Fix an issue where job summaries for parent dispatch/periodic jobs were not being computed correctly ] core: Fix an issue where a canary allocation with a deployment no longer in the state store caused a panic client: Fix an issue reloading the client config ] client: Fix an issue where driver attributes are not updated in node API responses if they change after after startup ] driver/docker: Fix a path traversal issue where mounting paths outside alloc dir might be possible despite `docker.volumes.enabled` set to false ] driver/raw_exec: Fix an issue where tasks that used an interpolated command in driver configuration would not start ] drivers: Fix a bug where exec and java drivers get reported as detected and healthy when nomad is not running as root and without cgroup support quota: Fixed a bug in Nomad enterprise where quota specifications were not being replicated to non authoritative regions

scheduler: When dequeueing evals ensure workers wait to the proper Raft index ] scheduler: Allow schedulers to handle evaluations that are created due to previous evaluation failures ] server/api: Fixed bug when trying to route to a down node ] server/vault: Fixed bug in Vault token renewal that could panic on a malformed Vault response ], ] template: Fix parsing of environment templates when destination path is interpolated ] ui: Fixes for viewing objects that contain dots in their names ] ui: Correctly labeled certain classes of unknown errors as 404 errors ] ui: Fixed an issue where searching while viewing a paginated table could display no results ] ui: Fixed an issue where the task group breadcrumb didn't always include the namesapce query param ] ui: Added an empty state for the tasks list on the allocation detail page, for when an alloc has no tasks ] ui: Fixed an issue where dispatched jobs would get the wrong template type which could cause runtime errors ] ui: Fixed an issue where distribution bar corners weren't rounded when there was only one or two slices in the chart ] IMPROVEMENTS: core: Added `filterdefault`, `prefixfilter` and `disabledispatchedjobsummarymetrics` client options to improve metric filtering ] driver/docker: Support `bind` mount type in order to allow Windows users to mount absolute paths ] BUG FIXES: core: Fixed panic when Vault secret response is nil ] ] core: Fixed issue with negative counts in job summary ] core: Fixed issue with handling duplicated blocked evaluations ] core: Fixed bug where some successfully completed jobs get re-run after job garbage collection ] core: Fixed bug in reconciler where allocs already stopped were being unnecessarily updated ] core: Fixed bug that affects garbage collection of batch jobs that are purged and resubmitted with the same id ] core: Fixed an issue with garbage collection where terminal but still running allocations could be garbage collected server side ] deployments: Fix an issue where a deployment with multiple task groups could be marked as failed when the first progress deadline was hit regardless of if that group was done deploying ] IMPROVEMENTS: core: Increased scheduling performance when annotating existing allocations ] core: Unique TriggerBy for evaluations that are created to place queued allocations ] BUG FIXES: core: Fix a bug in Nomad Enterprise where non-voting servers could get bootstrapped as voting servers ] core: Fix an issue where an evaluation could fail if an allocation was being rescheduled and the node containing it was at capacity ] core: Fix an issue in which schedulers would reject evaluations created when prior scheduling for a job failed ] cli: Fix a bug where enabling custom upgrade versions for autopilot was not being honored ] deployments: Fix an issue where the deployment watcher could create a high volume of evaluations ] vault: Fix a regression in which Nomad was only compatible with Vault versions greater than

] IMPROVEMENTS: core: Failed deployments no longer block migrations ] client: Added option to prevent Nomad from removing containers when the task exits ] BUG FIXES: core: Reset queued allocation summary to zero when job stopped ] core: Fix inverted logic bug where if `disableupdatecheck` was enabled, update checks would be performed ] core: Fix panic due to missing synchronization in delayed evaluations heap ] core: Fix treating valid PEM files as invalid ] core: Fix panic in nomad job history when invoked with a job version that doesn't exist ] core: Fix issue with not properly closing connection multiplexer when its context is cancelled ] core: Upgrade vendored Vault client library to fix API incompatibility issue ] driver/docker: Fix kill timeout not being respected when timeout is over five minutes ] scheduler: Fix nil pointer dereference ] scheduler: Fix panic when allocation's reschedule policy doesn't exist ] client: Fix migrating ephemeral disks when TLS is enabled ] IMPROVEMENTS: core: Updated serf library to improve how leave intents are handled ] core: Add more descriptive errors when parsing agent TLS certificates ] core: Added TLS configuration option to prefer server's ciphersuites over clients] core: Add the option for operators to configure TLS versions and allowed cipher suites. Default is a subset of safe ciphers and TLS 1.2 ] core: Add a new parameter to support rescheduling failed allocations during a deployment. This allows operators to specify a configurable deadline before which a deployment should see healthy allocations ] core: Add a new CLI and API for forcing an evaluation of a job, given the job ID. The new CLI also includes an option to force reschedule failed allocations ] core: Canary allocations are tagged in Consul to enable using service tags to isolate canary instances during deployments ] core: Emit Node events for drain and eligibility operations as well as for missed heartbeats ], ], ] agent: Support go-discover for auto-joining clusters based on cloud metadata ] cli: Add node drain monitoring with new `-monitor` flag on node drain command ] cli: Add node drain details to node status ] client: Avoid splitting log line across two files ] command: Add -short option to init command that emits a minimal jobspec ] discovery: Support Consul gRPC health checks. ] driver/docker: OOM kill metric ] driver/docker: Pull image with digest ] driver/docker: Support Docker pid limits ] driver/docker: Add progress monitoring and inactivity detection to docker image pulls ] driver/raw_exec: Use cgroups to manage process tree for precise cleanup of launched processes ] env: Default interpolation of optional meta fields of parameterized jobs to an empty string rather than the field key. ] ui: Show node drain, node eligibility, and node drain strategy information in the Client list and Client detail pages ] ui: Show reschedule-event information for allocations that were server-side rescheduled ] ui: Show the running deployment Progress Deadlines on the Job Detail Page ] ui: Show driver health status and node events on the Client Detail Page ] ui: Fuzzy and tokenized search on the Jobs List Page ] ui: The stop job button looks more dangerous ] BUG FIXES: core: Clean up leaked deployments on restoration ] core: Fix regression to allow for dynamic Vault configuration reload ] core: Fix bug where older failed allocations of jobs that have been updated to a newer version were not being garbage collected ] core: Fix bug when upgrading an existing server to Raft protocol 3 that caused servers to never change their ID in the Raft

] core: Fix bug with scheduler not creating a new deployment when job is purged and re-added ] api/client: Fix potentially out of order logs and streamed file contents ] discovery: Fix flapping services when Nomad Server and Client point to the same Consul agent ] driver/docker: Fix docker credential helper support ] driver/docker: Fix panic when docker client configuration options are invalid ] driver/exec: Disable exec on non-linux platforms ] rpc: Fix RPC tunneling when running both client/server on one machine ] ui: Track the method in XHR tracking to prevent errant ACL error dialogs when stopping a job ] ui: Make the tasks list on the Allocation Detail Page look and behave like other lists ] ] ui: Use the Network IP, not the Node IP, for task addresses ] ui: Use Polling instead of Streaming for logs in Safari ] ui: Track PlaceCanaries in deployment metrics ] BUG FIXES: core: Fix panic proxying node connections when the server does not have a connection to the node ] core: Fix bug with not updating ModifyIndex of allocations after updates to the `NextAllocation` field ] IMPROVEMENTS: api: Add /v1/jobs/parse api endpoint for rendering HCL jobs files as JSON ] api: Include reschedule tracking events in end points that return a list of allocations ] cli: Improve help text when invalid arguments are given ] client: Create new process group on process startup. ] discovery: Periodically sync services and checks with Consul ] driver/rkt: Enable stats collection for rkt tasks ] ui: Stop job button added to job detail pages ] BUG FIXES: core: Handle invalid cron specifications more gracefully ] core: Sort signals in implicit constraint avoiding unnecessary updates ] core: Improve tracking of node connections even if the address being used to contact the server changes ] core: Fix panic when doing a node drain effecting a job that has an allocation that was on a node that no longer exists ] api: Fix an issue in which the autopilot configuration could not be updated ] client: Populate access time and modify time when unarchiving tar archives that do not specify them explicitly ] driver/exec: Create process group for Windows process and send Ctrl-Break signal on Shutdown ] ui: Alloc stats will continue to poll after a request errors or returns an invalid response ] BUG FIXES: client: Fix a race condition while concurrently fingerprinting and accessing the node that could cause a panic ] BACKWARDS INCOMPATIBILITIES: cli: node drain now blocks until the drain completes and all allocations on the draining node have stopped. Use -detach for the old behavior. client: Periods (`.`) are no longer replaced with underscores (`_`) in environment variables as many applications rely on periods in environment variable names. ] client/metrics: The key emitted for tracking a client's uptime has changed from "uptime" to "client.uptime". Users monitoring this metric will have to switch to the new key name ] discovery: Prevent absolute URLs in check paths. The documentation indicated that absolute URLs are not allowed, but it was not enforced. Absolute URLs in HTTP check paths will now fail to validate. ] drain: Draining a node no longer stops all allocations immediately: a new allows jobs to specify how quickly task groups can be drained. A `-force` option can be used to emulate the old drain behavior. jobspec: The default values for restart policy have changed. Restart policy mode defaults to "fail" and the attempts/time interval values have been changed to enable faster server side rescheduling. See [restart stanza](https://developer.hashicorp.com/nomad/docs/job-specification/restart.html) for more information. jobspec: Removed compatibility code that migrated pre Nomad 0.6.0 Update stanza syntax. All job spec files should be using update stanza fields introduced in 0.7.0 ] IMPROVEMENTS: core: Servers can now service client HTTP endpoints ] core: More efficient garbage collection of large batches of jobs ] core: Allow upgrading/downgrading TLS via SIGHUP on both servers and clients ] core: Node events are emitted for events such as node registration and heartbeating ] core: A set of features (Autopilot) has been added to allow for automatic operator-friendly management of Nomad servers. For more information about Autopilot, see the . ] core: Failed tasks are automatically rescheduled according to user specified

For more information on configuration, see the ] core: Servers can now service client HTTP endpoints ] core: Servers can now retry connecting to Vault to verify tokens without requiring a SIGHUP to do so ] core: Updated yamux library to pick up memory and CPU performance improvements ] core: Client stanza now supports overriding total memory ] core: Node draining is now able to migrate allocations in a controlled manner with parameters specified by the drain command and in job files using the migrate stanza ] acl: Increase token name limit from 64 characters to 256 ] cli: Node status and filesystem related commands do not require direct network access to the Nomad client nodes ] cli: Common commands highlighed ] cli: Colored error and warning outputs ] cli: All commands are grouped by subsystem ] cli: Use ISO_8601 time format for cli output ] cli: Clearer task event descriptions in `nomad alloc-status` when there are server side failures authenticating to Vault ] client: Allow '.' in environment variable names ] client: Improved handling of failed RPCs and heartbeat retry logic ] client: Refactor client fingerprint methods to a request/response format ] client: Enable periodic health checks for drivers. Initial support only includes the Docker driver. ] discovery: Allow `check_restart` to be specified in the `service` stanza ] discovery: Allow configuring names of Nomad client and server health checks ] discovery: Only log if Consul does not support TLSSkipVerify instead of dropping checks which relied on it. Consul has had this feature since 0.7.2 ] driver/docker: Support hard CPU limits ] driver/docker: Support advertising IPv6 addresses ] driver/docker; Support overriding image entrypoint ] driver/docker: Support adding or dropping capabilities ] driver/docker: Support mounting root filesystem as read-only ] driver/docker: Retry on Portworx "volume is attached on another node" errors ] driver/lxc: Add volumes config to LXC driver ] driver/rkt: Allow overriding group ] telemetry: Support DataDog tags ] ui: Specialized job detail pages for each job type (system, service, batch, periodic, parameterized, periodic instance, parameterized instance) ] ui: Allocation stats requests are made through the server instead of directly through clients ] ui: Allocation log requests fallback to using the server when the client can't be reached ] ui: All views poll for changes using long-polling via blocking queries ] ui: Dispatch payload on the parameterized instance job detail page ] ui: Periodic force launch button on the periodic job detail page ] ui: Allocation breadcrumbs now extend job breadcrumbs ] vault: Allow Nomad to create orphaned tokens for allocations ] BUG FIXES: core: Fix search endpoint forwarding for multi-region clusters ] core: Fix an issue in which batch jobs with queued placements and lost allocations could result in improper placement counts ] core: Fix an issue where an entire region leaving caused `nomad server-members` to fail with a 500 response ] core: Fix an issue in which multiple servers could be acting as a leader. A prominent side-effect being nodes TTLing incorrectly ] core: Fix an issue where jobs with the same name in a different namespace were not being blocked correctly ] cli: server member command handles failure to retrieve leader in remote regions ] client: Support IP detection of wireless interfaces on Windows ] client: Migrated ephemeral_disk's maintain directory permissions ] client: Always advertise driver IP when in driver address mode ] client: Preserve permissions on directories when expanding tarred artifacts ] client: Improve auto-detection of network interface when interface name has a space in it on Windows ] client/vault: Recognize renewing non-renewable Vault lease as fatal ] client/vault: Improved error handling of network errors with Vault ] config: Revert minimum CPU limit back to 20 from 100 ] config: Always add core scheduler to enabled schedulers and add invalid EnabledScheduler detection ] driver/exec: Properly disable swapping ] driver/lxc: Cleanup LXC containers after errors on container startup. ] ui: Always show the task name in the task recent events table on the allocation detail page. ] ui: Only show the placement failures section when there is a blocked evaluation. ] ui: Fix requests using client-side certificates in

] ui: Fix ui on non-leaders when ACLs are enabled ] BACKWARDS INCOMPATIBILITIES: client: The format of service IDs in Consul has changed. If you rely upon Nomad's service IDs (not service names; those are stable), you will need to update your code. ] config: Nomad no longer parses Atlas configuration stanzas. Atlas has been deprecated since earlier this year. If you have an Atlas stanza in your config file it will have to be removed. config: Default minimum CPU configuration has been changed to 100 from 20. Jobs using the old minimum value of 20 will have to be updated. telemetry: Hostname is now emitted via a tag rather than within the key name. To maintain old behavior during an upgrade path specify `backwardscompatiblemetrics` in the telemetry configuration. IMPROVEMENTS: core: Allow operators to reload TLS certificate and key files via SIGHUP ] core: Allow configurable stop signals for a task, when drivers support sending stop signals ] core: Allow agents to be run in `rpcupgrademode` when migrating a cluster to TLS rather than changing `heartbeat_grace` api: Allocations now track and return modify time in addition to create time ] api: Introduced new fields to track details and display message for task events, and deprecated redundant existing fields ] api: Environment variables are ignored during service name validation ] cli: Allocation create and modify times are displayed in a human readable relative format like `6 h ago` ] client: Support `address_mode` on checks ] client: Sticky volume migrations are now atomic. ] client: Added metrics to track state transitions of allocations ] client: When `network_interface` is unspecified use interface attached to default route ] client: Support numeric ports on services and checks when `address_mode="driver"` ] driver/docker: Detect OOM kill event ] driver/docker: Adds support for adding host device to container via `--device` ] driver/docker: Adds support for `ulimit` and `sysctl` options ] driver/docker: Adds support for StopTimeout (set to the same value as kill_timeout ] driver/rkt: Add support for passing through user ] driver/qemu: Support graceful shutdowns on unix platforms ] template: Updated to consul template

] core/enterprise: Return 501 status code in Nomad Pro for Premium end points ui: Added log streaming for tasks ] ui: Show the modify time for allocations ] ui: Added a dedicated Task page under allocations ] ui: Added placement failures to the Job Detail page ] ui: Warn uncaught exceptions to the developer console ] BUG FIXES: core: Fix issue in which restoring periodic jobs could fail when a leader election occurs ] core: Fix race condition in which rapid reprocessing of a blocked evaluation may lead to the scheduler not seeing the results of the previous scheduling event ] core: Fixed an issue where the leader server could get into a state where it was no longer performing the periodic leader loop duties after a barrier timeout error ] core: Fixes an issue with jobs that have `auto_revert` set to true, where reverting to a previously stable job that fails to start up causes an infinite cycle of reverts ] api: Apply correct memory default when task's do not specify memory explicitly ] cli: Fix passing Consul address via flags ] cli: Fix panic when running `keyring` commands ] client: Fix advertising services with tags that require URL escaping ] client: Fix a panic when restoring an allocation with a dead leader task ] client: Fix crash when following logs from a Windows node ] client: Fix service/check updating when just interpolated variables change ] client: Fix allocation accounting in GC and trigger GCs on allocation updates ] driver/docker: Fix container name conflict handling ] driver/rkt: Remove pods on shutdown ] driver/rkt: Don't require port maps when using host networking ] template: Fix issue where multiple environment variable templates would be parsed incorrectly when contents of one have changed after the initial rendering ] sentinel: (Nomad Enterprise) Fix an issue that could cause an import error when multiple Sentinel policies are applied telemetry: Do not emit metrics for non-running tasks ] telemetry: Emit hostname as a tag rather than within the key name ] ui: Remove timezone text from timestamps ] ui: Allow cross-origin requests from the UI ] ui: Consistently use Clients instead of Nodes in copy ] ui: Fully expand the job definition on the Job Definition page ] BACKWARDS INCOMPATIBILITIES: driver/rkt: Nomad now requires at least rkt version `1.27.0` for the rkt driver to function. Please update your version of rkt to at least this version. IMPROVEMENTS: core: Capability based ACL system with authoritative region, providing federated ACLs. core/enterprise: Sentinel integration for fine grain policy enforcement. core/enterprise: Namespace support allowing jobs and their associated objects to be isolated from each other and other users of the cluster. api: Allow force deregistration of a node ] api: New `/v1/agent/health` endpoint for health checks. api: Metrics endpoint exposes Prometheus formatted metrics ] cli: Consul config option flags for nomad agent command ] discovery: Allow restarting unhealthy tasks with `check_restart` ] driver/rkt: Enable rkt driver to use address_mode = 'driver' ] telemetry: Add support for tagged metrics for Nomad clients ] telemetry: Add basic Prometheus configuration for a Nomad cluster ] BUG FIXES: core: Fix restoration of stopped periodic jobs ] core: Run deployment garbage collector on an interval ] core: Fix parameterized jobs occasionally showing status dead incorrectly ] core: Fix issue in which job versions above a threshold potentially wouldn't be stored ] core: Fix issue where node-drain with complete batch allocation would create replacement ] core: Allow batch jobs that have been purged to be rerun without a job specification change ] core: Fix issue in which batch allocations from previous job versions may not have been stopped

] core: Fix issue in which allocations with the same name during a scale down/stop event wouldn't be properly stopped ] core: Fix a race condition in which scheduling results from one invocation of the scheduler wouldn't be considered by the next for the same job ] api: Sort /v1/agent/servers output so that output of Consul checks does not change ] api: Fix search handling of jobs with more than four hyphens and case were length could cause lookup error ] client: Improve the speed at which clients detect garbage collection events ] client: Fix lock contention that could cause a node to miss a heartbeat and be marked as down ] client: Fix data race that could lead to concurrent map read/writes during heartbeating and fingerprinting ] driver/docker: Fix docker user specified syslogging ] driver/docker: Fix issue where CPU usage statistics were artificially high ] client/template: Fix issue in which secrets would be renewed too aggressively ] BUG FIXES: api: Search handles prefix longer than allowed UUIDs ] api: Search endpoint handles even UUID prefixes with hyphens ] api: Don't merge empty update stanza from job into task groups ] cli: Sort task groups when displaying a deployment ] cli: Handle reading files that are in a symlinked directory ] cli: All status commands handle even UUID prefixes with hyphens ] cli: Fix autocompletion of paths that include directories on zsh ] cli: Fix job deployment -latest handling of jobs without deployments ] cli: Hide CLI commands not expected to be run by user from autocomplete suggestions ] cli: Status command honors exact job match even when it is the prefix of another job ] cli: Fix setting of TLSServerName for node API Client. This fixes an issue of contacting nodes that are using TLS ] client/template: Fix issue in which the template block could cause high load on Vault when secret lease duration was less than the Vault grace ] driver/docker: Always purge stopped containers ] driver/docker: Fix MemorySwappiness on Windows ] driver/docker: Fix issue in which mounts could parse incorrectly ] driver/docker: Fix issue where potentially incorrect syslog server address is used ] driver/docker: Fix server url passed to credential helpers and properly capture error output ] jobspec: Allow distinct_host constraint to have L/RTarget set ] BUG FIXES: api/cli: Fix logs and fs api and command ] BACKWARDS INCOMPATIBILITIES: deployment: Specifying an update stanza with a max_parallel of zero is now a validation error. Please update the stanza to be greater than zero or remove the stanza as a zero parallelism update is not valid. IMPROVEMENTS: core: Lost allocations replaced even if part of failed deployment ] core: Add autocomplete functionality for resources: allocations, evaluations, jobs, deployments and nodes ] core: `distinct_property` constraint can set the number of allocations that are allowed to share a property value ] core: Placing allocation counts towards placement limit fixing issue where rolling update could remove an unnecessary amount of allocations ] api: Redact Vault.Token from AgentSelf response ] cli: node-status displays node version ] cli: Disable color output when STDOUT is not a TTY ] cli: Add autocomplete functionality for flags for all CLI command [GH 3087] cli: Add status command which takes any identifier and routes to the appropriate status command. client: Unmount task directories when alloc is terminal ] client/template: Allow template to set Vault grace ] client/template: Template emits events explaining why it is blocked ] deployment: Disallow max_parallel of zero ] deployment: Emit task events explaining unhealthy allocations ] deployment: Better description when a deployment should auto-revert but there is no target ] discovery: Add HTTP header and method support to checks ] driver/docker: Added DNS options ] driver/docker: Add mount options for volumes ] driver/docker: Allow retry of 500 API errors to be handled by restart policies when starting a container ] driver/rkt: support read-only volume mounts ] jobspec: Add `shutdown_delay` so tasks can delay shutdown after deregistering from Consul ] BUG FIXES: core: Fix purging of job versions ] core: Fix race creating EvalFuture ] core: Fix panic occurring from improper bitmap size ] core: Fix restoration of parameterized, periodic jobs ] core: Fix incorrect destructive update with `distinct_property` constraint ] cli: Fix autocompleting global flags ] cli: Fix panic when using 0.6.0 cli with an older cluster ] cli: Fix TLS handling for alloc stats API calls ] client: Fix `LC_ALL=C` being set on subprocesses ] client/networking: Handle interfaces that only have link-local addresses while preferring globally routable addresses ] deployment: Fix alloc health with services/checks using interpolation ] discovery: Fix timeout validation for script checks ] driver/docker: Fix leaking plugin file used by syslog server ] BACKWARDS INCOMPATIBILITIES: cli: When given a prefix that does not resolve to a particular object, commands now return exit code 1 rather than 0. IMPROVEMENTS: core: Rolling updates based on allocation health [GH-2621, GH-2634, GH-2799] core: New deployment object to track job updates [GH-2621, GH-2634, GH-2799] core: Default advertise to private IP address if bind is

] core: Track multiple job versions and add a stopped state for jobs ] core: Job updates can create canaries before beginning rolling update [GH-2621, GH-2634, GH-2799] core: Back-pressure when evaluations are nacked and ensure scheduling progress on evaluation failures ] agent/config: Late binding to IP addresses using go-sockaddr/template syntax ] api: Add `verifyhttpsclient` to require certificates from HTTP clients ] api/job: Ability to revert job to older versions ] cli: Autocomplete for CLI commands ] client: Use a random host UUID by default ] client: Add `NOMADGROUPNAME` environment variable ] client: Environment variables for client DC and Region ] client: Hash host ID so its stable and well distributed ] client: GC dead allocs if total allocs > `gcmaxallocs` tunable ] client: Persist state using bolt-db and more efficient write patterns ] client: Fingerprint all routable addresses on an interface including IPv6 addresses ] client/artifact: Support .xz archives ] client/artifact: Allow specifying a go-getter mode ] client/artifact: Support non-Amazon S3-compatible sources ] client/template: Support reading env vars from templates ] config: Support Unix socket addresses for Consul ] discovery: Advertise driver-specified IP address and port ] discovery: Support `tlsskipverify` for Consul HTTPS checks ] driver/docker: Allow specifying extra hosts ] driver/docker: Allow setting seccomp profiles ] driver/docker: Support Docker credential helpers ] driver/docker: Auth failures can optionally be ignored ] driver/docker: Add `driver.docker.bridge_ip` node attribute ] driver/docker: Allow setting container IP with user defined networks ] driver/rkt: Support `no_overlay` ] driver/rkt: Support `insecure_options` list ] server: Allow tuning of node heartbeat TTLs ] server/networking: Shrink dynamic port range to not overlap with majority of operating system's ephemeral port ranges to avoid port conflicts ] BUG FIXES: core: Protect against nil job in new allocation, avoiding panic ] core: System jobs should be running until explicitly stopped ] core: Prevent invalid job updates (eg service -> batch) ] client: Lookup `ip` utility on `$PATH` ] client: Add sticky bit to temp directory ] client: Shutdown task group leader before other tasks ] client: Include symlinks in snapshots when migrating disks ] client: Regression for allocation directory unix perms introduced in v0.5.6 fixed ] client: Client syncs allocation state with server before waiting for allocation destroy fixing a corner case in which an allocation may be blocked till destroy ] client: Improved state file handling and reduced write volume ] client/artifact: Honor netrc ] client/artifact: Handle tars where file in directory is listed before directory ] client/config: Use `cputotalcompute` whenever it is set ] client/config: Respect

setting in consul-template ] driver/exec: Properly set file/dir ownership in chroots ] driver/docker: Fix panic in Docker driver on Windows ] driver/rkt: Fix env var interpolation ] jobspec/validation: Prevent static port conflicts ] server: Reject non-TLS clients when TLS enabled ] server: Fix a panic in plan evaluation with partial failures and allatonce set ] server/periodic: Restoring periodic jobs takes launch time zone into consideration ] server/vault: Fix Vault Client panic when given nonexistent role ] telemetry: Fix merging of use node name ] IMPROVEMENTS: api: Improve log API error when task doesn't exist or hasn't started ] client: Improve error message when artifact downloading fails ] client: Track task start/finish time ] client/template: Access Node meta and attributes in template ] BUG FIXES: core: Fix periodic job state switching to dead incorrectly ] core: Fix dispatch of periodic job launching allocations immediately ] api: Fix TLS in logs and fs commands/APIs ] cli/plan: Fix diff alignment and remove no change DC output ] client: Fix panic when restarting non-running tasks ] client: Fix env vars when multiple tasks and ports present ] client: Fix `user` attribute disregarding membership of non-main group ] client/vault: Stop Vault token renewal on task exit ] driver/docker: Proper reference counting through task restarts ] BACKWARDS INCOMPATIBILITIES: api: The api package definition of a Job has changed from exposing primitives to pointers to primitives to allow defaulting of unset fields. driver/docker: The `load` configuration took an array of paths to images prior to this release. A single image is expected by the driver so this behavior has been changed to take a single path as a string. Jobs using the `load` command should update the syntax to a single string. ] IMPROVEMENTS: core: Handle Serf Reap event ] core: Update Serf and Memberlist for more reliable gossip ] api: API defaults missing values ] api: Validate the restart policy interval ] api: New task event for task environment setup ] api/cli: Add nomad operator command and API for interacting with Raft configuration ] cli: node-status displays enabled drivers on the node ] client: Apply GC related configurations properly ] client: Don't force uppercase meta keys in env vars ] client: Limit parallelism during garbage collection ] client: Don't exec `uname -r` for node attribute kernel.version ] client: Artifact support for git and hg as well as netrc support ] client: Add metrics to show number of allocations on in each state ] client: Add `NOMAD{IP,PORT}<task>_<label>` environment variables ] client: Allow specification of `cputotalcompute` to override fingerprinter ] client: Reproducible Node ID on OSes that provide system-level UUID ] driver/docker: Add support for volume drivers ] driver/docker: Docker image coordinator and caching ] jobspec: Add leader task to allow graceful shutdown of other tasks within the task group ] periodic: Allow specification of timezones in Periodic Jobs ] scheduler: New `distinct_property` constraint ] server: Allow specification of eval/job gc threshold ] server/vault: Vault Client on Server handles SIGHUP to reload configs ] telemetry: Clients report allocated/unallocated resources ] template: Allow specification of template delimiters ] template: Permissions can be set on template destination file ] vault: Server side Vault telemetry ] vault: Disallow root policy from being specified ] BUG FIXES: core: Handle periodic parameterized jobs ] core: Improve garbage collection of stopped batch jobs ] api: Fix escaping of HTML characters ] cli: Display disk resources in alloc-status ] client: Drivers log during fingerprinting ] client: Fix race condition with deriving vault tokens ] client: Fix remounting alloc dirs after reboots ] ] client: Replace `-` with `_` in environment variable names ] client: Fix panic and deadlock during client restore state when prestart fails ] config: Fix Consul Config Merging/Copying ] config: Fix Client reserved resource merging panic ] server: Fix panic when forwarding Vault derivation requests from non-leader servers ] IMPROVEMENTS: client: Made the GC related tunables configurable via client configuration ] BUG FIXES: client: Fix panic when upgrading to

] IMPROVEMENTS: core: Introduce parameterized jobs and dispatch command/API ] core: Cancel blocked evals upon successful one for job ] api: Added APIs for requesting GC of allocations ] api: Job summary endpoint includes summary status for child jobs ] api/client: Plain text log streaming suitable for viewing logs in a browser ] cli: Defaulting to showing allocations which belong to currently registered job ] client: Garbage collect Allocation Runners to free up disk resources ] client: Don't retrieve Driver Stats if unsupported ] client: Filter log lines in the executor based on client's log level ] client: Added environment variables to discover addresses of sibling tasks in an allocation ] discovery: Register service with duplicate names on different ports ] driver/docker: Add support for network aliases ] driver/docker: Add `force_pull` option to force downloading an image ] driver/docker: Retry when image is not found while creating a container ] driver/java: Support setting class_path and class name. ] telemetry: Prefix gauge values with node name instead of hostname ] template: The template block supports keyOrDefault ] template: The template block can now interpolate Nomad environment variables ] vault: Improve validation of the Vault token given to Nomad servers ] vault: Support setting the Vault role to derive tokens from with `createfromrole` setting ] BUG FIXES: client: Fixed namespacing for the cpu arch attribute ] client: Fix issue where allocations weren't pulled for several minutes. This manifested as slow starts, delayed kills, etc ] client: Fix a panic that would occur with a racy alloc migration cancellation ] config: Fix merging of Consul options which caused auto_advertise to be ignored ] driver: Fix image based drivers (eg docker) having host env vars set ] driver/docker: Fix Docker auth/logging interpolation [GH-2063, GH-2130] driver/docker: Fix parsing of Docker Auth Configurations. New parsing is in-line with Docker itself. Also log debug message if auth lookup failed ] template: Fix splay being used as a wait and instead randomize the delay from 0 seconds to splay duration ] BUG FIXES: client: Fixed a race condition and remove panic when handling duplicate allocations ] client: Cancel wait for remote allocation if migration is no longer required ] client: Failure to stat a single mountpoint does not cause all of host resource usage collection to fail ] IMPROVEMENTS: driver/rkt: Support rkt's `--dns=host` and `--dns=none` options ] BUG FIXES: agent/config: Fix use of IPv6 addresses ] api: Fix file descriptor leak and high CPU usage when using the logs endpoint ] cli: Improve parsing error when a job without a name is specified ] client: Fixed permissions of migrated allocation directory ] client: Ensuring allocations are not blocked more than once ] client: Fix race on StreamFramer Destroy which would cause a panic ] client: Not migrating allocation directories on the same client if sticky is turned off ] client/vault: Fix issue in which deriving a Vault token would fail with allocation does not exist due to stale queries ] driver/docker: Make container exist errors non-retriable by task runner ] driver/docker: Fixed an issue related to purging containers with same name as Nomad is trying to start ] driver/rkt: Fix validation of rkt volumes ] BACKWARDS INCOMPATIBILITIES: jobspec: Extracted the disk resources from the task to the task group. The new block is name `ephemeral_disk`. Nomad will automatically convert existing jobs but newly submitted jobs should refactor the disk resource [GH-1710, GH-1679] agent/config: `network_speed` is now an override and not a default value. If the network link speed is not detected a default value is applied. IMPROVEMENTS: core: Support for gossip encryption ] core: Vault integration to handle secure introduction of tasks [GH-1583, GH-1713] core: New `set_contains` constraint to determine if a set contains all specified values ] core: Scheduler version enforcement disallows different scheduler version from making decisions simultaneously ] core: Introduce node SecretID which can be used to minimize the available surface area of RPCs to malicious Nomad Clients ] core: Add `sticky` volumes which inform the scheduler to prefer placing updated allocations on the same node and to reuse the `local/` and `alloc/data` directory from previous allocation allowing semi-persistent data and allow those folders to be synced from a remote node [GH-1654, GH-1741] agent: Add DataDog telemetry sync ] agent: Allow Consul health checks to use bind address rather than advertise ] agent/config: Advertise addresses do not need to specify a port ] agent/config: Bind address defaults to

and Advertise defaults to hostname ] api: Support TLS for encrypting Raft, RPC and HTTP APIs ] api: Implement blocking queries for querying a job's evaluations ] cli: `nomad alloc-status` shows allocation creation time ] cli: `nomad node-status` shows node metadata in verbose mode ] client: Failed RPCs are retried on all servers ] client: Fingerprint and driver blacklist support ] client: Introduce a `secrets/` directory to tasks where sensitive data can be written ] client/jobspec: Add support for templates that can render static files, dynamic content from Consul and secrets from Vault ] driver: Export `NOMADJOBNAME` environment variable ] driver/docker: Docker For Mac support ] driver/docker: Support Docker volumes ] driver/docker: Allow Docker logging to be configured ] driver/docker: Add `userns_mode` (`--userns`) support ] driver/lxc: Support for LXC containers ] driver/rkt: Support network configurations ] driver/rkt: Support rkt volumes (rkt >= 1.0.0 required) ] server/rpc: Added an RPC endpoint for retrieving server members ] BUG FIXES: core: Fix case where dead nodes were not properly handled by System scheduler ] agent: Handle the SIGPIPE signal preventing panics on journalctl restarts ] api: Disallow filesystem APIs to read paths that escape the allocation directory ] cli: `nomad run` failed to run on Windows ] cli: `alloc-status` and `node-status` work without access to task stats ] cli: `alloc-status` does not query for allocation statistics if node is down ] client: Prevent race when persisting state file ] client: Retry recoverable errors when starting a driver ] client: Do not validate the command does not contain spaces ] client: Fix old services not getting removed from consul on update ] client: Preserve permissions of nested directories while chrooting ] client: Folder permissions are dropped even when not running as root ] client: Artifact download failures will be retried before failing tasks ] client: Fix a memory leak in the executor that caused failed allocations ] client: Fix a crash related to stats publishing when driver hasn't started yet ] client: Chroot environment is only created once, avoid potential filesystem errors ] client: Failures to download an artifact are retried according to restart policy before failing the allocation ] client/executor: Prevent race when updating a job configuration with the logger ] client/fingerprint: Fix inconsistent CPU MHz fingerprinting ] env/aws: Fix an issue with reserved ports causing placement failures ] discovery: Interpolate all service and check fields ] discovery: Fix old services not getting removed from Consul on update ] discovery: Fix HTTP timeout with Server HTTP health check when there is no leader ] discovery: Fix client flapping when server is in a different datacenter as the client ] discovery/jobspec: Validate service name after interpolation ] driver/docker: Fix `local/` directory mount into container ] driver/docker: Interpolate all string configuration variables ] jobspec: Tasks without a resource block no longer fail to validate ] jobspec: Update HCL to fix panic in JSON parsing ] BACKWARDS INCOMPATIBILITIES: telemetry: Operators will have to explicitly opt-in for Nomad client to publish allocation and node metrics IMPROVEMENTS: core: Allow count 0 on system jobs ] core: Summarize the current status of registered

[GH-1383, GH-1517] core: Gracefully handle short lived outages by holding RPC calls ] core: Introduce a lost state for allocations that were on Nodes that died ] api: client Logs endpoint for streaming task logs ] api/cli: Support for tailing/streaming files [GH-1404, GH-1420] api/server: Support for querying job summaries ] cli: `nomad logs` command for streaming task logs ] cli: `nomad status` shows the create time of allocations ] cli: `nomad plan` exit code indicates if changes will occur ] cli: status commands support JSON output and go template formating ] cli: Validate and plan command supports reading from stdin [GH-1460, GH-1458] cli: Allow basic authentication through address and environment variable ] cli: `nomad node-status` shows volume name for non-physical volumes instead of showing 0B used ] cli: Support retrieving job files using go-getter in the `run`, `plan` and `validate` command ] client: Add killing event to task state ] client: Fingerprint network speed on Windows ] discovery: Support for initial check status ] discovery: Support for query params in health check urls ] driver/docker: Allow working directory to be configured ] driver/docker: Remove docker volumes when removing container ] driver/docker: Set windows containers network mode to nat by default ] driver/exec: Allow chroot environment to be configurable ] driver/qemu: Allows users to pass extra args to the qemu driver ] telemetry: Circonus integration for telemetry metrics ] telemetry: Allow operators to opt-in for publishing metrics ] BUG FIXES: agent: Reload agent configuration on SIGHUP ] core: Sanitize empty slices/maps in jobs to avoid incorrect create/destroy updates ] core: Fix race in which a Node registers and doesn't receive system jobs ] core: Fix issue in which Nodes with large amount of reserved ports would cause dynamic port allocations to fail ] core: Fix a condition in which old batch allocations could get updated even after terminal. In a rare case this could cause a server panic ] core: Do not update the Job attached to Allocations that have been marked terminal ] agent: Fix advertise address when using IPv6 ] cli: Fix node-status when using IPv6 advertise address ] client: Merging telemetry configuration properly ] client: Task start errors adhere to restart policy mode ] client: Reregister with servers if node is unregistered ] client: Killing an allocation doesn't cause allocation stats to block ] driver/docker: Disable swap on docker driver ] driver/docker: Fix improper gating on privileged mode ] driver/docker: Default network type is "nat" on Windows ] driver/docker: Cleanup created volume when destroying container ] driver/rkt: Set host environment variables ] driver/rkt: Validate the command and trust_prefix configs ] plan: Plan on system jobs discounts nodes that do not meet required constraints ] BACKWARDS INCOMPATIBILITIES: api: Tasks are no longer allowed to have slashes in their name ] cli: Remove the eval-monitor command. Users should switch to `nomad eval-status -monitor`. config: Consul configuration has been moved from client options map to consul block under client configuration driver/docker: Enabled SSL by default for pulling images from docker registries. ] IMPROVEMENTS: core: Scheduler reuses blocked evaluations to avoid unbounded creation of evaluations under high contention ] core: Scheduler stores placement failures in evaluations, no longer generating failed allocations for debug information ] api: Faster JSON response encoding ] api: Gzip compress HTTP API requests ] api: Plan api introduced for the Job endpoint ] api: Job endpoint can enforce Job Modify Index to ensure job is being modified from a known state ] api/client: Add resource usage APIs for retrieving tasks/allocations/host resource usage ] cli: Faster when displaying large amounts outputs ] cli: Deprecate `eval-monitor` and introduce `eval-status` ] cli: Unify the `fs` family of commands to be a single command ] cli: Introduce `nomad plan` to dry-run a job through the scheduler and determine its effects ] cli: node-status command displays host resource usage and allocation resources ] cli: Region flag and environment variable introduced to set region forwarding. Automatic region forwarding for run and plan ] client: If Consul is available, automatically bootstrap Nomad Client using the `_nomad` service in Consul. Nomad Servers now register themselves with Consul to make this possible. ] drivers: Qemu and Java can be run without an artifact being

Useful if the artifact exists inside a chrooted directory ] driver/docker: Added a client options to set SELinux labels for container bind mounts. ] driver/docker: Enabled SSL by default for pulling images from docker registries. ] server: If Consul is available, automatically bootstrap Nomad Servers using the `_nomad` service in Consul. ] BUG FIXES: core: Improve garbage collection of allocations and nodes ] core: Fix a potential deadlock if establishing leadership fails and is retried ] core: Do not restart successful batch jobs when the node is removed/drained ] core: Fix an issue in which the scheduler could be invoked with insufficient state ] core: Updated User, Meta or Resources in a task cause create/destroy updates [GH-1128, GH-1153] core: Fix blocked evaluations being run without properly accounting for priority ] api: Tasks are no longer allowed to have slashes in their name ] client: Delete tmp files used to communicate with executor ] client: Prevent the client from restoring with incorrect task state ] discovery: Ensure service and check names are unique [GH-1143, GH-1144] driver/docker: Ensure docker client doesn't time out after a minute. ] driver/java: Fix issue in which Java on darwin attempted to chroot ] driver/docker: Fix issue in which logs could be spliced ] IMPROVEMENTS: core: Garbage collection partitioned to avoid system delays ] core: Allow count zero task groups to enable blue/green deploys ] core: Validate driver configurations when submitting jobs [GH-1062, GH-1089] core: Job Deregister forces an evaluation for the job even if it doesn't exist ] core: Rename successfully finished allocations to "Complete" rather than "Dead" for clarity ] cli: `alloc-status` explains restart decisions ] cli: `node-drain -self` drains the local node ] cli: `node-status -self` queries the local node ] cli: Destructive commands now require confirmation ] cli: `alloc-status` display is less verbose by default ] cli: `server-members` displays the current leader in each region ] cli: `run` has an `-output` flag to emit a JSON version of the job ] cli: New `inspect` command to display a submitted job's specification ] cli: `node-status` display is less verbose by default and shows a node's total resources ] client: `artifact` source can be interpreted ] client: Add IP and Port environment variables ] client: Nomad fingerprinter to detect client's version ] client: Tasks can interpret Meta set in the task group and job ] client: All tasks in a task group are killed when a task fails ] client: Pass environment variables from host to exec based tasks ] client: Allow task's to be run as particular user [GH-950, GH-978] client: `artifact` block now supports downloading paths relative to the task's directory ] docker: Timeout communications with Docker Daemon to avoid deadlocks with misbehaving Docker Daemon ] discovery: Support script based health checks ] discovery: Allowing registration of services which don't expose ports ] driver/docker: Support for `tty` and `interactive` options ] jobspec: Improved validation of services referencing port labels ] periodic: Periodic jobs are always evaluated in UTC timezone ] BUG FIXES: core: Prevent garbage collection of running batch jobs ] core: Trigger System scheduler when Node drain is disabled ] core: Fix issue where in-place updated allocation double counted resources ] core: Fix drained, batched allocations from being migrated indefinitely ] client: Garbage collect Docker containers on exit ] client: Fix common exec failures on CentOS and Amazon Linux ] client: Fix S3 artifact downloading with IAM credentials ] client: Fix handling of environment variables containing multiple equal signs ] BACKWARDS INCOMPATIBILITIES: Service names that dont conform to RFC-1123 and RFC-2782 will fail

To fix, change service name to conform to the RFCs before running the job ] Jobs that downloaded artifacts will have to be updated to the new syntax and be resubmitted. The new syntax consolidates artifacts to the `task` rather than being duplicated inside each driver config ] IMPROVEMENTS: cli: Validate job file schemas ] client: Add environment variables for task name, allocation ID/Name/Index [GH-869, GH-896] client: Starting task is retried under the restart policy if the error is recoverable ] client: Allow tasks to download artifacts, which can be archives, prior to starting ] config: Validate Nomad configuration files ] config: Client config allows reserving resources ] driver/docker: Support for ECR ] driver/docker: Periodic Fingerprinting ] driver/docker: Preventing port reservation for log collection on Unix platforms ] driver/rkt: Pass DNS information to rkt driver ] jobspec: Require RFC-1123 and RFC-2782 valid service names ] BUG FIXES: core: No longer cancel evaluations that are delayed in the plan queue ] api: Guard client/fs/ APIs from being accessed on a non-client node ] client: Allow dashes in variable names during interpolation ] client: Updating kill timeout adheres to operator specified maximum value ] client: Fix a case in which clients would pull but not run allocations ] consul: Remove concurrent map access ] driver/exec: Stopping tasks with more than one pid in a cgroup ] client/executor/linux: Add /run/resolvconf/ to chroot so DNS works ] BACKWARDS INCOMPATIBILITIES: Stdout and Stderr log files of tasks have moved from task/local to alloc/logs ] Any users of the runtime environment variable `$NOMADPORT` will need to update to the new `${NOMADADDR}` variable ] Service names that include periods will fail validation. To fix, remove any periods from the service name before running the job ] Task resources are now validated and enforce minimum resources. If a job specifies resources below the minimum they will need to be updated ] Node ID is no longer specifiable. For users who have set a custom Node ID, the node should be drained before Nomad is updated and the data_dir should be deleted before starting for the first time ] Users of custom restart policies should update to the new syntax which adds a `mode` field. The `mode` can be either `fail` or `delay`. The default for `batch` and `service` jobs is `fail` and `delay` respectively ] All jobs that interpret variables in constraints or driver configurations will need to be updated to the new syntax which wraps the interpreted variable in curly braces. (`$node.class` becomes

] IMPROVEMENTS: core: Populate job status ] core: Cgroup fingerprinter ] core: Node class constraint ] core: User specifiable kill timeout ] core: Job queueing via blocked evaluations ] core: Only reschedule failed batch allocations ] core: Add available nodes by DC to AllocMetrics ] core: Improve scheduler retry logic under contention ] core: Computed node class and stack optimization [GH-691, GH-708] core: Improved restart policy with more user configuration ] core: Periodic specification for jobs [GH-540, GH-657, GH-659, GH-668] core: Batch jobs are garbage collected from the Nomad Servers ] core: Free half the CPUs on leader node for use in plan queue and evaluation broker ] core: Seed random number generator used to randomize node traversal order during scheduling ] core: Performance improvements [GH-823, GH-825, GH-827, GH-830, GH-832, GH-833, GH-834, GH-839] core/api: System garbage collection endpoint ] core/api: Allow users to set arbitrary headers via agent config ] core/cli: Prefix based lookups of allocs/nodes/evals/jobs ] core/cli: Print short identifiers and UX cleanup [GH-675, GH-693, GH-692] core/client: Client pulls minimum set of required allocations ] cli: Output of agent-info is sorted ] cli: Eval monitor detects zero wait condition ] cli: Ability to navigate allocation directories [GH-709, GH-798] client: Batch allocation updates to the server ] client: Log rotation for all drivers [GH-685, GH-763, GH-819] client: Only download artifacts from http, https, and S3 ] client: Create a tmp/ directory inside each task directory ] client: Store when an allocation was received by the client ] client: Heartbeating and saving state resilient under high load ] client: Handle updates to tasks Restart Policy and KillTimeout ] client: Killing a driver handle is retried with an exponential backoff ] client: Send Node to server when periodic fingerprinters change Node attributes/metadata ] client/api: File-system access to allocation directories ] drivers: Validate the "command" field contains a single value ] drivers: Interpret Nomad variables in environment variables/args ] driver/rkt: Add support for CPU/Memory isolation ] driver/rkt: Add support for mounting alloc/task directory ] driver/docker: Support for .dockercfg based auth for private registries ] BUG FIXES: core: Node drain could only be partially applied ] core: Fix panic when eval Ack occurs at delivery limit ] cli: Handle parsing of un-named ports ] cli: Enforce absolute paths for data directories ] client: Cleanup of the allocation directory ] client: Improved stability under high contention ] client: Handle non-200 codes when parsing AWS metadata ] client: Unmounted of shared alloc dir when client is rebooted ] client/consul: Service name changes handled properly ] driver/rkt: handle broader format of rkt version outputs ] driver/qemu: failed to load image and kvm accelerator fixes ] BUG FIXES: core: Task States not being properly updated ] client: Fixes for user lookup to support CoreOS ] discovery: Using a random prefix for nomad managed services ] discovery: De-Registering Tasks while Nomad sleeps before failed tasks are restarted. discovery: Fixes for service registration when multiple allocations are bin packed on a node ] configuration: Sort configuration files ] cli: RetryInterval was not being applied properly ] IMPROVEMENTS: core: Enable `raw_exec` driver in dev mode ] cli: Server join/retry-join command line and config options ] cli: Nomad reports which config files are loaded at start time, or if none are loaded ], ] BUG FIXES: core: Send syslog to `LOCAL0` by default as previously documented ] client: remove all calls to default logger ] consul: Nomad is less noisy when Consul is not running ] consul: Nomad only deregisters services that it created ] driver/exec: Shutdown a task now sends the interrupt signal first to the process before forcefully killing it. ] driver/docker: Docker driver no longer leaks unix domain socket connections ] fingerprint/network: Now correctly detects interfaces on Windows ] IMPROVEMENTS: core: Can specify a whitelist for activating drivers ] core: Can specify a whitelist for activating fingerprinters ] core/api: Can list all known regions in the cluster ] client/spawn: spawn package tests made portable (work on Windows) ] client/executor: executor package tests made portable (work on Windows) ] client/driver: driver package tests made portable (work on windows) ] client/discovery: Added more consul client api configuration options ] driver/docker: Added TLS client options to the config file ] jobspec: More flexibility in naming Services ] BUG FIXES: core: Shared reference to DynamicPorts caused port conflicts when scheduling count > 1 ] client/restart policy: Not restarting Batch Jobs if the exit code is 0 ] client/service discovery: Make Service IDs unique ] client/service: Fixes update to check definitions and services which are already registered ] driver/docker: Expose the container port instead of the host port ] driver/docker: Support `port_map` for static ports ] driver/docker: Pass

port environment variables to the docker container ] jobspec: distinct_hosts constraint can be specified as a boolean (previously panicked) ] BACKWARDS INCOMPATIBILITIES: core: HTTP API `/v1/node/<id>/allocations` returns full Allocation and not stub ] core: Removed weight and hard/soft fields in constraints ] drivers: Qemu and Java driver configurations have been updated to both use `artifact_source` as the source for external images/jars to be ran jobspec: New reserved and dynamic port specification ] jobspec/drivers: Driver configuration supports arbitrary struct to be passed in jobspec ] FEATURES: core: Blocking queries supported in API ] core: System Scheduler that runs tasks on every node ] core: Regexp, version and lexical ordering constraints ] core: distinctHost constraint ensures Task Groups are running on distinct clients ] core: Service block definition with Consul registration [GH-463, GH-460, GH-458, GH-455, GH-446, GH-425] client: GCE Fingerprinting ] client: Restart policy for task groups enforced by the client [GH-369, GH-393] driver/rawexec: Raw Fork/Exec Driver ] driver/rkt: Experimental Rkt Driver [GH-165, GH-247] drivers: Add support for downloading external artifacts to execute for Exec, Raw exec drivers ] IMPROVEMENTS: core: Configurable Node GC threshold ] core: Overlap plan verification and plan application for increased throughput ] cli: Output of `alloc-status` also displays task state ] cli: Output of `server-members` is sorted ] cli: Show node attributes in `node-status` ] client/fingerprint: Network fingerprinter detects interface suitable for use, rather than defaulting to eth0 [GH-334, GH-356] client: Client Restore State properly reattaches to tasks and recreates them as needed [GH-364, GH-380, GH-388, GH-392, GH-394, GH-397, GH-408] client: Periodic Fingerprinting ] client: Precise snapshotting of TaskRunner and AllocRunner [GH-403, GH-411] client: Task State is tracked by client ] client: Test Skip Detection ] driver/docker: Can now specify auth for docker pull ] driver/docker: Can now specify DNS and DNSSearch options ] driver/docker: Can now specify the container's hostname ] driver/docker: Containers now have names based on the task name. ] driver/docker: Mount task local and alloc directory to docker containers ] driver/docker: Now accepts any value for `network_mode` to support userspace networking plugins in docker 1.9 driver/java: Pass JVM options in java driver [GH-293, GH-297] drivers: Use BlkioWeight rather than BlkioThrottleReadIopsDevice ] jobspec and drivers: Driver configuration supports arbitrary struct to be passed in jobspec ] BUG FIXES: core: Nomad Client/Server RPC codec encodes strings properly ] core: Reset Nack timer in response to scheduler operations ] core: Scheduler checks for updates to environment variables ] cli: Fix crash when -config was given a directory or empty path ] client/fingerprint: Use correct local interface on OS X [GH-361, GH-365] client: Nomad Client doesn't restart failed containers ] client: Reap spawn-daemon process, avoiding a zombie process ] client: Resource exhausted errors because of link-speed zero [GH-146, GH-205] client: Restarting Nomad Client leads to orphaned containers ] driver/docker: Apply SELinux label for mounting directories in docker ] driver/docker: Docker driver exposes ports when creating container [GH-212, GH-412] driver/docker: Docker driver uses docker environment variables correctly ] driver/qemu: Qemu fingerprint and tests work on both windows/linux ] IMPROVEMENTS: client: Nomad client cleans allocations on exit when in dev mode ] drivers: Use go-getter for artifact retrieval, add artifact support to Exec, Raw Exec drivers ] IMPROVEMENTS: cli: Nomad Client configurable from command-line ] client/fingerprint: Native IP detection and user specifiable network interface for fingerprinting ] driver/docker: Docker networking mode is configurable ] drivers: Set task environment variables ] BUG FIXES: client/fingerprint: Network fingerprinting failed if default network interface did not exist ] client: Fixed issue where network resources throughput would be set to 0 MBits if the link speed could not be determined ] client: Improved detection