github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/CHANGELOG.md (about) 1 ## 1.1.0 (Unreleased) 2 3 BUG FIXES: 4 * api: Added missing devices block to AllocatedTaskResources [[GH-10064](https://github.com/hashicorp/nomad/pull/10064)] 5 * cli: Fixed a bug where non-int proxy port would panic CLI [[GH-10072](https://github.com/hashicorp/nomad/issues/10072)] 6 * cli: Fixed a bug where `nomad operator debug` incorrectly parsed https Consul API URLs. [[GH-10082](https://github.com/hashicorp/nomad/pull/10082)] 7 * ui: Fixed the rendering of interstitial components shown after processing a dynamic application sizing recommendation. [[GH-10094](https://github.com/hashicorp/nomad/pull/10094)] 8 9 IMPROVEMENTS: 10 * consul/connect: Enable setting `local_bind_address` field on connect upstreams [[GH-6248](https://github.com/hashicorp/nomad/issues/6248)] 11 ## 1.0.4 (February 24, 2021) 12 13 FEATURES: 14 * **Terminating Gateways**: Adds built-in support for running Consul Connect terminating gateways [[GH-9829](https://github.com/hashicorp/nomad/pull/9829)] 15 16 IMPROVEMENTS: 17 * api: Added OSS handling for license request to stop spurious errors from appearing in the logs [[GH-9963](https://github.com/hashicorp/nomad/pull/9963)] 18 * agent: Removed leading whitespace from JSON-formatted log output. [[GH-9795](https://github.com/hashicorp/nomad/issues/9795)] 19 * cli: Added optional `-task <task-name>` flag to `alloc logs` to match `alloc exec` [[GH-10026](https://github.com/hashicorp/nomad/issues/10026)] 20 * cli: Improved `scaling policy` commands with -verbose, auto-completion, and prefix-matching [[GH-9964](https://github.com/hashicorp/nomad/issues/9964)] 21 * consul/connect: Enable custom sidecar tasks to use connect expose checks [[GH-9995](https://github.com/hashicorp/nomad/pull/9995)] 22 * consul/connect: Added validation to prevent `connect` blocks from being added to task services. [[GH-9817](https://github.com/hashicorp/nomad/issues/9817)] 23 * consul/connect: Made handling of sidecar task container image URLs consistent with the `docker` task driver. [[GH-9580](https://github.com/hashicorp/nomad/issues/9580)] 24 * drivers/exec+java: Added client plugin and task configuration options to re-enable previous PID/IPC namespace behavior [[GH-9982](https://github.com/hashicorp/nomad/pull/9982)] [[GH-9990](https://github.com/hashicorp/nomad/pull/9990)] 25 * ui: Added button to fail running deployments [[GH-9831](https://github.com/hashicorp/nomad/pull/9831)] 26 * ui: Reduced bundle size by removing support for IE 11 [[GH-9578](https://github.com/hashicorp/nomad/pull/9578)] 27 28 BUG FIXES: 29 * cli: Fixed a bug where some fields in `dynamic` blocks were not interpolated. [[GH-9921](https://github.com/hashicorp/nomad/issues/9921)] 30 * cli: Fixed a bug where unset HCL2 variables would panic the CLI if the type was also not set. [[GH-10045](https://github.com/hashicorp/nomad/issues/10045)] 31 * consul: Fixed a bug where failing tasks with group services would only cause the allocation to restart once instead of respecting the `restart` field. [[GH-9869](https://github.com/hashicorp/nomad/issues/9869)] 32 * consul/connect: Fixed a bug where gateway proxy connection default timeout not set [[GH-9851](https://github.com/hashicorp/nomad/pull/9851)] 33 * consul/connect: Fixed a bug preventing more than one connect gateway per Nomad client [[GH-9849](https://github.com/hashicorp/nomad/pull/9849)] 34 * consul/connect: Fixed a bug where connect sidecar services would be re-registered unnecessarily. [[GH-10059](https://github.com/hashicorp/nomad/pull/10059)] 35 * consul/connect: Fixed a bug where the sidecar health checks would fail if `host_network` was defined. [[GH-9975](https://github.com/hashicorp/nomad/issues/9975)] 36 * consul/connect: Fixed a bug where tasks with connect services might be updated when no update necessary. [[GH-10077](https://github.com/hashicorp/nomad/issues/10077)] 37 * deployments: Fixed a bug where deployments with multiple task groups and manual promotion would fail if promoted after the progress deadline. [[GH-10042](https://github.com/hashicorp/nomad/issues/10042)] 38 * drivers/docker: Fixed a bug preventing multiple ports to be mapped to the same container port [[GH-9951](https://github.com/hashicorp/nomad/issues/9951)] 39 * driver/qemu: Fixed a bug where network namespaces were not supported for QEMU workloads [[GH-9861](https://github.com/hashicorp/nomad/pull/9861)] 40 * nomad/structs: Fixed a bug where static ports with the same value but different `host_network` were invalid [[GH-9946](https://github.com/hashicorp/nomad/issues/9946)] 41 * scheduler: Fixed a bug where shared ports were not persisted during inplace updates for service jobs. [[GH-9830](https://github.com/hashicorp/nomad/issues/9830)] 42 * scheduler: Fixed a bug where job statuses and summaries where duplicated and miscalculated when registering a job. [[GH-9768](https://github.com/hashicorp/nomad/issues/9768)] 43 * scheduler: Fixed a bug that caused the scheduler not to detect changes for `host_network` port field. [[GH-9937](https://github.com/hashicorp/nomad/issues/9937)] 44 * scheduler (Enterprise): Fixed a bug where the deprecated network `mbits` field was being considered as part of quota enforcement. [[GH-9920](https://github.com/hashicorp/nomad/issues/9920)] 45 * ui: Fixed exec command escaping of emoji in task names [[GH-7813](https://github.com/hashicorp/nomad/pull/7813)] 46 * ui: Consistently use the correct MHz shorthand throughout the UI [[GH-9896](https://github.com/hashicorp/nomad/issues/9896)] 47 * ui: Fixed inconsistent namespace casing in the namespace selector [[GH-9876](https://github.com/hashicorp/nomad/issues/9876)] 48 * ui: Always draw allocation associations if the alloc count is less than 10 [[GH-9769](https://github.com/hashicorp/nomad/issues/9769)] 49 * ui: Fixed incorrect text alignment in the topology visualization in Firefox [[GH-9894](https://github.com/hashicorp/nomad/issues/9894)] 50 * ui: Fixed node composite status so being down takes priority over being ineligible [[GH-9927](https://github.com/hashicorp/nomad/pull/9927)] 51 * ui: Don't count reservations of terminal allocations in the topology visualization [[GH-9886](https://github.com/hashicorp/nomad/issues/9886)] 52 * ui: Use server-sent error messages when applicable (e.g., when a task can't be stopped) [[GH-9909](https://github.com/hashicorp/nomad/issues/9909)] 53 * ui: Send the region query param when making cross-region client/server monitor requests [[GH-9913](https://github.com/hashicorp/nomad/issues/9913)] 54 * ui: Fixed a bug where namespaces were not being included when opening exec windows from allocations and tasks [[GH-9968](https://github.com/hashicorp/nomad/pull/9968)] 55 * ui: Don't draw allocation associations in the topology visualization on window resize when the associations aren't supposed to be shown [[GH-9769](https://github.com/hashicorp/nomad/issues/9769)] 56 * volumes: Fixed a bug where volume diffs were not displayed in the output of `nomad plan`. [[GH-9973](https://github.com/hashicorp/nomad/issues/9973)] 57 58 ## 1.0.3 (January 28, 2021) 59 60 SECURITY: 61 * drivers/exec+java: Modified exec-based drivers to run tasks in private PID/IPC namespaces. CVE-2021-3283 [[GH-9911](https://github.com/hashicorp/nomad/issues/9911)] 62 63 ## 1.0.2 (January 14, 2021) 64 65 IMPROVEMENTS: 66 * artifact: Added support for virtual host style AWS S3 paths. [[GH-9050](https://github.com/hashicorp/nomad/issues/9050)] 67 * build: Updated to Go 1.15.6. [[GH-9686](https://github.com/hashicorp/nomad/issues/9686)] 68 * client: Improve support for AWS Graviton instances [[GH-7989](https://github.com/hashicorp/nomad/issues/7989)] 69 * consul/connect: Interpolate the connect, service meta, and service canary meta blocks with the task environment [[GH-9586](https://github.com/hashicorp/nomad/pull/9586)] 70 * consul/connect: enable configuring custom gateway task [[GH-9639](https://github.com/hashicorp/nomad/pull/9639)] 71 * cli: Added JSON/go template formatting to agent-info command. [[GH-9788](https://github.com/hashicorp/nomad/pull/9788)] 72 73 74 BUG FIXES: 75 * client: Fixed a bug where non-`docker` tasks with network isolation were restarted on client restart. [[GH-9757](https://github.com/hashicorp/nomad/issues/9757)] 76 * client: Fixed a bug where clients configured with `cpu_total_compute` did not update the `cpu.totalcompute` node attribute. [[GH-9532](https://github.com/hashicorp/nomad/issues/9532)] 77 * client: Fixed an fingerprinter issue detecting bridge kernel module on RHEL [[GH-9776](https://github.com/hashicorp/nomad/issues/9776)] 78 * core: Fixed a bug where an in place update dropped an allocations shared allocated resources [[GH-9736](https://github.com/hashicorp/nomad/issues/9736)] 79 * consul: Fixed a bug where updating a task to include services would not work [[GH-9707](https://github.com/hashicorp/nomad/issues/9707)] 80 * consul: Fixed alloc address mode port advertisement to use the mapped `to` port value [[GH-9730](https://github.com/hashicorp/nomad/issues/9730)] 81 * consul/connect: Fixed a bug where absent ingress envoy proxy configuration could panic client [[GH-9669](https://github.com/hashicorp/nomad/issues/9669)] 82 * consul/connect: Fixed a bug where in-place upgrade of Nomad client running Connect enabled jobs would panic [[GH-9738](https://github.com/hashicorp/nomad/issues/9738)] 83 * lifecycle: Fixed a bug where poststop breaks deployments with consul service checks [[GH-9361](https://github.com/hashicorp/nomad/issues/9361)] 84 * template: Fixed multiple issues in template src/dest and artifact dest interpolation [[GH-9671](https://github.com/hashicorp/nomad/issues/9671)] 85 * template: Fixed a bug where dynamic secrets did not trigger the template `change_mode` after a client restart. [[GH-9636](https://github.com/hashicorp/nomad/issues/9636)] 86 * scaling: Fixed a bug where job scaling endpoint did not enforce scaling policy min/max [[GH-9761](https://github.com/hashicorp/nomad/issues/9761)] 87 * server: Fixed a bug where new servers may bootstrap prematurely when configured with `bootstrap_expect = 0` [[GH-9672](https://github.com/hashicorp/nomad/issues/9672)] 88 * ui: The topology visualization will now render a subset of nodes instead of nothing when some nodes are running nomad <0.9.0 [[GH-9733](https://github.com/hashicorp/nomad/issues/9733)] 89 90 ## 1.0.1 (December 16, 2020) 91 92 IMPROVEMENTS: 93 * drivers/docker: Added a new syntax for specifying `mount` [[GH-9635](https://github.com/hashicorp/nomad/issues/9635)] 94 95 BUG FIXES: 96 * core: Fixed a bug where ACLToken and ACLPolicy changes were ignored by the event stream [[GH-9595](https://github.com/hashicorp/nomad/issues/9595)] 97 * core: Fixed a bug to honor HCL2 variables set by environment variables or variable files [[GH-9592](https://github.com/hashicorp/nomad/issues/9592)] [[GH-9623](https://github.com/hashicorp/nomad/issues/9623)] 98 * cli: Fixed a bug in the node count for the `nomad operator debug` command. [[GH-9625](https://github.com/hashicorp/nomad/pull/9625)] 99 * cni: Fixed a bug where plugins that do not set the interface sandbox value could crash the Nomad client. [[GH-9648](https://github.com/hashicorp/nomad/issues/9648)] 100 * consul/connect: Fixed a bug where client meta.connect.sidecar_image configuration was ignored [[GH-9624](https://github.com/hashicorp/nomad/pull/9624)] 101 * consul/connect: Fixed a bug where client meta.connect.proxy_concurrency was not applied to connect gateways [[GH-9611](https://github.com/hashicorp/nomad/pull/9611)] 102 103 ## 1.0.0 (December 8, 2020) 104 105 FEATURES: 106 107 * **Event Stream**: Subscribe to change events as they occur in real time. [[GH-9013](https://github.com/hashicorp/nomad/issues/9013)] 108 * **Namespaces OSS**: Namespaces are now available in open source Nomad. [[GH-9135](https://github.com/hashicorp/nomad/issues/9135)] 109 * **Topology Visualization**: See all of the clients and allocations in a cluster at once. [[GH-9077](https://github.com/hashicorp/nomad/issues/9077)] 110 * **HCL 2**: Job files can contain variables, expressions, and advanced templating. 111 * **PostStop**: Tasks can now run after all other tasks have finished [[GH-8194](https://github.com/hashicorp/nomad/pull/8194)] 112 113 IMPROVEMENTS: 114 * core: Improved job deregistration error logging. [[GH-8745](https://github.com/hashicorp/nomad/issues/8745)] 115 * acl: Allow operators with `namespace:dispatch-job` capability to force periodic job invocation [[GH-9205](https://github.com/hashicorp/nomad/issues/9205)] 116 * api: Added support for cancellation contexts to HTTP API. [[GH-8836](https://github.com/hashicorp/nomad/issues/8836)] 117 * api: Job Register API now permits non-zero initial Version to accommodate multi-region deployments. [[GH-9071](https://github.com/hashicorp/nomad/issues/9071)] 118 * api: Added ?resources=true query parameter to /v1/nodes and /v1/allocations to include resource allocations in listings. [[GH-9055](https://github.com/hashicorp/nomad/issues/9055)] 119 * api: Added ?task_states=false query parameter to /v1/allocations to remove TaskStates from listings. Defaults to being included as before. [[GH-9055](https://github.com/hashicorp/nomad/issues/9055)] 120 * build: Updated to Go 1.15.5. [[GH-9345](https://github.com/hashicorp/nomad/issues/9345)] 121 * cli: Added autocompletion for `recommendation` commands [[GH-9317](https://github.com/hashicorp/nomad/issues/9317)] 122 * cli: Added client node filtering arguments to `nomad operator debug` command. [[GH-9331](https://github.com/hashicorp/nomad/pull/9331)] 123 * cli: Added goroutine debug pprof output and server-id=all to `nomad operator debug` capture. [[GH-9067](https://github.com/hashicorp/nomad/pull/9067)] 124 * cli: Added metrics to `nomad operator debug` capture. [[GH-9034](https://github.com/hashicorp/nomad/pull/9034)] 125 * cli: Added pprof duration and CSI details to `nomad operator debug` capture. [[GH-9346](https://github.com/hashicorp/nomad/pull/9346)] 126 * cli: Added `scale` and `scaling-events` subcommands to the `job` command. [[GH-9023](https://github.com/hashicorp/nomad/pull/9023)] 127 * cli: Added `scaling` command for interaction with the scaling API endpoint. [[GH-9025](https://github.com/hashicorp/nomad/pull/9025)] 128 * client: Use ec2 CPU perf data from AWS API [[GH-7830](https://github.com/hashicorp/nomad/issues/7830)] 129 * client: Added support for Azure fingerprinting. [[GH-8979](https://github.com/hashicorp/nomad/issues/8979)] 130 * client: Batch state store writes to reduce disk IO. [[GH-9093](https://github.com/hashicorp/nomad/issues/9093)] 131 * client: Reduce rate of sending allocation updates when servers are slow. [[GH-9435](https://github.com/hashicorp/nomad/issues/9435)] 132 * client: Added support for fingerprinting the client node's Consul segment. [[GH-7214](https://github.com/hashicorp/nomad/issues/7214)] 133 * client: Added `NOMAD_JOB_ID` and `NOMAD_PARENT_JOB_ID` environment variables to those made available to jobs. [[GH-8967](https://github.com/hashicorp/nomad/issues/8967)] 134 * client: Updated consul-template to v0.25.1 - config `function_blacklist` deprecated and replaced with `function_denylist` [[GH-8988](https://github.com/hashicorp/nomad/pull/8988)] 135 * config: Deprecated terms `blacklist` and `whitelist` from configuration and replaced them with `denylist` and `allowlist`. [[GH-9019](https://github.com/hashicorp/nomad/issues/9019)] 136 * consul: Support advertising CNI and multi-host network addresses to consul [[GH-8801](https://github.com/hashicorp/nomad/issues/8801)] 137 * consul: Support Consul namespace (Consul Enterprise) in client configuration. [[GH-8849](https://github.com/hashicorp/nomad/pull/8849)] 138 * consul/connect: Dynamically select envoy sidecar at runtime [[GH-8945](https://github.com/hashicorp/nomad/pull/8945)] 139 * consul/connect: Enable setting `datacenter` field on connect upstreams [[GH-8964](https://github.com/hashicorp/nomad/issues/8964)] 140 * consul/connect: Envoy concurrency now defaults to 1 rather than number of cores [[GH-9341](https://github.com/hashicorp/nomad/issues/9341)] 141 * csi: Support `nomad volume detach` with previously garbage-collected nodes. [[GH-9057](https://github.com/hashicorp/nomad/issues/9057)] 142 * csi: Relaxed validation requirements when checking volume capabilities with controller plugins, to accommodate existing plugin behaviors. [[GH-9049](https://github.com/hashicorp/nomad/issues/9049)] 143 * driver/docker: Upgrade pause container and detect architecture [[GH-8957](https://github.com/hashicorp/nomad/pull/8957)] 144 * driver/docker: Support pinning tasks to specific CPUs with `cpuset_cpus` option. [[GH-8291](https://github.com/hashicorp/nomad/pull/8291)] 145 * driver/raw_exec: Honor the task user setting when a user runs `nomad alloc exec` [[GH-9439](https://github.com/hashicorp/nomad/pull/9439)] 146 * jobspec: Lowered minimum CPU allowed from 20 to 1. [[GH-8996](https://github.com/hashicorp/nomad/issues/8996)] 147 * jobspec: Added support for `headers` option in `artifact` stanza [[GH-9306](https://github.com/hashicorp/nomad/issues/9306)] 148 149 __BACKWARDS INCOMPATIBILITIES:__ 150 * core: null characters are prohibited in region, datacenter, job name/ID, task group name, and task name [[GH-9020](https://github.com/hashicorp/nomad/issues/9020)] 151 * csi: registering a CSI volume with a `block-device` attachment mode and `mount_options` now returns a validation error, instead of silently dropping the `mount_options`. [[GH-9044](https://github.com/hashicorp/nomad/issues/9044)] 152 * driver/docker: Tasks are now issued SIGTERM instead of SIGINT when stopping [[GH-8932](https://github.com/hashicorp/nomad/issues/8932)] 153 * telemetry: removed backwards compatible/untagged metrics deprecated in 0.7 [[GH-9080](https://github.com/hashicorp/nomad/issues/9080)] 154 155 BUG FIXES: 156 157 * agent (Enterprise): Fixed a bug where audit logging caused websocket and streaming http endpoints to fail [[GH-9319](https://github.com/hashicorp/nomad/issues/9319)] 158 * core: Fixed a bug where ACL handling prevented cross-namespace allocation listing [[GH-9278](https://github.com/hashicorp/nomad/issues/9278)] 159 * core: Fixed a bug where AllocatedResources contained increasingly duplicated ports [[GH-9368](https://github.com/hashicorp/nomad/issues/9368)] 160 * core: Fixed a bug where group level network ports not usable by task resource network stanza [[GH-8780](https://github.com/hashicorp/nomad/issues/8780)] 161 * core: Fixed a bug where scaling policy filtering would ignore type query if job query was present [[GH-9312](https://github.com/hashicorp/nomad/issues/9312)] 162 * core: Fixed a bug where a request to scale a job would fail if the job was not in the default namespace. [[GH-9296](https://github.com/hashicorp/nomad/pull/9296)] 163 * core: Fixed a bug where blocking queries would not include the query's maximum wait time when calculating whether it was safe to retry. [[GH-8921](https://github.com/hashicorp/nomad/issues/8921)] 164 * config (Enterprise): Fixed default enterprise config merging. [[GH-9083](https://github.com/hashicorp/nomad/pull/9083)] 165 * client: Fixed an fingerprinter issue detecting bridge kernel module [[GH-9299](https://github.com/hashicorp/nomad/pull/9299)] 166 * client: Fixed an issue with the Java fingerprinter on macOS causing pop-up notifications when no JVM installed. [[GH-9225](https://github.com/hashicorp/nomad/pull/9225)] 167 * client: Fixed an issue in processing device plugin fingerprints which would temporarily hang nomad if no devices were found [[GH-9311](https://github.com/hashicorp/nomad/issues/9311)] 168 * 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. [[GH-9304](https://github.com/hashicorp/nomad/pull/9304)] 169 * consul: Fixed a bug where canary_meta was not being interpolated with environment variables [[GH-9096](https://github.com/hashicorp/nomad/pull/9096)] 170 * consul: Fixed a bug to correctly validate task when using script-checks in group-level services [[GH-8952](https://github.com/hashicorp/nomad/issues/8952)] 171 * consul: Fixed a bug that caused connect sidecars to be re-registered in Consul every 30 seconds [[GH-9330](https://github.com/hashicorp/nomad/pull/9330)] 172 * consul/connect: Fixed a bug to correctly trigger updates on jobspec changes [[GH-9029](https://github.com/hashicorp/nomad/pull/9029)] 173 * csi: Fixed a bug where multi-writer volumes were allowed only 1 write claim. [[GH-9040](https://github.com/hashicorp/nomad/issues/9040)] 174 * csi: Fixed a bug where garbage collection of plugins could prevent volume claim release. [[GH-9141](https://github.com/hashicorp/nomad/issues/9141)] 175 * csi: Fixed a bug where concurrent updates to volumes could result in inconsistent state. [[GH-9239](https://github.com/hashicorp/nomad/issues/9239)] 176 * csi: Fixed a bug where `nomad volume detach` would not accept prefixes for the node ID parameter. [[GH-9041](https://github.com/hashicorp/nomad/issues/9041)] 177 * csi: Fixed a bug where `nomad alloc status -verbose` would display an error when querying volumes. [[GH-9354](https://github.com/hashicorp/nomad/issues/9354)] 178 * csi: Fixed a bug where queries for CSI plugins could be interleaved, resulting in inconsistent counts of plugins. [[GH-9438](https://github.com/hashicorp/nomad/issues/9438)] 179 * driver/docker: Fixed a bug where the Docker daemon could block longer than the `kill_timeout`. [[GH-9502](https://github.com/hashicorp/nomad/issues/9502) 180 * driver/docker: Fixed a bug where the default `image_delay` configuration was ignored if the `gc` configuration was not set. [[GH-9101](https://github.com/hashicorp/nomad/issues/9101)] 181 * driver/raw_exec: Fixed a bug where raw_exec attempts to create a freezer cgroups for the tasks even when `no_cgroups` is set. [[GH-9328](https://github.com/hashicorp/nomad/issues/9328)] 182 * scheduler: Fixed a bug where where system jobs would bind on all interfaces instead of the specified `host_network`. [[GH-8822](https://github.com/hashicorp/nomad/issues/8822)] 183 * ui: Fixed a bug in the volume list page where allocation counts were not displayed. [[GH-9495](https://github.com/hashicorp/nomad/issues/9495)] 184 * ui: Fixed a bug in the volume status page where read allocations and write allocations were not displayed. [[GH-9377](https://github.com/hashicorp/nomad/issues/9377)] 185 * ui: Fixed a bug in the CSI volume and plugin status pages where plugins that don't require controllers were shown as unhealthy. [[GH-9416](https://github.com/hashicorp/nomad/issues/9416)] 186 187 ## 0.12.9 (November 18, 2020) 188 189 BUG FIXES: 190 * client: Fixed a regression where `NOMAD_{ALLOC,TASK,SECRETS}_DIR` variables would cause an error when interpolated into `template.source` stanzas. [[GH-9391](https://github.com/hashicorp/nomad/issues/9391)] 191 192 ## 0.12.8 (November 10, 2020) 193 194 SECURITY: 195 * docker: Fixed a bug where the `docker.volumes.enabled` configuration was not set to the default `false` if left unset. CVE-2020-28348 [[GH-9303](https://github.com/hashicorp/nomad/issues/9303)] 196 * 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 [[GH-9303](https://github.com/hashicorp/nomad/issues/9303)] 197 198 BUG FIXES: 199 * 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. [[GH-9304](https://github.com/hashicorp/nomad/pull/9304)] 200 201 ## 0.12.7 (October 23, 2020) 202 203 BUG FIXES: 204 * 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 `NOMAD_SECRETS_DIR` as part of the destination path. [[GH-9148](https://github.com/hashicorp/nomad/issues/9148)] 205 * 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 `NOMAD_SECRETS_DIR` as part of the destination path. [[GH-9148](https://github.com/hashicorp/nomad/issues/9148)] 206 207 ## 0.12.6 (October 21, 2020) 208 209 SECURITY: 210 211 * 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 [[GH-9129](https://github.com/hashicorp/nomad/issues/9129)] 212 * 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 `disable_file_sandbox` was set to `false` (the default). CVE-2020-27195 [[GH-9129](https://github.com/hashicorp/nomad/issues/9129)] 213 * template: Fixed a bug where the `disable_file_sandbox` configuration was only respected for the template `file` function and not the template `source` and `destination` fields. CVE-2020-27195 [[GH-9129](https://github.com/hashicorp/nomad/issues/9129)] 214 215 ## 0.12.5 (September 17, 2020) 216 217 BUG FIXES: 218 * core: Fixed a panic on job submission when the job contains a service with `expose = true` set [[GH-8882](https://github.com/hashicorp/nomad/issues/8882)] 219 * core: Fixed a regression where stopping the sole job allocation result in two replacement allocations [[GH-8867](https://github.com/hashicorp/nomad/issues/8867)] 220 * core: Fixed a bug where an allocation may be left running expectedly despite promoting a new job version [[GH-8886](https://github.com/hashicorp/nomad/issues/8886)] 221 * cli: Fixed the whitespace in nomad monitor help output [[GH-8884](https://github.com/hashicorp/nomad/issues/8884)] 222 * cli: Updated job samples to avoid using deprecated task level networks and mbit syntax [[GH-8911](https://github.com/hashicorp/nomad/issues/8911)] 223 * cli: Fixed a bug where alloc signal fails if the CLI cannot contact the Nomad client directly [[GH-8897](https://github.com/hashicorp/nomad/issues/8897)] 224 * cli: Fixed a bug where host volumes could cause `nomad node status` to panic when the `-verbose` flag was used. [[GH-8902](https://github.com/hashicorp/nomad/issues/8902)] 225 * ui: Fixed ability to switch between tasks in alloc exec sessions [[GH-8856](https://github.com/hashicorp/nomad/issues/8856)] 226 * ui: Task log streaming will no longer suddenly flip to a different task's logs. [[GH-8833](https://github.com/hashicorp/nomad/issues/8833)] 227 228 ## 0.12.4 (September 9, 2020) 229 230 FEATURES: 231 232 * **Consul Ingress Gateways**: Support for Consul Connect Ingress Gateways [[GH-8709](https://github.com/hashicorp/nomad/pull/8709)] 233 234 IMPROVEMENTS: 235 236 * api: Added node purge SDK functionality. [[GH-8142](https://github.com/hashicorp/nomad/issues/8142)] 237 * api: Added an option to stop multiregion jobs globally. [[GH-8776](https://github.com/hashicorp/nomad/issues/8776)] 238 * core: Added `poststart` hook to task lifecycle [[GH-8390](https://github.com/hashicorp/nomad/pull/8390)] 239 * csi: Improved the accuracy of plugin `Expected` allocation counts. [[GH-8699](https://github.com/hashicorp/nomad/pull/8699)] 240 * driver/docker: Allow configurable image pull context timeout setting. [[GH-5718](https://github.com/hashicorp/nomad/issues/5718)] 241 * ui: Added exec keepalive heartbeat. [[GH-8759](https://github.com/hashicorp/nomad/pull/8759)] 242 243 BUG FIXES: 244 245 * core: Fixed a bug where unpromoted job versions are used when rescheduling failed allocations [[GH-8691](https://github.com/hashicorp/nomad/issues/8691)] 246 * core: Fixed a bug where servers become unresponsive when cron jobs containing zero-padded months [[GH-8804](https://github.com/hashicorp/nomad/issues/8804)] 247 * core: Fixed bugs where scaling policies could be matched against incorrect jobs with a similar prefix [[GH-8753](https://github.com/hashicorp/nomad/issues/8753)] 248 * core: Fixed a bug where garbage collection evaluations that failed or spanned leader elections would be re-enqueued forever. [[GH-8682](https://github.com/hashicorp/nomad/issues/8682)] 249 * core (Enterprise): Fixed a bug where enterprise servers may self-terminate as licenses are ignored after a Raft snapshot restore. [[GH-8737](https://github.com/hashicorp/nomad/issues/8737)] 250 * cli (Enterprise): Fixed a panic in `nomad operator snapshot agent` if local path is not set [[GH-8809](https://github.com/hashicorp/nomad/issues/8809)] 251 * client: Fixed a bug where `nomad operator debug` could cause a client agent to panic when the `-node-id` flag was used. [[GH-8795](https://github.com/hashicorp/nomad/issues/8795)] 252 * csi: Fixed a bug where errors while connecting to plugins could cause a panic in the Nomad client. [[GH-8825](https://github.com/hashicorp/nomad/issues/8825)] 253 * 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. [[GH-8735](https://github.com/hashicorp/nomad/issues/8735)] 254 * deployments (Enterprise): Fixed a bug where counts could not be changed in the web UI for multiregion jobs. [[GH-8685](https://github.com/hashicorp/nomad/issues/8685)] 255 * deployments (Enterprise): Fixed a bug in multi-region deployments where a region that was dropped from the jobspec was not deregistered. [[GH-8763](https://github.com/hashicorp/nomad/issues/8763)] 256 * docker: Fixed a bug where configuring DNS options in `bridge` or `cni` mode would prevent the container from being created. [[GH-8600](https://github.com/hashicorp/nomad/issues/8600)] 257 * exec: Fixed a bug causing escape characters to be missed in special cases [[GH-8798](https://github.com/hashicorp/nomad/issues/8798)] 258 * plan: Fixed a bug where plans always included a change for the `NomadTokenID`. [[GH-8687](https://github.com/hashicorp/nomad/issues/8687)] 259 260 ## 0.12.3 (August 13, 2020) 261 262 BUG FIXES: 263 264 * csi: Fixed a panic in the API affecting both plugins and volumes. [[GH-8655](https://github.com/hashicorp/nomad/issues/8655)] 265 266 ## 0.12.2 (August 12, 2020) 267 268 FEATURES: 269 270 * **Multiple Vault Namespaces (Enterprise)**: Support for multiple Vault Namespaces [[GH-8453](https://github.com/hashicorp/nomad/issues/8453)] 271 * **Scaling Observability UI**: View changes in task group scale (both manual and automatic) over time. [[GH-8551](https://github.com/hashicorp/nomad/issues/8551)] 272 273 IMPROVEMENTS: 274 275 * cli: Move the `debug` command to `nomad operator debug` [[GH-8602](https://github.com/hashicorp/nomad/pull/8602)] 276 * consul/connect: Added support for bridge networks with Connect Native tasks [[GH-8290](https://github.com/hashicorp/nomad/issues/8290)] 277 * consul: Added support for setting `success_before_passing` and `failures_before_critical` on consul service checks. [[GH-6913](https://github.com/hashicorp/nomad/issues/6913)] 278 * csi: Added a `nomad volume detach` command to manually detach unused volumes. [[GH-8584](https://github.com/hashicorp/nomad/issues/8584)] 279 280 BUG FIXES: 281 282 * core: Fixed a bug where `nomad job plan` reports success and no updates if the job contains a scaling policy [[GH-8567](https://github.com/hashicorp/nomad/issues/8567)] 283 * api: Added missing namespace field to scaling status GET response object [[GH-8530](https://github.com/hashicorp/nomad/issues/8530)] 284 * api: Do not allow submission of jobs of type `system` that include task groups with scaling stanzas [[GH-8491](https://github.com/hashicorp/nomad/issues/8491)] 285 * build: Updated to Go 1.14.7. Go 1.14.6 contained a CVE that is not believed to impact Nomad [[GH-8601](https://github.com/hashicorp/nomad/issues/8601)] 286 * csi: Fixed a bug where ACL tokens were not used to call internal RPCs. [[GH-8373](https://github.com/hashicorp/nomad/issues/8373)] 287 * csi: Fixed a bug where volumes could not be detached during node drains. [[GH-8580](https://github.com/hashicorp/nomad/issues/8580)] 288 * csi: Fixed a bug where allocations in the API were omitted from plugins and volumes. [[GH-8362](https://github.com/hashicorp/nomad/issues/8362)] 289 * csi: Fixed a bug where controller plugin RPCs would not be retried to a second controller if available. [[GH-8561](https://github.com/hashicorp/nomad/issues/8561)] 290 * csi: Fixed a bug where retries of plugin RPCs would not gracefully resume from checkpoints in the workflow. [[GH-8605](https://github.com/hashicorp/nomad/issues/8605)] 291 * csi: Fixed a bug causing errors during client deregistration if CSI node plugins did not fingerprint after stopping. [[GH-8619](https://github.com/hashicorp/nomad/issues/8619)] 292 * csi: Fixed a bug where the `NodePublish` workflow incorrectly created target paths that should be created by the CSI plugin. [[GH-8505](https://github.com/hashicorp/nomad/issues/8505)] 293 * 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. [[GH-8525](https://github.com/hashicorp/nomad/issues/8525)] 294 * deployments: Fixed a bug where Nomad Enterprise multi-region deployments would not leave "pending" status if namespaces were also in use. 295 * vault: Fixed a bug where vault integration fails if Vault's /sys/init endpoint is disabled [[GH-8524](https://github.com/hashicorp/nomad/issues/8524)] 296 * vault: Fixed a bug where upgrades from pre-0.11.3 that use Vault can lead to memory spikes and write large Raft messages. [[GH-8553](https://github.com/hashicorp/nomad/issues/8553)] 297 * ui: Fixed various accessibility audit failures [[GH-8455](https://github.com/hashicorp/nomad/pull/8455)] 298 * ui: Fixed global search navigation where job name ≠ ID [[GH-8560](https://github.com/hashicorp/nomad/pull/8560)] 299 * ui: Fixed slow global search rendering by truncating results [[GH-8571](https://github.com/hashicorp/nomad/pull/8571)] 300 301 ## 0.12.1 (July 23, 2020) 302 303 SECURITY: 304 305 * build: Updated to Go 1.14.6. Go 1.14.5 contained 2 CVEs which are low severity for Nomad [[GH-8467](https://github.com/hashicorp/nomad/issues/8467)] 306 307 IMPROVEMENTS: 308 309 * device/nvidia: Added a plugin config option to disable the plugin [[GH-8353](https://github.com/hashicorp/nomad/issues/8353)] 310 311 BUG FIXES: 312 313 * core: Fixed an atomicity bug where a job may fail to start if leadership transition occured while processing the job [[GH-8435](https://github.com/hashicorp/nomad/issues/8435)] 314 * core: Fixed a regression bug where jobs with group level networking stanza fail to be scheduled with "missing network" constraint error [[GH-8407](https://github.com/hashicorp/nomad/pull/8407)] 315 * core (Enterprise): Fixed a bug where users were not given full 6 hours to apply initial license when upgrading from unlicensed versions of Nomad. [[GH-8457](https://github.com/hashicorp/nomad/issues/8457)] 316 * client: Fixed a bug where `network_interface` client configuration was ignored [[GH-8486](https://github.com/hashicorp/nomad/issues/8486)] 317 * jobspec: Fixed validation of multi-region datacenters to allow empty region `datacenters` to default to job-level `datacenters` [[GH-8426](https://github.com/hashicorp/nomad/issues/8426)] 318 * scheduler: Fixed a bug in Nomad Enterprise where canaries were not being created during multi-region deployments [[GH-8456](https://github.com/hashicorp/nomad/pull/8456)] 319 * ui: Fixed stale namespaces after changing acl tokens [[GH-8413](https://github.com/hashicorp/nomad/issues/8413)] 320 * ui: Fixed inclusion of allocation when opening exec window [[GH-8460](https://github.com/hashicorp/nomad/pull/8460)] 321 * ui: Fixed layout of parameterized/periodic job title elemetns [[GH-8495](https://github.com/hashicorp/nomad/pull/8495)] 322 * ui: Fixed order of column headers in client allocations table [[GH-8409](https://github.com/hashicorp/nomad/pull/8409)] 323 * ui: Fixed missing namespace query param after changing acl tokens [[GH-8413](https://github.com/hashicorp/nomad/issues/8413)] 324 * ui: Fixed exec to derive group and task when possible from allocation [[GH-8463](https://github.com/hashicorp/nomad/pull/8463)] 325 * ui: Fixed runtime error when clicking "Run Job" while a prefix filter is set [[GH-8412](https://github.com/hashicorp/nomad/issues/8412)] 326 * ui: Fixed the absence of the region query parameter on various actions, such as job stop, allocation restart, node drain. [[GH-8477](https://github.com/hashicorp/nomad/issues/8477)] 327 * ui: Fixed issue where an orphaned child job would make it so navigating to a job detail page would hang the UI [[GH-8319](https://github.com/hashicorp/nomad/issues/8319)] 328 * ui: Fixed issue where clicking View Raw File in a non-default region would not provide the region param resulting in a 404 [[GH-8509](https://github.com/hashicorp/nomad/issues/8509)] 329 * vault: Fixed a bug where vault identity policies not considered in permissions check [[GH-7732](https://github.com/hashicorp/nomad/issues/7732)] 330 331 ## 0.12.0 (July 9, 2020) 332 333 FEATURES: 334 * **Preemption**: Preemption is now an open source feature 335 * **Licensing (Enterprise)**: Nomad Enterprise now requires a license [[GH-8076](https://github.com/hashicorp/nomad/issues/8076)] 336 * **Multiregion Deployments (Enterprise)**: Nomad Enterprise now enables orchestrating deployments across multiple regions. [[GH-8184](https://github.com/hashicorp/nomad/issues/8184)] 337 * **Snapshot Backup and Restore**: Nomad eases disaster recovery with new endpoints and commands for point-in-time snapshots. 338 * **Debug Log Archive**: Nomad debug captures state and logs to facilitate support [[GH-8273](https://github.com/hashicorp/nomad/issues/8273)] 339 * **Container Network Interface (CNI)**: Support for third-party vendors using the CNI plugin system. [[GH-7518](https://github.com/hashicorp/nomad/issues/7518)] 340 * **Multi-interface Networking**: Support for scheduling on specific network interfaces. [[GH-8208](https://github.com/hashicorp/nomad/issues/8208)] 341 * **Consul Connect Native**: Support for running Consul Connect Native tasks. [[GH-6083](https://github.com/hashicorp/nomad/issues/6083)] 342 * **Global Search**: Access jobs and clients from anywhere in the UI using the always available global search bar. [[GH-8175](https://github.com/hashicorp/nomad/issues/8175)] 343 * **Monitor UI**: Stream client and agent logs from the UI just like you would with the nomad monitor CLI command. [[GH-8177](https://github.com/hashicorp/nomad/issues/8177)] 344 * **Scaling UI**: Quickly adjust the count of a task group from the UI for task groups with a scaling declaration. [[GH-8207](https://github.com/hashicorp/nomad/issues/8207)] 345 346 __BACKWARDS INCOMPATIBILITIES:__ 347 * driver/docker: The Docker driver no longer allows binding host volumes by default. 348 Operators can set `volume` `enabled` plugin configuration to restore previous permissive behavior. [[GH-8261](https://github.com/hashicorp/nomad/issues/8261)] 349 * driver/qemu: The Qemu driver requires images to reside in a operator-defined paths allowed for task access. [[GH-8261](https://github.com/hashicorp/nomad/issues/8261)] 350 351 IMPROVEMENTS: 352 353 * core: Support for persisting previous task group counts when updating a job [[GH-8168](https://github.com/hashicorp/nomad/issues/8168)] 354 * core: Block Job.Scale actions when the job is under active deployment [[GH-8187](https://github.com/hashicorp/nomad/issues/8187)] 355 * api: Better error messages around Scaling->Max [[GH-8360](https://github.com/hashicorp/nomad/issues/8360)] 356 * api: Persist previous count with scaling events [[GH-8167](https://github.com/hashicorp/nomad/issues/8167)] 357 * api: Support querying for jobs and allocations across all namespaces [[GH-8192](https://github.com/hashicorp/nomad/issues/8192)] 358 * api: New `/agent/host` endpoint returns diagnostic information about the host [[GH-8325](https://github.com/hashicorp/nomad/pull/8325)] 359 * build: Updated to Go 1.14.4 [[GH-8172](https://github.com/hashicorp/nomad/issues/9172)] 360 * build: Switched to Go modules for dependency management [[GH-8041](https://github.com/hashicorp/nomad/pull/8041)] 361 * connect: Infer service task parameter where possible [[GH-8274](https://github.com/hashicorp/nomad/issues/8274)] 362 * csi: Added `-force` flag to `nomad volume deregister` [[GH-8251](https://github.com/hashicorp/nomad/issues/8251)] 363 * server: Added `raft_multiplier` config to tweak Raft related timeouts [[GH-8082](https://github.com/hashicorp/nomad/issues/8082)] 364 365 BUG FIXES: 366 367 * cli: Fixed malformed alloc status address list when listing more than 1 address [[GH-8161](https://github.com/hashicorp/nomad/issues/8161)] 368 * client: Fixed a bug where stdout/stderr were not properly reopened for community task drivers [[GH-8155](https://github.com/hashicorp/nomad/issues/8155)] 369 * client: Fixed a bug where batch job sidecars may be left running after the main task completes [[GH-8311](https://github.com/hashicorp/nomad/issues/8311)] 370 * connect: Fixed a bug where custom `sidecar_task` definitions were being shared [[GH-8337](https://github.com/hashicorp/nomad/issues/8337)] 371 * csi: Fixed a bug where `NodeStageVolume` and `NodePublishVolume` requests were not receiving volume context [[GH-8239](https://github.com/hashicorp/nomad/issues/8239)] 372 * driver/docker: Fixed a bug to set correct value for `memory-swap` when using `memory_hard_limit` [[GH-8153](https://github.com/hashicorp/nomad/issues/8153)] 373 * ui: The log streamer will now always follow logs when the current scroll position is the end of the buffer. [[GH-8177](https://github.com/hashicorp/nomad/issues/8177)] 374 * ui: The task group detail page no longer makes excessive requests to the allocation and stats endpoints. [[GH-8216](https://github.com/hashicorp/nomad/issues/8216)] 375 * ui: Polling endpoints that have yet to be fetched normally works as expected (regression from 0.11.3). [[GH-8207](https://github.com/hashicorp/nomad/issues/8207)] 376 377 ## 0.11.8 (November 19, 2020) 378 379 BUG FIXES: 380 * 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. [[GH-9402](https://github.com/hashicorp/nomad/issues/9402)] 381 382 ## 0.11.7 (November 10, 2020) 383 384 SECURITY: 385 * 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 [[GH-9303](https://github.com/hashicorp/nomad/issues/9303)] 386 387 BUG FIXES: 388 * 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. [[GH-9304](https://github.com/hashicorp/nomad/pull/9304)] 389 390 ## 0.11.6 (October 23, 2020) 391 392 BUG FIXES: 393 * 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 `NOMAD_SECRETS_DIR` as part of the destination path. [[GH-9148](https://github.com/hashicorp/nomad/issues/9148)] 394 * 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 `NOMAD_SECRETS_DIR` as part of the destination path. [[GH-9148](https://github.com/hashicorp/nomad/issues/9148)] 395 396 ## 0.11.5 (October 21, 2020) 397 398 SECURITY: 399 400 * 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 [[GH-9129](https://github.com/hashicorp/nomad/issues/9129)] 401 * 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 `disable_file_sandbox` was set to `false` (the default). CVE-2020-27195 [[GH-9129](https://github.com/hashicorp/nomad/issues/9129)] 402 * template: _Backport from v0.12.6_ - Fixed a bug where the `disable_file_sandbox` configuration was only respected for the template `file` function and not the template `source` and `destination` fields. CVE-2020-27195 [[GH-9129](https://github.com/hashicorp/nomad/issues/9129)] 403 404 ## 0.11.4 (August 7, 2020) 405 406 SECURITY: 407 408 * 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 [[GH-8467](https://github.com/hashicorp/nomad/issues/8467)] 409 410 BUG FIXES: 411 412 * 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. [[GH-8553](https://github.com/hashicorp/nomad/issues/8553)] 413 414 ## 0.11.3 (June 5, 2020) 415 416 IMPROVEMENTS: 417 418 * build: Updated to Go 1.14.3 [[GH-7431](https://github.com/hashicorp/nomad/issues/7970)] 419 * csi: Return better error messages [[GH-7984](https://github.com/hashicorp/nomad/issues/7984)] [[GH-8030](https://github.com/hashicorp/nomad/issues/8030)] 420 * csi: Move volume claim releases out of evaluation workers [[GH-8021](https://github.com/hashicorp/nomad/issues/8021)] 421 * csi: Added support for `VolumeContext` and `VolumeParameters` [[GH-7957](https://github.com/hashicorp/nomad/issues/7957)] 422 * driver/docker: Added support for `memory_hard_limit` configuration in docker task driver [[GH-2093](https://github.com/hashicorp/nomad/issues/2093)] 423 * logging: Remove spurious error log on task shutdown [[GH-8028](https://github.com/hashicorp/nomad/issues/8028)] 424 * ui: Added filesystem browsing for allocations [[GH-5871](https://github.com/hashicorp/nomad/pull/7951)] 425 426 BUG FIXES: 427 428 * core: Fixed a critical bug causing agent to become unresponsive [[GH-7431](https://github.com/hashicorp/nomad/issues/7970)], [[GH-8163](https://github.com/hashicorp/nomad/issues/8163)] 429 * core: Fixed a bug impacting performance of scheduler on a server after it steps down [[GH-8089](https://github.com/hashicorp/nomad/issues/8089)] 430 * core: Fixed a bug where new leader may take a long time until it can process requests [[GH-8036](https://github.com/hashicorp/nomad/issues/8036)] 431 * core: Fixed a bug where stop_after_client_disconnect could cause the server to become unresponsive [[GH-8098](https://github.com/hashicorp/nomad/issues/8098) 432 * core: Fixed a bug where an internal metadata, ClusterID, may not be initialized properly upon a slow server upgrade [[GH-8078](https://github.com/hashicorp/nomad/issues/8078)] 433 * api: Fixed a bug where setting connect sidecar task resources could fail [[GH-7993](https://github.com/hashicorp/nomad/issues/7993)] 434 * client: Fixed a bug where artifact downloads failed on redirects [[GH-7854](https://github.com/hashicorp/nomad/issues/7854)] 435 * csi: Validate empty volume arguments in API. [[GH-8027](https://github.com/hashicorp/nomad/issues/8027)] 436 437 ## 0.11.2 (May 14, 2020) 438 439 FEATURES: 440 * **Task dependencies UI**: task lifecycle charts and details 441 442 IMPROVEMENTS: 443 444 * core: Added support for a per-group policy to stop tasks when a client is disconnected [[GH-2185](https://github.com/hashicorp/nomad/issues/2185)] 445 * core: Allow spreading allocations as an alternative to binpacking [[GH-7810](https://github.com/hashicorp/nomad/issues/7810)] 446 * client: Improve AWS CPU performance fingerprinting [[GH-7681](https://github.com/hashicorp/nomad/issues/7681)] 447 * csi: Added support for volume secrets [[GH-7923](https://github.com/hashicorp/nomad/issues/7923)] 448 * csi: Added periodic garbage collection of plugins and volume claims [[GH-7825](https://github.com/hashicorp/nomad/issues/7825)] 449 * csi: Improved performance of volume claim releases by moving work out of scheduler [[GH-7794](https://github.com/hashicorp/nomad/issues/7794)] 450 * driver/docker: Added support for custom runtimes [[GH-7932](https://github.com/hashicorp/nomad/pull/7932)] 451 * ui: Added ACL-checking to conditionally turn off exec button [[GH-7919](https://github.com/hashicorp/nomad/pull/7919)] 452 * ui: CSI searchable volumes and plugins pages [[GH-7895](https://github.com/hashicorp/nomad/issues/7895)] 453 * ui: CSI plugins list and etail pages [[GH-7872](https://github.com/hashicorp/nomad/issues/7872)] [[GH-7911](https://github.com/hashicorp/nomad/issues/7911)] 454 * ui: CSI volume constraints table [[GH-7872](https://github.com/hashicorp/nomad/issues/7872)] 455 456 BUG FIXES: 457 458 * core: job scale status endpoint was returning incorrect counts [[GH-7789](https://github.com/hashicorp/nomad/issues/7789)] 459 * core: Fixed bugs related to periodic jobs scheduled during daylight saving transition periods [[GH-7894](https://github.com/hashicorp/nomad/issues/7894)] 460 * core: Fixed a bug where scores for allocations were biased toward nodes with resource reservations [[GH-7730](https://github.com/hashicorp/nomad/issues/7730)] 461 * agent: Fine-tuned the severity level of http request failures [[GH-7785](https://github.com/hashicorp/nomad/pull/7785)] 462 * api: api.ScalingEvent struct was missing .Count [[GH-7915](https://github.com/hashicorp/nomad/pulls/7915)] 463 * api: validate scale count value is not negative [[GH-7902](https://github.com/hashicorp/nomad/issues/7902)] 464 * api: autoscaling policies should not be returned for stopped jobs [[GH-7768](https://github.com/hashicorp/nomad/issues/7768)] 465 * client: Fixed a bug where an multi-task allocation maybe considered unhealthy if some tasks are slow to start [[GH-7944](https://github.com/hashicorp/nomad/issues/7944)] 466 * csi: Fixed checking of volume validation responses from plugins [[GH-7831](https://github.com/hashicorp/nomad/issues/7831)] 467 * csi: Fixed counting of healthy and expected plugins after plugin job updates or stops [[GH-7844](https://github.com/hashicorp/nomad/issues/7844)] 468 * csi: Added checkpointing to volume claim release to avoid unreleased claims on plugin errors [[GH-7782](https://github.com/hashicorp/nomad/issues/7782)] 469 * driver/docker: Fixed a bug preventing garbage collecting unused docker images [[GH-7947](https://github.com/hashicorp/nomad/issues/7947)] 470 * jobspec: autoscaling policy block should return a parsing error multiple `policy` blocks are provided [[GH-7716](https://github.com/hashicorp/nomad/issues/7716)] 471 * ui: Fixed a bug where exec popup had incorrect URL for jobs where name ≠ id [[GH-7814](https://github.com/hashicorp/nomad/issues/7814)] 472 * 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 [[GH-7820](https://github.com/hashicorp/nomad/issues/7820)] 473 * ui: Setting a namespace on Volumes or Jobs persists that namespace choice when switching to another namespace-away page [[GH-7896](https://github.com/hashicorp/nomad/issues/7896)] 474 * ui: Fixed a bug where clicking stdout or stderr when already on that clicked view would pause log streaming [[GH-7820](https://github.com/hashicorp/nomad/issues/7820)] 475 * ui: Fixed a race condition that made swithing from stdout to stderr too quickly show an error [[GH-7820](https://github.com/hashicorp/nomad/issues/7820)] 476 * ui: Switching namespaces now redirects to Volumes instead of Jobs when on a Storage page [[GH-7896](https://github.com/hashicorp/nomad/issues/7896)] 477 * ui: Allocations always report resource reservations based on thier own job version [[GH-7855](https://github.com/hashicorp/nomad/issues/7855)] 478 * vault: Fixed a bug where nomad retries revoking tokens indefinitely [[GH-7959](https://github.com/hashicorp/nomad/issues/7959)] 479 480 ## 0.11.1 (April 22, 2020) 481 482 BUG FIXES: 483 484 * core: Fixed a bug that only ran a task `shutdown_delay` if the task had a registered service [[GH-7663](https://github.com/hashicorp/nomad/issues/7663)] 485 * core: Fixed a panic when garbage collecting a job with allocations spanning multiple versions [[GH-7758](https://github.com/hashicorp/nomad/issues/7758)] 486 * agent: Fixed a bug where http server logs did not honor json log formatting, and reduced http server logging level to Trace [[GH-7748](https://github.com/hashicorp/nomad/issues/7748)] 487 * connect: Fixed bugs where some connect parameters would be ignored [[GH-7690](https://github.com/hashicorp/nomad/pull/7690)] [[GH-7684](https://github.com/hashicorp/nomad/pull/7684)] 488 * connect: Fixed a bug where an absent connect sidecar_service stanza would trigger panic [[GH-7683](https://github.com/hashicorp/nomad/pull/7683)] 489 * connect: Fixed a bug where some connect proxy fields would be dropped from 'job inspect' output [[GH-7397](https://github.com/hashicorp/nomad/issues/7397)] 490 * csi: Fixed a panic when claiming a volume for an allocation that was already garbage collected [[GH-7760](https://github.com/hashicorp/nomad/issues/7760)] 491 * csi: Fixed a bug where CSI plugins with `NODE_STAGE_VOLUME` capabilities were receiving an incorrect volume ID [[GH-7754](https://github.com/hashicorp/nomad/issues/7754)] 492 * driver/docker: Fixed a bug where retrying failed docker creation may in rare cases trigger a panic [[GH-7749](https://github.com/hashicorp/nomad/issues/7749)] 493 * scheduler: Fixed a bug in managing allocated devices for a job allocation in in-place update scenarios [[GH-7762](https://github.com/hashicorp/nomad/issues/7762)] 494 * vault: Upgrade http2 library to fix Vault API calls that fail with `http2: no cached connection was available` [[GH-7673](https://github.com/hashicorp/nomad/issues/7673)] 495 496 ## 0.11.0 (April 8, 2020) 497 498 FEATURES: 499 * **Container Storage Interface [beta]**: Nomad has expanded support 500 of stateful workloads through support for CSI plugins. 501 * **Exec UI**: an in-browser terminal for connecting to running allocations. 502 * **Audit Logging (Enterprise)**: Audit logging support for Nomad 503 Enterprise. 504 * **Scaling APIs**: new scaling policy API and job scaling APIs to support external autoscalers 505 * **Task Dependencies**: introduces `lifecycle` stanza with prestart and sidecar hooks for tasks within a task group 506 507 508 __BACKWARDS INCOMPATIBILITIES:__ 509 * driver/rkt: The Rkt driver is no longer packaged with Nomad and is instead 510 distributed separately as a driver plugin. Further, the Rkt driver codebase 511 is now in a separate 512 [repository](https://github.com/hashicorp/nomad-driver-rkt). 513 514 IMPROVEMENTS: 515 516 * core: Optimized streaming RPCs made between Nomad agents [[GH-7044](https://github.com/hashicorp/nomad/issues/7044)] 517 * build: Updated to Go 1.14.1 [[GH-7431](https://github.com/hashicorp/nomad/issues/7431)] 518 * consul: Added support for configuring `enable_tag_override` on service stanzas. [[GH-2057](https://github.com/hashicorp/nomad/issues/2057)] 519 * client: Updated consul-template library to v0.24.1 - added support for working with consul connect. [Deprecated vault_grace](https://nomadproject.io/guides/upgrade/upgrade-specific/#nomad-0110) [[GH-7170](https://github.com/hashicorp/nomad/pull/7170)] 520 * driver/exec: Added `no_pivot_root` option for ramdisk use [[GH-7149](https://github.com/hashicorp/nomad/issues/7149)] 521 * jobspec: Added task environment interpolation to `volume_mount` [[GH-7364](https://github.com/hashicorp/nomad/issues/7364)] 522 * jobspec: Added support for a per-task restart policy [[GH-7288](https://github.com/hashicorp/nomad/pull/7288)] 523 * server: Added minimum quorum check to Autopilot with minQuorum option [[GH-7171](https://github.com/hashicorp/nomad/issues/7171)] 524 * connect: Added support for specifying Envoy expose path configurations [[GH-7323](https://github.com/hashicorp/nomad/pull/7323)] [[GH-7396](https://github.com/hashicorp/nomad/pull/7515)] 525 * connect: Added support for using Connect with TLS enabled Consul agents [[GH-7602](https://github.com/hashicorp/nomad/pull/7602)] 526 527 BUG FIXES: 528 529 * core: Fixed a bug where group network mode changes were not honored [[GH-7414](https://github.com/hashicorp/nomad/issues/7414)] 530 * core: Optimized and fixed few bugs in underlying RPC handling [[GH-7044](https://github.com/hashicorp/nomad/issues/7044)] [[GH-7045](https://github.com/hashicorp/nomad/issues/7045)] 531 * api: Fixed a panic when canonicalizing a jobspec with an incorrect job type [[GH-7207](https://github.com/hashicorp/nomad/pull/7207)] 532 * api: Fixed a bug where calling the node GC or GcAlloc endpoints resulted in an error EOF return on successful requests [[GH-5970](https://github.com/hashicorp/nomad/issues/5970)] 533 * api: Fixed a bug where `/client/allocations/...` (e.g. allocation stats) requests may hang in special cases after a leader election [[GH-7370](https://github.com/hashicorp/nomad/issues/7370)] 534 * cli: Fixed a bug where `nomad agent -dev` fails on Windows [[GH-7534](https://github.com/hashicorp/nomad/pull/7534)] 535 * cli: Fixed a panic when displaying device plugins without stats [[GH-7231](https://github.com/hashicorp/nomad/issues/7231)] 536 * cli: Fixed a bug where `alloc exec` command in TLS environments may fail [[GH-7274](https://github.com/hashicorp/nomad/issues/7274)] 537 * client: Fixed a panic when running in Debian with `/etc/debian_version` is empty [[GH-7350](https://github.com/hashicorp/nomad/issues/7350)] 538 * client: Fixed a bug affecting network detection in environments that mimic the EC2 Metadata API [[GH-7509](https://github.com/hashicorp/nomad/issues/7509)] 539 * client: Fixed a bug where a multi-task allocation maybe considered healthy despite a task restarting [[GH-7383](https://github.com/hashicorp/nomad/issues/7383)] 540 * consul: Fixed a bug where modified Consul service definitions would not be updated [[GH-6459](https://github.com/hashicorp/nomad/issues/6459)] 541 * connect: Fixed a bug where Connect enabled allocation would not stop after promotion [[GH-7540](https://github.com/hashicorp/nomad/issues/7540)] 542 * connect: Fixed a bug where restarting a client would prevent Connect enabled allocations from cleaning up properly [[GH-7643](https://github.com/hashicorp/nomad/issues/7643)] 543 * driver/docker: Fixed handling of seccomp `security_opts` option [[GH-7554](https://github.com/hashicorp/nomad/issues/7554)] 544 * driver/docker: Fixed a bug causing docker containers to use swap memory unexpectedly [[GH-7550](https://github.com/hashicorp/nomad/issues/7550)] 545 * scheduler: Fixed a bug where changes to task group `shutdown_delay` were not persisted or displayed in plan output [[GH-7618](https://github.com/hashicorp/nomad/issues/7618)] 546 * ui: Fixed handling of multi-byte unicode characters in allocation log view [[GH-7470](https://github.com/hashicorp/nomad/issues/7470)] [[GH-7551](https://github.com/hashicorp/nomad/pull/7551)] 547 548 ## 0.10.9 (November 19, 2020) 549 550 BUG FIXES: 551 * 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. [[GH-9405](https://github.com/hashicorp/nomad/issues/9405)] 552 553 ## 0.10.8 (November 10, 2020) 554 555 SECURITY: 556 * 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 [[GH-9303](https://github.com/hashicorp/nomad/issues/9303)] 557 558 BUG FIXES: 559 * 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. [[GH-9304](https://github.com/hashicorp/nomad/pull/9304)] 560 561 ## 0.10.7 (October 23, 2020) 562 563 BUG FIXES: 564 * 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 `NOMAD_SECRETS_DIR` as part of the destination path. [[GH-9148](https://github.com/hashicorp/nomad/issues/9148)] 565 * 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 `NOMAD_SECRETS_DIR` as part of the destination path. [[GH-9148](https://github.com/hashicorp/nomad/issues/9148)] 566 567 ## 0.10.6 (October 21, 2020) 568 569 SECURITY: 570 571 * 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 [[GH-9129](https://github.com/hashicorp/nomad/issues/9129)] 572 * 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 `disable_file_sandbox` was set to `false` (the default). CVE-2020-27195 [[GH-9129](https://github.com/hashicorp/nomad/issues/9129)] 573 * template: _Backport from v0.12.6_ - Fixed a bug where the `disable_file_sandbox` configuration was only respected for the template `file` function and not the template `source` and `destination` fields. CVE-2020-27195 [[GH-9129](https://github.com/hashicorp/nomad/issues/9129)] 574 575 ## 0.10.5 (March 24, 2020) 576 577 SECURITY: 578 579 * server: Override content-type headers for unsafe content. CVE-2020-10944 [[GH-7468](https://github.com/hashicorp/nomad/issues/7468)] 580 581 ## 0.10.4 (February 19, 2020) 582 583 FEATURES: 584 585 * api: Nomad now supports ability to remotely request /debug/pprof endpoints from a remote agent. [[GH-6841](https://github.com/hashicorp/nomad/issues/6841)] 586 * consul/connect: Nomad may now register Consul Connect services when Consul is configured with ACLs enabled [[GH-6701](https://github.com/hashicorp/nomad/issues/6701)] 587 * jobspec: Add `shutdown_delay` to task groups so task groups can delay shutdown after deregistering from Consul [[GH-6746](https://github.com/hashicorp/nomad/issues/6746)] 588 589 IMPROVEMENTS: 590 591 * 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. 592 * build: Updated to Go 1.12.16 [[GH-7009](https://github.com/hashicorp/nomad/issues/7009)] 593 * cli: Included namespace in output when querying job status [[GH-6912](https://github.com/hashicorp/nomad/issues/6912)] 594 * cli: Added option to change the name of the file created by the `nomad init` command [[GH-6520]](https://github.com/hashicorp/nomad/pull/6520) 595 * client: Supported AWS EC2 Instance Metadata Service Version 2 (IMDSv2) [[GH-6779](https://github.com/hashicorp/nomad/issues/6779)] 596 * consul: Add support for service `canary_meta` [[GH-6690](https://github.com/hashicorp/nomad/pull/6690)] 597 * driver/docker: Added a `disable_log_collection` parameter to disable nomad log collection [[GH-6820](https://github.com/hashicorp/nomad/issues/6820)] 598 * server: Introduced a `default_scheduler_config` config parameter to seed initial preemption configuration. [[GH-6935](https://github.com/hashicorp/nomad/issues/6935)] 599 * scheduler: Removed penalty for allocation's previous node if the allocation did not fail. [[GH-6781](https://github.com/hashicorp/nomad/issues/6781)] 600 * scheduler: Reduced logging verbosity during preemption [[GH-6849](https://github.com/hashicorp/nomad/issues/6849)] 601 * ui: Updated Run Job button to be conditionally enabled according to ACLs [[GH-5944](https://github.com/hashicorp/nomad/pull/5944)] 602 603 BUG FIXES: 604 605 * agent: Fixed a panic when using `nomad monitor` on a client node [[GH-7053](https://github.com/hashicorp/nomad/issues/7053)] 606 * agent: Fixed race condition in logging when using `nomad monitor` command [[GH-6872](https://github.com/hashicorp/nomad/issues/6872)] 607 * agent: Fixed a bug where `nomad monitor -server-id` only work for a server's name instead of uuid or name [[GH-7015](https://github.com/hashicorp/nomad/issues/7015)] 608 * core: Addressed an inconsistency where allocations created prior to 0.9 had missing fields [[GH-6922](https://github.com/hashicorp/nomad/issues/6922)] 609 * cli: Fixed a bug where error messages appeared interleaved with help text inconsistently [[GH-6865](https://github.com/hashicorp/nomad/issues/6865)] 610 * cli: Fixed a bug where `nomad monitor -node-id` would cause a cli panic when no nodes where found [[GH-6828](https://github.com/hashicorp/nomad/issues/6828)] 611 * config: Fixed a bug where agent startup would fail if the `consul.timeout` configuration was set [[GH-6907](https://github.com/hashicorp/nomad/issues/6907)] 612 * consul: Fixed a bug where script-based health checks would fail if the service configuration included interpolation [[GH-6916](https://github.com/hashicorp/nomad/issues/6916)] 613 * consul/connect: Fixed a bug where Connect-enabled jobs failed to validate when service names used interpolation [[GH-6855](https://github.com/hashicorp/nomad/issues/6855)] 614 * drivers: Fixed a bug where exec, java, and raw_exec drivers collected and emited stats every second regardless of the telemetry config [[GH-7043](https://github.com/hashicorp/nomad/issues/7043)] 615 * driver/exec: Fixed a bug where systemd cgroup wasn't removed upon a task completion [[GH-6839](https://github.com/hashicorp/nomad/issues/6839)] 616 * server: Fixed a deadlock that may occur when server leadership flaps very quickly [[GH-6977](https://github.com/hashicorp/nomad/issues/6977)] 617 * scheduler: Fixed a bug that caused evicted allocs on a lost node to be stuck in running [[GH-6902](https://github.com/hashicorp/nomad/issues/6902)] 618 * scheduler: Fixed a bug where `nomad job plan/apply` returned errors instead of ignoring system job updates for ineligible nodes. [[GH-6996](https://github.com/hashicorp/nomad/issues/6996)] 619 * scheduler: Fixed a bug where canary allocations where not properly stored across servers during deployments [[GH-6975](https://github.com/hashicorp/nomad/pull/6975)] 620 621 SECURITY: 622 623 * client: Nomad will no longer pass through the `CONSUL_HTTP_TOKEN` environment variable when launching a task. [[GH-7131](https://github.com/hashicorp/nomad/issues/7131)] 624 625 ## 0.10.3 (January 29, 2020) 626 627 SECURITY: 628 629 * agent: Added unauthenticated connection timeouts and limits to prevent resource exhaustion. CVE-2020-7218 [[GH-7002](https://github.com/hashicorp/nomad/issues/7002)] 630 * server: Fixed insufficient validation for role and region for RPC connections when TLS enabled. CVE-2020-7956 [[GH-7003](https://github.com/hashicorp/nomad/issues/7003)] 631 632 IMPROVEMENTS: 633 634 * build: Updated to Go 1.12.16 635 636 ## 0.10.2 (December 4, 2019) 637 638 NOTES: 639 640 * cli: Our [nomad_0.10.2_darwin_amd64_notarized](https://releases.hashicorp.com/nomad/0.10.2/nomad_0.10.2_darwin_amd64_notarized.zip) 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. 641 642 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 [changes to Apple's third-party software requirements](https://developer.apple.com/news/?id=04102019a). 643 644 MacOS 10.15+ users should plan to upgrade to 0.10.2+. 645 646 FEATURES: 647 648 * **Nomad Monitor**: New `nomad monitor` command allows remotely following 649 the logs of any Nomad Agent (clients or servers). See 650 https://nomadproject.io/docs/commands/monitor.html 651 * **Docker Container Cleanup**: Nomad will now automatically remove Docker 652 containers for tasks leaked due to Nomad or Docker crashes or bugs. 653 654 IMPROVEMENTS: 655 656 * agent: Added support for running under Windows Service Manager [[GH-6220](https://github.com/hashicorp/nomad/issues/6220)] 657 * api: Added `StartedAt` field to `Node.DrainStrategy` [[GH-6698](https://github.com/hashicorp/nomad/issues/6698)] 658 * api: Added JSON representation of rules to policy endpoint response [[GH-6017](https://github.com/hashicorp/nomad/pull/6017)] 659 * api: Update policy endpoint to permit anonymous access [[GH-6021](https://github.com/hashicorp/nomad/issues/6021)] 660 * build: Updated to Go 1.12.13 [[GH-6606](https://github.com/hashicorp/nomad/issues/6606)] 661 * cli: Show full ID in node and alloc individual status views [[GH-6425](https://github.com/hashicorp/nomad/issues/6425)] 662 * client: Enable setting tags on Consul Connect sidecar service [[GH-6448](https://github.com/hashicorp/nomad/issues/6448)] 663 * client: Added support for downloading artifacts from Google Cloud Storage [[GH-6692](https://github.com/hashicorp/nomad/pull/6692)] 664 * command: Added -tls-server-name flag [[GH-6370](https://github.com/hashicorp/nomad/issues/6370)] 665 * command: Added `nomad monitor` command to stream logs at a specified level for debugging [[GH-6499](https://github.com/hashicorp/nomad/issues/6499)] 666 * quota: Added support for network bandwidth quota limits in Nomad enterprise 667 668 BUG FIXES: 669 670 * core: Ignore `server` config values if `server` is disabled [[GH-6047](https://github.com/hashicorp/nomad/issues/6047)] 671 * core: Added `semver` constraint for strict Semver 2.0 version comparisons [[GH-6699](https://github.com/hashicorp/nomad/issues/6699)] 672 * core: Fixed server panic caused by a plan evicting and preempting allocs on a node [[GH-6792](https://github.com/hashicorp/nomad/issues/6792)] 673 * api: Return a 404 if endpoint not found instead of redirecting to /ui/ [[GH-6658](https://github.com/hashicorp/nomad/issues/6658)] 674 * api: Decompress web socket response body if gzipped on error responses [[GH-6650](https://github.com/hashicorp/nomad/issues/6650)] 675 * api: Fixed a bug where some FS/Allocation API endpoints didn't return error messages [[GH-6427](https://github.com/hashicorp/nomad/issues/6427)] 676 * api: Return 40X status code for failing ACL requests, rather than 500 [[GH-6421](https://github.com/hashicorp/nomad/issues/6421)] 677 * cli: Made scoring column orders consistent `nomad alloc status` [[GH-6609](https://github.com/hashicorp/nomad/issues/6609)] 678 * cli: Fixed a bug where `nomad alloc exec` fails if stdout is being redirected and not a TTY [[GH-6684](https://github.com/hashicorp/nomad/issues/6684)] 679 * cli: Fixed a bug where a cli user may fail to query FS/Allocation API endpoints if they lack `node:read` capability [[GH-6423](https://github.com/hashicorp/nomad/issues/6423)] 680 * client: client: Return empty values when host stats fail [[GH-6349](https://github.com/hashicorp/nomad/issues/6349)] 681 * client: Fixed a bug where a client may not restart dead internal processes upon client's restart on Windows [[GH-6426](https://github.com/hashicorp/nomad/issues/6426)] 682 * consul/connect: Fixed registering multiple Connect-enabled services in the same task group [[GH-6646](https://github.com/hashicorp/nomad/issues/6646)] 683 * drivers: Fixed a bug where client may panic if a restored task failed to shutdown cleanly [[GH-6763](https://github.com/hashicorp/nomad/issues/6763)] 684 * driver/exec: Fixed a bug where exec tasks can spawn processes that live beyond task lifecycle [[GH-6722](https://github.com/hashicorp/nomad/issues/6722)] 685 * driver/docker: Added mechanism for detecting running unexpectedly running docker containers [[GH-6325](https://github.com/hashicorp/nomad/issues/6325)] 686 * scheduler: Changes to devices in resource stanza should cause rescheduling [[GH-6644](https://github.com/hashicorp/nomad/issues/6644)] 687 * scheduler: Fixed a bug that allowed inplace updates after affinity or spread were changed [[GH-6703](https://github.com/hashicorp/nomad/issues/6703)] 688 * ui: Fixed client sorting [[GH-6817](https://github.com/hashicorp/nomad/issues/6817)] 689 * vault: Allow overriding implicit Vault version constraint [[GH-6687](https://github.com/hashicorp/nomad/issues/6687)] 690 * vault: Supported Vault auth role's new fields, `token_period` and `token_explicit_max_ttl` [[GH-6574](https://github.com/hashicorp/nomad/issues/6574)], [[GH-6580](https://github.com/hashicorp/nomad/issues/6580)] 691 692 ## 0.10.1 (November 4, 2019) 693 694 BUG FIXES: 695 696 * core: Fixed server panic when upgrading from 0.8 -> 0.10 and performing an 697 inplace update of an allocation. [[GH-6541](https://github.com/hashicorp/nomad/issues/6541)] 698 * api: Fixed panic when submitting Connect-enabled job without using a bridge 699 network [[GH-6575](https://github.com/hashicorp/nomad/issues/6575)] 700 * client: Fixed client panic when upgrading from 0.8 -> 0.10 and performing an 701 inplace update of an allocation. [[GH-6605](https://github.com/hashicorp/nomad/issues/6605)] 702 703 ## 0.10.0 (October 22, 2019) 704 705 FEATURES: 706 * **Consul Connect**: Nomad may now register Consul Connect services and 707 manages an Envoy proxy sidecar to provide secured service-to-service 708 communication. 709 * **Network Namespaces**: Task Groups may now define a shared network 710 namespace. Each allocation will receive its own network namespace and 711 loopback interface. Ports may be forwarded from the host into the network 712 namespace. 713 * **Host Volumes**: Nomad expanded support of stateful workloads through locally mounted storage volumes. 714 * **UI Allocation File Explorer**: Nomad UI enhanced operability with a visual file system explorer for allocations. 715 716 IMPROVEMENTS: 717 * core: Added rolling deployments for service jobs by default and max_parallel=0 disables deployments [[GH-6191](https://github.com/hashicorp/nomad/pull/6100)] 718 * agent: Allowed the job GC interval to be configured [[GH-5978](https://github.com/hashicorp/nomad/issues/5978)] 719 * agent: Added `log_level` to be reloaded on SIGHUP [[GH-5996](https://github.com/hashicorp/nomad/pull/5996)] 720 * api: Added follow parameter to file streaming endpoint to support older browsers [[GH-6049](https://github.com/hashicorp/nomad/issues/6049)] 721 * client: Upgraded `go-getter` to support GCP links [[GH-6215](https://github.com/hashicorp/nomad/pull/6215)] 722 * client: Remove consul service stanza from `job init --short` jobspec [[GH-6179](https://github.com/hashicorp/nomad/issues/6179)] 723 * drivers: Exposed namespace as `NOMAD_NAMESPACE` environment variable in running tasks [[GH-6192](https://github.com/hashicorp/nomad/pull/6192)] 724 * metrics: Added job status (pending, running, dead) metrics [[GH-6003](https://github.com/hashicorp/nomad/issues/6003)] 725 * metrics: Added status and scheduling ability to client metrics [[GH-6130](https://github.com/hashicorp/nomad/issues/6130)] 726 * server: Added an option to configure job GC interval [[GH-5978](https://github.com/hashicorp/nomad/issues/5978)] 727 * ui: Added allocation filesystem explorer [[GH-5871](https://github.com/hashicorp/nomad/pull/5871)] 728 * ui: Added creation time to evaluations table [[GH-6050](https://github.com/hashicorp/nomad/pull/6050)] 729 730 BUG FIXES: 731 732 * cli: Fixed `nomad run ...` on Windows so it works with unprivileged accounts [[GH-6009](https://github.com/hashicorp/nomad/issues/6009)] 733 * client: Fixed a bug in client fingerprinting on 32-bit nodes [[GH-6239](https://github.com/hashicorp/nomad/issues/6239)] 734 * client: Fixed a bug where completed allocations may re-run after client restart [[GH-6216](https://github.com/hashicorp/nomad/issues/6216)] 735 * client: Fixed failure to start if another client is already running with the same data directory [[GH-6348](https://github.com/hashicorp/nomad/pull/6348)] 736 * client: Fixed a panic that may occur when an `nomad alloc exec` is initiated while process is terminating [[GH-6065](https://github.com/hashicorp/nomad/issues/6065)] 737 * devices: Fixed a bug causing CPU usage spike when a device is detected [[GH-6201](https://github.com/hashicorp/nomad/issues/6201)] 738 * drivers: Allowd user-defined environment variable keys to contain dashes [[GH-6080](https://github.com/hashicorp/nomad/issues/6080)] 739 * driver/docker: Set gc image_delay default to 3 minutes [[GH-6078](https://github.com/hashicorp/nomad/pull/6078)] 740 * driver/docker: Improved docker driver handling of container creation or starting failures [[GH-6326](https://github.com/hashicorp/nomad/issues/6326)], [[GH-6346](https://github.com/hashicorp/nomad/issues/6346)] 741 * ui: Fixed a bug where the allocation log viewer would render HTML or hide content that matched XML syntax [[GH-6048](https://github.com/hashicorp/nomad/issues/6048)] 742 * ui: Fixed a bug where allocation log viewer doesn't show all content in Firefox [[GH-6466](https://github.com/hashicorp/nomad/issues/6466)] 743 * ui: Fixed navigation via clicking recent allocation row [[GH-6087](https://github.com/hashicorp/nomad/pull/6087)] 744 * ui: Fixed a bug where the allocation log viewer would render HTML or hide content that matched XML syntax [[GH-6048](https://github.com/hashicorp/nomad/issues/6048)] 745 * ui: Fixed a bug where allocation log viewer doesn't show all content in Firefox [[GH-6466](https://github.com/hashicorp/nomad/issues/6466)] 746 747 ## 0.9.7 (December 4, 2019) 748 749 BUG FIXES: 750 751 * core: Fixed server panic caused by a plan evicting and preempting allocs on a node [[GH-6792](https://github.com/hashicorp/nomad/issues/6792)] 752 753 ## 0.9.6 (October 7, 2019) 754 755 SECURITY: 756 757 * core: Redacted replication token in agent/self API endpoint. The replication token is a management token that can be used for further privilege escalation. CVE-2019-12741 [[GH-6430](https://github.com/hashicorp/nomad/issues/6430)] 758 * core: Fixed a bug where a user may start raw_exec task on clients despite driver being disabled. CVE-2019-15928 [[GH-6227](https://github.com/hashicorp/nomad/issues/6227)] [[GH-6431](https://github.com/hashicorp/nomad/issues/6431)] 759 * 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 [[GH-6432](https://github.com/hashicorp/nomad/issues/6432)] 760 761 IMPROVEMENTS: 762 763 * client: Reduced memory footprint of nomad logging and executor processes [[GH-6341](https://github.com/hashicorp/nomad/issues/6341)] 764 765 BUG FIXES: 766 767 * core: Fixed a bug where scheduler may schedule an allocation on a node without required drivers [[GH-6227](https://github.com/hashicorp/nomad/issues/6227)] 768 * client: Fixed a bug where completed allocations may re-run after client restart [[GH-6216](https://github.com/hashicorp/nomad/issues/6216)] [[GH-6207](https://github.com/hashicorp/nomad/issues/6207)] 769 * devices: Fixed a bug causing CPU usage spike when a device is detected [[GH-6201](https://github.com/hashicorp/nomad/issues/6201)] 770 * drivers: Fixed port mapping for docker and qemu drivers [[GH-6251](https://github.com/hashicorp/nomad/pull/6251)] 771 * drivers/docker: Fixed a case where a `nomad alloc exec` would never time out [[GH-6144](https://github.com/hashicorp/nomad/pull/6144)] 772 * ui: Fixed a bug where allocation log viewer doesn't show all content. [[GH-6048](https://github.com/hashicorp/nomad/issues/6048)] 773 774 ## 0.9.5 (21 August 2019) 775 776 SECURITY: 777 778 * client/template: Fix security vulnerabilities associated with task template rendering (CVE-2019-14802), introduced in Nomad 0.5.0 [[GH-6055](https://github.com/hashicorp/nomad/issues/6055)] [[GH-6075](https://github.com/hashicorp/nomad/issues/6075)] 779 * client/artifact: Fix a privilege escalation in the `exec` driver exploitable by artifacts with setuid permissions (CVE-2019-14803) [[GH-6176](https://github.com/hashicorp/nomad/issues/6176)] 780 781 __BACKWARDS INCOMPATIBILITIES:__ 782 783 * client/template: When rendering a task template, only task environment variables are included by default. [[GH-6055](https://github.com/hashicorp/nomad/issues/6055)] 784 * client/template: When rendering a task template, the `plugin` function is no longer permitted by default and will raise an error. [[GH-6075](https://github.com/hashicorp/nomad/issues/6075)] 785 * 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. [[GH-6075](https://github.com/hashicorp/nomad/issues/6075)] 786 787 IMPROVEMENTS: 788 * core: Added create and modify timestamps to evaluations [[GH-5881](https://github.com/hashicorp/nomad/pull/5881)] 789 790 BUG FIXES: 791 * api: Fixed job region to default to client node region if none provided [[GH-6064](https://github.com/hashicorp/nomad/pull/6064)] 792 * ui: Fixed links containing IPv6 addresses to include required square brackets [[GH-6007](https://github.com/hashicorp/nomad/pull/6007)] 793 * vault: Fix deadlock when reloading server Vault configuration [[GH-6082](https://github.com/hashicorp/nomad/issues/6082)] 794 795 ## 0.9.4 (July 30, 2019) 796 797 IMPROVEMENTS: 798 * api: Inferred content type of file in alloc filesystem stat endpoint [[GH-5907](https://github.com/hashicorp/nomad/issues/5907)] 799 * api: Used region from job hcl when not provided as query parameter in job registration and plan endpoints [[GH-5664](https://github.com/hashicorp/nomad/pull/5664)] 800 * core: Deregister nodes in batches rather than one at a time [[GH-5784](https://github.com/hashicorp/nomad/pull/5784)] 801 * core: Removed deprecated upgrade path code pertaining to older versions of Nomad [[GH-5894](https://github.com/hashicorp/nomad/issues/5894)] 802 * core: System jobs that fail because of resource availability are retried when resources are freed [[GH-5900](https://github.com/hashicorp/nomad/pull/5900)] 803 * core: Support reloading log level in agent via SIGHUP [[GH-5996](https://github.com/hashicorp/nomad/issues/5996)] 804 * client: Improved task event display message to include kill time out [[GH-5943](https://github.com/hashicorp/nomad/issues/5943)] 805 * client: Removed extraneous information to improve formatting for hcl parsing error messages [[GH-5972](https://github.com/hashicorp/nomad/pull/5972)] 806 * driver/docker: Added logging defaults to use json-file log driver with log rotation [[GH-5846](https://github.com/hashicorp/nomad/pull/5846)] 807 * metrics: Added namespace label as appropriate to metrics [[GH-5847](https://github.com/hashicorp/nomad/issues/5847)] 808 * ui: Added page titles [[GH-5924](https://github.com/hashicorp/nomad/pull/5924)] 809 * ui: Added buttons to copy client and allocation UUIDs [[GH-5926](https://github.com/hashicorp/nomad/pull/5926)] 810 * ui: Moved client status, draining, and eligibility fields into single state column [[GH-5789](https://github.com/hashicorp/nomad/pull/5789)] 811 812 BUG FIXES: 813 814 * core: Ensure plans are evaluated against a new enough snapshot index [[GH-5791](https://github.com/hashicorp/nomad/issues/5791)] 815 * core: Handle error case when attempting to stop a non-existent allocation [[GH-5865](https://github.com/hashicorp/nomad/issues/5865)] 816 * core: Improved job spec parsing error messages for variable interpolation failures [[GH-5844](https://github.com/hashicorp/nomad/issues/5844)] 817 * core: Fixed a bug where nomad log and exec requests may time out or fail in tls enabled clusters [[GH-5954](https://github.com/hashicorp/nomad/issues/5954)]. 818 * client: Fixed a bug where consul service health checks may flap on client restart [[GH-5837](https://github.com/hashicorp/nomad/issues/5837)] 819 * client: Fixed a bug where too many check-based restarts would deadlock the client [[GH-5975](https://github.com/hashicorp/nomad/issues/5975)] 820 * client: Fixed a bug where successfully completed tasks may restart on client restart [[GH-5890](https://github.com/hashicorp/nomad/issues/5890)] 821 * client: Fixed a bug where stats of external driver plugins aren't collected on plugin restart [[GH-5948](https://github.com/hashicorp/nomad/issues/5948)] 822 * client: Fixed an issue where an alloc remains in pending state if nomad fails to create alloc directory [[GH-5905](https://github.com/hashicorp/nomad/issues/5905)] 823 * client: Fixed an issue where client may kill running allocs if the client and the leader are restarting simultaneously [[GH-5906](//github.com/hashicorp/nomad/issues/5906)] 824 * client: Fixed regression that prevented registering multiple services with the same name but different ports in Consul correctly [[GH-5829](https://github.com/hashicorp/nomad/issues/5829)] 825 * client: Fixed a race condition when performing local task restarts that would result in incorrect task not found errors on Windows [[GH-5899](https://github.com/hashicorp/nomad/pull/5889)] 826 * client: Reduce CPU usage on clients running many tasks on Linux [[GH-5951](https://github.com/hashicorp/nomad/pull/5951)] 827 * client: Updated consul-template dependency to address issue with anonymous requests [[GH-5976](https://github.com/hashicorp/nomad/issues/5976)] 828 * driver: Fixed an issue preventing local task restarts on Windows [[GH-5864](https://github.com/hashicorp/nomad/pull/5864)] 829 * driver: Fixed an issue preventing external driver plugins from launching executor process [[GH-5726](https://github.com/hashicorp/nomad/issues/5726)] 830 * driver/docker: Fixed a bug mounting relative paths on Windows [[GH-5811](https://github.com/hashicorp/nomad/issues/5811)] 831 * driver/exec: Upgraded libcontainer dependency to avoid zombie `runc:[1:CHILD]]` processes [[GH-5851](https://github.com/hashicorp/nomad/issues/5851)] 832 * metrics: Added metrics for raft and state store indexes. [[GH-5841](https://github.com/hashicorp/nomad/issues/5841)] 833 * metrics: Upgrade prometheus client to avoid label conflicts [[GH-5850](https://github.com/hashicorp/nomad/issues/5850)] 834 * ui: Fixed ability to click sort arrow to change sort direction [[GH-5833](https://github.com/hashicorp/nomad/pull/5833)] 835 836 ## 0.9.3 (June 12, 2019) 837 838 BUG FIXES: 839 840 * core: Fixed a panic that occurs if a job is updated with new task groups [[GH-5805](https://github.com/hashicorp/nomad/issues/5805)] 841 * core: Update node's `StatusUpdatedAt` when node drain or eligibility changes [[GH-5746](https://github.com/hashicorp/nomad/issues/5746)] 842 * core: Fixed a panic that may occur when preempting jobs for network resources [[GH-5794](https://github.com/hashicorp/nomad/issues/5794)] 843 * core: Fixed a config parsing issue when client metadata contains a boolean value [[GH-5802](https://github.com/hashicorp/nomad/issues/5802)] 844 * core: Fixed a config parsing issue where consul, vault, and autopilot stanzas break when using a config directory [[GH-5817](https://github.com/hashicorp/nomad/issues/5817)] 845 * api: Allow sumitting alloc restart requests with an empty body [[GH-5823](https://github.com/hashicorp/nomad/pull/5823)] 846 * client: Fixed an issue where task restart attempts is not honored properly [[GH-5737](https://github.com/hashicorp/nomad/issues/5737)] 847 * client: Fixed a panic that occurs when a 0.9.2 client is running with 0.8 nomad servers [[GH-5812](https://github.com/hashicorp/nomad/issues/5812)] 848 * client: Fixed an issue with cleaning up consul service registration entries when tasks fail to start. [[GH-5821](https://github.com/hashicorp/nomad/pull/5821)] 849 850 ## 0.9.2 (June 5, 2019) 851 852 SECURITY: 853 854 * driver/exec: Fix privilege escalation issue introduced in Nomad 0.9.0. In 855 Nomad 0.9.0 and 0.9.1, exec tasks by default run as `nobody` but with 856 elevated capabilities, allowing tasks to perform privileged linux operations 857 and potentially escalate permissions. (CVE-2019-12618) 858 [[GH-5728](https://github.com/hashicorp/nomad/pull/5728)] 859 860 __BACKWARDS INCOMPATIBILITIES:__ 861 862 * api: The `api` package removed `Config.SetTimeout` and `Config.ConfigureTLS` functions, intended 863 to be used internally only. [[GH-5275](https://github.com/hashicorp/nomad/pull/5275)] 864 * api: The [job deployments](https://www.nomadproject.io/api/jobs.html#list-job-deployments) endpoint 865 now filters out deployments associated with older instances of the job. This can happen if jobs are 866 purged and recreated with the same id. To get all deployments irrespective of creation time, add 867 `all=true`. The `nomad job deployment`CLI also defaults to doing this filtering. [[GH-5702](https://github.com/hashicorp/nomad/issues/5702)] 868 * client: The format of service IDs in Consul has changed. If you rely upon 869 Nomad's service IDs (*not* service names; those are stable), you will need 870 to update your code. [[GH-5536](https://github.com/hashicorp/nomad/pull/5536)] 871 * client: The format of check IDs in Consul has changed. If you rely upon 872 Nomad's check IDs you will need to update your code. [[GH-5536](https://github.com/hashicorp/nomad/pull/5536)] 873 * client: On startup a client will reattach to running tasks as before but 874 will not restart exited tasks. Exited tasks will be restarted only after the 875 client has reestablished communication with servers. System jobs will always 876 be restarted. [[GH-5669](https://github.com/hashicorp/nomad/pull/5669)] 877 878 FEATURES: 879 880 * core: Add `nomad alloc stop` command to reschedule allocs [[GH-5512](https://github.com/hashicorp/nomad/pull/5512)] 881 * core: Add `nomad alloc signal` command to signal allocs and tasks [[GH-5515](https://github.com/hashicorp/nomad/pull/5515)] 882 * core: Add `nomad alloc restart` command to restart allocs and tasks [[GH-5502](https://github.com/hashicorp/nomad/pull/5502)] 883 * code: Add `nomad alloc exec` command for debugging and running commands in a alloc [[GH-5632](https://github.com/hashicorp/nomad/pull/5632)] 884 * core/enterprise: Preemption capabilities for batch and service jobs 885 * ui: Preemption reporting everywhere where allocations are shown and as part of the plan step of job submit [[GH-5594](https://github.com/hashicorp/nomad/issues/5594)] 886 * ui: Ability to search clients list by class, status, datacenter, or eligibility flags [[GH-5318](https://github.com/hashicorp/nomad/issues/5318)] 887 * ui: Ability to search jobs list by type, status, datacenter, or prefix [[GH-5236](https://github.com/hashicorp/nomad/issues/5236)] 888 * ui: Ability to stop and restart allocations [[GH-5734](https://github.com/hashicorp/nomad/issues/5734)] 889 * ui: Ability to restart tasks [[GH-5734](https://github.com/hashicorp/nomad/issues/5734)] 890 * vault: Add initial support for Vault namespaces [[GH-5520](https://github.com/hashicorp/nomad/pull/5520)] 891 892 IMPROVEMENTS: 893 894 * core: Add `-verbose` flag to `nomad status` wrapper command [[GH-5516](https://github.com/hashicorp/nomad/pull/5516)] 895 * core: Add ability to filter job deployments by most recent version of job [[GH-5702](https://github.com/hashicorp/nomad/issues/5702)] 896 * core: Add node name to output of `nomad node status` command in verbose mode [[GH-5224](https://github.com/hashicorp/nomad/pull/5224)] 897 * core: Reduce the size of the raft transaction for plans by only sending fields updated by the plan applier [[GH-5602](https://github.com/hashicorp/nomad/pull/5602)] 898 * core: Add job update `auto_promote` flag, which causes deployments to promote themselves when all canaries become healthy [[GH-5719](https://github.com/hashicorp/nomad/pull/5719)] 899 * api: Support configuring `http.Client` used by golang `api` package [[GH-5275](https://github.com/hashicorp/nomad/pull/5275)] 900 * api: Add preemption related fields to API results that return an allocation list. [[GH-5580](https://github.com/hashicorp/nomad/pull/5580)] 901 * api: Add additional config options to scheduler configuration endpoint to disable preemption [[GH-5628](https://github.com/hashicorp/nomad/issues/5628)] 902 * cli: Add acl token list command [[GH-5557](https://github.com/hashicorp/nomad/issues/5557)] 903 * client: Reduce unnecessary lost nodes on server failure [[GH-5654](https://github.com/hashicorp/nomad/issues/5654)] 904 * client: Canary Promotion no longer causes services registered in Consul to become unhealthy [[GH-4566](https://github.com/hashicorp/nomad/issues/4566)] 905 * client: Allow use of maintenance mode and externally registered checks against Nomad-registered consul services [[GH-4537](https://github.com/hashicorp/nomad/issues/4537)] 906 * driver/exec: Fixed an issue causing large memory consumption for light processes [[GH-5437](https://github.com/hashicorp/nomad/pull/5437)] 907 * telemetry: Add `client.allocs.memory.allocated` metric to expose allocated task memory in bytes. [[GH-5492](https://github.com/hashicorp/nomad/issues/5492)] 908 * ui: Colored log support [[GH-5620](https://github.com/hashicorp/nomad/issues/5620)] 909 * ui: Upgraded from Ember 2.18 to 3.4 [[GH-5544](https://github.com/hashicorp/nomad/issues/5544)] 910 * ui: Replace XHR cancellation by URL with XHR cancellation by token [[GH-5721](https://github.com/hashicorp/nomad/issues/5721)] 911 912 BUG FIXES: 913 914 * core: Fixed accounting of allocated resources in metrics. [[GH-5637](https://github.com/hashicorp/nomad/issues/5637)] 915 * core: Fixed disaster recovering with raft 3 protocol peers.json [[GH-5629](https://github.com/hashicorp/nomad/issues/5629)], [[GH-5651](https://github.com/hashicorp/nomad/issues/5651)] 916 * core: Fixed a panic that may occur when preempting service jobs [[GH-5545](https://github.com/hashicorp/nomad/issues/5545)] 917 * core: Fixed an edge case that caused division by zero when computing spread score [[GH-5713](https://github.com/hashicorp/nomad/issues/5713)] 918 * core: Change configuration parsing to use the HCL library's decode, improving JSON support [[GH-1290](https://github.com/hashicorp/nomad/issues/1290)] 919 * core: Fix a case where non-leader servers would have an ever growing number of waiting evaluations [[GH-5699](https://github.com/hashicorp/nomad/pull/5699)] 920 * cli: Fix output and exit status for system jobs with constraints [[GH-2381](https://github.com/hashicorp/nomad/issues/2381)] and [[GH-5169](https://github.com/hashicorp/nomad/issues/5169)] 921 * client: Fix network fingerprinting to honor manual configuration [[GH-2619](https://github.com/hashicorp/nomad/issues/2619)] 922 * client: Job validation now checks that the datacenter field does not contain empty strings [[GH-5665](https://github.com/hashicorp/nomad/pull/5665)] 923 * client: Fix network port mapping related environment variables when running with Nomad 0.8 servers [[GH-5587](https://github.com/hashicorp/nomad/issues/5587)] 924 * client: Fix issue with terminal state deployments being modified when allocation subsequently fails [[GH-5645](https://github.com/hashicorp/nomad/issues/5645)] 925 * driver/docker: Fix regression around image GC [[GH-5768](https://github.com/hashicorp/nomad/issues/5768)] 926 * metrics: Fixed stale metrics [[GH-5540](https://github.com/hashicorp/nomad/issues/5540)] 927 * vault: Fix renewal time to be 1/2 lease duration with jitter [[GH-5479](https://github.com/hashicorp/nomad/issues/5479)] 928 929 ## 0.9.1 (April 29, 2019) 930 931 BUG FIXES: 932 933 * core: Fix bug with incorrect metrics on pending allocations [[GH-5541](https://github.com/hashicorp/nomad/pull/5541)] 934 * client: Fix issue with recovering from logmon failures [[GH-5577](https://github.com/hashicorp/nomad/pull/5577)], [[GH-5616](https://github.com/hashicorp/nomad/pull/5616)] 935 * client: Fix deadlock on client startup after reboot [[GH-5568](https://github.com/hashicorp/nomad/pull/5568)] 936 * client: Fix issue with node registration where newly registered nodes would not run system jobs [[GH-5585](https://github.com/hashicorp/nomad/pull/5585)] 937 * driver/docker: Fix regression around volume handling [[GH-5572](https://github.com/hashicorp/nomad/pull/5572)] 938 * driver/docker: Fix regression in which logs aren't collected for docker container with `tty` set to true [[GH-5609](https://github.com/hashicorp/nomad/pull/5609)] 939 * driver/exec: Fix an issue where raw_exec and exec processes are leaked when nomad agent is restarted [[GH-5598](https://github.com/hashicorp/nomad/pull/5598)] 940 941 ## 0.9.0 (April 9, 2019) 942 943 __BACKWARDS INCOMPATIBILITIES:__ 944 945 * core: Drop support for CentOS/RHEL 6. glibc >= 2.14 is required. 946 * core: Switch to structured logging using 947 [go-hclog](https://github.com/hashicorp/go-hclog). If you have tooling that 948 parses Nomad's logs, the format of logs has changed and your tools may need 949 updating. 950 * core: IOPS as a resource is now deprecated 951 [[GH-4970](https://github.com/hashicorp/nomad/issues/4970)]. Nomad continues 952 to parse IOPS in jobs to allow job authors time to remove iops from their 953 jobs. 954 * core: Allow the != constraint to match against keys that do not exist [[GH-4875](https://github.com/hashicorp/nomad/pull/4875)] 955 * client: Task config validation is more strict in 0.9. For example unknown 956 parameters in stanzas under the task config were ignored in previous 957 versions but in 0.9 this will cause a task failure. 958 * client: Task config interpolation requires names to be valid identifiers 959 (`node.region` or `NOMAD_DC`). Interpolating other variables requires a new 960 indexing syntax: `env[".invalid.identifier."]`. [[GH-4843](https://github.com/hashicorp/nomad/issues/4843)] 961 * client: Node metadata variables must have valid identifiers, whether 962 specified in the config file (`client.meta` stanza) or on the command line 963 (`-meta`). [[GH-5158](https://github.com/hashicorp/nomad/pull/5158)] 964 * driver/lxc: The LXC driver is no longer packaged with Nomad and is instead 965 distributed separately as a driver plugin. Further, the LXC driver codebase 966 is now in a separate 967 [repository](https://github.com/hashicorp/nomad-driver-lxc). If you are using 968 LXC, please follow the 0.9.0 upgrade guide as you will have to install the 969 LXC driver before conducting an in-place upgrade to Nomad 0.9.0 [[GH-5162](https://github.com/hashicorp/nomad/issues/5162)] 970 971 FEATURES: 972 973 * **Affinities and Spread**: Jobs may now specify affinities towards certain 974 node attributes. Affinities act as soft constraints, and inform the 975 scheduler that the job has a preference for certain node properties. The new 976 spread stanza informs the scheduler that allocations should be spread across a 977 specific property such as datacenter or availability zone. This is useful to 978 increase failure tolerance of critical applications. 979 * **System Job Preemption**: System jobs may now preempt lower priority 980 allocations. The ability to place system jobs on all targeted nodes is 981 critical since system jobs often run applications that provide services for 982 all allocations on the node. 983 * **Driver Plugins**: Nomad now supports task drivers as plugins. Driver 984 plugins operate the same as built-in drivers and can be developed and 985 distributed independently from Nomad. 986 * **Device Plugins**: Nomad now supports scheduling and mounting devices via 987 device plugins. Device plugins expose hardware devices such as GPUs to Nomad 988 and instruct the client on how to make them available to tasks. Device 989 plugins can expose the health of devices, the devices attributes, and device 990 usage statistics. Device plugins can be developed and distributed 991 independently from Nomad. 992 * **Nvidia GPU Device Plugin**: Nomad builds-in a Nvidia GPU device plugin to 993 add out-of-the-box support for scheduling Nvidia GPUs. 994 * **Client Refactor**: Major focus has been put in this release to refactor the 995 Nomad Client codebase. The goal of the refactor has been to make the 996 codebase more modular to increase developer velocity and testability. 997 * **Mobile UI Views:** The side-bar navigation, breadcrumbs, and various other page 998 elements are now responsively resized and repositioned based on your browser size. 999 * **Job Authoring from the UI:** It is now possible to plan and submit new jobs, edit 1000 existing jobs, stop and start jobs, and promote canaries all from the UI. 1001 * **Improved Stat Tracking in UI:** The client detail, allocation detail, and task 1002 detail pages now have line charts that plot CPU and Memory usage changes over time. 1003 * **Structured Logging**: Nomad now uses structured logging with the ability to 1004 output logs in a JSON format. 1005 1006 IMPROVEMENTS: 1007 1008 * core: Added advertise address to client node meta data [[GH-4390](https://github.com/hashicorp/nomad/issues/4390)] 1009 * core: Added support for specifying node affinities. Affinities allow job operators to specify weighted placement preferences according to different node attributes [[GH-4512](https://github.com/hashicorp/nomad/issues/4512)] 1010 * core: Added support for spreading allocations across a specific attribute. Operators can specify spread target percentages across failure domains such as datacenter or rack [[GH-4512](https://github.com/hashicorp/nomad/issues/4512)] 1011 * core: Added preemption support for system jobs. System jobs can now preempt other jobs of lower priority. See [preemption](https://www.nomadproject.io/docs/internals/scheduling/preemption.html) for more details. [[GH-4794](https://github.com/hashicorp/nomad/pull/4794)] 1012 * acls: Allow support for using globs in namespace definitions [[GH-4982](https://github.com/hashicorp/nomad/pull/4982)] 1013 * agent: Support JSON log output [[GH-5173](https://github.com/hashicorp/nomad/issues/5173)] 1014 * api: Reduced api package dependencies [[GH-5213](https://github.com/hashicorp/nomad/pull/5213)] 1015 * client: Extend timeout to 60 seconds for Windows CPU fingerprinting [[GH-4441](https://github.com/hashicorp/nomad/pull/4441)] 1016 * client: Refactor client to support plugins and improve state handling [[GH-4792](https://github.com/hashicorp/nomad/pull/4792)] 1017 * client: Updated consul-template library to pick up recent fixes and improvements[[GH-4885](https://github.com/hashicorp/nomad/pull/4885)] 1018 * client: When retrying a failed artifact, do not download any successfully downloaded artifacts again [[GH-5322](https://github.com/hashicorp/nomad/issues/5322)] 1019 * client: Added service metadata tag that enables the Consul UI to show a Nomad icon for services registered by Nomad [[GH-4889](https://github.com/hashicorp/nomad/issues/4889)] 1020 * cli: Added support for coloured output on Windows [[GH-5342](https://github.com/hashicorp/nomad/pull/5342)] 1021 * driver/docker: Rename Logging `type` to `driver` [[GH-5372](https://github.com/hashicorp/nomad/pull/5372)] 1022 * driver/docker: Support logs when using Docker for Mac [[GH-4758](https://github.com/hashicorp/nomad/issues/4758)] 1023 * driver/docker: Added support for specifying `storage_opt` in the Docker driver [[GH-4908](https://github.com/hashicorp/nomad/pull/4908)] 1024 * driver/docker: Added support for specifying `cpu_cfs_period` in the Docker driver [[GH-4462](https://github.com/hashicorp/nomad/pull/4462)] 1025 * driver/docker: Added support for setting bind and tmpfs mounts in the Docker driver [[GH-4924](https://github.com/hashicorp/nomad/pull/4924)] 1026 * driver/docker: Report container images with user friendly name rather than underlying image ID [[GH-4926](https://github.com/hashicorp/nomad/pull/4926)] 1027 * driver/docker: Add support for collecting stats on Windows [[GH-5355](https://github.com/hashicorp/nomad/pull/5355)] 1028 drivers/docker: Report docker driver as undetected before first connecting to the docker daemon [[GH-5362](https://github.com/hashicorp/nomad/pull/5362)] 1029 * drivers: Added total memory usage to task resource metrics [[GH-5190](https://github.com/hashicorp/nomad/pull/5190)] 1030 * server/rpc: Reduce logging when undergoing temporary network errors such as hitting file descriptor limits [[GH-4974](https://github.com/hashicorp/nomad/issues/4974)] 1031 * server/vault: Tweaked logs to better identify vault connection errors [[GH-5228](https://github.com/hashicorp/nomad/pull/5228)] 1032 * server/vault: Added Vault token expiry info in `nomad status` CLI, and some improvements to token refresh process [[GH-4817](https://github.com/hashicorp/nomad/pull/4817)] 1033 * telemetry: All client metrics include a new `node_class` tag [[GH-3882](https://github.com/hashicorp/nomad/issues/3882)] 1034 * telemetry: Added new tags with value of child job id and parent job id for parameterized and periodic jobs [[GH-4392](https://github.com/hashicorp/nomad/issues/4392)] 1035 * ui: Improved JSON editor [[GH-4541](https://github.com/hashicorp/nomad/issues/4541)] 1036 * ui: Mobile friendly views [[GH-4536](https://github.com/hashicorp/nomad/issues/4536)] 1037 * ui: Filled out the styleguide [[GH-4468](https://github.com/hashicorp/nomad/issues/4468)] 1038 * ui: Support switching regions [[GH-4572](https://github.com/hashicorp/nomad/issues/4572)] 1039 * ui: Canaries can now be promoted from the UI [[GH-4616](https://github.com/hashicorp/nomad/issues/4616)] 1040 * ui: Stopped jobs can be restarted from the UI [[GH-4615](https://github.com/hashicorp/nomad/issues/4615)] 1041 * ui: Support widescreen format in alloc logs view [[GH-5400](https://github.com/hashicorp/nomad/pull/5400)] 1042 * ui: Gracefully handle errors from the stats end points [[GH-4833](https://github.com/hashicorp/nomad/issues/4833)] 1043 * ui: Added links to Jobs and Clients from the error page template [[GH-4850](https://github.com/hashicorp/nomad/issues/4850)] 1044 * ui: Jobs can be authored, planned, submitted, and edited from the UI [[GH-4600](https://github.com/hashicorp/nomad/issues/4600)] 1045 * ui: Display recent allocations on job page and introduce allocation tab [[GH-4529](https://github.com/hashicorp/nomad/issues/4529)] 1046 * ui: Refactored breadcrumbs and adjusted the breadcrumb paths on each page [[GH-4458](https://github.com/hashicorp/nomad/issues/4458)] 1047 * ui: Switching namespaces in the UI will now always "reset" back to the jobs list page [[GH-4533](https://github.com/hashicorp/nomad/issues/4533)] 1048 * ui: CPU and Memory metrics are plotted over time during a session in line charts on node detail, allocation detail, and task detail pages [[GH-4661](https://github.com/hashicorp/nomad/issues/4661)], [[GH-4718](https://github.com/hashicorp/nomad/issues/4718)], [[GH-4727](https://github.com/hashicorp/nomad/issues/4727)] 1049 1050 BUG FIXES: 1051 1052 * core: Removed some GPL code inadvertently added for macOS support [[GH-5202](https://github.com/hashicorp/nomad/pull/5202)] 1053 * core: Fix an issue where artifact checksums containing interpolated variables failed validation [[GH-4810](https://github.com/hashicorp/nomad/pull/4819)] 1054 * core: Fix an issue where job summaries for parent dispatch/periodic jobs were not being computed correctly [[GH-5205](https://github.com/hashicorp/nomad/pull/5205)] 1055 * core: Fix an issue where a canary allocation with a deployment no longer in the state store caused a panic [[GH-5259](https://github.com/hashicorp/nomad/pull/5259) 1056 * client: Fix an issue reloading the client config [[GH-4730](https://github.com/hashicorp/nomad/issues/4730)] 1057 * client: Fix an issue where driver attributes are not updated in node API responses if they change after after startup [[GH-4984](https://github.com/hashicorp/nomad/pull/4984)] 1058 * driver/docker: Fix a path traversal issue where mounting paths outside alloc dir might be possible despite `docker.volumes.enabled` set to false [[GH-4983](https://github.com/hashicorp/nomad/pull/4983)] 1059 * driver/raw_exec: Fix an issue where tasks that used an interpolated command in driver configuration would not start [[GH-4813](https://github.com/hashicorp/nomad/pull/4813)] 1060 * 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 1061 * quota: Fixed a bug in Nomad enterprise where quota specifications were not being replicated to non authoritative regions correctly. 1062 * scheduler: When dequeueing evals ensure workers wait to the proper Raft index [[GH-5381](https://github.com/hashicorp/nomad/issues/5381)] 1063 * scheduler: Allow schedulers to handle evaluations that are created due to previous evaluation failures [[GH-4712](https://github.com/hashicorp/nomad/issues/4712)] 1064 * server/api: Fixed bug when trying to route to a down node [[GH-5261](https://github.com/hashicorp/nomad/pull/5261)] 1065 * server/vault: Fixed bug in Vault token renewal that could panic on a malformed Vault response [[GH-4904](https://github.com/hashicorp/nomad/issues/4904)], [[GH-4937](https://github.com/hashicorp/nomad/pull/4937)] 1066 * template: Fix parsing of environment templates when destination path is interpolated [[GH-5253](https://github.com/hashicorp/nomad/issues/5253)] 1067 * ui: Fixes for viewing objects that contain dots in their names [[GH-4994](https://github.com/hashicorp/nomad/issues/4994)] 1068 * ui: Correctly labeled certain classes of unknown errors as 404 errors [[GH-4841](https://github.com/hashicorp/nomad/issues/4841)] 1069 * ui: Fixed an issue where searching while viewing a paginated table could display no results [[GH-4822](https://github.com/hashicorp/nomad/issues/4822)] 1070 * ui: Fixed an issue where the task group breadcrumb didn't always include the namesapce query param [[GH-4801](https://github.com/hashicorp/nomad/issues/4801)] 1071 * ui: Added an empty state for the tasks list on the allocation detail page, for when an alloc has no tasks [[GH-4860](https://github.com/hashicorp/nomad/issues/4860)] 1072 * ui: Fixed an issue where dispatched jobs would get the wrong template type which could cause runtime errors [[GH-4852](https://github.com/hashicorp/nomad/issues/4852)] 1073 * ui: Fixed an issue where distribution bar corners weren't rounded when there was only one or two slices in the chart [[GH-4507](https://github.com/hashicorp/nomad/issues/4507)] 1074 1075 ## 0.8.7 (January 14, 2019) 1076 1077 IMPROVEMENTS: 1078 * core: Added `filter_default`, `prefix_filter` and `disable_dispatched_job_summary_metrics` 1079 client options to improve metric filtering [[GH-4878](https://github.com/hashicorp/nomad/issues/4878)] 1080 * driver/docker: Support `bind` mount type in order to allow Windows users to mount absolute paths [[GH-4958](https://github.com/hashicorp/nomad/issues/4958)] 1081 1082 BUG FIXES: 1083 * core: Fixed panic when Vault secret response is nil [[GH-4904](https://github.com/hashicorp/nomad/pull/4904)] [[GH-4937](https://github.com/hashicorp/nomad/pull/4937)] 1084 * core: Fixed issue with negative counts in job summary [[GH-4949](https://github.com/hashicorp/nomad/issues/4949)] 1085 * core: Fixed issue with handling duplicated blocked evaluations [[GH-4867](https://github.com/hashicorp/nomad/pull/4867)] 1086 * core: Fixed bug where some successfully completed jobs get re-run after job 1087 garbage collection [[GH-4861](https://github.com/hashicorp/nomad/pull/4861)] 1088 * core: Fixed bug in reconciler where allocs already stopped were being 1089 unnecessarily updated [[GH-4764](https://github.com/hashicorp/nomad/issues/4764)] 1090 * core: Fixed bug that affects garbage collection of batch jobs that are purged 1091 and resubmitted with the same id [[GH-4839](https://github.com/hashicorp/nomad/pull/4839)] 1092 * core: Fixed an issue with garbage collection where terminal but still running 1093 allocations could be garbage collected server side [[GH-4965](https://github.com/hashicorp/nomad/issues/4965)] 1094 * deployments: Fix an issue where a deployment with multiple task groups could 1095 be marked as failed when the first progress deadline was hit regardless of if 1096 that group was done deploying [[GH-4842](https://github.com/hashicorp/nomad/issues/4842)] 1097 1098 ## 0.8.6 (September 26, 2018) 1099 1100 IMPROVEMENTS: 1101 * core: Increased scheduling performance when annotating existing allocations 1102 [[GH-4713](https://github.com/hashicorp/nomad/issues/4713)] 1103 * core: Unique TriggerBy for evaluations that are created to place queued 1104 allocations [[GH-4716](https://github.com/hashicorp/nomad/issues/4716)] 1105 1106 BUG FIXES: 1107 * core: Fix a bug in Nomad Enterprise where non-voting servers could get 1108 bootstrapped as voting servers [[GH-4702](https://github.com/hashicorp/nomad/issues/4702)] 1109 * core: Fix an issue where an evaluation could fail if an allocation was being 1110 rescheduled and the node containing it was at capacity [[GH-4713](https://github.com/hashicorp/nomad/issues/4713)] 1111 * core: Fix an issue in which schedulers would reject evaluations created when 1112 prior scheduling for a job failed [[GH-4712](https://github.com/hashicorp/nomad/issues/4712)] 1113 * cli: Fix a bug where enabling custom upgrade versions for autopilot was not 1114 being honored [[GH-4723](https://github.com/hashicorp/nomad/issues/4723)] 1115 * deployments: Fix an issue where the deployment watcher could create a high 1116 volume of evaluations [[GH-4709](https://github.com/hashicorp/nomad/issues/4709)] 1117 * vault: Fix a regression in which Nomad was only compatible with Vault versions 1118 greater than 0.10.0 [[GH-4698](https://github.com/hashicorp/nomad/issues/4698)] 1119 1120 ## 0.8.5 (September 13, 2018) 1121 1122 IMPROVEMENTS: 1123 1124 * core: Failed deployments no longer block migrations [[GH-4659](https://github.com/hashicorp/nomad/issues/4659)] 1125 * client: Added option to prevent Nomad from removing containers when the task exits [[GH-4535](https://github.com/hashicorp/nomad/issues/4535)] 1126 1127 BUG FIXES: 1128 1129 * core: Reset queued allocation summary to zero when job stopped [[GH-4414](https://github.com/hashicorp/nomad/issues/4414)] 1130 * core: Fix inverted logic bug where if `disable_update_check` was enabled, update checks would be performed [[GH-4570](https://github.com/hashicorp/nomad/issues/4570)] 1131 * core: Fix panic due to missing synchronization in delayed evaluations heap [[GH-4632](https://github.com/hashicorp/nomad/issues/4632)] 1132 * core: Fix treating valid PEM files as invalid [[GH-4613](https://github.com/hashicorp/nomad/issues/4613)] 1133 * core: Fix panic in nomad job history when invoked with a job version that doesn't exist [[GH-4577](https://github.com/hashicorp/nomad/issues/4577)] 1134 * core: Fix issue with not properly closing connection multiplexer when its context is cancelled [[GH-4573](https://github.com/hashicorp/nomad/issues/4573)] 1135 * core: Upgrade vendored Vault client library to fix API incompatibility issue [[GH-4658](https://github.com/hashicorp/nomad/issues/4658)] 1136 * driver/docker: Fix kill timeout not being respected when timeout is over five minutes [[GH-4599](https://github.com/hashicorp/nomad/issues/4599)] 1137 * scheduler: Fix nil pointer dereference [[GH-4474](https://github.com/hashicorp/nomad/issues/4474)] 1138 * scheduler: Fix panic when allocation's reschedule policy doesn't exist [[GH-4647](https://github.com/hashicorp/nomad/issues/4647)] 1139 * client: Fix migrating ephemeral disks when TLS is enabled [[GH-4648](https://github.com/hashicorp/nomad/issues/4648)] 1140 1141 ## 0.8.4 (June 11, 2018) 1142 1143 IMPROVEMENTS: 1144 * core: Updated serf library to improve how leave intents are handled [[GH-4278](https://github.com/hashicorp/nomad/issues/4278)] 1145 * core: Add more descriptive errors when parsing agent TLS certificates [[GH-4340](https://github.com/hashicorp/nomad/issues/4340)] 1146 * core: Added TLS configuration option to prefer server's ciphersuites over clients[[GH-4338](https://github.com/hashicorp/nomad/issues/4338)] 1147 * core: Add the option for operators to configure TLS versions and allowed 1148 cipher suites. Default is a subset of safe ciphers and TLS 1.2 [[GH-4269](https://github.com/hashicorp/nomad/pull/4269)] 1149 * core: Add a new [progress_deadline](https://www.nomadproject.io/docs/job-specification/update.html#progress_deadline) parameter to 1150 support rescheduling failed allocations during a deployment. This allows operators to specify a configurable deadline before which 1151 a deployment should see healthy allocations [[GH-4259](https://github.com/hashicorp/nomad/issues/4259)] 1152 * core: Add a new [job eval](https://www.nomadproject.io/docs/commands/job/eval.html) CLI and API 1153 for forcing an evaluation of a job, given the job ID. The new CLI also includes an option to force 1154 reschedule failed allocations [[GH-4274](https://github.com/hashicorp/nomad/issues/4274)] 1155 * core: Canary allocations are tagged in Consul to enable using service tags to 1156 isolate canary instances during deployments [[GH-4259](https://github.com/hashicorp/nomad/issues/4259)] 1157 * core: Emit Node events for drain and eligibility operations as well as for 1158 missed heartbeats [[GH-4284](https://github.com/hashicorp/nomad/issues/4284)], [[GH-4291](https://github.com/hashicorp/nomad/issues/4291)], [[GH-4292](https://github.com/hashicorp/nomad/issues/4292)] 1159 * agent: Support go-discover for auto-joining clusters based on cloud metadata 1160 [[GH-4277](https://github.com/hashicorp/nomad/issues/4277)] 1161 * cli: Add node drain monitoring with new `-monitor` flag on node drain 1162 command [[GH-4260](https://github.com/hashicorp/nomad/issues/4260)] 1163 * cli: Add node drain details to node status [[GH-4247](https://github.com/hashicorp/nomad/issues/4247)] 1164 * client: Avoid splitting log line across two files [[GH-4282](https://github.com/hashicorp/nomad/issues/4282)] 1165 * command: Add -short option to init command that emits a minimal 1166 jobspec [[GH-4239](https://github.com/hashicorp/nomad/issues/4239)] 1167 * discovery: Support Consul gRPC health checks. [[GH-4251](https://github.com/hashicorp/nomad/issues/4251)] 1168 * driver/docker: OOM kill metric [[GH-4185](https://github.com/hashicorp/nomad/issues/4185)] 1169 * driver/docker: Pull image with digest [[GH-4298](https://github.com/hashicorp/nomad/issues/4298)] 1170 * driver/docker: Support Docker pid limits [[GH-4341](https://github.com/hashicorp/nomad/issues/4341)] 1171 * driver/docker: Add progress monitoring and inactivity detection to docker 1172 image pulls [[GH-4192](https://github.com/hashicorp/nomad/issues/4192)] 1173 * driver/raw_exec: Use cgroups to manage process tree for precise cleanup of 1174 launched processes [[GH-4350](https://github.com/hashicorp/nomad/issues/4350)] 1175 * env: Default interpolation of optional meta fields of parameterized jobs to 1176 an empty string rather than the field key. [[GH-3720](https://github.com/hashicorp/nomad/issues/3720)] 1177 * ui: Show node drain, node eligibility, and node drain strategy information in the Client list and Client detail pages [[GH-4353](https://github.com/hashicorp/nomad/issues/4353)] 1178 * ui: Show reschedule-event information for allocations that were server-side rescheduled [[GH-4254](https://github.com/hashicorp/nomad/issues/4254)] 1179 * ui: Show the running deployment Progress Deadlines on the Job Detail Page [[GH-4388](https://github.com/hashicorp/nomad/issues/4388)] 1180 * ui: Show driver health status and node events on the Client Detail Page [[GH-4294](https://github.com/hashicorp/nomad/issues/4294)] 1181 * ui: Fuzzy and tokenized search on the Jobs List Page [[GH-4201](https://github.com/hashicorp/nomad/issues/4201)] 1182 * ui: The stop job button looks more dangerous [[GH-4339](https://github.com/hashicorp/nomad/issues/4339)] 1183 1184 BUG FIXES: 1185 * core: Clean up leaked deployments on restoration [[GH-4329](https://github.com/hashicorp/nomad/issues/4329)] 1186 * core: Fix regression to allow for dynamic Vault configuration reload [[GH-4395](https://github.com/hashicorp/nomad/issues/4395)] 1187 * core: Fix bug where older failed allocations of jobs that have been updated to a newer version were 1188 not being garbage collected [[GH-4313](https://github.com/hashicorp/nomad/issues/4313)] 1189 * core: Fix bug when upgrading an existing server to Raft protocol 3 that 1190 caused servers to never change their ID in the Raft configuration. [[GH-4349](https://github.com/hashicorp/nomad/issues/4349)] 1191 * core: Fix bug with scheduler not creating a new deployment when job is purged 1192 and re-added [[GH-4377](https://github.com/hashicorp/nomad/issues/4377)] 1193 * api/client: Fix potentially out of order logs and streamed file contents 1194 [[GH-4234](https://github.com/hashicorp/nomad/issues/4234)] 1195 * discovery: Fix flapping services when Nomad Server and Client point to the same 1196 Consul agent [[GH-4365](https://github.com/hashicorp/nomad/issues/4365)] 1197 * driver/docker: Fix docker credential helper support [[GH-4266](https://github.com/hashicorp/nomad/issues/4266)] 1198 * driver/docker: Fix panic when docker client configuration options are invalid [[GH-4303](https://github.com/hashicorp/nomad/issues/4303)] 1199 * driver/exec: Disable exec on non-linux platforms [[GH-4366](https://github.com/hashicorp/nomad/issues/4366)] 1200 * rpc: Fix RPC tunneling when running both client/server on one machine [[GH-4317](https://github.com/hashicorp/nomad/issues/4317)] 1201 * ui: Track the method in XHR tracking to prevent errant ACL error dialogs when stopping a job [[GH-4319](https://github.com/hashicorp/nomad/issues/4319)] 1202 * ui: Make the tasks list on the Allocation Detail Page look and behave like other lists [[GH-4387](https://github.com/hashicorp/nomad/issues/4387)] [[GH-4393](https://github.com/hashicorp/nomad/issues/4393)] 1203 * ui: Use the Network IP, not the Node IP, for task addresses [[GH-4369](https://github.com/hashicorp/nomad/issues/4369)] 1204 * ui: Use Polling instead of Streaming for logs in Safari [[GH-4335](https://github.com/hashicorp/nomad/issues/4335)] 1205 * ui: Track PlaceCanaries in deployment metrics [[GH-4325](https://github.com/hashicorp/nomad/issues/4325)] 1206 1207 ## 0.8.3 (April 27, 2018) 1208 1209 BUG FIXES: 1210 * core: Fix panic proxying node connections when the server does not have a 1211 connection to the node [[GH-4231](https://github.com/hashicorp/nomad/issues/4231)] 1212 * core: Fix bug with not updating ModifyIndex of allocations after updates to 1213 the `NextAllocation` field [[GH-4250](https://github.com/hashicorp/nomad/issues/4250)] 1214 1215 ## 0.8.2 (April 26, 2018) 1216 1217 IMPROVEMENTS: 1218 * api: Add /v1/jobs/parse api endpoint for rendering HCL jobs files as JSON [[GH-2782](https://github.com/hashicorp/nomad/issues/2782)] 1219 * api: Include reschedule tracking events in end points that return a list of allocations [[GH-4240](https://github.com/hashicorp/nomad/issues/4240)] 1220 * cli: Improve help text when invalid arguments are given [[GH-4176](https://github.com/hashicorp/nomad/issues/4176)] 1221 * client: Create new process group on process startup. [[GH-3572](https://github.com/hashicorp/nomad/issues/3572)] 1222 * discovery: Periodically sync services and checks with Consul [[GH-4170](https://github.com/hashicorp/nomad/issues/4170)] 1223 * driver/rkt: Enable stats collection for rkt tasks [[GH-4188](https://github.com/hashicorp/nomad/pull/4188)] 1224 * ui: Stop job button added to job detail pages [[GH-4189](https://github.com/hashicorp/nomad/pull/4189)] 1225 1226 BUG FIXES: 1227 * core: Handle invalid cron specifications more gracefully [[GH-4224](https://github.com/hashicorp/nomad/issues/4224)] 1228 * core: Sort signals in implicit constraint avoiding unnecessary updates 1229 [[GH-4216](https://github.com/hashicorp/nomad/issues/4216)] 1230 * core: Improve tracking of node connections even if the address being used to 1231 contact the server changes [[GH-4222](https://github.com/hashicorp/nomad/issues/4222)] 1232 * core: Fix panic when doing a node drain effecting a job that has an 1233 allocation that was on a node that no longer exists 1234 [[GH-4215](https://github.com/hashicorp/nomad/issues/4215)] 1235 * api: Fix an issue in which the autopilot configuration could not be updated 1236 [[GH-4220](https://github.com/hashicorp/nomad/issues/4220)] 1237 * client: Populate access time and modify time when unarchiving tar archives 1238 that do not specify them explicitly [[GH-4217](https://github.com/hashicorp/nomad/issues/4217)] 1239 * driver/exec: Create process group for Windows process and send Ctrl-Break 1240 signal on Shutdown [[GH-4153](https://github.com/hashicorp/nomad/pull/4153)] 1241 * ui: Alloc stats will continue to poll after a request errors or returns an invalid response [[GH-4195](https://github.com/hashicorp/nomad/pull/4195)] 1242 1243 ## 0.8.1 (April 17, 2018) 1244 1245 BUG FIXES: 1246 * client: Fix a race condition while concurrently fingerprinting and accessing 1247 the node that could cause a panic [[GH-4166](https://github.com/hashicorp/nomad/issues/4166)] 1248 1249 ## 0.8.0 (April 12, 2018) 1250 1251 __BACKWARDS INCOMPATIBILITIES:__ 1252 * cli: node drain now blocks until the drain completes and all allocations on 1253 the draining node have stopped. Use -detach for the old behavior. 1254 * client: Periods (`.`) are no longer replaced with underscores (`_`) in 1255 environment variables as many applications rely on periods in environment 1256 variable names. [[GH-3760](https://github.com/hashicorp/nomad/issues/3760)] 1257 * client/metrics: The key emitted for tracking a client's uptime has changed 1258 from "uptime" to "client.uptime". Users monitoring this metric will have to 1259 switch to the new key name [[GH-4128](https://github.com/hashicorp/nomad/issues/4128)] 1260 * discovery: Prevent absolute URLs in check paths. The documentation indicated 1261 that absolute URLs are not allowed, but it was not enforced. Absolute URLs 1262 in HTTP check paths will now fail to validate. [[GH-3685](https://github.com/hashicorp/nomad/issues/3685)] 1263 * drain: Draining a node no longer stops all allocations immediately: a new 1264 [migrate stanza](https://www.nomadproject.io/docs/job-specification/migrate.html) 1265 allows jobs to specify how quickly task groups can be drained. A `-force` 1266 option can be used to emulate the old drain behavior. 1267 * jobspec: The default values for restart policy have changed. Restart policy 1268 mode defaults to "fail" and the attempts/time interval values have been 1269 changed to enable faster server side rescheduling. See [restart 1270 stanza](https://www.nomadproject.io/docs/job-specification/restart.html) for 1271 more information. 1272 * jobspec: Removed compatibility code that migrated pre Nomad 0.6.0 Update 1273 stanza syntax. All job spec files should be using update stanza fields 1274 introduced in 0.7.0 1275 [[GH-3979](https://github.com/hashicorp/nomad/pull/3979/files)] 1276 1277 IMPROVEMENTS: 1278 * core: Servers can now service client HTTP endpoints [[GH-3892](https://github.com/hashicorp/nomad/issues/3892)] 1279 * core: More efficient garbage collection of large batches of jobs [[GH-3982](https://github.com/hashicorp/nomad/issues/3982)] 1280 * core: Allow upgrading/downgrading TLS via SIGHUP on both servers and clients [[GH-3492](https://github.com/hashicorp/nomad/issues/3492)] 1281 * core: Node events are emitted for events such as node registration and 1282 heartbeating [[GH-3945](https://github.com/hashicorp/nomad/issues/3945)] 1283 * 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 [Autopilot Guide](https://www.nomadproject.io/guides/cluster/autopilot.html). [[GH-3670](https://github.com/hashicorp/nomad/pull/3670)] 1284 * core: Failed tasks are automatically rescheduled according to user specified criteria. For more information on configuration, see the [Reshedule Stanza](https://www.nomadproject.io/docs/job-specification/reschedule.html) [[GH-3981](https://github.com/hashicorp/nomad/issues/3981)] 1285 * core: Servers can now service client HTTP endpoints [[GH-3892](https://github.com/hashicorp/nomad/issues/3892)] 1286 * core: Servers can now retry connecting to Vault to verify tokens without requiring a SIGHUP to do so [[GH-3957](https://github.com/hashicorp/nomad/issues/3957)] 1287 * core: Updated yamux library to pick up memory and CPU performance improvements [[GH-3980](https://github.com/hashicorp/nomad/issues/3980)] 1288 * core: Client stanza now supports overriding total memory [[GH-4052](https://github.com/hashicorp/nomad/issues/4052)] 1289 * core: Node draining is now able to migrate allocations in a controlled 1290 manner with parameters specified by the drain command and in job files using 1291 the migrate stanza [[GH-4010](https://github.com/hashicorp/nomad/issues/4010)] 1292 * acl: Increase token name limit from 64 characters to 256 [[GH-3888](https://github.com/hashicorp/nomad/issues/3888)] 1293 * cli: Node status and filesystem related commands do not require direct 1294 network access to the Nomad client nodes [[GH-3892](https://github.com/hashicorp/nomad/issues/3892)] 1295 * cli: Common commands highlighed [[GH-4027](https://github.com/hashicorp/nomad/issues/4027)] 1296 * cli: Colored error and warning outputs [[GH-4027](https://github.com/hashicorp/nomad/issues/4027)] 1297 * cli: All commands are grouped by subsystem [[GH-4027](https://github.com/hashicorp/nomad/issues/4027)] 1298 * cli: Use ISO_8601 time format for cli output [[GH-3814](https://github.com/hashicorp/nomad/pull/3814)] 1299 * cli: Clearer task event descriptions in `nomad alloc-status` when there are server side failures authenticating to Vault [[GH-3968](https://github.com/hashicorp/nomad/issues/3968)] 1300 * client: Allow '.' in environment variable names [[GH-3760](https://github.com/hashicorp/nomad/issues/3760)] 1301 * client: Improved handling of failed RPCs and heartbeat retry logic [[GH-4106](https://github.com/hashicorp/nomad/issues/4106)] 1302 * client: Refactor client fingerprint methods to a request/response format [[GH-3781](https://github.com/hashicorp/nomad/issues/3781)] 1303 * client: Enable periodic health checks for drivers. Initial support only includes the Docker driver. [[GH-3856](https://github.com/hashicorp/nomad/issues/3856)] 1304 * discovery: Allow `check_restart` to be specified in the `service` stanza 1305 [[GH-3718](https://github.com/hashicorp/nomad/issues/3718)] 1306 * discovery: Allow configuring names of Nomad client and server health checks 1307 [[GH-4003](https://github.com/hashicorp/nomad/issues/4003)] 1308 * discovery: Only log if Consul does not support TLSSkipVerify instead of 1309 dropping checks which relied on it. Consul has had this feature since 0.7.2 [[GH-3983](https://github.com/hashicorp/nomad/issues/3983)] 1310 * driver/docker: Support hard CPU limits [[GH-3825](https://github.com/hashicorp/nomad/issues/3825)] 1311 * driver/docker: Support advertising IPv6 addresses [[GH-3790](https://github.com/hashicorp/nomad/issues/3790)] 1312 * driver/docker; Support overriding image entrypoint [[GH-3788](https://github.com/hashicorp/nomad/issues/3788)] 1313 * driver/docker: Support adding or dropping capabilities [[GH-3754](https://github.com/hashicorp/nomad/issues/3754)] 1314 * driver/docker: Support mounting root filesystem as read-only [[GH-3802](https://github.com/hashicorp/nomad/issues/3802)] 1315 * driver/docker: Retry on Portworx "volume is attached on another node" errors 1316 [[GH-3993](https://github.com/hashicorp/nomad/issues/3993)] 1317 * driver/lxc: Add volumes config to LXC driver [[GH-3687](https://github.com/hashicorp/nomad/issues/3687)] 1318 * driver/rkt: Allow overriding group [[GH-3990](https://github.com/hashicorp/nomad/issues/3990)] 1319 * telemetry: Support DataDog tags [[GH-3839](https://github.com/hashicorp/nomad/issues/3839)] 1320 * ui: Specialized job detail pages for each job type (system, service, batch, periodic, parameterized, periodic instance, parameterized instance) [[GH-3829](https://github.com/hashicorp/nomad/issues/3829)] 1321 * ui: Allocation stats requests are made through the server instead of directly through clients [[GH-3908](https://github.com/hashicorp/nomad/issues/3908)] 1322 * ui: Allocation log requests fallback to using the server when the client can't be reached [[GH-3908](https://github.com/hashicorp/nomad/issues/3908)] 1323 * ui: All views poll for changes using long-polling via blocking queries [[GH-3936](https://github.com/hashicorp/nomad/issues/3936)] 1324 * ui: Dispatch payload on the parameterized instance job detail page [[GH-3829](https://github.com/hashicorp/nomad/issues/3829)] 1325 * ui: Periodic force launch button on the periodic job detail page [[GH-3829](https://github.com/hashicorp/nomad/issues/3829)] 1326 * ui: Allocation breadcrumbs now extend job breadcrumbs [[GH-3829](https://github.com/hashicorp/nomad/issues/3974)] 1327 * vault: Allow Nomad to create orphaned tokens for allocations [[GH-3992](https://github.com/hashicorp/nomad/issues/3992)] 1328 1329 BUG FIXES: 1330 * core: Fix search endpoint forwarding for multi-region clusters [[GH-3680](https://github.com/hashicorp/nomad/issues/3680)] 1331 * core: Fix an issue in which batch jobs with queued placements and lost 1332 allocations could result in improper placement counts [[GH-3717](https://github.com/hashicorp/nomad/issues/3717)] 1333 * core: Fix an issue where an entire region leaving caused `nomad server-members` to fail with a 500 response [[GH-1515](https://github.com/hashicorp/nomad/issues/1515)] 1334 * core: Fix an issue in which multiple servers could be acting as a leader. A 1335 prominent side-effect being nodes TTLing incorrectly [[GH-3890](https://github.com/hashicorp/nomad/issues/3890)] 1336 * core: Fix an issue where jobs with the same name in a different namespace were not being blocked correctly [[GH-3972](https://github.com/hashicorp/nomad/issues/3972)] 1337 * cli: server member command handles failure to retrieve leader in remote 1338 regions [[GH-4087](https://github.com/hashicorp/nomad/issues/4087)] 1339 * client: Support IP detection of wireless interfaces on Windows [[GH-4011](https://github.com/hashicorp/nomad/issues/4011)] 1340 * client: Migrated ephemeral_disk's maintain directory permissions [[GH-3723](https://github.com/hashicorp/nomad/issues/3723)] 1341 * client: Always advertise driver IP when in driver address mode [[GH-3682](https://github.com/hashicorp/nomad/issues/3682)] 1342 * client: Preserve permissions on directories when expanding tarred artifacts [[GH-4129](https://github.com/hashicorp/nomad/issues/4129)] 1343 * client: Improve auto-detection of network interface when interface name has a 1344 space in it on Windows [[GH-3855](https://github.com/hashicorp/nomad/issues/3855)] 1345 * client/vault: Recognize renewing non-renewable Vault lease as fatal [[GH-3727](https://github.com/hashicorp/nomad/issues/3727)] 1346 * client/vault: Improved error handling of network errors with Vault [[GH-4100](https://github.com/hashicorp/nomad/issues/4100)] 1347 * config: Revert minimum CPU limit back to 20 from 100 [[GH-3706](https://github.com/hashicorp/nomad/issues/3706)] 1348 * config: Always add core scheduler to enabled schedulers and add invalid 1349 EnabledScheduler detection [[GH-3978](https://github.com/hashicorp/nomad/issues/3978)] 1350 * driver/exec: Properly disable swapping [[GH-3958](https://github.com/hashicorp/nomad/issues/3958)] 1351 * driver/lxc: Cleanup LXC containers after errors on container startup. [[GH-3773](https://github.com/hashicorp/nomad/issues/3773)] 1352 * ui: Always show the task name in the task recent events table on the allocation detail page. [[GH-3985](https://github.com/hashicorp/nomad/pull/3985)] 1353 * ui: Only show the placement failures section when there is a blocked evaluation. [[GH-3956](https://github.com/hashicorp/nomad/pull/3956)] 1354 * ui: Fix requests using client-side certificates in Firefox. [[GH-3728](https://github.com/hashicorp/nomad/pull/3728)] 1355 * ui: Fix ui on non-leaders when ACLs are enabled [[GH-3722](https://github.com/hashicorp/nomad/issues/3722)] 1356 1357 1358 ## 0.7.1 (December 19, 2017) 1359 1360 __BACKWARDS INCOMPATIBILITIES:__ 1361 * client: The format of service IDs in Consul has changed. If you rely upon 1362 Nomad's service IDs (*not* service names; those are stable), you will need 1363 to update your code. [[GH-3632](https://github.com/hashicorp/nomad/issues/3632)] 1364 * config: Nomad no longer parses Atlas configuration stanzas. Atlas has been 1365 deprecated since earlier this year. If you have an Atlas stanza in your 1366 config file it will have to be removed. 1367 * config: Default minimum CPU configuration has been changed to 100 from 20. Jobs 1368 using the old minimum value of 20 will have to be updated. 1369 * telemetry: Hostname is now emitted via a tag rather than within the key name. 1370 To maintain old behavior during an upgrade path specify 1371 `backwards_compatible_metrics` in the telemetry configuration. 1372 1373 IMPROVEMENTS: 1374 * core: Allow operators to reload TLS certificate and key files via SIGHUP 1375 [[GH-3479](https://github.com/hashicorp/nomad/issues/3479)] 1376 * core: Allow configurable stop signals for a task, when drivers support 1377 sending stop signals [[GH-1755](https://github.com/hashicorp/nomad/issues/1755)] 1378 * core: Allow agents to be run in `rpc_upgrade_mode` when migrating a cluster 1379 to TLS rather than changing `heartbeat_grace` 1380 * api: Allocations now track and return modify time in addition to create time 1381 [[GH-3446](https://github.com/hashicorp/nomad/issues/3446)] 1382 * api: Introduced new fields to track details and display message for task 1383 events, and deprecated redundant existing fields [[GH-3399](https://github.com/hashicorp/nomad/issues/3399)] 1384 * api: Environment variables are ignored during service name validation [[GH-3532](https://github.com/hashicorp/nomad/issues/3532)] 1385 * cli: Allocation create and modify times are displayed in a human readable 1386 relative format like `6 h ago` [[GH-3449](https://github.com/hashicorp/nomad/issues/3449)] 1387 * client: Support `address_mode` on checks [[GH-3619](https://github.com/hashicorp/nomad/issues/3619)] 1388 * client: Sticky volume migrations are now atomic. [[GH-3563](https://github.com/hashicorp/nomad/issues/3563)] 1389 * client: Added metrics to track state transitions of allocations [[GH-3061](https://github.com/hashicorp/nomad/issues/3061)] 1390 * client: When `network_interface` is unspecified use interface attached to 1391 default route [[GH-3546](https://github.com/hashicorp/nomad/issues/3546)] 1392 * client: Support numeric ports on services and checks when 1393 `address_mode="driver"` [[GH-3619](https://github.com/hashicorp/nomad/issues/3619)] 1394 * driver/docker: Detect OOM kill event [[GH-3459](https://github.com/hashicorp/nomad/issues/3459)] 1395 * driver/docker: Adds support for adding host device to container via 1396 `--device` [[GH-2938](https://github.com/hashicorp/nomad/issues/2938)] 1397 * driver/docker: Adds support for `ulimit` and `sysctl` options [[GH-3568](https://github.com/hashicorp/nomad/issues/3568)] 1398 * driver/docker: Adds support for StopTimeout (set to the same value as 1399 kill_timeout [[GH-3601](https://github.com/hashicorp/nomad/issues/3601)] 1400 * driver/rkt: Add support for passing through user [[GH-3612](https://github.com/hashicorp/nomad/issues/3612)] 1401 * driver/qemu: Support graceful shutdowns on unix platforms [[GH-3411](https://github.com/hashicorp/nomad/issues/3411)] 1402 * template: Updated to consul template 0.19.4 [[GH-3543](https://github.com/hashicorp/nomad/issues/3543)] 1403 * core/enterprise: Return 501 status code in Nomad Pro for Premium end points 1404 * ui: Added log streaming for tasks [[GH-3564](https://github.com/hashicorp/nomad/issues/3564)] 1405 * ui: Show the modify time for allocations [[GH-3607](https://github.com/hashicorp/nomad/issues/3607)] 1406 * ui: Added a dedicated Task page under allocations [[GH-3472](https://github.com/hashicorp/nomad/issues/3472)] 1407 * ui: Added placement failures to the Job Detail page [[GH-3603](https://github.com/hashicorp/nomad/issues/3603)] 1408 * ui: Warn uncaught exceptions to the developer console [[GH-3623](https://github.com/hashicorp/nomad/issues/3623)] 1409 1410 BUG FIXES: 1411 1412 * core: Fix issue in which restoring periodic jobs could fail when a leader 1413 election occurs [[GH-3646](https://github.com/hashicorp/nomad/issues/3646)] 1414 * core: Fix race condition in which rapid reprocessing of a blocked evaluation 1415 may lead to the scheduler not seeing the results of the previous scheduling 1416 event [[GH-3669](https://github.com/hashicorp/nomad/issues/3669)] 1417 * core: Fixed an issue where the leader server could get into a state where it 1418 was no longer performing the periodic leader loop duties after a barrier 1419 timeout error [[GH-3402](https://github.com/hashicorp/nomad/issues/3402)] 1420 * core: Fixes an issue with jobs that have `auto_revert` set to true, where 1421 reverting to a previously stable job that fails to start up causes an 1422 infinite cycle of reverts [[GH-3496](https://github.com/hashicorp/nomad/issues/3496)] 1423 * api: Apply correct memory default when task's do not specify memory 1424 explicitly [[GH-3520](https://github.com/hashicorp/nomad/issues/3520)] 1425 * cli: Fix passing Consul address via flags [[GH-3504](https://github.com/hashicorp/nomad/issues/3504)] 1426 * cli: Fix panic when running `keyring` commands [[GH-3509](https://github.com/hashicorp/nomad/issues/3509)] 1427 * client: Fix advertising services with tags that require URL escaping 1428 [[GH-3632](https://github.com/hashicorp/nomad/issues/3632)] 1429 * client: Fix a panic when restoring an allocation with a dead leader task 1430 [[GH-3502](https://github.com/hashicorp/nomad/issues/3502)] 1431 * client: Fix crash when following logs from a Windows node [[GH-3608](https://github.com/hashicorp/nomad/issues/3608)] 1432 * client: Fix service/check updating when just interpolated variables change 1433 [[GH-3619](https://github.com/hashicorp/nomad/issues/3619)] 1434 * client: Fix allocation accounting in GC and trigger GCs on allocation 1435 updates [[GH-3445](https://github.com/hashicorp/nomad/issues/3445)] 1436 * driver/docker: Fix container name conflict handling [[GH-3551](https://github.com/hashicorp/nomad/issues/3551)] 1437 * driver/rkt: Remove pods on shutdown [[GH-3562](https://github.com/hashicorp/nomad/issues/3562)] 1438 * driver/rkt: Don't require port maps when using host networking [[GH-3615](https://github.com/hashicorp/nomad/issues/3615)] 1439 * template: Fix issue where multiple environment variable templates would be 1440 parsed incorrectly when contents of one have changed after the initial 1441 rendering [[GH-3529](https://github.com/hashicorp/nomad/issues/3529)] 1442 * sentinel: (Nomad Enterprise) Fix an issue that could cause an import error 1443 when multiple Sentinel policies are applied 1444 * telemetry: Do not emit metrics for non-running tasks [[GH-3559](https://github.com/hashicorp/nomad/issues/3559)] 1445 * telemetry: Emit hostname as a tag rather than within the key name [[GH-3616](https://github.com/hashicorp/nomad/issues/3616)] 1446 * ui: Remove timezone text from timestamps [[GH-3621](https://github.com/hashicorp/nomad/issues/3621)] 1447 * ui: Allow cross-origin requests from the UI [[GH-3530](https://github.com/hashicorp/nomad/issues/3530)] 1448 * ui: Consistently use Clients instead of Nodes in copy [[GH-3466](https://github.com/hashicorp/nomad/issues/3466)] 1449 * ui: Fully expand the job definition on the Job Definition page [[GH-3631](https://github.com/hashicorp/nomad/issues/3631)] 1450 1451 ## 0.7.0 (November 1, 2017) 1452 1453 __BACKWARDS INCOMPATIBILITIES:__ 1454 * driver/rkt: Nomad now requires at least rkt version `1.27.0` for the rkt 1455 driver to function. Please update your version of rkt to at least this 1456 version. 1457 1458 IMPROVEMENTS: 1459 * core: Capability based ACL system with authoritative region, providing 1460 federated ACLs. 1461 * core/enterprise: Sentinel integration for fine grain policy enforcement. 1462 * core/enterprise: Namespace support allowing jobs and their associated 1463 objects to be isolated from each other and other users of the cluster. 1464 * api: Allow force deregistration of a node [[GH-3447](https://github.com/hashicorp/nomad/issues/3447)] 1465 * api: New `/v1/agent/health` endpoint for health checks. 1466 * api: Metrics endpoint exposes Prometheus formatted metrics [[GH-3171](https://github.com/hashicorp/nomad/issues/3171)] 1467 * cli: Consul config option flags for nomad agent command [[GH-3327](https://github.com/hashicorp/nomad/issues/3327)] 1468 * discovery: Allow restarting unhealthy tasks with `check_restart` [[GH-3105](https://github.com/hashicorp/nomad/issues/3105)] 1469 * driver/rkt: Enable rkt driver to use address_mode = 'driver' [[GH-3256](https://github.com/hashicorp/nomad/issues/3256)] 1470 * telemetry: Add support for tagged metrics for Nomad clients [[GH-3147](https://github.com/hashicorp/nomad/issues/3147)] 1471 * telemetry: Add basic Prometheus configuration for a Nomad cluster [[GH-3186](https://github.com/hashicorp/nomad/issues/3186)] 1472 1473 BUG FIXES: 1474 * core: Fix restoration of stopped periodic jobs [[GH-3201](https://github.com/hashicorp/nomad/issues/3201)] 1475 * core: Run deployment garbage collector on an interval [[GH-3267](https://github.com/hashicorp/nomad/issues/3267)] 1476 * core: Fix parameterized jobs occasionally showing status dead incorrectly 1477 [[GH-3460](https://github.com/hashicorp/nomad/issues/3460)] 1478 * core: Fix issue in which job versions above a threshold potentially wouldn't 1479 be stored [[GH-3372](https://github.com/hashicorp/nomad/issues/3372)] 1480 * core: Fix issue where node-drain with complete batch allocation would create 1481 replacement [[GH-3217](https://github.com/hashicorp/nomad/issues/3217)] 1482 * core: Allow batch jobs that have been purged to be rerun without a job 1483 specification change [[GH-3375](https://github.com/hashicorp/nomad/issues/3375)] 1484 * core: Fix issue in which batch allocations from previous job versions may not 1485 have been stopped properly. [[GH-3217](https://github.com/hashicorp/nomad/issues/3217)] 1486 * core: Fix issue in which allocations with the same name during a scale 1487 down/stop event wouldn't be properly stopped [[GH-3217](https://github.com/hashicorp/nomad/issues/3217)] 1488 * core: Fix a race condition in which scheduling results from one invocation of 1489 the scheduler wouldn't be considered by the next for the same job [[GH-3206](https://github.com/hashicorp/nomad/issues/3206)] 1490 * api: Sort /v1/agent/servers output so that output of Consul checks does not 1491 change [[GH-3214](https://github.com/hashicorp/nomad/issues/3214)] 1492 * api: Fix search handling of jobs with more than four hyphens and case were 1493 length could cause lookup error [[GH-3203](https://github.com/hashicorp/nomad/issues/3203)] 1494 * client: Improve the speed at which clients detect garbage collection events [[GH-3452](https://github.com/hashicorp/nomad/issues/3452)] 1495 * client: Fix lock contention that could cause a node to miss a heartbeat and 1496 be marked as down [[GH-3195](https://github.com/hashicorp/nomad/issues/3195)] 1497 * client: Fix data race that could lead to concurrent map read/writes during 1498 heartbeating and fingerprinting [[GH-3461](https://github.com/hashicorp/nomad/issues/3461)] 1499 * driver/docker: Fix docker user specified syslogging [[GH-3184](https://github.com/hashicorp/nomad/issues/3184)] 1500 * driver/docker: Fix issue where CPU usage statistics were artificially high 1501 [[GH-3229](https://github.com/hashicorp/nomad/issues/3229)] 1502 * client/template: Fix issue in which secrets would be renewed too aggressively 1503 [[GH-3360](https://github.com/hashicorp/nomad/issues/3360)] 1504 1505 ## 0.6.3 (September 11, 2017) 1506 1507 BUG FIXES: 1508 * api: Search handles prefix longer than allowed UUIDs [[GH-3138](https://github.com/hashicorp/nomad/issues/3138)] 1509 * api: Search endpoint handles even UUID prefixes with hyphens [[GH-3120](https://github.com/hashicorp/nomad/issues/3120)] 1510 * api: Don't merge empty update stanza from job into task groups [[GH-3139](https://github.com/hashicorp/nomad/issues/3139)] 1511 * cli: Sort task groups when displaying a deployment [[GH-3137](https://github.com/hashicorp/nomad/issues/3137)] 1512 * cli: Handle reading files that are in a symlinked directory [[GH-3164](https://github.com/hashicorp/nomad/issues/3164)] 1513 * cli: All status commands handle even UUID prefixes with hyphens [[GH-3122](https://github.com/hashicorp/nomad/issues/3122)] 1514 * cli: Fix autocompletion of paths that include directories on zsh [[GH-3129](https://github.com/hashicorp/nomad/issues/3129)] 1515 * cli: Fix job deployment -latest handling of jobs without deployments 1516 [[GH-3166](https://github.com/hashicorp/nomad/issues/3166)] 1517 * cli: Hide CLI commands not expected to be run by user from autocomplete 1518 suggestions [[GH-3177](https://github.com/hashicorp/nomad/issues/3177)] 1519 * cli: Status command honors exact job match even when it is the prefix of 1520 another job [[GH-3120](https://github.com/hashicorp/nomad/issues/3120)] 1521 * cli: Fix setting of TLSServerName for node API Client. This fixes an issue of 1522 contacting nodes that are using TLS [[GH-3127](https://github.com/hashicorp/nomad/issues/3127)] 1523 * client/template: Fix issue in which the template block could cause high load 1524 on Vault when secret lease duration was less than the Vault grace [[GH-3153](https://github.com/hashicorp/nomad/issues/3153)] 1525 * driver/docker: Always purge stopped containers [[GH-3148](https://github.com/hashicorp/nomad/issues/3148)] 1526 * driver/docker: Fix MemorySwappiness on Windows [[GH-3187](https://github.com/hashicorp/nomad/issues/3187)] 1527 * driver/docker: Fix issue in which mounts could parse incorrectly [[GH-3163](https://github.com/hashicorp/nomad/issues/3163)] 1528 * driver/docker: Fix issue where potentially incorrect syslog server address is 1529 used [[GH-3135](https://github.com/hashicorp/nomad/issues/3135)] 1530 * driver/docker: Fix server url passed to credential helpers and properly 1531 capture error output [[GH-3165](https://github.com/hashicorp/nomad/issues/3165)] 1532 * jobspec: Allow distinct_host constraint to have L/RTarget set [[GH-3136](https://github.com/hashicorp/nomad/issues/3136)] 1533 1534 ## 0.6.2 (August 28, 2017) 1535 1536 BUG FIXES: 1537 * api/cli: Fix logs and fs api and command [[GH-3116](https://github.com/hashicorp/nomad/issues/3116)] 1538 1539 ## 0.6.1 (August 28, 2017) 1540 1541 __BACKWARDS INCOMPATIBILITIES:__ 1542 * deployment: Specifying an update stanza with a max_parallel of zero is now 1543 a validation error. Please update the stanza to be greater than zero or 1544 remove the stanza as a zero parallelism update is not valid. 1545 1546 IMPROVEMENTS: 1547 * core: Lost allocations replaced even if part of failed deployment [[GH-2961](https://github.com/hashicorp/nomad/issues/2961)] 1548 * core: Add autocomplete functionality for resources: allocations, evaluations, 1549 jobs, deployments and nodes [[GH-2964](https://github.com/hashicorp/nomad/issues/2964)] 1550 * core: `distinct_property` constraint can set the number of allocations that 1551 are allowed to share a property value [[GH-2942](https://github.com/hashicorp/nomad/issues/2942)] 1552 * core: Placing allocation counts towards placement limit fixing issue where 1553 rolling update could remove an unnecessary amount of allocations [[GH-3070](https://github.com/hashicorp/nomad/issues/3070)] 1554 * api: Redact Vault.Token from AgentSelf response [[GH-2988](https://github.com/hashicorp/nomad/issues/2988)] 1555 * cli: node-status displays node version [[GH-3002](https://github.com/hashicorp/nomad/issues/3002)] 1556 * cli: Disable color output when STDOUT is not a TTY [[GH-3057](https://github.com/hashicorp/nomad/issues/3057)] 1557 * cli: Add autocomplete functionality for flags for all CLI command [GH 3087] 1558 * cli: Add status command which takes any identifier and routes to the 1559 appropriate status command. 1560 * client: Unmount task directories when alloc is terminal [[GH-3006](https://github.com/hashicorp/nomad/issues/3006)] 1561 * client/template: Allow template to set Vault grace [[GH-2947](https://github.com/hashicorp/nomad/issues/2947)] 1562 * client/template: Template emits events explaining why it is blocked [[GH-3001](https://github.com/hashicorp/nomad/issues/3001)] 1563 * deployment: Disallow max_parallel of zero [[GH-3081](https://github.com/hashicorp/nomad/issues/3081)] 1564 * deployment: Emit task events explaining unhealthy allocations [[GH-3025](https://github.com/hashicorp/nomad/issues/3025)] 1565 * deployment: Better description when a deployment should auto-revert but there 1566 is no target [[GH-3024](https://github.com/hashicorp/nomad/issues/3024)] 1567 * discovery: Add HTTP header and method support to checks [[GH-3031](https://github.com/hashicorp/nomad/issues/3031)] 1568 * driver/docker: Added DNS options [[GH-2992](https://github.com/hashicorp/nomad/issues/2992)] 1569 * driver/docker: Add mount options for volumes [[GH-3021](https://github.com/hashicorp/nomad/issues/3021)] 1570 * driver/docker: Allow retry of 500 API errors to be handled by restart 1571 policies when starting a container [[GH-3073](https://github.com/hashicorp/nomad/issues/3073)] 1572 * driver/rkt: support read-only volume mounts [[GH-2883](https://github.com/hashicorp/nomad/issues/2883)] 1573 * jobspec: Add `shutdown_delay` so tasks can delay shutdown after deregistering 1574 from Consul [[GH-3043](https://github.com/hashicorp/nomad/issues/3043)] 1575 1576 BUG FIXES: 1577 * core: Fix purging of job versions [[GH-3056](https://github.com/hashicorp/nomad/issues/3056)] 1578 * core: Fix race creating EvalFuture [[GH-3051](https://github.com/hashicorp/nomad/issues/3051)] 1579 * core: Fix panic occurring from improper bitmap size [[GH-3023](https://github.com/hashicorp/nomad/issues/3023)] 1580 * core: Fix restoration of parameterized, periodic jobs [[GH-2959](https://github.com/hashicorp/nomad/issues/2959)] 1581 * core: Fix incorrect destructive update with `distinct_property` constraint 1582 [[GH-2939](https://github.com/hashicorp/nomad/issues/2939)] 1583 * cli: Fix autocompleting global flags [[GH-2928](https://github.com/hashicorp/nomad/issues/2928)] 1584 * cli: Fix panic when using 0.6.0 cli with an older cluster [[GH-2929](https://github.com/hashicorp/nomad/issues/2929)] 1585 * cli: Fix TLS handling for alloc stats API calls [[GH-3108](https://github.com/hashicorp/nomad/issues/3108)] 1586 * client: Fix `LC_ALL=C` being set on subprocesses [[GH-3041](https://github.com/hashicorp/nomad/issues/3041)] 1587 * client/networking: Handle interfaces that only have link-local addresses 1588 while preferring globally routable addresses [[GH-3089](https://github.com/hashicorp/nomad/issues/3089)] 1589 * deployment: Fix alloc health with services/checks using interpolation 1590 [[GH-2984](https://github.com/hashicorp/nomad/issues/2984)] 1591 * discovery: Fix timeout validation for script checks [[GH-3022](https://github.com/hashicorp/nomad/issues/3022)] 1592 * driver/docker: Fix leaking plugin file used by syslog server [[GH-2937](https://github.com/hashicorp/nomad/issues/2937)] 1593 1594 ## 0.6.0 (July 26, 2017) 1595 1596 __BACKWARDS INCOMPATIBILITIES:__ 1597 * cli: When given a prefix that does not resolve to a particular object, 1598 commands now return exit code 1 rather than 0. 1599 1600 IMPROVEMENTS: 1601 * core: Rolling updates based on allocation health [GH-2621, GH-2634, GH-2799] 1602 * core: New deployment object to track job updates [GH-2621, GH-2634, GH-2799] 1603 * core: Default advertise to private IP address if bind is 0.0.0.0 [[GH-2399](https://github.com/hashicorp/nomad/issues/2399)] 1604 * core: Track multiple job versions and add a stopped state for jobs [[GH-2566](https://github.com/hashicorp/nomad/issues/2566)] 1605 * core: Job updates can create canaries before beginning rolling update 1606 [GH-2621, GH-2634, GH-2799] 1607 * core: Back-pressure when evaluations are nacked and ensure scheduling 1608 progress on evaluation failures [[GH-2555](https://github.com/hashicorp/nomad/issues/2555)] 1609 * agent/config: Late binding to IP addresses using go-sockaddr/template syntax 1610 [[GH-2399](https://github.com/hashicorp/nomad/issues/2399)] 1611 * api: Add `verify_https_client` to require certificates from HTTP clients 1612 [[GH-2587](https://github.com/hashicorp/nomad/issues/2587)] 1613 * api/job: Ability to revert job to older versions [[GH-2575](https://github.com/hashicorp/nomad/issues/2575)] 1614 * cli: Autocomplete for CLI commands [[GH-2848](https://github.com/hashicorp/nomad/issues/2848)] 1615 * client: Use a random host UUID by default [[GH-2735](https://github.com/hashicorp/nomad/issues/2735)] 1616 * client: Add `NOMAD_GROUP_NAME` environment variable [[GH-2877](https://github.com/hashicorp/nomad/issues/2877)] 1617 * client: Environment variables for client DC and Region [[GH-2507](https://github.com/hashicorp/nomad/issues/2507)] 1618 * client: Hash host ID so its stable and well distributed [[GH-2541](https://github.com/hashicorp/nomad/issues/2541)] 1619 * client: GC dead allocs if total allocs > `gc_max_allocs` tunable [[GH-2636](https://github.com/hashicorp/nomad/issues/2636)] 1620 * client: Persist state using bolt-db and more efficient write patterns 1621 [[GH-2610](https://github.com/hashicorp/nomad/issues/2610)] 1622 * client: Fingerprint all routable addresses on an interface including IPv6 1623 addresses [[GH-2536](https://github.com/hashicorp/nomad/issues/2536)] 1624 * client/artifact: Support .xz archives [[GH-2836](https://github.com/hashicorp/nomad/issues/2836)] 1625 * client/artifact: Allow specifying a go-getter mode [[GH-2781](https://github.com/hashicorp/nomad/issues/2781)] 1626 * client/artifact: Support non-Amazon S3-compatible sources [[GH-2781](https://github.com/hashicorp/nomad/issues/2781)] 1627 * client/template: Support reading env vars from templates [[GH-2654](https://github.com/hashicorp/nomad/issues/2654)] 1628 * config: Support Unix socket addresses for Consul [[GH-2622](https://github.com/hashicorp/nomad/issues/2622)] 1629 * discovery: Advertise driver-specified IP address and port [[GH-2709](https://github.com/hashicorp/nomad/issues/2709)] 1630 * discovery: Support `tls_skip_verify` for Consul HTTPS checks [[GH-2467](https://github.com/hashicorp/nomad/issues/2467)] 1631 * driver/docker: Allow specifying extra hosts [[GH-2547](https://github.com/hashicorp/nomad/issues/2547)] 1632 * driver/docker: Allow setting seccomp profiles [[GH-2658](https://github.com/hashicorp/nomad/issues/2658)] 1633 * driver/docker: Support Docker credential helpers [[GH-2651](https://github.com/hashicorp/nomad/issues/2651)] 1634 * driver/docker: Auth failures can optionally be ignored [[GH-2786](https://github.com/hashicorp/nomad/issues/2786)] 1635 * driver/docker: Add `driver.docker.bridge_ip` node attribute [[GH-2797](https://github.com/hashicorp/nomad/issues/2797)] 1636 * driver/docker: Allow setting container IP with user defined networks 1637 [[GH-2535](https://github.com/hashicorp/nomad/issues/2535)] 1638 * driver/rkt: Support `no_overlay` [[GH-2702](https://github.com/hashicorp/nomad/issues/2702)] 1639 * driver/rkt: Support `insecure_options` list [[GH-2695](https://github.com/hashicorp/nomad/issues/2695)] 1640 * server: Allow tuning of node heartbeat TTLs [[GH-2859](https://github.com/hashicorp/nomad/issues/2859)] 1641 * server/networking: Shrink dynamic port range to not overlap with majority of 1642 operating system's ephemeral port ranges to avoid port conflicts [[GH-2856](https://github.com/hashicorp/nomad/issues/2856)] 1643 1644 BUG FIXES: 1645 * core: Protect against nil job in new allocation, avoiding panic [[GH-2592](https://github.com/hashicorp/nomad/issues/2592)] 1646 * core: System jobs should be running until explicitly stopped [[GH-2750](https://github.com/hashicorp/nomad/issues/2750)] 1647 * core: Prevent invalid job updates (eg service -> batch) [[GH-2746](https://github.com/hashicorp/nomad/issues/2746)] 1648 * client: Lookup `ip` utility on `$PATH` [[GH-2729](https://github.com/hashicorp/nomad/issues/2729)] 1649 * client: Add sticky bit to temp directory [[GH-2519](https://github.com/hashicorp/nomad/issues/2519)] 1650 * client: Shutdown task group leader before other tasks [[GH-2753](https://github.com/hashicorp/nomad/issues/2753)] 1651 * client: Include symlinks in snapshots when migrating disks [[GH-2687](https://github.com/hashicorp/nomad/issues/2687)] 1652 * client: Regression for allocation directory unix perms introduced in v0.5.6 1653 fixed [[GH-2675](https://github.com/hashicorp/nomad/issues/2675)] 1654 * client: Client syncs allocation state with server before waiting for 1655 allocation destroy fixing a corner case in which an allocation may be blocked 1656 till destroy [[GH-2563](https://github.com/hashicorp/nomad/issues/2563)] 1657 * client: Improved state file handling and reduced write volume [[GH-2878](https://github.com/hashicorp/nomad/issues/2878)] 1658 * client/artifact: Honor netrc [[GH-2524](https://github.com/hashicorp/nomad/issues/2524)] 1659 * client/artifact: Handle tars where file in directory is listed before 1660 directory [[GH-2524](https://github.com/hashicorp/nomad/issues/2524)] 1661 * client/config: Use `cpu_total_compute` whenever it is set [[GH-2745](https://github.com/hashicorp/nomad/issues/2745)] 1662 * client/config: Respect `vault.tls_server_name` setting in consul-template 1663 [[GH-2793](https://github.com/hashicorp/nomad/issues/2793)] 1664 * driver/exec: Properly set file/dir ownership in chroots [[GH-2552](https://github.com/hashicorp/nomad/issues/2552)] 1665 * driver/docker: Fix panic in Docker driver on Windows [[GH-2614](https://github.com/hashicorp/nomad/issues/2614)] 1666 * driver/rkt: Fix env var interpolation [[GH-2777](https://github.com/hashicorp/nomad/issues/2777)] 1667 * jobspec/validation: Prevent static port conflicts [[GH-2807](https://github.com/hashicorp/nomad/issues/2807)] 1668 * server: Reject non-TLS clients when TLS enabled [[GH-2525](https://github.com/hashicorp/nomad/issues/2525)] 1669 * server: Fix a panic in plan evaluation with partial failures and all_at_once 1670 set [[GH-2544](https://github.com/hashicorp/nomad/issues/2544)] 1671 * server/periodic: Restoring periodic jobs takes launch time zone into 1672 consideration [[GH-2808](https://github.com/hashicorp/nomad/issues/2808)] 1673 * server/vault: Fix Vault Client panic when given nonexistent role [[GH-2648](https://github.com/hashicorp/nomad/issues/2648)] 1674 * telemetry: Fix merging of use node name [[GH-2762](https://github.com/hashicorp/nomad/issues/2762)] 1675 1676 ## 0.5.6 (March 31, 2017) 1677 1678 IMPROVEMENTS: 1679 * api: Improve log API error when task doesn't exist or hasn't started 1680 [[GH-2512](https://github.com/hashicorp/nomad/issues/2512)] 1681 * client: Improve error message when artifact downloading fails [[GH-2289](https://github.com/hashicorp/nomad/issues/2289)] 1682 * client: Track task start/finish time [[GH-2512](https://github.com/hashicorp/nomad/issues/2512)] 1683 * client/template: Access Node meta and attributes in template [[GH-2488](https://github.com/hashicorp/nomad/issues/2488)] 1684 1685 BUG FIXES: 1686 * core: Fix periodic job state switching to dead incorrectly [[GH-2486](https://github.com/hashicorp/nomad/issues/2486)] 1687 * core: Fix dispatch of periodic job launching allocations immediately 1688 [[GH-2489](https://github.com/hashicorp/nomad/issues/2489)] 1689 * api: Fix TLS in logs and fs commands/APIs [[GH-2290](https://github.com/hashicorp/nomad/issues/2290)] 1690 * cli/plan: Fix diff alignment and remove no change DC output [[GH-2465](https://github.com/hashicorp/nomad/issues/2465)] 1691 * client: Fix panic when restarting non-running tasks [[GH-2480](https://github.com/hashicorp/nomad/issues/2480)] 1692 * client: Fix env vars when multiple tasks and ports present [[GH-2491](https://github.com/hashicorp/nomad/issues/2491)] 1693 * client: Fix `user` attribute disregarding membership of non-main group 1694 [[GH-2461](https://github.com/hashicorp/nomad/issues/2461)] 1695 * client/vault: Stop Vault token renewal on task exit [[GH-2495](https://github.com/hashicorp/nomad/issues/2495)] 1696 * driver/docker: Proper reference counting through task restarts [[GH-2484](https://github.com/hashicorp/nomad/issues/2484)] 1697 1698 ## 0.5.5 (March 14, 2017) 1699 1700 __BACKWARDS INCOMPATIBILITIES:__ 1701 * api: The api package definition of a Job has changed from exposing 1702 primitives to pointers to primitives to allow defaulting of unset fields. 1703 * driver/docker: The `load` configuration took an array of paths to images 1704 prior to this release. A single image is expected by the driver so this 1705 behavior has been changed to take a single path as a string. Jobs using the 1706 `load` command should update the syntax to a single string. [[GH-2361](https://github.com/hashicorp/nomad/issues/2361)] 1707 1708 IMPROVEMENTS: 1709 * core: Handle Serf Reap event [[GH-2310](https://github.com/hashicorp/nomad/issues/2310)] 1710 * core: Update Serf and Memberlist for more reliable gossip [[GH-2255](https://github.com/hashicorp/nomad/issues/2255)] 1711 * api: API defaults missing values [[GH-2300](https://github.com/hashicorp/nomad/issues/2300)] 1712 * api: Validate the restart policy interval [[GH-2311](https://github.com/hashicorp/nomad/issues/2311)] 1713 * api: New task event for task environment setup [[GH-2302](https://github.com/hashicorp/nomad/issues/2302)] 1714 * api/cli: Add nomad operator command and API for interacting with Raft 1715 configuration [[GH-2305](https://github.com/hashicorp/nomad/issues/2305)] 1716 * cli: node-status displays enabled drivers on the node [[GH-2349](https://github.com/hashicorp/nomad/issues/2349)] 1717 * client: Apply GC related configurations properly [[GH-2273](https://github.com/hashicorp/nomad/issues/2273)] 1718 * client: Don't force uppercase meta keys in env vars [[GH-2338](https://github.com/hashicorp/nomad/issues/2338)] 1719 * client: Limit parallelism during garbage collection [[GH-2427](https://github.com/hashicorp/nomad/issues/2427)] 1720 * client: Don't exec `uname -r` for node attribute kernel.version [[GH-2380](https://github.com/hashicorp/nomad/issues/2380)] 1721 * client: Artifact support for git and hg as well as netrc support [[GH-2386](https://github.com/hashicorp/nomad/issues/2386)] 1722 * client: Add metrics to show number of allocations on in each state [[GH-2425](https://github.com/hashicorp/nomad/issues/2425)] 1723 * client: Add `NOMAD_{IP,PORT}_<task>_<label>` environment variables [[GH-2426](https://github.com/hashicorp/nomad/issues/2426)] 1724 * client: Allow specification of `cpu_total_compute` to override fingerprinter 1725 [[GH-2447](https://github.com/hashicorp/nomad/issues/2447)] 1726 * client: Reproducible Node ID on OSes that provide system-level UUID 1727 [[GH-2277](https://github.com/hashicorp/nomad/issues/2277)] 1728 * driver/docker: Add support for volume drivers [[GH-2351](https://github.com/hashicorp/nomad/issues/2351)] 1729 * driver/docker: Docker image coordinator and caching [[GH-2361](https://github.com/hashicorp/nomad/issues/2361)] 1730 * jobspec: Add leader task to allow graceful shutdown of other tasks within 1731 the task group [[GH-2308](https://github.com/hashicorp/nomad/issues/2308)] 1732 * periodic: Allow specification of timezones in Periodic Jobs [[GH-2321](https://github.com/hashicorp/nomad/issues/2321)] 1733 * scheduler: New `distinct_property` constraint [[GH-2418](https://github.com/hashicorp/nomad/issues/2418)] 1734 * server: Allow specification of eval/job gc threshold [[GH-2370](https://github.com/hashicorp/nomad/issues/2370)] 1735 * server/vault: Vault Client on Server handles SIGHUP to reload configs 1736 [[GH-2270](https://github.com/hashicorp/nomad/issues/2270)] 1737 * telemetry: Clients report allocated/unallocated resources [[GH-2327](https://github.com/hashicorp/nomad/issues/2327)] 1738 * template: Allow specification of template delimiters [[GH-2315](https://github.com/hashicorp/nomad/issues/2315)] 1739 * template: Permissions can be set on template destination file [[GH-2262](https://github.com/hashicorp/nomad/issues/2262)] 1740 * vault: Server side Vault telemetry [[GH-2318](https://github.com/hashicorp/nomad/issues/2318)] 1741 * vault: Disallow root policy from being specified [[GH-2309](https://github.com/hashicorp/nomad/issues/2309)] 1742 1743 BUG FIXES: 1744 * core: Handle periodic parameterized jobs [[GH-2385](https://github.com/hashicorp/nomad/issues/2385)] 1745 * core: Improve garbage collection of stopped batch jobs [[GH-2432](https://github.com/hashicorp/nomad/issues/2432)] 1746 * api: Fix escaping of HTML characters [[GH-2322](https://github.com/hashicorp/nomad/issues/2322)] 1747 * cli: Display disk resources in alloc-status [[GH-2404](https://github.com/hashicorp/nomad/issues/2404)] 1748 * client: Drivers log during fingerprinting [[GH-2337](https://github.com/hashicorp/nomad/issues/2337)] 1749 * client: Fix race condition with deriving vault tokens [[GH-2275](https://github.com/hashicorp/nomad/issues/2275)] 1750 * client: Fix remounting alloc dirs after reboots [[GH-2391](https://github.com/hashicorp/nomad/issues/2391)] [[GH-2394](https://github.com/hashicorp/nomad/issues/2394)] 1751 * client: Replace `-` with `_` in environment variable names [[GH-2406](https://github.com/hashicorp/nomad/issues/2406)] 1752 * client: Fix panic and deadlock during client restore state when prestart 1753 fails [[GH-2376](https://github.com/hashicorp/nomad/issues/2376)] 1754 * config: Fix Consul Config Merging/Copying [[GH-2278](https://github.com/hashicorp/nomad/issues/2278)] 1755 * config: Fix Client reserved resource merging panic [[GH-2281](https://github.com/hashicorp/nomad/issues/2281)] 1756 * server: Fix panic when forwarding Vault derivation requests from non-leader 1757 servers [[GH-2267](https://github.com/hashicorp/nomad/issues/2267)] 1758 1759 ## 0.5.4 (January 31, 2017) 1760 1761 IMPROVEMENTS: 1762 * client: Made the GC related tunables configurable via client configuration 1763 [[GH-2261](https://github.com/hashicorp/nomad/issues/2261)] 1764 1765 BUG FIXES: 1766 * client: Fix panic when upgrading to 0.5.3 [[GH-2256](https://github.com/hashicorp/nomad/issues/2256)] 1767 1768 ## 0.5.3 (January 30, 2017) 1769 1770 IMPROVEMENTS: 1771 * core: Introduce parameterized jobs and dispatch command/API [[GH-2128](https://github.com/hashicorp/nomad/issues/2128)] 1772 * core: Cancel blocked evals upon successful one for job [[GH-2155](https://github.com/hashicorp/nomad/issues/2155)] 1773 * api: Added APIs for requesting GC of allocations [[GH-2192](https://github.com/hashicorp/nomad/issues/2192)] 1774 * api: Job summary endpoint includes summary status for child jobs [[GH-2128](https://github.com/hashicorp/nomad/issues/2128)] 1775 * api/client: Plain text log streaming suitable for viewing logs in a browser 1776 [[GH-2235](https://github.com/hashicorp/nomad/issues/2235)] 1777 * cli: Defaulting to showing allocations which belong to currently registered 1778 job [[GH-2032](https://github.com/hashicorp/nomad/issues/2032)] 1779 * client: Garbage collect Allocation Runners to free up disk resources 1780 [[GH-2081](https://github.com/hashicorp/nomad/issues/2081)] 1781 * client: Don't retrieve Driver Stats if unsupported [[GH-2173](https://github.com/hashicorp/nomad/issues/2173)] 1782 * client: Filter log lines in the executor based on client's log level 1783 [[GH-2172](https://github.com/hashicorp/nomad/issues/2172)] 1784 * client: Added environment variables to discover addresses of sibling tasks 1785 in an allocation [[GH-2223](https://github.com/hashicorp/nomad/issues/2223)] 1786 * discovery: Register service with duplicate names on different ports [[GH-2208](https://github.com/hashicorp/nomad/issues/2208)] 1787 * driver/docker: Add support for network aliases [[GH-1980](https://github.com/hashicorp/nomad/issues/1980)] 1788 * driver/docker: Add `force_pull` option to force downloading an image [[GH-2147](https://github.com/hashicorp/nomad/issues/2147)] 1789 * driver/docker: Retry when image is not found while creating a container 1790 [[GH-2222](https://github.com/hashicorp/nomad/issues/2222)] 1791 * driver/java: Support setting class_path and class name. [[GH-2199](https://github.com/hashicorp/nomad/issues/2199)] 1792 * telemetry: Prefix gauge values with node name instead of hostname [[GH-2098](https://github.com/hashicorp/nomad/issues/2098)] 1793 * template: The template block supports keyOrDefault [[GH-2209](https://github.com/hashicorp/nomad/issues/2209)] 1794 * template: The template block can now interpolate Nomad environment variables 1795 [[GH-2209](https://github.com/hashicorp/nomad/issues/2209)] 1796 * vault: Improve validation of the Vault token given to Nomad servers 1797 [[GH-2226](https://github.com/hashicorp/nomad/issues/2226)] 1798 * vault: Support setting the Vault role to derive tokens from with 1799 `create_from_role` setting [[GH-2226](https://github.com/hashicorp/nomad/issues/2226)] 1800 1801 BUG FIXES: 1802 * client: Fixed namespacing for the cpu arch attribute [[GH-2161](https://github.com/hashicorp/nomad/issues/2161)] 1803 * client: Fix issue where allocations weren't pulled for several minutes. This 1804 manifested as slow starts, delayed kills, etc [[GH-2177](https://github.com/hashicorp/nomad/issues/2177)] 1805 * client: Fix a panic that would occur with a racy alloc migration 1806 cancellation [[GH-2231](https://github.com/hashicorp/nomad/issues/2231)] 1807 * config: Fix merging of Consul options which caused auto_advertise to be 1808 ignored [[GH-2159](https://github.com/hashicorp/nomad/issues/2159)] 1809 * driver: Fix image based drivers (eg docker) having host env vars set [[GH-2211](https://github.com/hashicorp/nomad/issues/2211)] 1810 * driver/docker: Fix Docker auth/logging interpolation [GH-2063, GH-2130] 1811 * driver/docker: Fix parsing of Docker Auth Configurations. New parsing is 1812 in-line with Docker itself. Also log debug message if auth lookup failed 1813 [[GH-2190](https://github.com/hashicorp/nomad/issues/2190)] 1814 * template: Fix splay being used as a wait and instead randomize the delay 1815 from 0 seconds to splay duration [[GH-2227](https://github.com/hashicorp/nomad/issues/2227)] 1816 1817 ## 0.5.2 (December 23, 2016) 1818 1819 BUG FIXES: 1820 * client: Fixed a race condition and remove panic when handling duplicate 1821 allocations [[GH-2096](https://github.com/hashicorp/nomad/issues/2096)] 1822 * client: Cancel wait for remote allocation if migration is no longer required 1823 [[GH-2097](https://github.com/hashicorp/nomad/issues/2097)] 1824 * client: Failure to stat a single mountpoint does not cause all of host 1825 resource usage collection to fail [[GH-2090](https://github.com/hashicorp/nomad/issues/2090)] 1826 1827 ## 0.5.1 (December 12, 2016) 1828 1829 IMPROVEMENTS: 1830 * driver/rkt: Support rkt's `--dns=host` and `--dns=none` options [[GH-2028](https://github.com/hashicorp/nomad/issues/2028)] 1831 1832 BUG FIXES: 1833 * agent/config: Fix use of IPv6 addresses [[GH-2036](https://github.com/hashicorp/nomad/issues/2036)] 1834 * api: Fix file descriptor leak and high CPU usage when using the logs 1835 endpoint [[GH-2079](https://github.com/hashicorp/nomad/issues/2079)] 1836 * cli: Improve parsing error when a job without a name is specified [[GH-2030](https://github.com/hashicorp/nomad/issues/2030)] 1837 * client: Fixed permissions of migrated allocation directory [[GH-2061](https://github.com/hashicorp/nomad/issues/2061)] 1838 * client: Ensuring allocations are not blocked more than once [[GH-2040](https://github.com/hashicorp/nomad/issues/2040)] 1839 * client: Fix race on StreamFramer Destroy which would cause a panic [[GH-2007](https://github.com/hashicorp/nomad/issues/2007)] 1840 * client: Not migrating allocation directories on the same client if sticky is 1841 turned off [[GH-2017](https://github.com/hashicorp/nomad/issues/2017)] 1842 * client/vault: Fix issue in which deriving a Vault token would fail with 1843 allocation does not exist due to stale queries [[GH-2050](https://github.com/hashicorp/nomad/issues/2050)] 1844 * driver/docker: Make container exist errors non-retriable by task runner 1845 [[GH-2033](https://github.com/hashicorp/nomad/issues/2033)] 1846 * driver/docker: Fixed an issue related to purging containers with same name 1847 as Nomad is trying to start [[GH-2037](https://github.com/hashicorp/nomad/issues/2037)] 1848 * driver/rkt: Fix validation of rkt volumes [[GH-2027](https://github.com/hashicorp/nomad/issues/2027)] 1849 1850 ## 0.5.0 (November 16, 2016) 1851 1852 __BACKWARDS INCOMPATIBILITIES:__ 1853 * jobspec: Extracted the disk resources from the task to the task group. The 1854 new block is name `ephemeral_disk`. Nomad will automatically convert 1855 existing jobs but newly submitted jobs should refactor the disk resource 1856 [GH-1710, GH-1679] 1857 * agent/config: `network_speed` is now an override and not a default value. If 1858 the network link speed is not detected a default value is applied. 1859 1860 IMPROVEMENTS: 1861 * core: Support for gossip encryption [[GH-1791](https://github.com/hashicorp/nomad/issues/1791)] 1862 * core: Vault integration to handle secure introduction of tasks [GH-1583, 1863 GH-1713] 1864 * core: New `set_contains` constraint to determine if a set contains all 1865 specified values [[GH-1839](https://github.com/hashicorp/nomad/issues/1839)] 1866 * core: Scheduler version enforcement disallows different scheduler version 1867 from making decisions simultaneously [[GH-1872](https://github.com/hashicorp/nomad/issues/1872)] 1868 * core: Introduce node SecretID which can be used to minimize the available 1869 surface area of RPCs to malicious Nomad Clients [[GH-1597](https://github.com/hashicorp/nomad/issues/1597)] 1870 * core: Add `sticky` volumes which inform the scheduler to prefer placing 1871 updated allocations on the same node and to reuse the `local/` and 1872 `alloc/data` directory from previous allocation allowing semi-persistent 1873 data and allow those folders to be synced from a remote node [GH-1654, 1874 GH-1741] 1875 * agent: Add DataDog telemetry sync [[GH-1816](https://github.com/hashicorp/nomad/issues/1816)] 1876 * agent: Allow Consul health checks to use bind address rather than advertise 1877 [[GH-1866](https://github.com/hashicorp/nomad/issues/1866)] 1878 * agent/config: Advertise addresses do not need to specify a port [[GH-1902](https://github.com/hashicorp/nomad/issues/1902)] 1879 * agent/config: Bind address defaults to 0.0.0.0 and Advertise defaults to 1880 hostname [[GH-1955](https://github.com/hashicorp/nomad/issues/1955)] 1881 * api: Support TLS for encrypting Raft, RPC and HTTP APIs [[GH-1853](https://github.com/hashicorp/nomad/issues/1853)] 1882 * api: Implement blocking queries for querying a job's evaluations [[GH-1892](https://github.com/hashicorp/nomad/issues/1892)] 1883 * cli: `nomad alloc-status` shows allocation creation time [[GH-1623](https://github.com/hashicorp/nomad/issues/1623)] 1884 * cli: `nomad node-status` shows node metadata in verbose mode [[GH-1841](https://github.com/hashicorp/nomad/issues/1841)] 1885 * client: Failed RPCs are retried on all servers [[GH-1735](https://github.com/hashicorp/nomad/issues/1735)] 1886 * client: Fingerprint and driver blacklist support [[GH-1949](https://github.com/hashicorp/nomad/issues/1949)] 1887 * client: Introduce a `secrets/` directory to tasks where sensitive data can 1888 be written [[GH-1681](https://github.com/hashicorp/nomad/issues/1681)] 1889 * client/jobspec: Add support for templates that can render static files, 1890 dynamic content from Consul and secrets from Vault [[GH-1783](https://github.com/hashicorp/nomad/issues/1783)] 1891 * driver: Export `NOMAD_JOB_NAME` environment variable [[GH-1804](https://github.com/hashicorp/nomad/issues/1804)] 1892 * driver/docker: Docker For Mac support [[GH-1806](https://github.com/hashicorp/nomad/issues/1806)] 1893 * driver/docker: Support Docker volumes [[GH-1767](https://github.com/hashicorp/nomad/issues/1767)] 1894 * driver/docker: Allow Docker logging to be configured [[GH-1767](https://github.com/hashicorp/nomad/issues/1767)] 1895 * driver/docker: Add `userns_mode` (`--userns`) support [[GH-1940](https://github.com/hashicorp/nomad/issues/1940)] 1896 * driver/lxc: Support for LXC containers [[GH-1699](https://github.com/hashicorp/nomad/issues/1699)] 1897 * driver/rkt: Support network configurations [[GH-1862](https://github.com/hashicorp/nomad/issues/1862)] 1898 * driver/rkt: Support rkt volumes (rkt >= 1.0.0 required) [[GH-1812](https://github.com/hashicorp/nomad/issues/1812)] 1899 * server/rpc: Added an RPC endpoint for retrieving server members [[GH-1947](https://github.com/hashicorp/nomad/issues/1947)] 1900 1901 BUG FIXES: 1902 * core: Fix case where dead nodes were not properly handled by System 1903 scheduler [[GH-1715](https://github.com/hashicorp/nomad/issues/1715)] 1904 * agent: Handle the SIGPIPE signal preventing panics on journalctl restarts 1905 [[GH-1802](https://github.com/hashicorp/nomad/issues/1802)] 1906 * api: Disallow filesystem APIs to read paths that escape the allocation 1907 directory [[GH-1786](https://github.com/hashicorp/nomad/issues/1786)] 1908 * cli: `nomad run` failed to run on Windows [[GH-1690](https://github.com/hashicorp/nomad/issues/1690)] 1909 * cli: `alloc-status` and `node-status` work without access to task stats 1910 [[GH-1660](https://github.com/hashicorp/nomad/issues/1660)] 1911 * cli: `alloc-status` does not query for allocation statistics if node is down 1912 [[GH-1844](https://github.com/hashicorp/nomad/issues/1844)] 1913 * client: Prevent race when persisting state file [[GH-1682](https://github.com/hashicorp/nomad/issues/1682)] 1914 * client: Retry recoverable errors when starting a driver [[GH-1891](https://github.com/hashicorp/nomad/issues/1891)] 1915 * client: Do not validate the command does not contain spaces [[GH-1974](https://github.com/hashicorp/nomad/issues/1974)] 1916 * client: Fix old services not getting removed from consul on update [[GH-1668](https://github.com/hashicorp/nomad/issues/1668)] 1917 * client: Preserve permissions of nested directories while chrooting [[GH-1960](https://github.com/hashicorp/nomad/issues/1960)] 1918 * client: Folder permissions are dropped even when not running as root [[GH-1888](https://github.com/hashicorp/nomad/issues/1888)] 1919 * client: Artifact download failures will be retried before failing tasks 1920 [[GH-1558](https://github.com/hashicorp/nomad/issues/1558)] 1921 * client: Fix a memory leak in the executor that caused failed allocations 1922 [[GH-1762](https://github.com/hashicorp/nomad/issues/1762)] 1923 * client: Fix a crash related to stats publishing when driver hasn't started 1924 yet [[GH-1723](https://github.com/hashicorp/nomad/issues/1723)] 1925 * client: Chroot environment is only created once, avoid potential filesystem 1926 errors [[GH-1753](https://github.com/hashicorp/nomad/issues/1753)] 1927 * client: Failures to download an artifact are retried according to restart 1928 policy before failing the allocation [[GH-1653](https://github.com/hashicorp/nomad/issues/1653)] 1929 * client/executor: Prevent race when updating a job configuration with the 1930 logger [[GH-1886](https://github.com/hashicorp/nomad/issues/1886)] 1931 * client/fingerprint: Fix inconsistent CPU MHz fingerprinting [[GH-1366](https://github.com/hashicorp/nomad/issues/1366)] 1932 * env/aws: Fix an issue with reserved ports causing placement failures 1933 [[GH-1617](https://github.com/hashicorp/nomad/issues/1617)] 1934 * discovery: Interpolate all service and check fields [[GH-1966](https://github.com/hashicorp/nomad/issues/1966)] 1935 * discovery: Fix old services not getting removed from Consul on update 1936 [[GH-1668](https://github.com/hashicorp/nomad/issues/1668)] 1937 * discovery: Fix HTTP timeout with Server HTTP health check when there is no 1938 leader [[GH-1656](https://github.com/hashicorp/nomad/issues/1656)] 1939 * discovery: Fix client flapping when server is in a different datacenter as 1940 the client [[GH-1641](https://github.com/hashicorp/nomad/issues/1641)] 1941 * discovery/jobspec: Validate service name after interpolation [[GH-1852](https://github.com/hashicorp/nomad/issues/1852)] 1942 * driver/docker: Fix `local/` directory mount into container [[GH-1830](https://github.com/hashicorp/nomad/issues/1830)] 1943 * driver/docker: Interpolate all string configuration variables [[GH-1965](https://github.com/hashicorp/nomad/issues/1965)] 1944 * jobspec: Tasks without a resource block no longer fail to validate [[GH-1864](https://github.com/hashicorp/nomad/issues/1864)] 1945 * jobspec: Update HCL to fix panic in JSON parsing [[GH-1754](https://github.com/hashicorp/nomad/issues/1754)] 1946 1947 ## 0.4.1 (August 18, 2016) 1948 1949 __BACKWARDS INCOMPATIBILITIES:__ 1950 * telemetry: Operators will have to explicitly opt-in for Nomad client to 1951 publish allocation and node metrics 1952 1953 IMPROVEMENTS: 1954 * core: Allow count 0 on system jobs [[GH-1421](https://github.com/hashicorp/nomad/issues/1421)] 1955 * core: Summarize the current status of registered jobs. [GH-1383, GH-1517] 1956 * core: Gracefully handle short lived outages by holding RPC calls [[GH-1403](https://github.com/hashicorp/nomad/issues/1403)] 1957 * core: Introduce a lost state for allocations that were on Nodes that died 1958 [[GH-1516](https://github.com/hashicorp/nomad/issues/1516)] 1959 * api: client Logs endpoint for streaming task logs [[GH-1444](https://github.com/hashicorp/nomad/issues/1444)] 1960 * api/cli: Support for tailing/streaming files [GH-1404, GH-1420] 1961 * api/server: Support for querying job summaries [[GH-1455](https://github.com/hashicorp/nomad/issues/1455)] 1962 * cli: `nomad logs` command for streaming task logs [[GH-1444](https://github.com/hashicorp/nomad/issues/1444)] 1963 * cli: `nomad status` shows the create time of allocations [[GH-1540](https://github.com/hashicorp/nomad/issues/1540)] 1964 * cli: `nomad plan` exit code indicates if changes will occur [[GH-1502](https://github.com/hashicorp/nomad/issues/1502)] 1965 * cli: status commands support JSON output and go template formating [[GH-1503](https://github.com/hashicorp/nomad/issues/1503)] 1966 * cli: Validate and plan command supports reading from stdin [GH-1460, 1967 GH-1458] 1968 * cli: Allow basic authentication through address and environment variable 1969 [[GH-1610](https://github.com/hashicorp/nomad/issues/1610)] 1970 * cli: `nomad node-status` shows volume name for non-physical volumes instead 1971 of showing 0B used [[GH-1538](https://github.com/hashicorp/nomad/issues/1538)] 1972 * cli: Support retrieving job files using go-getter in the `run`, `plan` and 1973 `validate` command [[GH-1511](https://github.com/hashicorp/nomad/issues/1511)] 1974 * client: Add killing event to task state [[GH-1457](https://github.com/hashicorp/nomad/issues/1457)] 1975 * client: Fingerprint network speed on Windows [[GH-1443](https://github.com/hashicorp/nomad/issues/1443)] 1976 * discovery: Support for initial check status [[GH-1599](https://github.com/hashicorp/nomad/issues/1599)] 1977 * discovery: Support for query params in health check urls [[GH-1562](https://github.com/hashicorp/nomad/issues/1562)] 1978 * driver/docker: Allow working directory to be configured [[GH-1513](https://github.com/hashicorp/nomad/issues/1513)] 1979 * driver/docker: Remove docker volumes when removing container [[GH-1519](https://github.com/hashicorp/nomad/issues/1519)] 1980 * driver/docker: Set windows containers network mode to nat by default 1981 [[GH-1521](https://github.com/hashicorp/nomad/issues/1521)] 1982 * driver/exec: Allow chroot environment to be configurable [[GH-1518](https://github.com/hashicorp/nomad/issues/1518)] 1983 * driver/qemu: Allows users to pass extra args to the qemu driver [[GH-1596](https://github.com/hashicorp/nomad/issues/1596)] 1984 * telemetry: Circonus integration for telemetry metrics [[GH-1459](https://github.com/hashicorp/nomad/issues/1459)] 1985 * telemetry: Allow operators to opt-in for publishing metrics [[GH-1501](https://github.com/hashicorp/nomad/issues/1501)] 1986 1987 BUG FIXES: 1988 * agent: Reload agent configuration on SIGHUP [[GH-1566](https://github.com/hashicorp/nomad/issues/1566)] 1989 * core: Sanitize empty slices/maps in jobs to avoid incorrect create/destroy 1990 updates [[GH-1434](https://github.com/hashicorp/nomad/issues/1434)] 1991 * core: Fix race in which a Node registers and doesn't receive system jobs 1992 [[GH-1456](https://github.com/hashicorp/nomad/issues/1456)] 1993 * core: Fix issue in which Nodes with large amount of reserved ports would 1994 cause dynamic port allocations to fail [[GH-1526](https://github.com/hashicorp/nomad/issues/1526)] 1995 * core: Fix a condition in which old batch allocations could get updated even 1996 after terminal. In a rare case this could cause a server panic [[GH-1471](https://github.com/hashicorp/nomad/issues/1471)] 1997 * core: Do not update the Job attached to Allocations that have been marked 1998 terminal [[GH-1508](https://github.com/hashicorp/nomad/issues/1508)] 1999 * agent: Fix advertise address when using IPv6 [[GH-1465](https://github.com/hashicorp/nomad/issues/1465)] 2000 * cli: Fix node-status when using IPv6 advertise address [[GH-1465](https://github.com/hashicorp/nomad/issues/1465)] 2001 * client: Merging telemetry configuration properly [[GH-1670](https://github.com/hashicorp/nomad/issues/1670)] 2002 * client: Task start errors adhere to restart policy mode [[GH-1405](https://github.com/hashicorp/nomad/issues/1405)] 2003 * client: Reregister with servers if node is unregistered [[GH-1593](https://github.com/hashicorp/nomad/issues/1593)] 2004 * client: Killing an allocation doesn't cause allocation stats to block 2005 [[GH-1454](https://github.com/hashicorp/nomad/issues/1454)] 2006 * driver/docker: Disable swap on docker driver [[GH-1480](https://github.com/hashicorp/nomad/issues/1480)] 2007 * driver/docker: Fix improper gating on privileged mode [[GH-1506](https://github.com/hashicorp/nomad/issues/1506)] 2008 * driver/docker: Default network type is "nat" on Windows [[GH-1521](https://github.com/hashicorp/nomad/issues/1521)] 2009 * driver/docker: Cleanup created volume when destroying container [[GH-1519](https://github.com/hashicorp/nomad/issues/1519)] 2010 * driver/rkt: Set host environment variables [[GH-1581](https://github.com/hashicorp/nomad/issues/1581)] 2011 * driver/rkt: Validate the command and trust_prefix configs [[GH-1493](https://github.com/hashicorp/nomad/issues/1493)] 2012 * plan: Plan on system jobs discounts nodes that do not meet required 2013 constraints [[GH-1568](https://github.com/hashicorp/nomad/issues/1568)] 2014 2015 ## 0.4.0 (June 28, 2016) 2016 2017 __BACKWARDS INCOMPATIBILITIES:__ 2018 * api: Tasks are no longer allowed to have slashes in their name [[GH-1210](https://github.com/hashicorp/nomad/issues/1210)] 2019 * cli: Remove the eval-monitor command. Users should switch to `nomad 2020 eval-status -monitor`. 2021 * config: Consul configuration has been moved from client options map to 2022 consul block under client configuration 2023 * driver/docker: Enabled SSL by default for pulling images from docker 2024 registries. [[GH-1336](https://github.com/hashicorp/nomad/issues/1336)] 2025 2026 IMPROVEMENTS: 2027 * core: Scheduler reuses blocked evaluations to avoid unbounded creation of 2028 evaluations under high contention [[GH-1199](https://github.com/hashicorp/nomad/issues/1199)] 2029 * core: Scheduler stores placement failures in evaluations, no longer 2030 generating failed allocations for debug information [[GH-1188](https://github.com/hashicorp/nomad/issues/1188)] 2031 * api: Faster JSON response encoding [[GH-1182](https://github.com/hashicorp/nomad/issues/1182)] 2032 * api: Gzip compress HTTP API requests [[GH-1203](https://github.com/hashicorp/nomad/issues/1203)] 2033 * api: Plan api introduced for the Job endpoint [[GH-1168](https://github.com/hashicorp/nomad/issues/1168)] 2034 * api: Job endpoint can enforce Job Modify Index to ensure job is being 2035 modified from a known state [[GH-1243](https://github.com/hashicorp/nomad/issues/1243)] 2036 * api/client: Add resource usage APIs for retrieving tasks/allocations/host 2037 resource usage [[GH-1189](https://github.com/hashicorp/nomad/issues/1189)] 2038 * cli: Faster when displaying large amounts outputs [[GH-1362](https://github.com/hashicorp/nomad/issues/1362)] 2039 * cli: Deprecate `eval-monitor` and introduce `eval-status` [[GH-1206](https://github.com/hashicorp/nomad/issues/1206)] 2040 * cli: Unify the `fs` family of commands to be a single command [[GH-1150](https://github.com/hashicorp/nomad/issues/1150)] 2041 * cli: Introduce `nomad plan` to dry-run a job through the scheduler and 2042 determine its effects [[GH-1181](https://github.com/hashicorp/nomad/issues/1181)] 2043 * cli: node-status command displays host resource usage and allocation 2044 resources [[GH-1261](https://github.com/hashicorp/nomad/issues/1261)] 2045 * cli: Region flag and environment variable introduced to set region 2046 forwarding. Automatic region forwarding for run and plan [[GH-1237](https://github.com/hashicorp/nomad/issues/1237)] 2047 * client: If Consul is available, automatically bootstrap Nomad Client 2048 using the `_nomad` service in Consul. Nomad Servers now register 2049 themselves with Consul to make this possible. [[GH-1201](https://github.com/hashicorp/nomad/issues/1201)] 2050 * drivers: Qemu and Java can be run without an artifact being download. Useful 2051 if the artifact exists inside a chrooted directory [[GH-1262](https://github.com/hashicorp/nomad/issues/1262)] 2052 * driver/docker: Added a client options to set SELinux labels for container 2053 bind mounts. [[GH-788](https://github.com/hashicorp/nomad/issues/788)] 2054 * driver/docker: Enabled SSL by default for pulling images from docker 2055 registries. [[GH-1336](https://github.com/hashicorp/nomad/issues/1336)] 2056 * server: If Consul is available, automatically bootstrap Nomad Servers 2057 using the `_nomad` service in Consul. [[GH-1276](https://github.com/hashicorp/nomad/issues/1276)] 2058 2059 BUG FIXES: 2060 * core: Improve garbage collection of allocations and nodes [[GH-1256](https://github.com/hashicorp/nomad/issues/1256)] 2061 * core: Fix a potential deadlock if establishing leadership fails and is 2062 retried [[GH-1231](https://github.com/hashicorp/nomad/issues/1231)] 2063 * core: Do not restart successful batch jobs when the node is removed/drained 2064 [[GH-1205](https://github.com/hashicorp/nomad/issues/1205)] 2065 * core: Fix an issue in which the scheduler could be invoked with insufficient 2066 state [[GH-1339](https://github.com/hashicorp/nomad/issues/1339)] 2067 * core: Updated User, Meta or Resources in a task cause create/destroy updates 2068 [GH-1128, GH-1153] 2069 * core: Fix blocked evaluations being run without properly accounting for 2070 priority [[GH-1183](https://github.com/hashicorp/nomad/issues/1183)] 2071 * api: Tasks are no longer allowed to have slashes in their name [[GH-1210](https://github.com/hashicorp/nomad/issues/1210)] 2072 * client: Delete tmp files used to communicate with executor [[GH-1241](https://github.com/hashicorp/nomad/issues/1241)] 2073 * client: Prevent the client from restoring with incorrect task state [[GH-1294](https://github.com/hashicorp/nomad/issues/1294)] 2074 * discovery: Ensure service and check names are unique [GH-1143, GH-1144] 2075 * driver/docker: Ensure docker client doesn't time out after a minute. 2076 [[GH-1184](https://github.com/hashicorp/nomad/issues/1184)] 2077 * driver/java: Fix issue in which Java on darwin attempted to chroot [[GH-1262](https://github.com/hashicorp/nomad/issues/1262)] 2078 * driver/docker: Fix issue in which logs could be spliced [[GH-1322](https://github.com/hashicorp/nomad/issues/1322)] 2079 2080 ## 0.3.2 (April 22, 2016) 2081 2082 IMPROVEMENTS: 2083 * core: Garbage collection partitioned to avoid system delays [[GH-1012](https://github.com/hashicorp/nomad/issues/1012)] 2084 * core: Allow count zero task groups to enable blue/green deploys [[GH-931](https://github.com/hashicorp/nomad/issues/931)] 2085 * core: Validate driver configurations when submitting jobs [GH-1062, GH-1089] 2086 * core: Job Deregister forces an evaluation for the job even if it doesn't 2087 exist [[GH-981](https://github.com/hashicorp/nomad/issues/981)] 2088 * core: Rename successfully finished allocations to "Complete" rather than 2089 "Dead" for clarity [[GH-975](https://github.com/hashicorp/nomad/issues/975)] 2090 * cli: `alloc-status` explains restart decisions [[GH-984](https://github.com/hashicorp/nomad/issues/984)] 2091 * cli: `node-drain -self` drains the local node [[GH-1068](https://github.com/hashicorp/nomad/issues/1068)] 2092 * cli: `node-status -self` queries the local node [[GH-1004](https://github.com/hashicorp/nomad/issues/1004)] 2093 * cli: Destructive commands now require confirmation [[GH-983](https://github.com/hashicorp/nomad/issues/983)] 2094 * cli: `alloc-status` display is less verbose by default [[GH-946](https://github.com/hashicorp/nomad/issues/946)] 2095 * cli: `server-members` displays the current leader in each region [[GH-935](https://github.com/hashicorp/nomad/issues/935)] 2096 * cli: `run` has an `-output` flag to emit a JSON version of the job [[GH-990](https://github.com/hashicorp/nomad/issues/990)] 2097 * cli: New `inspect` command to display a submitted job's specification 2098 [[GH-952](https://github.com/hashicorp/nomad/issues/952)] 2099 * cli: `node-status` display is less verbose by default and shows a node's 2100 total resources [[GH-946](https://github.com/hashicorp/nomad/issues/946)] 2101 * client: `artifact` source can be interpreted [[GH-1070](https://github.com/hashicorp/nomad/issues/1070)] 2102 * client: Add IP and Port environment variables [[GH-1099](https://github.com/hashicorp/nomad/issues/1099)] 2103 * client: Nomad fingerprinter to detect client's version [[GH-965](https://github.com/hashicorp/nomad/issues/965)] 2104 * client: Tasks can interpret Meta set in the task group and job [[GH-985](https://github.com/hashicorp/nomad/issues/985)] 2105 * client: All tasks in a task group are killed when a task fails [[GH-962](https://github.com/hashicorp/nomad/issues/962)] 2106 * client: Pass environment variables from host to exec based tasks [[GH-970](https://github.com/hashicorp/nomad/issues/970)] 2107 * client: Allow task's to be run as particular user [GH-950, GH-978] 2108 * client: `artifact` block now supports downloading paths relative to the 2109 task's directory [[GH-944](https://github.com/hashicorp/nomad/issues/944)] 2110 * docker: Timeout communications with Docker Daemon to avoid deadlocks with 2111 misbehaving Docker Daemon [[GH-1117](https://github.com/hashicorp/nomad/issues/1117)] 2112 * discovery: Support script based health checks [[GH-986](https://github.com/hashicorp/nomad/issues/986)] 2113 * discovery: Allowing registration of services which don't expose ports 2114 [[GH-1092](https://github.com/hashicorp/nomad/issues/1092)] 2115 * driver/docker: Support for `tty` and `interactive` options [[GH-1059](https://github.com/hashicorp/nomad/issues/1059)] 2116 * jobspec: Improved validation of services referencing port labels [[GH-1097](https://github.com/hashicorp/nomad/issues/1097)] 2117 * periodic: Periodic jobs are always evaluated in UTC timezone [[GH-1074](https://github.com/hashicorp/nomad/issues/1074)] 2118 2119 BUG FIXES: 2120 * core: Prevent garbage collection of running batch jobs [[GH-989](https://github.com/hashicorp/nomad/issues/989)] 2121 * core: Trigger System scheduler when Node drain is disabled [[GH-1106](https://github.com/hashicorp/nomad/issues/1106)] 2122 * core: Fix issue where in-place updated allocation double counted resources 2123 [[GH-957](https://github.com/hashicorp/nomad/issues/957)] 2124 * core: Fix drained, batched allocations from being migrated indefinitely 2125 [[GH-1086](https://github.com/hashicorp/nomad/issues/1086)] 2126 * client: Garbage collect Docker containers on exit [[GH-1071](https://github.com/hashicorp/nomad/issues/1071)] 2127 * client: Fix common exec failures on CentOS and Amazon Linux [[GH-1009](https://github.com/hashicorp/nomad/issues/1009)] 2128 * client: Fix S3 artifact downloading with IAM credentials [[GH-1113](https://github.com/hashicorp/nomad/issues/1113)] 2129 * client: Fix handling of environment variables containing multiple equal 2130 signs [[GH-1115](https://github.com/hashicorp/nomad/issues/1115)] 2131 2132 ## 0.3.1 (March 16, 2016) 2133 2134 __BACKWARDS INCOMPATIBILITIES:__ 2135 * Service names that dont conform to RFC-1123 and RFC-2782 will fail 2136 validation. To fix, change service name to conform to the RFCs before 2137 running the job [[GH-915](https://github.com/hashicorp/nomad/issues/915)] 2138 * Jobs that downloaded artifacts will have to be updated to the new syntax and 2139 be resubmitted. The new syntax consolidates artifacts to the `task` rather 2140 than being duplicated inside each driver config [[GH-921](https://github.com/hashicorp/nomad/issues/921)] 2141 2142 IMPROVEMENTS: 2143 * cli: Validate job file schemas [[GH-900](https://github.com/hashicorp/nomad/issues/900)] 2144 * client: Add environment variables for task name, allocation ID/Name/Index 2145 [GH-869, GH-896] 2146 * client: Starting task is retried under the restart policy if the error is 2147 recoverable [[GH-859](https://github.com/hashicorp/nomad/issues/859)] 2148 * client: Allow tasks to download artifacts, which can be archives, prior to 2149 starting [[GH-921](https://github.com/hashicorp/nomad/issues/921)] 2150 * config: Validate Nomad configuration files [[GH-910](https://github.com/hashicorp/nomad/issues/910)] 2151 * config: Client config allows reserving resources [[GH-910](https://github.com/hashicorp/nomad/issues/910)] 2152 * driver/docker: Support for ECR [[GH-858](https://github.com/hashicorp/nomad/issues/858)] 2153 * driver/docker: Periodic Fingerprinting [[GH-893](https://github.com/hashicorp/nomad/issues/893)] 2154 * driver/docker: Preventing port reservation for log collection on Unix platforms [[GH-897](https://github.com/hashicorp/nomad/issues/897)] 2155 * driver/rkt: Pass DNS information to rkt driver [[GH-892](https://github.com/hashicorp/nomad/issues/892)] 2156 * jobspec: Require RFC-1123 and RFC-2782 valid service names [[GH-915](https://github.com/hashicorp/nomad/issues/915)] 2157 2158 BUG FIXES: 2159 * core: No longer cancel evaluations that are delayed in the plan queue 2160 [[GH-884](https://github.com/hashicorp/nomad/issues/884)] 2161 * api: Guard client/fs/ APIs from being accessed on a non-client node [[GH-890](https://github.com/hashicorp/nomad/issues/890)] 2162 * client: Allow dashes in variable names during interpolation [[GH-857](https://github.com/hashicorp/nomad/issues/857)] 2163 * client: Updating kill timeout adheres to operator specified maximum value [[GH-878](https://github.com/hashicorp/nomad/issues/878)] 2164 * client: Fix a case in which clients would pull but not run allocations 2165 [[GH-906](https://github.com/hashicorp/nomad/issues/906)] 2166 * consul: Remove concurrent map access [[GH-874](https://github.com/hashicorp/nomad/issues/874)] 2167 * driver/exec: Stopping tasks with more than one pid in a cgroup [[GH-855](https://github.com/hashicorp/nomad/issues/855)] 2168 * client/executor/linux: Add /run/resolvconf/ to chroot so DNS works [[GH-905](https://github.com/hashicorp/nomad/issues/905)] 2169 2170 ## 0.3.0 (February 25, 2016) 2171 2172 __BACKWARDS INCOMPATIBILITIES:__ 2173 * Stdout and Stderr log files of tasks have moved from task/local to 2174 alloc/logs [[GH-851](https://github.com/hashicorp/nomad/issues/851)] 2175 * Any users of the runtime environment variable `$NOMAD_PORT_` will need to 2176 update to the new `${NOMAD_ADDR_}` variable [[GH-704](https://github.com/hashicorp/nomad/issues/704)] 2177 * Service names that include periods will fail validation. To fix, remove any 2178 periods from the service name before running the job [[GH-770](https://github.com/hashicorp/nomad/issues/770)] 2179 * Task resources are now validated and enforce minimum resources. If a job 2180 specifies resources below the minimum they will need to be updated [[GH-739](https://github.com/hashicorp/nomad/issues/739)] 2181 * Node ID is no longer specifiable. For users who have set a custom Node 2182 ID, the node should be drained before Nomad is updated and the data_dir 2183 should be deleted before starting for the first time [[GH-675](https://github.com/hashicorp/nomad/issues/675)] 2184 * Users of custom restart policies should update to the new syntax which adds 2185 a `mode` field. The `mode` can be either `fail` or `delay`. The default for 2186 `batch` and `service` jobs is `fail` and `delay` respectively [[GH-594](https://github.com/hashicorp/nomad/issues/594)] 2187 * All jobs that interpret variables in constraints or driver configurations 2188 will need to be updated to the new syntax which wraps the interpreted 2189 variable in curly braces. (`$node.class` becomes `${node.class}`) [[GH-760](https://github.com/hashicorp/nomad/issues/760)] 2190 2191 IMPROVEMENTS: 2192 * core: Populate job status [[GH-663](https://github.com/hashicorp/nomad/issues/663)] 2193 * core: Cgroup fingerprinter [[GH-712](https://github.com/hashicorp/nomad/issues/712)] 2194 * core: Node class constraint [[GH-618](https://github.com/hashicorp/nomad/issues/618)] 2195 * core: User specifiable kill timeout [[GH-624](https://github.com/hashicorp/nomad/issues/624)] 2196 * core: Job queueing via blocked evaluations [[GH-726](https://github.com/hashicorp/nomad/issues/726)] 2197 * core: Only reschedule failed batch allocations [[GH-746](https://github.com/hashicorp/nomad/issues/746)] 2198 * core: Add available nodes by DC to AllocMetrics [[GH-619](https://github.com/hashicorp/nomad/issues/619)] 2199 * core: Improve scheduler retry logic under contention [[GH-787](https://github.com/hashicorp/nomad/issues/787)] 2200 * core: Computed node class and stack optimization [GH-691, GH-708] 2201 * core: Improved restart policy with more user configuration [[GH-594](https://github.com/hashicorp/nomad/issues/594)] 2202 * core: Periodic specification for jobs [GH-540, GH-657, GH-659, GH-668] 2203 * core: Batch jobs are garbage collected from the Nomad Servers [[GH-586](https://github.com/hashicorp/nomad/issues/586)] 2204 * core: Free half the CPUs on leader node for use in plan queue and evaluation 2205 broker [[GH-812](https://github.com/hashicorp/nomad/issues/812)] 2206 * core: Seed random number generator used to randomize node traversal order 2207 during scheduling [[GH-808](https://github.com/hashicorp/nomad/issues/808)] 2208 * core: Performance improvements [GH-823, GH-825, GH-827, GH-830, GH-832, 2209 GH-833, GH-834, GH-839] 2210 * core/api: System garbage collection endpoint [[GH-828](https://github.com/hashicorp/nomad/issues/828)] 2211 * core/api: Allow users to set arbitrary headers via agent config [[GH-699](https://github.com/hashicorp/nomad/issues/699)] 2212 * core/cli: Prefix based lookups of allocs/nodes/evals/jobs [[GH-575](https://github.com/hashicorp/nomad/issues/575)] 2213 * core/cli: Print short identifiers and UX cleanup [GH-675, GH-693, GH-692] 2214 * core/client: Client pulls minimum set of required allocations [[GH-731](https://github.com/hashicorp/nomad/issues/731)] 2215 * cli: Output of agent-info is sorted [[GH-617](https://github.com/hashicorp/nomad/issues/617)] 2216 * cli: Eval monitor detects zero wait condition [[GH-776](https://github.com/hashicorp/nomad/issues/776)] 2217 * cli: Ability to navigate allocation directories [GH-709, GH-798] 2218 * client: Batch allocation updates to the server [[GH-835](https://github.com/hashicorp/nomad/issues/835)] 2219 * client: Log rotation for all drivers [GH-685, GH-763, GH-819] 2220 * client: Only download artifacts from http, https, and S3 [[GH-841](https://github.com/hashicorp/nomad/issues/841)] 2221 * client: Create a tmp/ directory inside each task directory [[GH-757](https://github.com/hashicorp/nomad/issues/757)] 2222 * client: Store when an allocation was received by the client [[GH-821](https://github.com/hashicorp/nomad/issues/821)] 2223 * client: Heartbeating and saving state resilient under high load [[GH-811](https://github.com/hashicorp/nomad/issues/811)] 2224 * client: Handle updates to tasks Restart Policy and KillTimeout [[GH-751](https://github.com/hashicorp/nomad/issues/751)] 2225 * client: Killing a driver handle is retried with an exponential backoff 2226 [[GH-809](https://github.com/hashicorp/nomad/issues/809)] 2227 * client: Send Node to server when periodic fingerprinters change Node 2228 attributes/metadata [[GH-749](https://github.com/hashicorp/nomad/issues/749)] 2229 * client/api: File-system access to allocation directories [[GH-669](https://github.com/hashicorp/nomad/issues/669)] 2230 * drivers: Validate the "command" field contains a single value [[GH-842](https://github.com/hashicorp/nomad/issues/842)] 2231 * drivers: Interpret Nomad variables in environment variables/args [[GH-653](https://github.com/hashicorp/nomad/issues/653)] 2232 * driver/rkt: Add support for CPU/Memory isolation [[GH-610](https://github.com/hashicorp/nomad/issues/610)] 2233 * driver/rkt: Add support for mounting alloc/task directory [[GH-645](https://github.com/hashicorp/nomad/issues/645)] 2234 * driver/docker: Support for .dockercfg based auth for private registries 2235 [[GH-773](https://github.com/hashicorp/nomad/issues/773)] 2236 2237 BUG FIXES: 2238 * core: Node drain could only be partially applied [[GH-750](https://github.com/hashicorp/nomad/issues/750)] 2239 * core: Fix panic when eval Ack occurs at delivery limit [[GH-790](https://github.com/hashicorp/nomad/issues/790)] 2240 * cli: Handle parsing of un-named ports [[GH-604](https://github.com/hashicorp/nomad/issues/604)] 2241 * cli: Enforce absolute paths for data directories [[GH-622](https://github.com/hashicorp/nomad/issues/622)] 2242 * client: Cleanup of the allocation directory [[GH-755](https://github.com/hashicorp/nomad/issues/755)] 2243 * client: Improved stability under high contention [[GH-789](https://github.com/hashicorp/nomad/issues/789)] 2244 * client: Handle non-200 codes when parsing AWS metadata [[GH-614](https://github.com/hashicorp/nomad/issues/614)] 2245 * client: Unmounted of shared alloc dir when client is rebooted [[GH-755](https://github.com/hashicorp/nomad/issues/755)] 2246 * client/consul: Service name changes handled properly [[GH-766](https://github.com/hashicorp/nomad/issues/766)] 2247 * driver/rkt: handle broader format of rkt version outputs [[GH-745](https://github.com/hashicorp/nomad/issues/745)] 2248 * driver/qemu: failed to load image and kvm accelerator fixes [[GH-656](https://github.com/hashicorp/nomad/issues/656)] 2249 2250 ## 0.2.3 (December 17, 2015) 2251 2252 BUG FIXES: 2253 * core: Task States not being properly updated [[GH-600](https://github.com/hashicorp/nomad/issues/600)] 2254 * client: Fixes for user lookup to support CoreOS [[GH-591](https://github.com/hashicorp/nomad/issues/591)] 2255 * discovery: Using a random prefix for nomad managed services [[GH-579](https://github.com/hashicorp/nomad/issues/579)] 2256 * discovery: De-Registering Tasks while Nomad sleeps before failed tasks are 2257 restarted. 2258 * discovery: Fixes for service registration when multiple allocations are bin 2259 packed on a node [[GH-583](https://github.com/hashicorp/nomad/issues/583)] 2260 * configuration: Sort configuration files [[GH-588](https://github.com/hashicorp/nomad/issues/588)] 2261 * cli: RetryInterval was not being applied properly [[GH-601](https://github.com/hashicorp/nomad/issues/601)] 2262 2263 ## 0.2.2 (December 11, 2015) 2264 2265 IMPROVEMENTS: 2266 * core: Enable `raw_exec` driver in dev mode [[GH-558](https://github.com/hashicorp/nomad/issues/558)] 2267 * cli: Server join/retry-join command line and config options [[GH-527](https://github.com/hashicorp/nomad/issues/527)] 2268 * cli: Nomad reports which config files are loaded at start time, or if none 2269 are loaded [[GH-536](https://github.com/hashicorp/nomad/issues/536)], [[GH-553](https://github.com/hashicorp/nomad/issues/553)] 2270 2271 BUG FIXES: 2272 * core: Send syslog to `LOCAL0` by default as previously documented [[GH-547](https://github.com/hashicorp/nomad/issues/547)] 2273 * client: remove all calls to default logger [[GH-570](https://github.com/hashicorp/nomad/issues/570)] 2274 * consul: Nomad is less noisy when Consul is not running [[GH-567](https://github.com/hashicorp/nomad/issues/567)] 2275 * consul: Nomad only deregisters services that it created [[GH-568](https://github.com/hashicorp/nomad/issues/568)] 2276 * driver/exec: Shutdown a task now sends the interrupt signal first to the 2277 process before forcefully killing it. [[GH-543](https://github.com/hashicorp/nomad/issues/543)] 2278 * driver/docker: Docker driver no longer leaks unix domain socket connections 2279 [[GH-556](https://github.com/hashicorp/nomad/issues/556)] 2280 * fingerprint/network: Now correctly detects interfaces on Windows [[GH-382](https://github.com/hashicorp/nomad/issues/382)] 2281 2282 ## 0.2.1 (November 28, 2015) 2283 2284 IMPROVEMENTS: 2285 2286 * core: Can specify a whitelist for activating drivers [[GH-467](https://github.com/hashicorp/nomad/issues/467)] 2287 * core: Can specify a whitelist for activating fingerprinters [[GH-488](https://github.com/hashicorp/nomad/issues/488)] 2288 * core/api: Can list all known regions in the cluster [[GH-495](https://github.com/hashicorp/nomad/issues/495)] 2289 * client/spawn: spawn package tests made portable (work on Windows) [[GH-442](https://github.com/hashicorp/nomad/issues/442)] 2290 * client/executor: executor package tests made portable (work on Windows) [[GH-497](https://github.com/hashicorp/nomad/issues/497)] 2291 * client/driver: driver package tests made portable (work on windows) [[GH-502](https://github.com/hashicorp/nomad/issues/502)] 2292 * client/discovery: Added more consul client api configuration options [[GH-503](https://github.com/hashicorp/nomad/issues/503)] 2293 * driver/docker: Added TLS client options to the config file [[GH-480](https://github.com/hashicorp/nomad/issues/480)] 2294 * jobspec: More flexibility in naming Services [[GH-509](https://github.com/hashicorp/nomad/issues/509)] 2295 2296 BUG FIXES: 2297 2298 * core: Shared reference to DynamicPorts caused port conflicts when scheduling 2299 count > 1 [[GH-494](https://github.com/hashicorp/nomad/issues/494)] 2300 * client/restart policy: Not restarting Batch Jobs if the exit code is 0 [[GH-491](https://github.com/hashicorp/nomad/issues/491)] 2301 * client/service discovery: Make Service IDs unique [[GH-479](https://github.com/hashicorp/nomad/issues/479)] 2302 * client/service: Fixes update to check definitions and services which are already registered [[GH-498](https://github.com/hashicorp/nomad/issues/498)] 2303 * driver/docker: Expose the container port instead of the host port [[GH-466](https://github.com/hashicorp/nomad/issues/466)] 2304 * driver/docker: Support `port_map` for static ports [[GH-476](https://github.com/hashicorp/nomad/issues/476)] 2305 * driver/docker: Pass 0.2.0-style port environment variables to the docker container [[GH-476](https://github.com/hashicorp/nomad/issues/476)] 2306 * jobspec: distinct_hosts constraint can be specified as a boolean (previously panicked) [[GH-501](https://github.com/hashicorp/nomad/issues/501)] 2307 2308 ## 0.2.0 (November 18, 2015) 2309 2310 __BACKWARDS INCOMPATIBILITIES:__ 2311 2312 * core: HTTP API `/v1/node/<id>/allocations` returns full Allocation and not 2313 stub [[GH-402](https://github.com/hashicorp/nomad/issues/402)] 2314 * core: Removed weight and hard/soft fields in constraints [[GH-351](https://github.com/hashicorp/nomad/issues/351)] 2315 * drivers: Qemu and Java driver configurations have been updated to both use 2316 `artifact_source` as the source for external images/jars to be ran 2317 * jobspec: New reserved and dynamic port specification [[GH-415](https://github.com/hashicorp/nomad/issues/415)] 2318 * jobspec/drivers: Driver configuration supports arbitrary struct to be 2319 passed in jobspec [[GH-415](https://github.com/hashicorp/nomad/issues/415)] 2320 2321 FEATURES: 2322 2323 * core: Blocking queries supported in API [[GH-366](https://github.com/hashicorp/nomad/issues/366)] 2324 * core: System Scheduler that runs tasks on every node [[GH-287](https://github.com/hashicorp/nomad/issues/287)] 2325 * core: Regexp, version and lexical ordering constraints [[GH-271](https://github.com/hashicorp/nomad/issues/271)] 2326 * core: distinctHost constraint ensures Task Groups are running on distinct 2327 clients [[GH-321](https://github.com/hashicorp/nomad/issues/321)] 2328 * core: Service block definition with Consul registration [GH-463, GH-460, 2329 GH-458, GH-455, GH-446, GH-425] 2330 * client: GCE Fingerprinting [[GH-215](https://github.com/hashicorp/nomad/issues/215)] 2331 * client: Restart policy for task groups enforced by the client [GH-369, 2332 GH-393] 2333 * driver/rawexec: Raw Fork/Exec Driver [[GH-237](https://github.com/hashicorp/nomad/issues/237)] 2334 * driver/rkt: Experimental Rkt Driver [GH-165, GH-247] 2335 * drivers: Add support for downloading external artifacts to execute for 2336 Exec, Raw exec drivers [[GH-381](https://github.com/hashicorp/nomad/issues/381)] 2337 2338 IMPROVEMENTS: 2339 2340 * core: Configurable Node GC threshold [[GH-362](https://github.com/hashicorp/nomad/issues/362)] 2341 * core: Overlap plan verification and plan application for increased 2342 throughput [[GH-272](https://github.com/hashicorp/nomad/issues/272)] 2343 * cli: Output of `alloc-status` also displays task state [[GH-424](https://github.com/hashicorp/nomad/issues/424)] 2344 * cli: Output of `server-members` is sorted [[GH-323](https://github.com/hashicorp/nomad/issues/323)] 2345 * cli: Show node attributes in `node-status` [[GH-313](https://github.com/hashicorp/nomad/issues/313)] 2346 * client/fingerprint: Network fingerprinter detects interface suitable for 2347 use, rather than defaulting to eth0 [GH-334, GH-356] 2348 * client: Client Restore State properly reattaches to tasks and recreates 2349 them as needed [GH-364, GH-380, GH-388, GH-392, GH-394, GH-397, GH-408] 2350 * client: Periodic Fingerprinting [[GH-391](https://github.com/hashicorp/nomad/issues/391)] 2351 * client: Precise snapshotting of TaskRunner and AllocRunner [GH-403, GH-411] 2352 * client: Task State is tracked by client [[GH-416](https://github.com/hashicorp/nomad/issues/416)] 2353 * client: Test Skip Detection [[GH-221](https://github.com/hashicorp/nomad/issues/221)] 2354 * driver/docker: Can now specify auth for docker pull [[GH-390](https://github.com/hashicorp/nomad/issues/390)] 2355 * driver/docker: Can now specify DNS and DNSSearch options [[GH-390](https://github.com/hashicorp/nomad/issues/390)] 2356 * driver/docker: Can now specify the container's hostname [[GH-426](https://github.com/hashicorp/nomad/issues/426)] 2357 * driver/docker: Containers now have names based on the task name. [[GH-389](https://github.com/hashicorp/nomad/issues/389)] 2358 * driver/docker: Mount task local and alloc directory to docker containers [[GH-290](https://github.com/hashicorp/nomad/issues/290)] 2359 * driver/docker: Now accepts any value for `network_mode` to support userspace networking plugins in docker 1.9 2360 * driver/java: Pass JVM options in java driver [GH-293, GH-297] 2361 * drivers: Use BlkioWeight rather than BlkioThrottleReadIopsDevice [[GH-222](https://github.com/hashicorp/nomad/issues/222)] 2362 * jobspec and drivers: Driver configuration supports arbitrary struct to be passed in jobspec [[GH-415](https://github.com/hashicorp/nomad/issues/415)] 2363 2364 BUG FIXES: 2365 2366 * core: Nomad Client/Server RPC codec encodes strings properly [[GH-420](https://github.com/hashicorp/nomad/issues/420)] 2367 * core: Reset Nack timer in response to scheduler operations [[GH-325](https://github.com/hashicorp/nomad/issues/325)] 2368 * core: Scheduler checks for updates to environment variables [[GH-327](https://github.com/hashicorp/nomad/issues/327)] 2369 * cli: Fix crash when -config was given a directory or empty path [[GH-119](https://github.com/hashicorp/nomad/issues/119)] 2370 * client/fingerprint: Use correct local interface on OS X [GH-361, GH-365] 2371 * client: Nomad Client doesn't restart failed containers [[GH-198](https://github.com/hashicorp/nomad/issues/198)] 2372 * client: Reap spawn-daemon process, avoiding a zombie process [[GH-240](https://github.com/hashicorp/nomad/issues/240)] 2373 * client: Resource exhausted errors because of link-speed zero [GH-146, 2374 GH-205] 2375 * client: Restarting Nomad Client leads to orphaned containers [[GH-159](https://github.com/hashicorp/nomad/issues/159)] 2376 * driver/docker: Apply SELinux label for mounting directories in docker 2377 [[GH-377](https://github.com/hashicorp/nomad/issues/377)] 2378 * driver/docker: Docker driver exposes ports when creating container [GH-212, 2379 GH-412] 2380 * driver/docker: Docker driver uses docker environment variables correctly 2381 [[GH-407](https://github.com/hashicorp/nomad/issues/407)] 2382 * driver/qemu: Qemu fingerprint and tests work on both windows/linux [[GH-352](https://github.com/hashicorp/nomad/issues/352)] 2383 2384 ## 0.1.2 (October 6, 2015) 2385 2386 IMPROVEMENTS: 2387 2388 * client: Nomad client cleans allocations on exit when in dev mode [[GH-214](https://github.com/hashicorp/nomad/issues/214)] 2389 * drivers: Use go-getter for artifact retrieval, add artifact support to 2390 Exec, Raw Exec drivers [[GH-288](https://github.com/hashicorp/nomad/issues/288)] 2391 2392 ## 0.1.1 (October 5, 2015) 2393 2394 IMPROVEMENTS: 2395 2396 * cli: Nomad Client configurable from command-line [[GH-191](https://github.com/hashicorp/nomad/issues/191)] 2397 * client/fingerprint: Native IP detection and user specifiable network 2398 interface for fingerprinting [[GH-189](https://github.com/hashicorp/nomad/issues/189)] 2399 * driver/docker: Docker networking mode is configurable [[GH-184](https://github.com/hashicorp/nomad/issues/184)] 2400 * drivers: Set task environment variables [[GH-206](https://github.com/hashicorp/nomad/issues/206)] 2401 2402 BUG FIXES: 2403 2404 * client/fingerprint: Network fingerprinting failed if default network 2405 interface did not exist [[GH-189](https://github.com/hashicorp/nomad/issues/189)] 2406 * client: Fixed issue where network resources throughput would be set to 0 2407 MBits if the link speed could not be determined [[GH-205](https://github.com/hashicorp/nomad/issues/205)] 2408 * client: Improved detection of Nomad binary [[GH-181](https://github.com/hashicorp/nomad/issues/181)] 2409 * driver/docker: Docker dynamic port mapping were not being set properly 2410 [[GH-199](https://github.com/hashicorp/nomad/issues/199)] 2411 2412 ## 0.1.0 (September 28, 2015) 2413 2414 * Initial release