github.com/djenriquez/nomad-1@v0.8.1/CHANGELOG.md (about) 1 ## 0.8.1 (April 17, 2018) 2 3 BUG FIXES: 4 * client: Fix a race condition while concurrently fingerprinting and accessing 5 the node that could cause a panic [[GH-4166](https://github.com/hashicorp/nomad/issues/4166)] 6 7 ## 0.8.0 (April 12, 2018) 8 9 __BACKWARDS INCOMPATIBILITIES:__ 10 * cli: node drain now blocks until the drain completes and all allocations on 11 the draining node have stopped. Use -detach for the old behavior. 12 * client: Periods (`.`) are no longer replaced with underscores (`_`) in 13 environment variables as many applications rely on periods in environment 14 variable names. [[GH-3760](https://github.com/hashicorp/nomad/issues/3760)] 15 * client/metrics: The key emitted for tracking a client's uptime has changed 16 from "uptime" to "client.uptime". Users monitoring this metric will have to 17 switch to the new key name [[GH-4128](https://github.com/hashicorp/nomad/issues/4128)] 18 * discovery: Prevent absolute URLs in check paths. The documentation indicated 19 that absolute URLs are not allowed, but it was not enforced. Absolute URLs 20 in HTTP check paths will now fail to validate. [[GH-3685](https://github.com/hashicorp/nomad/issues/3685)] 21 * drain: Draining a node no longer stops all allocations immediately: a new 22 [migrate stanza](https://www.nomadproject.io/docs/job-specification/migrate.html) 23 allows jobs to specify how quickly task groups can be drained. A `-force` 24 option can be used to emulate the old drain behavior. 25 * jobspec: The default values for restart policy have changed. Restart policy 26 mode defaults to "fail" and the attempts/time interval values have been 27 changed to enable faster server side rescheduling. See [restart 28 stanza](https://www.nomadproject.io/docs/job-specification/restart.html) for 29 more information. 30 * jobspec: Removed compatibility code that migrated pre Nomad 0.6.0 Update 31 stanza syntax. All job spec files should be using update stanza fields 32 introduced in 0.7.0 33 [[GH-3979](https://github.com/hashicorp/nomad/pull/3979/files)] 34 35 IMPROVEMENTS: 36 * core: Servers can now service client HTTP endpoints [[GH-3892](https://github.com/hashicorp/nomad/issues/3892)] 37 * core: More efficient garbage collection of large batches of jobs [[GH-3982](https://github.com/hashicorp/nomad/issues/3982)] 38 * core: Allow upgrading/downgrading TLS via SIGHUP on both servers and clients [[GH-3492](https://github.com/hashicorp/nomad/issues/3492)] 39 * core: Node events are emitted for events such as node registration and 40 heartbeating [[GH-3945](https://github.com/hashicorp/nomad/issues/3945)] 41 * 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)] 42 * 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)] 43 * core: Servers can now service client HTTP endpoints [[GH-3892](https://github.com/hashicorp/nomad/issues/3892)] 44 * 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)] 45 * core: Updated yamux library to pick up memory and CPU performance improvements [[GH-3980](https://github.com/hashicorp/nomad/issues/3980)] 46 * core: Client stanza now supports overriding total memory [[GH-4052](https://github.com/hashicorp/nomad/issues/4052)] 47 * core: Node draining is now able to migrate allocations in a controlled 48 manner with parameters specified by the drain command and in job files using 49 the migrate stanza [[GH-4010](https://github.com/hashicorp/nomad/issues/4010)] 50 * acl: Increase token name limit from 64 characters to 256 [[GH-3888](https://github.com/hashicorp/nomad/issues/3888)] 51 * cli: Node status and filesystem related commands do not require direct 52 network access to the Nomad client nodes [[GH-3892](https://github.com/hashicorp/nomad/issues/3892)] 53 * cli: Common commands highlighed [[GH-4027](https://github.com/hashicorp/nomad/issues/4027)] 54 * cli: Colored error and warning outputs [[GH-4027](https://github.com/hashicorp/nomad/issues/4027)] 55 * cli: All commands are grouped by subsystem [[GH-4027](https://github.com/hashicorp/nomad/issues/4027)] 56 * cli: Use ISO_8601 time format for cli output [[GH-3814](https://github.com/hashicorp/nomad/pull/3814)] 57 * 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)] 58 * client: Allow '.' in environment variable names [[GH-3760](https://github.com/hashicorp/nomad/issues/3760)] 59 * client: Improved handling of failed RPCs and heartbeat retry logic [[GH-4106](https://github.com/hashicorp/nomad/issues/4106)] 60 * client: Refactor client fingerprint methods to a request/response format [[GH-3781](https://github.com/hashicorp/nomad/issues/3781)] 61 * client: Enable periodic health checks for drivers. Initial support only includes the Docker driver. [[GH-3856](https://github.com/hashicorp/nomad/issues/3856)] 62 * discovery: Allow `check_restart` to be specified in the `service` stanza 63 [[GH-3718](https://github.com/hashicorp/nomad/issues/3718)] 64 * discovery: Allow configuring names of Nomad client and server health checks 65 [[GH-4003](https://github.com/hashicorp/nomad/issues/4003)] 66 * discovery: Only log if Consul does not support TLSSkipVerify instead of 67 dropping checks which relied on it. Consul has had this feature since 0.7.2 [[GH-3983](https://github.com/hashicorp/nomad/issues/3983)] 68 * driver/docker: Support hard CPU limits [[GH-3825](https://github.com/hashicorp/nomad/issues/3825)] 69 * driver/docker: Support advertising IPv6 addresses [[GH-3790](https://github.com/hashicorp/nomad/issues/3790)] 70 * driver/docker; Support overriding image entrypoint [[GH-3788](https://github.com/hashicorp/nomad/issues/3788)] 71 * driver/docker: Support adding or dropping capabilities [[GH-3754](https://github.com/hashicorp/nomad/issues/3754)] 72 * driver/docker: Support mounting root filesystem as read-only [[GH-3802](https://github.com/hashicorp/nomad/issues/3802)] 73 * driver/docker: Retry on Portworx "volume is attached on another node" errors 74 [[GH-3993](https://github.com/hashicorp/nomad/issues/3993)] 75 * driver/lxc: Add volumes config to LXC driver [[GH-3687](https://github.com/hashicorp/nomad/issues/3687)] 76 * driver/rkt: Allow overriding group [[GH-3990](https://github.com/hashicorp/nomad/issues/3990)] 77 * telemetry: Support DataDog tags [[GH-3839](https://github.com/hashicorp/nomad/issues/3839)] 78 * 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)] 79 * ui: Allocation stats requests are made through the server instead of directly through clients [[GH-3908](https://github.com/hashicorp/nomad/issues/3908)] 80 * 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)] 81 * ui: All views poll for changes using long-polling via blocking queries [[GH-3936](https://github.com/hashicorp/nomad/issues/3936)] 82 * ui: Dispatch payload on the parameterized instance job detail page [[GH-3829](https://github.com/hashicorp/nomad/issues/3829)] 83 * ui: Periodic force launch button on the periodic job detail page [[GH-3829](https://github.com/hashicorp/nomad/issues/3829)] 84 * ui: Allocation breadcrumbs now extend job breadcrumbs [[GH-3829](https://github.com/hashicorp/nomad/issues/3974)] 85 * vault: Allow Nomad to create orphaned tokens for allocations [[GH-3992](https://github.com/hashicorp/nomad/issues/3992)] 86 87 BUG FIXES: 88 * core: Fix search endpoint forwarding for multi-region clusters [[GH-3680](https://github.com/hashicorp/nomad/issues/3680)] 89 * core: Fix an issue in which batch jobs with queued placements and lost 90 allocations could result in improper placement counts [[GH-3717](https://github.com/hashicorp/nomad/issues/3717)] 91 * 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)] 92 * core: Fix an issue in which multiple servers could be acting as a leader. A 93 prominent side-effect being nodes TTLing incorrectly [[GH-3890](https://github.com/hashicorp/nomad/issues/3890)] 94 * 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)] 95 * cli: server member command handles failure to retrieve leader in remote 96 regions [[GH-4087](https://github.com/hashicorp/nomad/issues/4087)] 97 * client: Support IP detection of wireless interfaces on Windows [[GH-4011](https://github.com/hashicorp/nomad/issues/4011)] 98 * client: Migrated ephemeral_disk's maintain directory permissions [[GH-3723](https://github.com/hashicorp/nomad/issues/3723)] 99 * client: Always advertise driver IP when in driver address mode [[GH-3682](https://github.com/hashicorp/nomad/issues/3682)] 100 * client: Preserve permissions on directories when expanding tarred artifacts [[GH-4129](https://github.com/hashicorp/nomad/issues/4129)] 101 * client: Improve auto-detection of network interface when interface name has a 102 space in it on Windows [[GH-3855](https://github.com/hashicorp/nomad/issues/3855)] 103 * client/vault: Recognize renewing non-renewable Vault lease as fatal [[GH-3727](https://github.com/hashicorp/nomad/issues/3727)] 104 * client/vault: Improved error handling of network errors with Vault [[GH-4100](https://github.com/hashicorp/nomad/issues/4100)] 105 * config: Revert minimum CPU limit back to 20 from 100 [[GH-3706](https://github.com/hashicorp/nomad/issues/3706)] 106 * config: Always add core scheduler to enabled schedulers and add invalid 107 EnabledScheduler detection [[GH-3978](https://github.com/hashicorp/nomad/issues/3978)] 108 * driver/exec: Properly disable swapping [[GH-3958](https://github.com/hashicorp/nomad/issues/3958)] 109 * driver/lxc: Cleanup LXC containers after errors on container startup. [[GH-3773](https://github.com/hashicorp/nomad/issues/3773)] 110 * 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)] 111 * ui: Only show the placement failures section when there is a blocked evaluation. [[GH-3956](https://github.com/hashicorp/nomad/pull/3956)] 112 * ui: Fix requests using client-side certificates in Firefox. [[GH-3728](https://github.com/hashicorp/nomad/pull/3728)] 113 * ui: Fix ui on non-leaders when ACLs are enabled [[GH-3722](https://github.com/hashicorp/nomad/issues/3722)] 114 115 116 ## 0.7.1 (December 19, 2017) 117 118 __BACKWARDS INCOMPATIBILITIES:__ 119 * client: The format of service IDs in Consul has changed. If you rely upon 120 Nomad's service IDs (*not* service names; those are stable), you will need 121 to update your code. [[GH-3632](https://github.com/hashicorp/nomad/issues/3632)] 122 * config: Nomad no longer parses Atlas configuration stanzas. Atlas has been 123 deprecated since earlier this year. If you have an Atlas stanza in your 124 config file it will have to be removed. 125 * config: Default minimum CPU configuration has been changed to 100 from 20. Jobs 126 using the old minimum value of 20 will have to be updated. 127 * telemetry: Hostname is now emitted via a tag rather than within the key name. 128 To maintain old behavior during an upgrade path specify 129 `backwards_compatible_metrics` in the telemetry configuration. 130 131 IMPROVEMENTS: 132 * core: Allow operators to reload TLS certificate and key files via SIGHUP 133 [[GH-3479](https://github.com/hashicorp/nomad/issues/3479)] 134 * core: Allow configurable stop signals for a task, when drivers support 135 sending stop signals [[GH-1755](https://github.com/hashicorp/nomad/issues/1755)] 136 * core: Allow agents to be run in `rpc_upgrade_mode` when migrating a cluster 137 to TLS rather than changing `heartbeat_grace` 138 * api: Allocations now track and return modify time in addition to create time 139 [[GH-3446](https://github.com/hashicorp/nomad/issues/3446)] 140 * api: Introduced new fields to track details and display message for task 141 events, and deprecated redundant existing fields [[GH-3399](https://github.com/hashicorp/nomad/issues/3399)] 142 * api: Environment variables are ignored during service name validation [[GH-3532](https://github.com/hashicorp/nomad/issues/3532)] 143 * cli: Allocation create and modify times are displayed in a human readable 144 relative format like `6 h ago` [[GH-3449](https://github.com/hashicorp/nomad/issues/3449)] 145 * client: Support `address_mode` on checks [[GH-3619](https://github.com/hashicorp/nomad/issues/3619)] 146 * client: Sticky volume migrations are now atomic. [[GH-3563](https://github.com/hashicorp/nomad/issues/3563)] 147 * client: Added metrics to track state transitions of allocations [[GH-3061](https://github.com/hashicorp/nomad/issues/3061)] 148 * client: When `network_interface` is unspecified use interface attached to 149 default route [[GH-3546](https://github.com/hashicorp/nomad/issues/3546)] 150 * client: Support numeric ports on services and checks when 151 `address_mode="driver"` [[GH-3619](https://github.com/hashicorp/nomad/issues/3619)] 152 * driver/docker: Detect OOM kill event [[GH-3459](https://github.com/hashicorp/nomad/issues/3459)] 153 * driver/docker: Adds support for adding host device to container via 154 `--device` [[GH-2938](https://github.com/hashicorp/nomad/issues/2938)] 155 * driver/docker: Adds support for `ulimit` and `sysctl` options [[GH-3568](https://github.com/hashicorp/nomad/issues/3568)] 156 * driver/docker: Adds support for StopTimeout (set to the same value as 157 kill_timeout [[GH-3601](https://github.com/hashicorp/nomad/issues/3601)] 158 * driver/rkt: Add support for passing through user [[GH-3612](https://github.com/hashicorp/nomad/issues/3612)] 159 * driver/qemu: Support graceful shutdowns on unix platforms [[GH-3411](https://github.com/hashicorp/nomad/issues/3411)] 160 * template: Updated to consul template 0.19.4 [[GH-3543](https://github.com/hashicorp/nomad/issues/3543)] 161 * core/enterprise: Return 501 status code in Nomad Pro for Premium end points 162 * ui: Added log streaming for tasks [[GH-3564](https://github.com/hashicorp/nomad/issues/3564)] 163 * ui: Show the modify time for allocations [[GH-3607](https://github.com/hashicorp/nomad/issues/3607)] 164 * ui: Added a dedicated Task page under allocations [[GH-3472](https://github.com/hashicorp/nomad/issues/3472)] 165 * ui: Added placement failures to the Job Detail page [[GH-3603](https://github.com/hashicorp/nomad/issues/3603)] 166 * ui: Warn uncaught exceptions to the developer console [[GH-3623](https://github.com/hashicorp/nomad/issues/3623)] 167 168 BUG FIXES: 169 170 * core: Fix issue in which restoring periodic jobs could fail when a leader 171 election occurs [[GH-3646](https://github.com/hashicorp/nomad/issues/3646)] 172 * core: Fix race condition in which rapid reprocessing of a blocked evaluation 173 may lead to the scheduler not seeing the results of the previous scheduling 174 event [[GH-3669](https://github.com/hashicorp/nomad/issues/3669)] 175 * core: Fixed an issue where the leader server could get into a state where it 176 was no longer performing the periodic leader loop duties after a barrier 177 timeout error [[GH-3402](https://github.com/hashicorp/nomad/issues/3402)] 178 * core: Fixes an issue with jobs that have `auto_revert` set to true, where 179 reverting to a previously stable job that fails to start up causes an 180 infinite cycle of reverts [[GH-3496](https://github.com/hashicorp/nomad/issues/3496)] 181 * api: Apply correct memory default when task's do not specify memory 182 explicitly [[GH-3520](https://github.com/hashicorp/nomad/issues/3520)] 183 * cli: Fix passing Consul address via flags [[GH-3504](https://github.com/hashicorp/nomad/issues/3504)] 184 * cli: Fix panic when running `keyring` commands [[GH-3509](https://github.com/hashicorp/nomad/issues/3509)] 185 * client: Fix advertising services with tags that require URL escaping 186 [[GH-3632](https://github.com/hashicorp/nomad/issues/3632)] 187 * client: Fix a panic when restoring an allocation with a dead leader task 188 [[GH-3502](https://github.com/hashicorp/nomad/issues/3502)] 189 * client: Fix crash when following logs from a Windows node [[GH-3608](https://github.com/hashicorp/nomad/issues/3608)] 190 * client: Fix service/check updating when just interpolated variables change 191 [[GH-3619](https://github.com/hashicorp/nomad/issues/3619)] 192 * client: Fix allocation accounting in GC and trigger GCs on allocation 193 updates [[GH-3445](https://github.com/hashicorp/nomad/issues/3445)] 194 * driver/docker: Fix container name conflict handling [[GH-3551](https://github.com/hashicorp/nomad/issues/3551)] 195 * driver/rkt: Remove pods on shutdown [[GH-3562](https://github.com/hashicorp/nomad/issues/3562)] 196 * driver/rkt: Don't require port maps when using host networking [[GH-3615](https://github.com/hashicorp/nomad/issues/3615)] 197 * template: Fix issue where multiple environment variable templates would be 198 parsed incorrectly when contents of one have changed after the initial 199 rendering [[GH-3529](https://github.com/hashicorp/nomad/issues/3529)] 200 * sentinel: (Nomad Enterprise) Fix an issue that could cause an import error 201 when multiple Sentinel policies are applied 202 * telemetry: Do not emit metrics for non-running tasks [[GH-3559](https://github.com/hashicorp/nomad/issues/3559)] 203 * telemetry: Emit hostname as a tag rather than within the key name [[GH-3616](https://github.com/hashicorp/nomad/issues/3616)] 204 * ui: Remove timezone text from timestamps [[GH-3621](https://github.com/hashicorp/nomad/issues/3621)] 205 * ui: Allow cross-origin requests from the UI [[GH-3530](https://github.com/hashicorp/nomad/issues/3530)] 206 * ui: Consistently use Clients instead of Nodes in copy [[GH-3466](https://github.com/hashicorp/nomad/issues/3466)] 207 * ui: Fully expand the job definition on the Job Definition page [[GH-3631](https://github.com/hashicorp/nomad/issues/3631)] 208 209 ## 0.7.0 (November 1, 2017) 210 211 __BACKWARDS INCOMPATIBILITIES:__ 212 * driver/rkt: Nomad now requires at least rkt version `1.27.0` for the rkt 213 driver to function. Please update your version of rkt to at least this 214 version. 215 216 IMPROVEMENTS: 217 * core: Capability based ACL system with authoritative region, providing 218 federated ACLs. 219 * core/enterprise: Sentinel integration for fine grain policy enforcement. 220 * core/enterprise: Namespace support allowing jobs and their associated 221 objects to be isolated from each other and other users of the cluster. 222 * api: Allow force deregistration of a node [[GH-3447](https://github.com/hashicorp/nomad/issues/3447)] 223 * api: New `/v1/agent/health` endpoint for health checks. 224 * api: Metrics endpoint exposes Prometheus formatted metrics [[GH-3171](https://github.com/hashicorp/nomad/issues/3171)] 225 * cli: Consul config option flags for nomad agent command [[GH-3327](https://github.com/hashicorp/nomad/issues/3327)] 226 * discovery: Allow restarting unhealthy tasks with `check_restart` [[GH-3105](https://github.com/hashicorp/nomad/issues/3105)] 227 * driver/rkt: Enable rkt driver to use address_mode = 'driver' [[GH-3256](https://github.com/hashicorp/nomad/issues/3256)] 228 * telemetry: Add support for tagged metrics for Nomad clients [[GH-3147](https://github.com/hashicorp/nomad/issues/3147)] 229 * telemetry: Add basic Prometheus configuration for a Nomad cluster [[GH-3186](https://github.com/hashicorp/nomad/issues/3186)] 230 231 BUG FIXES: 232 * core: Fix restoration of stopped periodic jobs [[GH-3201](https://github.com/hashicorp/nomad/issues/3201)] 233 * core: Run deployment garbage collector on an interval [[GH-3267](https://github.com/hashicorp/nomad/issues/3267)] 234 * core: Fix parameterized jobs occasionally showing status dead incorrectly 235 [[GH-3460](https://github.com/hashicorp/nomad/issues/3460)] 236 * core: Fix issue in which job versions above a threshold potentially wouldn't 237 be stored [[GH-3372](https://github.com/hashicorp/nomad/issues/3372)] 238 * core: Fix issue where node-drain with complete batch allocation would create 239 replacement [[GH-3217](https://github.com/hashicorp/nomad/issues/3217)] 240 * core: Allow batch jobs that have been purged to be rerun without a job 241 specification change [[GH-3375](https://github.com/hashicorp/nomad/issues/3375)] 242 * core: Fix issue in which batch allocations from previous job versions may not 243 have been stopped properly. [[GH-3217](https://github.com/hashicorp/nomad/issues/3217)] 244 * core: Fix issue in which allocations with the same name during a scale 245 down/stop event wouldn't be properly stopped [[GH-3217](https://github.com/hashicorp/nomad/issues/3217)] 246 * core: Fix a race condition in which scheduling results from one invocation of 247 the scheduler wouldn't be considered by the next for the same job [[GH-3206](https://github.com/hashicorp/nomad/issues/3206)] 248 * api: Sort /v1/agent/servers output so that output of Consul checks does not 249 change [[GH-3214](https://github.com/hashicorp/nomad/issues/3214)] 250 * api: Fix search handling of jobs with more than four hyphens and case were 251 length could cause lookup error [[GH-3203](https://github.com/hashicorp/nomad/issues/3203)] 252 * client: Improve the speed at which clients detect garbage collection events [[GH-3452](https://github.com/hashicorp/nomad/issues/3452)] 253 * client: Fix lock contention that could cause a node to miss a heartbeat and 254 be marked as down [[GH-3195](https://github.com/hashicorp/nomad/issues/3195)] 255 * client: Fix data race that could lead to concurrent map read/writes during 256 heartbeating and fingerprinting [[GH-3461](https://github.com/hashicorp/nomad/issues/3461)] 257 * driver/docker: Fix docker user specified syslogging [[GH-3184](https://github.com/hashicorp/nomad/issues/3184)] 258 * driver/docker: Fix issue where CPU usage statistics were artificially high 259 [[GH-3229](https://github.com/hashicorp/nomad/issues/3229)] 260 * client/template: Fix issue in which secrets would be renewed too aggressively 261 [[GH-3360](https://github.com/hashicorp/nomad/issues/3360)] 262 263 ## 0.6.3 (September 11, 2017) 264 265 BUG FIXES: 266 * api: Search handles prefix longer than allowed UUIDs [[GH-3138](https://github.com/hashicorp/nomad/issues/3138)] 267 * api: Search endpoint handles even UUID prefixes with hyphens [[GH-3120](https://github.com/hashicorp/nomad/issues/3120)] 268 * api: Don't merge empty update stanza from job into task groups [[GH-3139](https://github.com/hashicorp/nomad/issues/3139)] 269 * cli: Sort task groups when displaying a deployment [[GH-3137](https://github.com/hashicorp/nomad/issues/3137)] 270 * cli: Handle reading files that are in a symlinked directory [[GH-3164](https://github.com/hashicorp/nomad/issues/3164)] 271 * cli: All status commands handle even UUID prefixes with hyphens [[GH-3122](https://github.com/hashicorp/nomad/issues/3122)] 272 * cli: Fix autocompletion of paths that include directories on zsh [[GH-3129](https://github.com/hashicorp/nomad/issues/3129)] 273 * cli: Fix job deployment -latest handling of jobs without deployments 274 [[GH-3166](https://github.com/hashicorp/nomad/issues/3166)] 275 * cli: Hide CLI commands not expected to be run by user from autocomplete 276 suggestions [[GH-3177](https://github.com/hashicorp/nomad/issues/3177)] 277 * cli: Status command honors exact job match even when it is the prefix of 278 another job [[GH-3120](https://github.com/hashicorp/nomad/issues/3120)] 279 * cli: Fix setting of TLSServerName for node API Client. This fixes an issue of 280 contacting nodes that are using TLS [[GH-3127](https://github.com/hashicorp/nomad/issues/3127)] 281 * client/template: Fix issue in which the template block could cause high load 282 on Vault when secret lease duration was less than the Vault grace [[GH-3153](https://github.com/hashicorp/nomad/issues/3153)] 283 * driver/docker: Always purge stopped containers [[GH-3148](https://github.com/hashicorp/nomad/issues/3148)] 284 * driver/docker: Fix MemorySwappiness on Windows [[GH-3187](https://github.com/hashicorp/nomad/issues/3187)] 285 * driver/docker: Fix issue in which mounts could parse incorrectly [[GH-3163](https://github.com/hashicorp/nomad/issues/3163)] 286 * driver/docker: Fix issue where potentially incorrect syslog server address is 287 used [[GH-3135](https://github.com/hashicorp/nomad/issues/3135)] 288 * driver/docker: Fix server url passed to credential helpers and properly 289 capture error output [[GH-3165](https://github.com/hashicorp/nomad/issues/3165)] 290 * jobspec: Allow distinct_host constraint to have L/RTarget set [[GH-3136](https://github.com/hashicorp/nomad/issues/3136)] 291 292 ## 0.6.2 (August 28, 2017) 293 294 BUG FIXES: 295 * api/cli: Fix logs and fs api and command [[GH-3116](https://github.com/hashicorp/nomad/issues/3116)] 296 297 ## 0.6.1 (August 28, 2017) 298 299 __BACKWARDS INCOMPATIBILITIES:__ 300 * deployment: Specifying an update stanza with a max_parallel of zero is now 301 a validation error. Please update the stanza to be greater than zero or 302 remove the stanza as a zero parallelism update is not valid. 303 304 IMPROVEMENTS: 305 * core: Lost allocations replaced even if part of failed deployment [[GH-2961](https://github.com/hashicorp/nomad/issues/2961)] 306 * core: Add autocomplete functionality for resources: allocations, evaluations, 307 jobs, deployments and nodes [[GH-2964](https://github.com/hashicorp/nomad/issues/2964)] 308 * core: `distinct_property` constraint can set the number of allocations that 309 are allowed to share a property value [[GH-2942](https://github.com/hashicorp/nomad/issues/2942)] 310 * core: Placing allocation counts towards placement limit fixing issue where 311 rolling update could remove an unnecessary amount of allocations [[GH-3070](https://github.com/hashicorp/nomad/issues/3070)] 312 * api: Redact Vault.Token from AgentSelf response [[GH-2988](https://github.com/hashicorp/nomad/issues/2988)] 313 * cli: node-status displays node version [[GH-3002](https://github.com/hashicorp/nomad/issues/3002)] 314 * cli: Disable color output when STDOUT is not a TTY [[GH-3057](https://github.com/hashicorp/nomad/issues/3057)] 315 * cli: Add autocomplete functionality for flags for all CLI command [GH 3087] 316 * cli: Add status command which takes any identifier and routes to the 317 appropriate status command. 318 * client: Unmount task directories when alloc is terminal [[GH-3006](https://github.com/hashicorp/nomad/issues/3006)] 319 * client/template: Allow template to set Vault grace [[GH-2947](https://github.com/hashicorp/nomad/issues/2947)] 320 * client/template: Template emits events explaining why it is blocked [[GH-3001](https://github.com/hashicorp/nomad/issues/3001)] 321 * deployment: Disallow max_parallel of zero [[GH-3081](https://github.com/hashicorp/nomad/issues/3081)] 322 * deployment: Emit task events explaining unhealthy allocations [[GH-3025](https://github.com/hashicorp/nomad/issues/3025)] 323 * deployment: Better description when a deployment should auto-revert but there 324 is no target [[GH-3024](https://github.com/hashicorp/nomad/issues/3024)] 325 * discovery: Add HTTP header and method support to checks [[GH-3031](https://github.com/hashicorp/nomad/issues/3031)] 326 * driver/docker: Added DNS options [[GH-2992](https://github.com/hashicorp/nomad/issues/2992)] 327 * driver/docker: Add mount options for volumes [[GH-3021](https://github.com/hashicorp/nomad/issues/3021)] 328 * driver/docker: Allow retry of 500 API errors to be handled by restart 329 policies when starting a container [[GH-3073](https://github.com/hashicorp/nomad/issues/3073)] 330 * driver/rkt: support read-only volume mounts [[GH-2883](https://github.com/hashicorp/nomad/issues/2883)] 331 * jobspec: Add `shutdown_delay` so tasks can delay shutdown after deregistering 332 from Consul [[GH-3043](https://github.com/hashicorp/nomad/issues/3043)] 333 334 BUG FIXES: 335 * core: Fix purging of job versions [[GH-3056](https://github.com/hashicorp/nomad/issues/3056)] 336 * core: Fix race creating EvalFuture [[GH-3051](https://github.com/hashicorp/nomad/issues/3051)] 337 * core: Fix panic occurring from improper bitmap size [[GH-3023](https://github.com/hashicorp/nomad/issues/3023)] 338 * core: Fix restoration of parameterized, periodic jobs [[GH-2959](https://github.com/hashicorp/nomad/issues/2959)] 339 * core: Fix incorrect destructive update with `distinct_property` constraint 340 [[GH-2939](https://github.com/hashicorp/nomad/issues/2939)] 341 * cli: Fix autocompleting global flags [[GH-2928](https://github.com/hashicorp/nomad/issues/2928)] 342 * cli: Fix panic when using 0.6.0 cli with an older cluster [[GH-2929](https://github.com/hashicorp/nomad/issues/2929)] 343 * cli: Fix TLS handling for alloc stats API calls [[GH-3108](https://github.com/hashicorp/nomad/issues/3108)] 344 * client: Fix `LC_ALL=C` being set on subprocesses [[GH-3041](https://github.com/hashicorp/nomad/issues/3041)] 345 * client/networking: Handle interfaces that only have link-local addresses 346 while preferring globally routable addresses [[GH-3089](https://github.com/hashicorp/nomad/issues/3089)] 347 * deployment: Fix alloc health with services/checks using interpolation 348 [[GH-2984](https://github.com/hashicorp/nomad/issues/2984)] 349 * discovery: Fix timeout validation for script checks [[GH-3022](https://github.com/hashicorp/nomad/issues/3022)] 350 * driver/docker: Fix leaking plugin file used by syslog server [[GH-2937](https://github.com/hashicorp/nomad/issues/2937)] 351 352 ## 0.6.0 (July 26, 2017) 353 354 __BACKWARDS INCOMPATIBILITIES:__ 355 * cli: When given a prefix that does not resolve to a particular object, 356 commands now return exit code 1 rather than 0. 357 358 IMPROVEMENTS: 359 * core: Rolling updates based on allocation health [GH-2621, GH-2634, GH-2799] 360 * core: New deployment object to track job updates [GH-2621, GH-2634, GH-2799] 361 * core: Default advertise to private IP address if bind is 0.0.0.0 [[GH-2399](https://github.com/hashicorp/nomad/issues/2399)] 362 * core: Track multiple job versions and add a stopped state for jobs [[GH-2566](https://github.com/hashicorp/nomad/issues/2566)] 363 * core: Job updates can create canaries before beginning rolling update 364 [GH-2621, GH-2634, GH-2799] 365 * core: Back-pressure when evaluations are nacked and ensure scheduling 366 progress on evaluation failures [[GH-2555](https://github.com/hashicorp/nomad/issues/2555)] 367 * agent/config: Late binding to IP addresses using go-sockaddr/template syntax 368 [[GH-2399](https://github.com/hashicorp/nomad/issues/2399)] 369 * api: Add `verify_https_client` to require certificates from HTTP clients 370 [[GH-2587](https://github.com/hashicorp/nomad/issues/2587)] 371 * api/job: Ability to revert job to older versions [[GH-2575](https://github.com/hashicorp/nomad/issues/2575)] 372 * cli: Autocomplete for CLI commands [[GH-2848](https://github.com/hashicorp/nomad/issues/2848)] 373 * client: Use a random host UUID by default [[GH-2735](https://github.com/hashicorp/nomad/issues/2735)] 374 * client: Add `NOMAD_GROUP_NAME` environment variable [[GH-2877](https://github.com/hashicorp/nomad/issues/2877)] 375 * client: Environment variables for client DC and Region [[GH-2507](https://github.com/hashicorp/nomad/issues/2507)] 376 * client: Hash host ID so its stable and well distributed [[GH-2541](https://github.com/hashicorp/nomad/issues/2541)] 377 * client: GC dead allocs if total allocs > `gc_max_allocs` tunable [[GH-2636](https://github.com/hashicorp/nomad/issues/2636)] 378 * client: Persist state using bolt-db and more efficient write patterns 379 [[GH-2610](https://github.com/hashicorp/nomad/issues/2610)] 380 * client: Fingerprint all routable addresses on an interface including IPv6 381 addresses [[GH-2536](https://github.com/hashicorp/nomad/issues/2536)] 382 * client/artifact: Support .xz archives [[GH-2836](https://github.com/hashicorp/nomad/issues/2836)] 383 * client/artifact: Allow specifying a go-getter mode [[GH-2781](https://github.com/hashicorp/nomad/issues/2781)] 384 * client/artifact: Support non-Amazon S3-compatible sources [[GH-2781](https://github.com/hashicorp/nomad/issues/2781)] 385 * client/template: Support reading env vars from templates [[GH-2654](https://github.com/hashicorp/nomad/issues/2654)] 386 * config: Support Unix socket addresses for Consul [[GH-2622](https://github.com/hashicorp/nomad/issues/2622)] 387 * discovery: Advertise driver-specified IP address and port [[GH-2709](https://github.com/hashicorp/nomad/issues/2709)] 388 * discovery: Support `tls_skip_verify` for Consul HTTPS checks [[GH-2467](https://github.com/hashicorp/nomad/issues/2467)] 389 * driver/docker: Allow specifying extra hosts [[GH-2547](https://github.com/hashicorp/nomad/issues/2547)] 390 * driver/docker: Allow setting seccomp profiles [[GH-2658](https://github.com/hashicorp/nomad/issues/2658)] 391 * driver/docker: Support Docker credential helpers [[GH-2651](https://github.com/hashicorp/nomad/issues/2651)] 392 * driver/docker: Auth failures can optionally be ignored [[GH-2786](https://github.com/hashicorp/nomad/issues/2786)] 393 * driver/docker: Add `driver.docker.bridge_ip` node attribute [[GH-2797](https://github.com/hashicorp/nomad/issues/2797)] 394 * driver/docker: Allow setting container IP with user defined networks 395 [[GH-2535](https://github.com/hashicorp/nomad/issues/2535)] 396 * driver/rkt: Support `no_overlay` [[GH-2702](https://github.com/hashicorp/nomad/issues/2702)] 397 * driver/rkt: Support `insecure_options` list [[GH-2695](https://github.com/hashicorp/nomad/issues/2695)] 398 * server: Allow tuning of node heartbeat TTLs [[GH-2859](https://github.com/hashicorp/nomad/issues/2859)] 399 * server/networking: Shrink dynamic port range to not overlap with majority of 400 operating system's ephemeral port ranges to avoid port conflicts [[GH-2856](https://github.com/hashicorp/nomad/issues/2856)] 401 402 BUG FIXES: 403 * core: Protect against nil job in new allocation, avoiding panic [[GH-2592](https://github.com/hashicorp/nomad/issues/2592)] 404 * core: System jobs should be running until explicitly stopped [[GH-2750](https://github.com/hashicorp/nomad/issues/2750)] 405 * core: Prevent invalid job updates (eg service -> batch) [[GH-2746](https://github.com/hashicorp/nomad/issues/2746)] 406 * client: Lookup `ip` utility on `$PATH` [[GH-2729](https://github.com/hashicorp/nomad/issues/2729)] 407 * client: Add sticky bit to temp directory [[GH-2519](https://github.com/hashicorp/nomad/issues/2519)] 408 * client: Shutdown task group leader before other tasks [[GH-2753](https://github.com/hashicorp/nomad/issues/2753)] 409 * client: Include symlinks in snapshots when migrating disks [[GH-2687](https://github.com/hashicorp/nomad/issues/2687)] 410 * client: Regression for allocation directory unix perms introduced in v0.5.6 411 fixed [[GH-2675](https://github.com/hashicorp/nomad/issues/2675)] 412 * client: Client syncs allocation state with server before waiting for 413 allocation destroy fixing a corner case in which an allocation may be blocked 414 till destroy [[GH-2563](https://github.com/hashicorp/nomad/issues/2563)] 415 * client: Improved state file handling and reduced write volume [[GH-2878](https://github.com/hashicorp/nomad/issues/2878)] 416 * client/artifact: Honor netrc [[GH-2524](https://github.com/hashicorp/nomad/issues/2524)] 417 * client/artifact: Handle tars where file in directory is listed before 418 directory [[GH-2524](https://github.com/hashicorp/nomad/issues/2524)] 419 * client/config: Use `cpu_total_compute` whenever it is set [[GH-2745](https://github.com/hashicorp/nomad/issues/2745)] 420 * client/config: Respect `vault.tls_server_name` setting in consul-template 421 [[GH-2793](https://github.com/hashicorp/nomad/issues/2793)] 422 * driver/exec: Properly set file/dir ownership in chroots [[GH-2552](https://github.com/hashicorp/nomad/issues/2552)] 423 * driver/docker: Fix panic in Docker driver on Windows [[GH-2614](https://github.com/hashicorp/nomad/issues/2614)] 424 * driver/rkt: Fix env var interpolation [[GH-2777](https://github.com/hashicorp/nomad/issues/2777)] 425 * jobspec/validation: Prevent static port conflicts [[GH-2807](https://github.com/hashicorp/nomad/issues/2807)] 426 * server: Reject non-TLS clients when TLS enabled [[GH-2525](https://github.com/hashicorp/nomad/issues/2525)] 427 * server: Fix a panic in plan evaluation with partial failures and all_at_once 428 set [[GH-2544](https://github.com/hashicorp/nomad/issues/2544)] 429 * server/periodic: Restoring periodic jobs takes launch time zone into 430 consideration [[GH-2808](https://github.com/hashicorp/nomad/issues/2808)] 431 * server/vault: Fix Vault Client panic when given nonexistent role [[GH-2648](https://github.com/hashicorp/nomad/issues/2648)] 432 * telemetry: Fix merging of use node name [[GH-2762](https://github.com/hashicorp/nomad/issues/2762)] 433 434 ## 0.5.6 (March 31, 2017) 435 436 IMPROVEMENTS: 437 * api: Improve log API error when task doesn't exist or hasn't started 438 [[GH-2512](https://github.com/hashicorp/nomad/issues/2512)] 439 * client: Improve error message when artifact downloading fails [[GH-2289](https://github.com/hashicorp/nomad/issues/2289)] 440 * client: Track task start/finish time [[GH-2512](https://github.com/hashicorp/nomad/issues/2512)] 441 * client/template: Access Node meta and attributes in template [[GH-2488](https://github.com/hashicorp/nomad/issues/2488)] 442 443 BUG FIXES: 444 * core: Fix periodic job state switching to dead incorrectly [[GH-2486](https://github.com/hashicorp/nomad/issues/2486)] 445 * core: Fix dispatch of periodic job launching allocations immediately 446 [[GH-2489](https://github.com/hashicorp/nomad/issues/2489)] 447 * api: Fix TLS in logs and fs commands/APIs [[GH-2290](https://github.com/hashicorp/nomad/issues/2290)] 448 * cli/plan: Fix diff alignment and remove no change DC output [[GH-2465](https://github.com/hashicorp/nomad/issues/2465)] 449 * client: Fix panic when restarting non-running tasks [[GH-2480](https://github.com/hashicorp/nomad/issues/2480)] 450 * client: Fix env vars when multiple tasks and ports present [[GH-2491](https://github.com/hashicorp/nomad/issues/2491)] 451 * client: Fix `user` attribute disregarding membership of non-main group 452 [[GH-2461](https://github.com/hashicorp/nomad/issues/2461)] 453 * client/vault: Stop Vault token renewal on task exit [[GH-2495](https://github.com/hashicorp/nomad/issues/2495)] 454 * driver/docker: Proper reference counting through task restarts [[GH-2484](https://github.com/hashicorp/nomad/issues/2484)] 455 456 ## 0.5.5 (March 14, 2017) 457 458 __BACKWARDS INCOMPATIBILITIES:__ 459 * api: The api package definition of a Job has changed from exposing 460 primitives to pointers to primitives to allow defaulting of unset fields. 461 * driver/docker: The `load` configuration took an array of paths to images 462 prior to this release. A single image is expected by the driver so this 463 behavior has been changed to take a single path as a string. Jobs using the 464 `load` command should update the syntax to a single string. [[GH-2361](https://github.com/hashicorp/nomad/issues/2361)] 465 466 IMPROVEMENTS: 467 * core: Handle Serf Reap event [[GH-2310](https://github.com/hashicorp/nomad/issues/2310)] 468 * core: Update Serf and Memberlist for more reliable gossip [[GH-2255](https://github.com/hashicorp/nomad/issues/2255)] 469 * api: API defaults missing values [[GH-2300](https://github.com/hashicorp/nomad/issues/2300)] 470 * api: Validate the restart policy interval [[GH-2311](https://github.com/hashicorp/nomad/issues/2311)] 471 * api: New task event for task environment setup [[GH-2302](https://github.com/hashicorp/nomad/issues/2302)] 472 * api/cli: Add nomad operator command and API for interacting with Raft 473 configuration [[GH-2305](https://github.com/hashicorp/nomad/issues/2305)] 474 * cli: node-status displays enabled drivers on the node [[GH-2349](https://github.com/hashicorp/nomad/issues/2349)] 475 * client: Apply GC related configurations properly [[GH-2273](https://github.com/hashicorp/nomad/issues/2273)] 476 * client: Don't force uppercase meta keys in env vars [[GH-2338](https://github.com/hashicorp/nomad/issues/2338)] 477 * client: Limit parallelism during garbage collection [[GH-2427](https://github.com/hashicorp/nomad/issues/2427)] 478 * client: Don't exec `uname -r` for node attribute kernel.version [[GH-2380](https://github.com/hashicorp/nomad/issues/2380)] 479 * client: Artifact support for git and hg as well as netrc support [[GH-2386](https://github.com/hashicorp/nomad/issues/2386)] 480 * client: Add metrics to show number of allocations on in each state [[GH-2425](https://github.com/hashicorp/nomad/issues/2425)] 481 * client: Add `NOMAD_{IP,PORT}_<task>_<label>` environment variables [[GH-2426](https://github.com/hashicorp/nomad/issues/2426)] 482 * client: Allow specification of `cpu_total_compute` to override fingerprinter 483 [[GH-2447](https://github.com/hashicorp/nomad/issues/2447)] 484 * client: Reproducible Node ID on OSes that provide system-level UUID 485 [[GH-2277](https://github.com/hashicorp/nomad/issues/2277)] 486 * driver/docker: Add support for volume drivers [[GH-2351](https://github.com/hashicorp/nomad/issues/2351)] 487 * driver/docker: Docker image coordinator and caching [[GH-2361](https://github.com/hashicorp/nomad/issues/2361)] 488 * jobspec: Add leader task to allow graceful shutdown of other tasks within 489 the task group [[GH-2308](https://github.com/hashicorp/nomad/issues/2308)] 490 * periodic: Allow specification of timezones in Periodic Jobs [[GH-2321](https://github.com/hashicorp/nomad/issues/2321)] 491 * scheduler: New `distinct_property` constraint [[GH-2418](https://github.com/hashicorp/nomad/issues/2418)] 492 * server: Allow specification of eval/job gc threshold [[GH-2370](https://github.com/hashicorp/nomad/issues/2370)] 493 * server/vault: Vault Client on Server handles SIGHUP to reload configs 494 [[GH-2270](https://github.com/hashicorp/nomad/issues/2270)] 495 * telemetry: Clients report allocated/unallocated resources [[GH-2327](https://github.com/hashicorp/nomad/issues/2327)] 496 * template: Allow specification of template delimiters [[GH-2315](https://github.com/hashicorp/nomad/issues/2315)] 497 * template: Permissions can be set on template destination file [[GH-2262](https://github.com/hashicorp/nomad/issues/2262)] 498 * vault: Server side Vault telemetry [[GH-2318](https://github.com/hashicorp/nomad/issues/2318)] 499 * vault: Disallow root policy from being specified [[GH-2309](https://github.com/hashicorp/nomad/issues/2309)] 500 501 BUG FIXES: 502 * core: Handle periodic parameterized jobs [[GH-2385](https://github.com/hashicorp/nomad/issues/2385)] 503 * core: Improve garbage collection of stopped batch jobs [[GH-2432](https://github.com/hashicorp/nomad/issues/2432)] 504 * api: Fix escaping of HTML characters [[GH-2322](https://github.com/hashicorp/nomad/issues/2322)] 505 * cli: Display disk resources in alloc-status [[GH-2404](https://github.com/hashicorp/nomad/issues/2404)] 506 * client: Drivers log during fingerprinting [[GH-2337](https://github.com/hashicorp/nomad/issues/2337)] 507 * client: Fix race condition with deriving vault tokens [[GH-2275](https://github.com/hashicorp/nomad/issues/2275)] 508 * 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)] 509 * client: Replace `-` with `_` in environment variable names [[GH-2406](https://github.com/hashicorp/nomad/issues/2406)] 510 * client: Fix panic and deadlock during client restore state when prestart 511 fails [[GH-2376](https://github.com/hashicorp/nomad/issues/2376)] 512 * config: Fix Consul Config Merging/Copying [[GH-2278](https://github.com/hashicorp/nomad/issues/2278)] 513 * config: Fix Client reserved resource merging panic [[GH-2281](https://github.com/hashicorp/nomad/issues/2281)] 514 * server: Fix panic when forwarding Vault derivation requests from non-leader 515 servers [[GH-2267](https://github.com/hashicorp/nomad/issues/2267)] 516 517 ## 0.5.4 (January 31, 2017) 518 519 IMPROVEMENTS: 520 * client: Made the GC related tunables configurable via client configuration 521 [[GH-2261](https://github.com/hashicorp/nomad/issues/2261)] 522 523 BUG FIXES: 524 * client: Fix panic when upgrading to 0.5.3 [[GH-2256](https://github.com/hashicorp/nomad/issues/2256)] 525 526 ## 0.5.3 (January 30, 2017) 527 528 IMPROVEMENTS: 529 * core: Introduce parameterized jobs and dispatch command/API [[GH-2128](https://github.com/hashicorp/nomad/issues/2128)] 530 * core: Cancel blocked evals upon successful one for job [[GH-2155](https://github.com/hashicorp/nomad/issues/2155)] 531 * api: Added APIs for requesting GC of allocations [[GH-2192](https://github.com/hashicorp/nomad/issues/2192)] 532 * api: Job summary endpoint includes summary status for child jobs [[GH-2128](https://github.com/hashicorp/nomad/issues/2128)] 533 * api/client: Plain text log streaming suitable for viewing logs in a browser 534 [[GH-2235](https://github.com/hashicorp/nomad/issues/2235)] 535 * cli: Defaulting to showing allocations which belong to currently registered 536 job [[GH-2032](https://github.com/hashicorp/nomad/issues/2032)] 537 * client: Garbage collect Allocation Runners to free up disk resources 538 [[GH-2081](https://github.com/hashicorp/nomad/issues/2081)] 539 * client: Don't retrieve Driver Stats if unsupported [[GH-2173](https://github.com/hashicorp/nomad/issues/2173)] 540 * client: Filter log lines in the executor based on client's log level 541 [[GH-2172](https://github.com/hashicorp/nomad/issues/2172)] 542 * client: Added environment variables to discover addresses of sibling tasks 543 in an allocation [[GH-2223](https://github.com/hashicorp/nomad/issues/2223)] 544 * discovery: Register service with duplicate names on different ports [[GH-2208](https://github.com/hashicorp/nomad/issues/2208)] 545 * driver/docker: Add support for network aliases [[GH-1980](https://github.com/hashicorp/nomad/issues/1980)] 546 * driver/docker: Add `force_pull` option to force downloading an image [[GH-2147](https://github.com/hashicorp/nomad/issues/2147)] 547 * driver/docker: Retry when image is not found while creating a container 548 [[GH-2222](https://github.com/hashicorp/nomad/issues/2222)] 549 * driver/java: Support setting class_path and class name. [[GH-2199](https://github.com/hashicorp/nomad/issues/2199)] 550 * telemetry: Prefix gauge values with node name instead of hostname [[GH-2098](https://github.com/hashicorp/nomad/issues/2098)] 551 * template: The template block supports keyOrDefault [[GH-2209](https://github.com/hashicorp/nomad/issues/2209)] 552 * template: The template block can now interpolate Nomad environment variables 553 [[GH-2209](https://github.com/hashicorp/nomad/issues/2209)] 554 * vault: Improve validation of the Vault token given to Nomad servers 555 [[GH-2226](https://github.com/hashicorp/nomad/issues/2226)] 556 * vault: Support setting the Vault role to derive tokens from with 557 `create_from_role` setting [[GH-2226](https://github.com/hashicorp/nomad/issues/2226)] 558 559 BUG FIXES: 560 * client: Fixed namespacing for the cpu arch attribute [[GH-2161](https://github.com/hashicorp/nomad/issues/2161)] 561 * client: Fix issue where allocations weren't pulled for several minutes. This 562 manifested as slow starts, delayed kills, etc [[GH-2177](https://github.com/hashicorp/nomad/issues/2177)] 563 * client: Fix a panic that would occur with a racy alloc migration 564 cancellation [[GH-2231](https://github.com/hashicorp/nomad/issues/2231)] 565 * config: Fix merging of Consul options which caused auto_advertise to be 566 ignored [[GH-2159](https://github.com/hashicorp/nomad/issues/2159)] 567 * driver: Fix image based drivers (eg docker) having host env vars set [[GH-2211](https://github.com/hashicorp/nomad/issues/2211)] 568 * driver/docker: Fix Docker auth/logging interpolation [GH-2063, GH-2130] 569 * driver/docker: Fix parsing of Docker Auth Configurations. New parsing is 570 in-line with Docker itself. Also log debug message if auth lookup failed 571 [[GH-2190](https://github.com/hashicorp/nomad/issues/2190)] 572 * template: Fix splay being used as a wait and instead randomize the delay 573 from 0 seconds to splay duration [[GH-2227](https://github.com/hashicorp/nomad/issues/2227)] 574 575 ## 0.5.2 (December 23, 2016) 576 577 BUG FIXES: 578 * client: Fixed a race condition and remove panic when handling duplicate 579 allocations [[GH-2096](https://github.com/hashicorp/nomad/issues/2096)] 580 * client: Cancel wait for remote allocation if migration is no longer required 581 [[GH-2097](https://github.com/hashicorp/nomad/issues/2097)] 582 * client: Failure to stat a single mountpoint does not cause all of host 583 resource usage collection to fail [[GH-2090](https://github.com/hashicorp/nomad/issues/2090)] 584 585 ## 0.5.1 (December 12, 2016) 586 587 IMPROVEMENTS: 588 * driver/rkt: Support rkt's `--dns=host` and `--dns=none` options [[GH-2028](https://github.com/hashicorp/nomad/issues/2028)] 589 590 BUG FIXES: 591 * agent/config: Fix use of IPv6 addresses [[GH-2036](https://github.com/hashicorp/nomad/issues/2036)] 592 * api: Fix file descriptor leak and high CPU usage when using the logs 593 endpoint [[GH-2079](https://github.com/hashicorp/nomad/issues/2079)] 594 * cli: Improve parsing error when a job without a name is specified [[GH-2030](https://github.com/hashicorp/nomad/issues/2030)] 595 * client: Fixed permissions of migrated allocation directory [[GH-2061](https://github.com/hashicorp/nomad/issues/2061)] 596 * client: Ensuring allocations are not blocked more than once [[GH-2040](https://github.com/hashicorp/nomad/issues/2040)] 597 * client: Fix race on StreamFramer Destroy which would cause a panic [[GH-2007](https://github.com/hashicorp/nomad/issues/2007)] 598 * client: Not migrating allocation directories on the same client if sticky is 599 turned off [[GH-2017](https://github.com/hashicorp/nomad/issues/2017)] 600 * client/vault: Fix issue in which deriving a Vault token would fail with 601 allocation does not exist due to stale queries [[GH-2050](https://github.com/hashicorp/nomad/issues/2050)] 602 * driver/docker: Make container exist errors non-retriable by task runner 603 [[GH-2033](https://github.com/hashicorp/nomad/issues/2033)] 604 * driver/docker: Fixed an issue related to purging containers with same name 605 as Nomad is trying to start [[GH-2037](https://github.com/hashicorp/nomad/issues/2037)] 606 * driver/rkt: Fix validation of rkt volumes [[GH-2027](https://github.com/hashicorp/nomad/issues/2027)] 607 608 ## 0.5.0 (November 16, 2016) 609 610 __BACKWARDS INCOMPATIBILITIES:__ 611 * jobspec: Extracted the disk resources from the task to the task group. The 612 new block is name `ephemeral_disk`. Nomad will automatically convert 613 existing jobs but newly submitted jobs should refactor the disk resource 614 [GH-1710, GH-1679] 615 * agent/config: `network_speed` is now an override and not a default value. If 616 the network link speed is not detected a default value is applied. 617 618 IMPROVEMENTS: 619 * core: Support for gossip encryption [[GH-1791](https://github.com/hashicorp/nomad/issues/1791)] 620 * core: Vault integration to handle secure introduction of tasks [GH-1583, 621 GH-1713] 622 * core: New `set_contains` constraint to determine if a set contains all 623 specified values [[GH-1839](https://github.com/hashicorp/nomad/issues/1839)] 624 * core: Scheduler version enforcement disallows different scheduler version 625 from making decisions simultaneously [[GH-1872](https://github.com/hashicorp/nomad/issues/1872)] 626 * core: Introduce node SecretID which can be used to minimize the available 627 surface area of RPCs to malicious Nomad Clients [[GH-1597](https://github.com/hashicorp/nomad/issues/1597)] 628 * core: Add `sticky` volumes which inform the scheduler to prefer placing 629 updated allocations on the same node and to reuse the `local/` and 630 `alloc/data` directory from previous allocation allowing semi-persistent 631 data and allow those folders to be synced from a remote node [GH-1654, 632 GH-1741] 633 * agent: Add DataDog telemetry sync [[GH-1816](https://github.com/hashicorp/nomad/issues/1816)] 634 * agent: Allow Consul health checks to use bind address rather than advertise 635 [[GH-1866](https://github.com/hashicorp/nomad/issues/1866)] 636 * agent/config: Advertise addresses do not need to specify a port [[GH-1902](https://github.com/hashicorp/nomad/issues/1902)] 637 * agent/config: Bind address defaults to 0.0.0.0 and Advertise defaults to 638 hostname [[GH-1955](https://github.com/hashicorp/nomad/issues/1955)] 639 * api: Support TLS for encrypting Raft, RPC and HTTP APIs [[GH-1853](https://github.com/hashicorp/nomad/issues/1853)] 640 * api: Implement blocking queries for querying a job's evaluations [[GH-1892](https://github.com/hashicorp/nomad/issues/1892)] 641 * cli: `nomad alloc-status` shows allocation creation time [[GH-1623](https://github.com/hashicorp/nomad/issues/1623)] 642 * cli: `nomad node-status` shows node metadata in verbose mode [[GH-1841](https://github.com/hashicorp/nomad/issues/1841)] 643 * client: Failed RPCs are retried on all servers [[GH-1735](https://github.com/hashicorp/nomad/issues/1735)] 644 * client: Fingerprint and driver blacklist support [[GH-1949](https://github.com/hashicorp/nomad/issues/1949)] 645 * client: Introduce a `secrets/` directory to tasks where sensitive data can 646 be written [[GH-1681](https://github.com/hashicorp/nomad/issues/1681)] 647 * client/jobspec: Add support for templates that can render static files, 648 dynamic content from Consul and secrets from Vault [[GH-1783](https://github.com/hashicorp/nomad/issues/1783)] 649 * driver: Export `NOMAD_JOB_NAME` environment variable [[GH-1804](https://github.com/hashicorp/nomad/issues/1804)] 650 * driver/docker: Docker For Mac support [[GH-1806](https://github.com/hashicorp/nomad/issues/1806)] 651 * driver/docker: Support Docker volumes [[GH-1767](https://github.com/hashicorp/nomad/issues/1767)] 652 * driver/docker: Allow Docker logging to be configured [[GH-1767](https://github.com/hashicorp/nomad/issues/1767)] 653 * driver/docker: Add `userns_mode` (`--userns`) support [[GH-1940](https://github.com/hashicorp/nomad/issues/1940)] 654 * driver/lxc: Support for LXC containers [[GH-1699](https://github.com/hashicorp/nomad/issues/1699)] 655 * driver/rkt: Support network configurations [[GH-1862](https://github.com/hashicorp/nomad/issues/1862)] 656 * driver/rkt: Support rkt volumes (rkt >= 1.0.0 required) [[GH-1812](https://github.com/hashicorp/nomad/issues/1812)] 657 * server/rpc: Added an RPC endpoint for retrieving server members [[GH-1947](https://github.com/hashicorp/nomad/issues/1947)] 658 659 BUG FIXES: 660 * core: Fix case where dead nodes were not properly handled by System 661 scheduler [[GH-1715](https://github.com/hashicorp/nomad/issues/1715)] 662 * agent: Handle the SIGPIPE signal preventing panics on journalctl restarts 663 [[GH-1802](https://github.com/hashicorp/nomad/issues/1802)] 664 * api: Disallow filesystem APIs to read paths that escape the allocation 665 directory [[GH-1786](https://github.com/hashicorp/nomad/issues/1786)] 666 * cli: `nomad run` failed to run on Windows [[GH-1690](https://github.com/hashicorp/nomad/issues/1690)] 667 * cli: `alloc-status` and `node-status` work without access to task stats 668 [[GH-1660](https://github.com/hashicorp/nomad/issues/1660)] 669 * cli: `alloc-status` does not query for allocation statistics if node is down 670 [[GH-1844](https://github.com/hashicorp/nomad/issues/1844)] 671 * client: Prevent race when persisting state file [[GH-1682](https://github.com/hashicorp/nomad/issues/1682)] 672 * client: Retry recoverable errors when starting a driver [[GH-1891](https://github.com/hashicorp/nomad/issues/1891)] 673 * client: Do not validate the command does not contain spaces [[GH-1974](https://github.com/hashicorp/nomad/issues/1974)] 674 * client: Fix old services not getting removed from consul on update [[GH-1668](https://github.com/hashicorp/nomad/issues/1668)] 675 * client: Preserve permissions of nested directories while chrooting [[GH-1960](https://github.com/hashicorp/nomad/issues/1960)] 676 * client: Folder permissions are dropped even when not running as root [[GH-1888](https://github.com/hashicorp/nomad/issues/1888)] 677 * client: Artifact download failures will be retried before failing tasks 678 [[GH-1558](https://github.com/hashicorp/nomad/issues/1558)] 679 * client: Fix a memory leak in the executor that caused failed allocations 680 [[GH-1762](https://github.com/hashicorp/nomad/issues/1762)] 681 * client: Fix a crash related to stats publishing when driver hasn't started 682 yet [[GH-1723](https://github.com/hashicorp/nomad/issues/1723)] 683 * client: Chroot environment is only created once, avoid potential filesystem 684 errors [[GH-1753](https://github.com/hashicorp/nomad/issues/1753)] 685 * client: Failures to download an artifact are retried according to restart 686 policy before failing the allocation [[GH-1653](https://github.com/hashicorp/nomad/issues/1653)] 687 * client/executor: Prevent race when updating a job configuration with the 688 logger [[GH-1886](https://github.com/hashicorp/nomad/issues/1886)] 689 * client/fingerprint: Fix inconsistent CPU MHz fingerprinting [[GH-1366](https://github.com/hashicorp/nomad/issues/1366)] 690 * env/aws: Fix an issue with reserved ports causing placement failures 691 [[GH-1617](https://github.com/hashicorp/nomad/issues/1617)] 692 * discovery: Interpolate all service and check fields [[GH-1966](https://github.com/hashicorp/nomad/issues/1966)] 693 * discovery: Fix old services not getting removed from Consul on update 694 [[GH-1668](https://github.com/hashicorp/nomad/issues/1668)] 695 * discovery: Fix HTTP timeout with Server HTTP health check when there is no 696 leader [[GH-1656](https://github.com/hashicorp/nomad/issues/1656)] 697 * discovery: Fix client flapping when server is in a different datacenter as 698 the client [[GH-1641](https://github.com/hashicorp/nomad/issues/1641)] 699 * discovery/jobspec: Validate service name after interpolation [[GH-1852](https://github.com/hashicorp/nomad/issues/1852)] 700 * driver/docker: Fix `local/` directory mount into container [[GH-1830](https://github.com/hashicorp/nomad/issues/1830)] 701 * driver/docker: Interpolate all string configuration variables [[GH-1965](https://github.com/hashicorp/nomad/issues/1965)] 702 * jobspec: Tasks without a resource block no longer fail to validate [[GH-1864](https://github.com/hashicorp/nomad/issues/1864)] 703 * jobspec: Update HCL to fix panic in JSON parsing [[GH-1754](https://github.com/hashicorp/nomad/issues/1754)] 704 705 ## 0.4.1 (August 18, 2016) 706 707 __BACKWARDS INCOMPATIBILITIES:__ 708 * telemetry: Operators will have to explicitly opt-in for Nomad client to 709 publish allocation and node metrics 710 711 IMPROVEMENTS: 712 * core: Allow count 0 on system jobs [[GH-1421](https://github.com/hashicorp/nomad/issues/1421)] 713 * core: Summarize the current status of registered jobs. [GH-1383, GH-1517] 714 * core: Gracefully handle short lived outages by holding RPC calls [[GH-1403](https://github.com/hashicorp/nomad/issues/1403)] 715 * core: Introduce a lost state for allocations that were on Nodes that died 716 [[GH-1516](https://github.com/hashicorp/nomad/issues/1516)] 717 * api: client Logs endpoint for streaming task logs [[GH-1444](https://github.com/hashicorp/nomad/issues/1444)] 718 * api/cli: Support for tailing/streaming files [GH-1404, GH-1420] 719 * api/server: Support for querying job summaries [[GH-1455](https://github.com/hashicorp/nomad/issues/1455)] 720 * cli: `nomad logs` command for streaming task logs [[GH-1444](https://github.com/hashicorp/nomad/issues/1444)] 721 * cli: `nomad status` shows the create time of allocations [[GH-1540](https://github.com/hashicorp/nomad/issues/1540)] 722 * cli: `nomad plan` exit code indicates if changes will occur [[GH-1502](https://github.com/hashicorp/nomad/issues/1502)] 723 * cli: status commands support JSON output and go template formating [[GH-1503](https://github.com/hashicorp/nomad/issues/1503)] 724 * cli: Validate and plan command supports reading from stdin [GH-1460, 725 GH-1458] 726 * cli: Allow basic authentication through address and environment variable 727 [[GH-1610](https://github.com/hashicorp/nomad/issues/1610)] 728 * cli: `nomad node-status` shows volume name for non-physical volumes instead 729 of showing 0B used [[GH-1538](https://github.com/hashicorp/nomad/issues/1538)] 730 * cli: Support retrieving job files using go-getter in the `run`, `plan` and 731 `validate` command [[GH-1511](https://github.com/hashicorp/nomad/issues/1511)] 732 * client: Add killing event to task state [[GH-1457](https://github.com/hashicorp/nomad/issues/1457)] 733 * client: Fingerprint network speed on Windows [[GH-1443](https://github.com/hashicorp/nomad/issues/1443)] 734 * discovery: Support for initial check status [[GH-1599](https://github.com/hashicorp/nomad/issues/1599)] 735 * discovery: Support for query params in health check urls [[GH-1562](https://github.com/hashicorp/nomad/issues/1562)] 736 * driver/docker: Allow working directory to be configured [[GH-1513](https://github.com/hashicorp/nomad/issues/1513)] 737 * driver/docker: Remove docker volumes when removing container [[GH-1519](https://github.com/hashicorp/nomad/issues/1519)] 738 * driver/docker: Set windows containers network mode to nat by default 739 [[GH-1521](https://github.com/hashicorp/nomad/issues/1521)] 740 * driver/exec: Allow chroot environment to be configurable [[GH-1518](https://github.com/hashicorp/nomad/issues/1518)] 741 * driver/qemu: Allows users to pass extra args to the qemu driver [[GH-1596](https://github.com/hashicorp/nomad/issues/1596)] 742 * telemetry: Circonus integration for telemetry metrics [[GH-1459](https://github.com/hashicorp/nomad/issues/1459)] 743 * telemetry: Allow operators to opt-in for publishing metrics [[GH-1501](https://github.com/hashicorp/nomad/issues/1501)] 744 745 BUG FIXES: 746 * agent: Reload agent configuration on SIGHUP [[GH-1566](https://github.com/hashicorp/nomad/issues/1566)] 747 * core: Sanitize empty slices/maps in jobs to avoid incorrect create/destroy 748 updates [[GH-1434](https://github.com/hashicorp/nomad/issues/1434)] 749 * core: Fix race in which a Node registers and doesn't receive system jobs 750 [[GH-1456](https://github.com/hashicorp/nomad/issues/1456)] 751 * core: Fix issue in which Nodes with large amount of reserved ports would 752 cause dynamic port allocations to fail [[GH-1526](https://github.com/hashicorp/nomad/issues/1526)] 753 * core: Fix a condition in which old batch allocations could get updated even 754 after terminal. In a rare case this could cause a server panic [[GH-1471](https://github.com/hashicorp/nomad/issues/1471)] 755 * core: Do not update the Job attached to Allocations that have been marked 756 terminal [[GH-1508](https://github.com/hashicorp/nomad/issues/1508)] 757 * agent: Fix advertise address when using IPv6 [[GH-1465](https://github.com/hashicorp/nomad/issues/1465)] 758 * cli: Fix node-status when using IPv6 advertise address [[GH-1465](https://github.com/hashicorp/nomad/issues/1465)] 759 * client: Merging telemetry configuration properly [[GH-1670](https://github.com/hashicorp/nomad/issues/1670)] 760 * client: Task start errors adhere to restart policy mode [[GH-1405](https://github.com/hashicorp/nomad/issues/1405)] 761 * client: Reregister with servers if node is unregistered [[GH-1593](https://github.com/hashicorp/nomad/issues/1593)] 762 * client: Killing an allocation doesn't cause allocation stats to block 763 [[GH-1454](https://github.com/hashicorp/nomad/issues/1454)] 764 * driver/docker: Disable swap on docker driver [[GH-1480](https://github.com/hashicorp/nomad/issues/1480)] 765 * driver/docker: Fix improper gating on privileged mode [[GH-1506](https://github.com/hashicorp/nomad/issues/1506)] 766 * driver/docker: Default network type is "nat" on Windows [[GH-1521](https://github.com/hashicorp/nomad/issues/1521)] 767 * driver/docker: Cleanup created volume when destroying container [[GH-1519](https://github.com/hashicorp/nomad/issues/1519)] 768 * driver/rkt: Set host environment variables [[GH-1581](https://github.com/hashicorp/nomad/issues/1581)] 769 * driver/rkt: Validate the command and trust_prefix configs [[GH-1493](https://github.com/hashicorp/nomad/issues/1493)] 770 * plan: Plan on system jobs discounts nodes that do not meet required 771 constraints [[GH-1568](https://github.com/hashicorp/nomad/issues/1568)] 772 773 ## 0.4.0 (June 28, 2016) 774 775 __BACKWARDS INCOMPATIBILITIES:__ 776 * api: Tasks are no longer allowed to have slashes in their name [[GH-1210](https://github.com/hashicorp/nomad/issues/1210)] 777 * cli: Remove the eval-monitor command. Users should switch to `nomad 778 eval-status -monitor`. 779 * config: Consul configuration has been moved from client options map to 780 consul block under client configuration 781 * driver/docker: Enabled SSL by default for pulling images from docker 782 registries. [[GH-1336](https://github.com/hashicorp/nomad/issues/1336)] 783 784 IMPROVEMENTS: 785 * core: Scheduler reuses blocked evaluations to avoid unbounded creation of 786 evaluations under high contention [[GH-1199](https://github.com/hashicorp/nomad/issues/1199)] 787 * core: Scheduler stores placement failures in evaluations, no longer 788 generating failed allocations for debug information [[GH-1188](https://github.com/hashicorp/nomad/issues/1188)] 789 * api: Faster JSON response encoding [[GH-1182](https://github.com/hashicorp/nomad/issues/1182)] 790 * api: Gzip compress HTTP API requests [[GH-1203](https://github.com/hashicorp/nomad/issues/1203)] 791 * api: Plan api introduced for the Job endpoint [[GH-1168](https://github.com/hashicorp/nomad/issues/1168)] 792 * api: Job endpoint can enforce Job Modify Index to ensure job is being 793 modified from a known state [[GH-1243](https://github.com/hashicorp/nomad/issues/1243)] 794 * api/client: Add resource usage APIs for retrieving tasks/allocations/host 795 resource usage [[GH-1189](https://github.com/hashicorp/nomad/issues/1189)] 796 * cli: Faster when displaying large amounts outputs [[GH-1362](https://github.com/hashicorp/nomad/issues/1362)] 797 * cli: Deprecate `eval-monitor` and introduce `eval-status` [[GH-1206](https://github.com/hashicorp/nomad/issues/1206)] 798 * cli: Unify the `fs` family of commands to be a single command [[GH-1150](https://github.com/hashicorp/nomad/issues/1150)] 799 * cli: Introduce `nomad plan` to dry-run a job through the scheduler and 800 determine its effects [[GH-1181](https://github.com/hashicorp/nomad/issues/1181)] 801 * cli: node-status command displays host resource usage and allocation 802 resources [[GH-1261](https://github.com/hashicorp/nomad/issues/1261)] 803 * cli: Region flag and environment variable introduced to set region 804 forwarding. Automatic region forwarding for run and plan [[GH-1237](https://github.com/hashicorp/nomad/issues/1237)] 805 * client: If Consul is available, automatically bootstrap Nomad Client 806 using the `_nomad` service in Consul. Nomad Servers now register 807 themselves with Consul to make this possible. [[GH-1201](https://github.com/hashicorp/nomad/issues/1201)] 808 * drivers: Qemu and Java can be run without an artifact being download. Useful 809 if the artifact exists inside a chrooted directory [[GH-1262](https://github.com/hashicorp/nomad/issues/1262)] 810 * driver/docker: Added a client options to set SELinux labels for container 811 bind mounts. [[GH-788](https://github.com/hashicorp/nomad/issues/788)] 812 * driver/docker: Enabled SSL by default for pulling images from docker 813 registries. [[GH-1336](https://github.com/hashicorp/nomad/issues/1336)] 814 * server: If Consul is available, automatically bootstrap Nomad Servers 815 using the `_nomad` service in Consul. [[GH-1276](https://github.com/hashicorp/nomad/issues/1276)] 816 817 BUG FIXES: 818 * core: Improve garbage collection of allocations and nodes [[GH-1256](https://github.com/hashicorp/nomad/issues/1256)] 819 * core: Fix a potential deadlock if establishing leadership fails and is 820 retried [[GH-1231](https://github.com/hashicorp/nomad/issues/1231)] 821 * core: Do not restart successful batch jobs when the node is removed/drained 822 [[GH-1205](https://github.com/hashicorp/nomad/issues/1205)] 823 * core: Fix an issue in which the scheduler could be invoked with insufficient 824 state [[GH-1339](https://github.com/hashicorp/nomad/issues/1339)] 825 * core: Updated User, Meta or Resources in a task cause create/destroy updates 826 [GH-1128, GH-1153] 827 * core: Fix blocked evaluations being run without properly accounting for 828 priority [[GH-1183](https://github.com/hashicorp/nomad/issues/1183)] 829 * api: Tasks are no longer allowed to have slashes in their name [[GH-1210](https://github.com/hashicorp/nomad/issues/1210)] 830 * client: Delete tmp files used to communicate with executor [[GH-1241](https://github.com/hashicorp/nomad/issues/1241)] 831 * client: Prevent the client from restoring with incorrect task state [[GH-1294](https://github.com/hashicorp/nomad/issues/1294)] 832 * discovery: Ensure service and check names are unique [GH-1143, GH-1144] 833 * driver/docker: Ensure docker client doesn't time out after a minute. 834 [[GH-1184](https://github.com/hashicorp/nomad/issues/1184)] 835 * driver/java: Fix issue in which Java on darwin attempted to chroot [[GH-1262](https://github.com/hashicorp/nomad/issues/1262)] 836 * driver/docker: Fix issue in which logs could be spliced [[GH-1322](https://github.com/hashicorp/nomad/issues/1322)] 837 838 ## 0.3.2 (April 22, 2016) 839 840 IMPROVEMENTS: 841 * core: Garbage collection partitioned to avoid system delays [[GH-1012](https://github.com/hashicorp/nomad/issues/1012)] 842 * core: Allow count zero task groups to enable blue/green deploys [[GH-931](https://github.com/hashicorp/nomad/issues/931)] 843 * core: Validate driver configurations when submitting jobs [GH-1062, GH-1089] 844 * core: Job Deregister forces an evaluation for the job even if it doesn't 845 exist [[GH-981](https://github.com/hashicorp/nomad/issues/981)] 846 * core: Rename successfully finished allocations to "Complete" rather than 847 "Dead" for clarity [[GH-975](https://github.com/hashicorp/nomad/issues/975)] 848 * cli: `alloc-status` explains restart decisions [[GH-984](https://github.com/hashicorp/nomad/issues/984)] 849 * cli: `node-drain -self` drains the local node [[GH-1068](https://github.com/hashicorp/nomad/issues/1068)] 850 * cli: `node-status -self` queries the local node [[GH-1004](https://github.com/hashicorp/nomad/issues/1004)] 851 * cli: Destructive commands now require confirmation [[GH-983](https://github.com/hashicorp/nomad/issues/983)] 852 * cli: `alloc-status` display is less verbose by default [[GH-946](https://github.com/hashicorp/nomad/issues/946)] 853 * cli: `server-members` displays the current leader in each region [[GH-935](https://github.com/hashicorp/nomad/issues/935)] 854 * cli: `run` has an `-output` flag to emit a JSON version of the job [[GH-990](https://github.com/hashicorp/nomad/issues/990)] 855 * cli: New `inspect` command to display a submitted job's specification 856 [[GH-952](https://github.com/hashicorp/nomad/issues/952)] 857 * cli: `node-status` display is less verbose by default and shows a node's 858 total resources [[GH-946](https://github.com/hashicorp/nomad/issues/946)] 859 * client: `artifact` source can be interpreted [[GH-1070](https://github.com/hashicorp/nomad/issues/1070)] 860 * client: Add IP and Port environment variables [[GH-1099](https://github.com/hashicorp/nomad/issues/1099)] 861 * client: Nomad fingerprinter to detect client's version [[GH-965](https://github.com/hashicorp/nomad/issues/965)] 862 * client: Tasks can interpret Meta set in the task group and job [[GH-985](https://github.com/hashicorp/nomad/issues/985)] 863 * client: All tasks in a task group are killed when a task fails [[GH-962](https://github.com/hashicorp/nomad/issues/962)] 864 * client: Pass environment variables from host to exec based tasks [[GH-970](https://github.com/hashicorp/nomad/issues/970)] 865 * client: Allow task's to be run as particular user [GH-950, GH-978] 866 * client: `artifact` block now supports downloading paths relative to the 867 task's directory [[GH-944](https://github.com/hashicorp/nomad/issues/944)] 868 * docker: Timeout communications with Docker Daemon to avoid deadlocks with 869 misbehaving Docker Daemon [[GH-1117](https://github.com/hashicorp/nomad/issues/1117)] 870 * discovery: Support script based health checks [[GH-986](https://github.com/hashicorp/nomad/issues/986)] 871 * discovery: Allowing registration of services which don't expose ports 872 [[GH-1092](https://github.com/hashicorp/nomad/issues/1092)] 873 * driver/docker: Support for `tty` and `interactive` options [[GH-1059](https://github.com/hashicorp/nomad/issues/1059)] 874 * jobspec: Improved validation of services referencing port labels [[GH-1097](https://github.com/hashicorp/nomad/issues/1097)] 875 * periodic: Periodic jobs are always evaluated in UTC timezone [[GH-1074](https://github.com/hashicorp/nomad/issues/1074)] 876 877 BUG FIXES: 878 * core: Prevent garbage collection of running batch jobs [[GH-989](https://github.com/hashicorp/nomad/issues/989)] 879 * core: Trigger System scheduler when Node drain is disabled [[GH-1106](https://github.com/hashicorp/nomad/issues/1106)] 880 * core: Fix issue where in-place updated allocation double counted resources 881 [[GH-957](https://github.com/hashicorp/nomad/issues/957)] 882 * core: Fix drained, batched allocations from being migrated indefinitely 883 [[GH-1086](https://github.com/hashicorp/nomad/issues/1086)] 884 * client: Garbage collect Docker containers on exit [[GH-1071](https://github.com/hashicorp/nomad/issues/1071)] 885 * client: Fix common exec failures on CentOS and Amazon Linux [[GH-1009](https://github.com/hashicorp/nomad/issues/1009)] 886 * client: Fix S3 artifact downloading with IAM credentials [[GH-1113](https://github.com/hashicorp/nomad/issues/1113)] 887 * client: Fix handling of environment variables containing multiple equal 888 signs [[GH-1115](https://github.com/hashicorp/nomad/issues/1115)] 889 890 ## 0.3.1 (March 16, 2016) 891 892 __BACKWARDS INCOMPATIBILITIES:__ 893 * Service names that dont conform to RFC-1123 and RFC-2782 will fail 894 validation. To fix, change service name to conform to the RFCs before 895 running the job [[GH-915](https://github.com/hashicorp/nomad/issues/915)] 896 * Jobs that downloaded artifacts will have to be updated to the new syntax and 897 be resubmitted. The new syntax consolidates artifacts to the `task` rather 898 than being duplicated inside each driver config [[GH-921](https://github.com/hashicorp/nomad/issues/921)] 899 900 IMPROVEMENTS: 901 * cli: Validate job file schemas [[GH-900](https://github.com/hashicorp/nomad/issues/900)] 902 * client: Add environment variables for task name, allocation ID/Name/Index 903 [GH-869, GH-896] 904 * client: Starting task is retried under the restart policy if the error is 905 recoverable [[GH-859](https://github.com/hashicorp/nomad/issues/859)] 906 * client: Allow tasks to download artifacts, which can be archives, prior to 907 starting [[GH-921](https://github.com/hashicorp/nomad/issues/921)] 908 * config: Validate Nomad configuration files [[GH-910](https://github.com/hashicorp/nomad/issues/910)] 909 * config: Client config allows reserving resources [[GH-910](https://github.com/hashicorp/nomad/issues/910)] 910 * driver/docker: Support for ECR [[GH-858](https://github.com/hashicorp/nomad/issues/858)] 911 * driver/docker: Periodic Fingerprinting [[GH-893](https://github.com/hashicorp/nomad/issues/893)] 912 * driver/docker: Preventing port reservation for log collection on Unix platforms [[GH-897](https://github.com/hashicorp/nomad/issues/897)] 913 * driver/rkt: Pass DNS information to rkt driver [[GH-892](https://github.com/hashicorp/nomad/issues/892)] 914 * jobspec: Require RFC-1123 and RFC-2782 valid service names [[GH-915](https://github.com/hashicorp/nomad/issues/915)] 915 916 BUG FIXES: 917 * core: No longer cancel evaluations that are delayed in the plan queue 918 [[GH-884](https://github.com/hashicorp/nomad/issues/884)] 919 * api: Guard client/fs/ APIs from being accessed on a non-client node [[GH-890](https://github.com/hashicorp/nomad/issues/890)] 920 * client: Allow dashes in variable names during interpolation [[GH-857](https://github.com/hashicorp/nomad/issues/857)] 921 * client: Updating kill timeout adheres to operator specified maximum value [[GH-878](https://github.com/hashicorp/nomad/issues/878)] 922 * client: Fix a case in which clients would pull but not run allocations 923 [[GH-906](https://github.com/hashicorp/nomad/issues/906)] 924 * consul: Remove concurrent map access [[GH-874](https://github.com/hashicorp/nomad/issues/874)] 925 * driver/exec: Stopping tasks with more than one pid in a cgroup [[GH-855](https://github.com/hashicorp/nomad/issues/855)] 926 * client/executor/linux: Add /run/resolvconf/ to chroot so DNS works [[GH-905](https://github.com/hashicorp/nomad/issues/905)] 927 928 ## 0.3.0 (February 25, 2016) 929 930 __BACKWARDS INCOMPATIBILITIES:__ 931 * Stdout and Stderr log files of tasks have moved from task/local to 932 alloc/logs [[GH-851](https://github.com/hashicorp/nomad/issues/851)] 933 * Any users of the runtime environment variable `$NOMAD_PORT_` will need to 934 update to the new `${NOMAD_ADDR_}` variable [[GH-704](https://github.com/hashicorp/nomad/issues/704)] 935 * Service names that include periods will fail validation. To fix, remove any 936 periods from the service name before running the job [[GH-770](https://github.com/hashicorp/nomad/issues/770)] 937 * Task resources are now validated and enforce minimum resources. If a job 938 specifies resources below the minimum they will need to be updated [[GH-739](https://github.com/hashicorp/nomad/issues/739)] 939 * Node ID is no longer specifiable. For users who have set a custom Node 940 ID, the node should be drained before Nomad is updated and the data_dir 941 should be deleted before starting for the first time [[GH-675](https://github.com/hashicorp/nomad/issues/675)] 942 * Users of custom restart policies should update to the new syntax which adds 943 a `mode` field. The `mode` can be either `fail` or `delay`. The default for 944 `batch` and `service` jobs is `fail` and `delay` respectively [[GH-594](https://github.com/hashicorp/nomad/issues/594)] 945 * All jobs that interpret variables in constraints or driver configurations 946 will need to be updated to the new syntax which wraps the interpreted 947 variable in curly braces. (`$node.class` becomes `${node.class}`) [[GH-760](https://github.com/hashicorp/nomad/issues/760)] 948 949 IMPROVEMENTS: 950 * core: Populate job status [[GH-663](https://github.com/hashicorp/nomad/issues/663)] 951 * core: Cgroup fingerprinter [[GH-712](https://github.com/hashicorp/nomad/issues/712)] 952 * core: Node class constraint [[GH-618](https://github.com/hashicorp/nomad/issues/618)] 953 * core: User specifiable kill timeout [[GH-624](https://github.com/hashicorp/nomad/issues/624)] 954 * core: Job queueing via blocked evaluations [[GH-726](https://github.com/hashicorp/nomad/issues/726)] 955 * core: Only reschedule failed batch allocations [[GH-746](https://github.com/hashicorp/nomad/issues/746)] 956 * core: Add available nodes by DC to AllocMetrics [[GH-619](https://github.com/hashicorp/nomad/issues/619)] 957 * core: Improve scheduler retry logic under contention [[GH-787](https://github.com/hashicorp/nomad/issues/787)] 958 * core: Computed node class and stack optimization [GH-691, GH-708] 959 * core: Improved restart policy with more user configuration [[GH-594](https://github.com/hashicorp/nomad/issues/594)] 960 * core: Periodic specification for jobs [GH-540, GH-657, GH-659, GH-668] 961 * core: Batch jobs are garbage collected from the Nomad Servers [[GH-586](https://github.com/hashicorp/nomad/issues/586)] 962 * core: Free half the CPUs on leader node for use in plan queue and evaluation 963 broker [[GH-812](https://github.com/hashicorp/nomad/issues/812)] 964 * core: Seed random number generator used to randomize node traversal order 965 during scheduling [[GH-808](https://github.com/hashicorp/nomad/issues/808)] 966 * core: Performance improvements [GH-823, GH-825, GH-827, GH-830, GH-832, 967 GH-833, GH-834, GH-839] 968 * core/api: System garbage collection endpoint [[GH-828](https://github.com/hashicorp/nomad/issues/828)] 969 * core/api: Allow users to set arbitrary headers via agent config [[GH-699](https://github.com/hashicorp/nomad/issues/699)] 970 * core/cli: Prefix based lookups of allocs/nodes/evals/jobs [[GH-575](https://github.com/hashicorp/nomad/issues/575)] 971 * core/cli: Print short identifiers and UX cleanup [GH-675, GH-693, GH-692] 972 * core/client: Client pulls minimum set of required allocations [[GH-731](https://github.com/hashicorp/nomad/issues/731)] 973 * cli: Output of agent-info is sorted [[GH-617](https://github.com/hashicorp/nomad/issues/617)] 974 * cli: Eval monitor detects zero wait condition [[GH-776](https://github.com/hashicorp/nomad/issues/776)] 975 * cli: Ability to navigate allocation directories [GH-709, GH-798] 976 * client: Batch allocation updates to the server [[GH-835](https://github.com/hashicorp/nomad/issues/835)] 977 * client: Log rotation for all drivers [GH-685, GH-763, GH-819] 978 * client: Only download artifacts from http, https, and S3 [[GH-841](https://github.com/hashicorp/nomad/issues/841)] 979 * client: Create a tmp/ directory inside each task directory [[GH-757](https://github.com/hashicorp/nomad/issues/757)] 980 * client: Store when an allocation was received by the client [[GH-821](https://github.com/hashicorp/nomad/issues/821)] 981 * client: Heartbeating and saving state resilient under high load [[GH-811](https://github.com/hashicorp/nomad/issues/811)] 982 * client: Handle updates to tasks Restart Policy and KillTimeout [[GH-751](https://github.com/hashicorp/nomad/issues/751)] 983 * client: Killing a driver handle is retried with an exponential backoff 984 [[GH-809](https://github.com/hashicorp/nomad/issues/809)] 985 * client: Send Node to server when periodic fingerprinters change Node 986 attributes/metadata [[GH-749](https://github.com/hashicorp/nomad/issues/749)] 987 * client/api: File-system access to allocation directories [[GH-669](https://github.com/hashicorp/nomad/issues/669)] 988 * drivers: Validate the "command" field contains a single value [[GH-842](https://github.com/hashicorp/nomad/issues/842)] 989 * drivers: Interpret Nomad variables in environment variables/args [[GH-653](https://github.com/hashicorp/nomad/issues/653)] 990 * driver/rkt: Add support for CPU/Memory isolation [[GH-610](https://github.com/hashicorp/nomad/issues/610)] 991 * driver/rkt: Add support for mounting alloc/task directory [[GH-645](https://github.com/hashicorp/nomad/issues/645)] 992 * driver/docker: Support for .dockercfg based auth for private registries 993 [[GH-773](https://github.com/hashicorp/nomad/issues/773)] 994 995 BUG FIXES: 996 * core: Node drain could only be partially applied [[GH-750](https://github.com/hashicorp/nomad/issues/750)] 997 * core: Fix panic when eval Ack occurs at delivery limit [[GH-790](https://github.com/hashicorp/nomad/issues/790)] 998 * cli: Handle parsing of un-named ports [[GH-604](https://github.com/hashicorp/nomad/issues/604)] 999 * cli: Enforce absolute paths for data directories [[GH-622](https://github.com/hashicorp/nomad/issues/622)] 1000 * client: Cleanup of the allocation directory [[GH-755](https://github.com/hashicorp/nomad/issues/755)] 1001 * client: Improved stability under high contention [[GH-789](https://github.com/hashicorp/nomad/issues/789)] 1002 * client: Handle non-200 codes when parsing AWS metadata [[GH-614](https://github.com/hashicorp/nomad/issues/614)] 1003 * client: Unmounted of shared alloc dir when client is rebooted [[GH-755](https://github.com/hashicorp/nomad/issues/755)] 1004 * client/consul: Service name changes handled properly [[GH-766](https://github.com/hashicorp/nomad/issues/766)] 1005 * driver/rkt: handle broader format of rkt version outputs [[GH-745](https://github.com/hashicorp/nomad/issues/745)] 1006 * driver/qemu: failed to load image and kvm accelerator fixes [[GH-656](https://github.com/hashicorp/nomad/issues/656)] 1007 1008 ## 0.2.3 (December 17, 2015) 1009 1010 BUG FIXES: 1011 * core: Task States not being properly updated [[GH-600](https://github.com/hashicorp/nomad/issues/600)] 1012 * client: Fixes for user lookup to support CoreOS [[GH-591](https://github.com/hashicorp/nomad/issues/591)] 1013 * discovery: Using a random prefix for nomad managed services [[GH-579](https://github.com/hashicorp/nomad/issues/579)] 1014 * discovery: De-Registering Tasks while Nomad sleeps before failed tasks are 1015 restarted. 1016 * discovery: Fixes for service registration when multiple allocations are bin 1017 packed on a node [[GH-583](https://github.com/hashicorp/nomad/issues/583)] 1018 * configuration: Sort configuration files [[GH-588](https://github.com/hashicorp/nomad/issues/588)] 1019 * cli: RetryInterval was not being applied properly [[GH-601](https://github.com/hashicorp/nomad/issues/601)] 1020 1021 ## 0.2.2 (December 11, 2015) 1022 1023 IMPROVEMENTS: 1024 * core: Enable `raw_exec` driver in dev mode [[GH-558](https://github.com/hashicorp/nomad/issues/558)] 1025 * cli: Server join/retry-join command line and config options [[GH-527](https://github.com/hashicorp/nomad/issues/527)] 1026 * cli: Nomad reports which config files are loaded at start time, or if none 1027 are loaded [[GH-536](https://github.com/hashicorp/nomad/issues/536)], [[GH-553](https://github.com/hashicorp/nomad/issues/553)] 1028 1029 BUG FIXES: 1030 * core: Send syslog to `LOCAL0` by default as previously documented [[GH-547](https://github.com/hashicorp/nomad/issues/547)] 1031 * client: remove all calls to default logger [[GH-570](https://github.com/hashicorp/nomad/issues/570)] 1032 * consul: Nomad is less noisy when Consul is not running [[GH-567](https://github.com/hashicorp/nomad/issues/567)] 1033 * consul: Nomad only deregisters services that it created [[GH-568](https://github.com/hashicorp/nomad/issues/568)] 1034 * driver/exec: Shutdown a task now sends the interrupt signal first to the 1035 process before forcefully killing it. [[GH-543](https://github.com/hashicorp/nomad/issues/543)] 1036 * driver/docker: Docker driver no longer leaks unix domain socket connections 1037 [[GH-556](https://github.com/hashicorp/nomad/issues/556)] 1038 * fingerprint/network: Now correctly detects interfaces on Windows [[GH-382](https://github.com/hashicorp/nomad/issues/382)] 1039 1040 ## 0.2.1 (November 28, 2015) 1041 1042 IMPROVEMENTS: 1043 1044 * core: Can specify a whitelist for activating drivers [[GH-467](https://github.com/hashicorp/nomad/issues/467)] 1045 * core: Can specify a whitelist for activating fingerprinters [[GH-488](https://github.com/hashicorp/nomad/issues/488)] 1046 * core/api: Can list all known regions in the cluster [[GH-495](https://github.com/hashicorp/nomad/issues/495)] 1047 * client/spawn: spawn package tests made portable (work on Windows) [[GH-442](https://github.com/hashicorp/nomad/issues/442)] 1048 * client/executor: executor package tests made portable (work on Windows) [[GH-497](https://github.com/hashicorp/nomad/issues/497)] 1049 * client/driver: driver package tests made portable (work on windows) [[GH-502](https://github.com/hashicorp/nomad/issues/502)] 1050 * client/discovery: Added more consul client api configuration options [[GH-503](https://github.com/hashicorp/nomad/issues/503)] 1051 * driver/docker: Added TLS client options to the config file [[GH-480](https://github.com/hashicorp/nomad/issues/480)] 1052 * jobspec: More flexibility in naming Services [[GH-509](https://github.com/hashicorp/nomad/issues/509)] 1053 1054 BUG FIXES: 1055 1056 * core: Shared reference to DynamicPorts caused port conflicts when scheduling 1057 count > 1 [[GH-494](https://github.com/hashicorp/nomad/issues/494)] 1058 * client/restart policy: Not restarting Batch Jobs if the exit code is 0 [[GH-491](https://github.com/hashicorp/nomad/issues/491)] 1059 * client/service discovery: Make Service IDs unique [[GH-479](https://github.com/hashicorp/nomad/issues/479)] 1060 * client/service: Fixes update to check definitions and services which are already registered [[GH-498](https://github.com/hashicorp/nomad/issues/498)] 1061 * driver/docker: Expose the container port instead of the host port [[GH-466](https://github.com/hashicorp/nomad/issues/466)] 1062 * driver/docker: Support `port_map` for static ports [[GH-476](https://github.com/hashicorp/nomad/issues/476)] 1063 * driver/docker: Pass 0.2.0-style port environment variables to the docker container [[GH-476](https://github.com/hashicorp/nomad/issues/476)] 1064 * jobspec: distinct_hosts constraint can be specified as a boolean (previously panicked) [[GH-501](https://github.com/hashicorp/nomad/issues/501)] 1065 1066 ## 0.2.0 (November 18, 2015) 1067 1068 __BACKWARDS INCOMPATIBILITIES:__ 1069 1070 * core: HTTP API `/v1/node/<id>/allocations` returns full Allocation and not 1071 stub [[GH-402](https://github.com/hashicorp/nomad/issues/402)] 1072 * core: Removed weight and hard/soft fields in constraints [[GH-351](https://github.com/hashicorp/nomad/issues/351)] 1073 * drivers: Qemu and Java driver configurations have been updated to both use 1074 `artifact_source` as the source for external images/jars to be ran 1075 * jobspec: New reserved and dynamic port specification [[GH-415](https://github.com/hashicorp/nomad/issues/415)] 1076 * jobspec/drivers: Driver configuration supports arbitrary struct to be 1077 passed in jobspec [[GH-415](https://github.com/hashicorp/nomad/issues/415)] 1078 1079 FEATURES: 1080 1081 * core: Blocking queries supported in API [[GH-366](https://github.com/hashicorp/nomad/issues/366)] 1082 * core: System Scheduler that runs tasks on every node [[GH-287](https://github.com/hashicorp/nomad/issues/287)] 1083 * core: Regexp, version and lexical ordering constraints [[GH-271](https://github.com/hashicorp/nomad/issues/271)] 1084 * core: distinctHost constraint ensures Task Groups are running on distinct 1085 clients [[GH-321](https://github.com/hashicorp/nomad/issues/321)] 1086 * core: Service block definition with Consul registration [GH-463, GH-460, 1087 GH-458, GH-455, GH-446, GH-425] 1088 * client: GCE Fingerprinting [[GH-215](https://github.com/hashicorp/nomad/issues/215)] 1089 * client: Restart policy for task groups enforced by the client [GH-369, 1090 GH-393] 1091 * driver/rawexec: Raw Fork/Exec Driver [[GH-237](https://github.com/hashicorp/nomad/issues/237)] 1092 * driver/rkt: Experimental Rkt Driver [GH-165, GH-247] 1093 * drivers: Add support for downloading external artifacts to execute for 1094 Exec, Raw exec drivers [[GH-381](https://github.com/hashicorp/nomad/issues/381)] 1095 1096 IMPROVEMENTS: 1097 1098 * core: Configurable Node GC threshold [[GH-362](https://github.com/hashicorp/nomad/issues/362)] 1099 * core: Overlap plan verification and plan application for increased 1100 throughput [[GH-272](https://github.com/hashicorp/nomad/issues/272)] 1101 * cli: Output of `alloc-status` also displays task state [[GH-424](https://github.com/hashicorp/nomad/issues/424)] 1102 * cli: Output of `server-members` is sorted [[GH-323](https://github.com/hashicorp/nomad/issues/323)] 1103 * cli: Show node attributes in `node-status` [[GH-313](https://github.com/hashicorp/nomad/issues/313)] 1104 * client/fingerprint: Network fingerprinter detects interface suitable for 1105 use, rather than defaulting to eth0 [GH-334, GH-356] 1106 * client: Client Restore State properly reattaches to tasks and recreates 1107 them as needed [GH-364, GH-380, GH-388, GH-392, GH-394, GH-397, GH-408] 1108 * client: Periodic Fingerprinting [[GH-391](https://github.com/hashicorp/nomad/issues/391)] 1109 * client: Precise snapshotting of TaskRunner and AllocRunner [GH-403, GH-411] 1110 * client: Task State is tracked by client [[GH-416](https://github.com/hashicorp/nomad/issues/416)] 1111 * client: Test Skip Detection [[GH-221](https://github.com/hashicorp/nomad/issues/221)] 1112 * driver/docker: Can now specify auth for docker pull [[GH-390](https://github.com/hashicorp/nomad/issues/390)] 1113 * driver/docker: Can now specify DNS and DNSSearch options [[GH-390](https://github.com/hashicorp/nomad/issues/390)] 1114 * driver/docker: Can now specify the container's hostname [[GH-426](https://github.com/hashicorp/nomad/issues/426)] 1115 * driver/docker: Containers now have names based on the task name. [[GH-389](https://github.com/hashicorp/nomad/issues/389)] 1116 * driver/docker: Mount task local and alloc directory to docker containers [[GH-290](https://github.com/hashicorp/nomad/issues/290)] 1117 * driver/docker: Now accepts any value for `network_mode` to support userspace networking plugins in docker 1.9 1118 * driver/java: Pass JVM options in java driver [GH-293, GH-297] 1119 * drivers: Use BlkioWeight rather than BlkioThrottleReadIopsDevice [[GH-222](https://github.com/hashicorp/nomad/issues/222)] 1120 * jobspec and drivers: Driver configuration supports arbitrary struct to be passed in jobspec [[GH-415](https://github.com/hashicorp/nomad/issues/415)] 1121 1122 BUG FIXES: 1123 1124 * core: Nomad Client/Server RPC codec encodes strings properly [[GH-420](https://github.com/hashicorp/nomad/issues/420)] 1125 * core: Reset Nack timer in response to scheduler operations [[GH-325](https://github.com/hashicorp/nomad/issues/325)] 1126 * core: Scheduler checks for updates to environment variables [[GH-327](https://github.com/hashicorp/nomad/issues/327)] 1127 * cli: Fix crash when -config was given a directory or empty path [[GH-119](https://github.com/hashicorp/nomad/issues/119)] 1128 * client/fingerprint: Use correct local interface on OS X [GH-361, GH-365] 1129 * client: Nomad Client doesn't restart failed containers [[GH-198](https://github.com/hashicorp/nomad/issues/198)] 1130 * client: Reap spawn-daemon process, avoiding a zombie process [[GH-240](https://github.com/hashicorp/nomad/issues/240)] 1131 * client: Resource exhausted errors because of link-speed zero [GH-146, 1132 GH-205] 1133 * client: Restarting Nomad Client leads to orphaned containers [[GH-159](https://github.com/hashicorp/nomad/issues/159)] 1134 * driver/docker: Apply SELinux label for mounting directories in docker 1135 [[GH-377](https://github.com/hashicorp/nomad/issues/377)] 1136 * driver/docker: Docker driver exposes ports when creating container [GH-212, 1137 GH-412] 1138 * driver/docker: Docker driver uses docker environment variables correctly 1139 [[GH-407](https://github.com/hashicorp/nomad/issues/407)] 1140 * driver/qemu: Qemu fingerprint and tests work on both windows/linux [[GH-352](https://github.com/hashicorp/nomad/issues/352)] 1141 1142 ## 0.1.2 (October 6, 2015) 1143 1144 IMPROVEMENTS: 1145 1146 * client: Nomad client cleans allocations on exit when in dev mode [[GH-214](https://github.com/hashicorp/nomad/issues/214)] 1147 * drivers: Use go-getter for artifact retrieval, add artifact support to 1148 Exec, Raw Exec drivers [[GH-288](https://github.com/hashicorp/nomad/issues/288)] 1149 1150 ## 0.1.1 (October 5, 2015) 1151 1152 IMPROVEMENTS: 1153 1154 * cli: Nomad Client configurable from command-line [[GH-191](https://github.com/hashicorp/nomad/issues/191)] 1155 * client/fingerprint: Native IP detection and user specifiable network 1156 interface for fingerprinting [[GH-189](https://github.com/hashicorp/nomad/issues/189)] 1157 * driver/docker: Docker networking mode is configurable [[GH-184](https://github.com/hashicorp/nomad/issues/184)] 1158 * drivers: Set task environment variables [[GH-206](https://github.com/hashicorp/nomad/issues/206)] 1159 1160 BUG FIXES: 1161 1162 * client/fingerprint: Network fingerprinting failed if default network 1163 interface did not exist [[GH-189](https://github.com/hashicorp/nomad/issues/189)] 1164 * client: Fixed issue where network resources throughput would be set to 0 1165 MBits if the link speed could not be determined [[GH-205](https://github.com/hashicorp/nomad/issues/205)] 1166 * client: Improved detection of Nomad binary [[GH-181](https://github.com/hashicorp/nomad/issues/181)] 1167 * driver/docker: Docker dynamic port mapping were not being set properly 1168 [[GH-199](https://github.com/hashicorp/nomad/issues/199)] 1169 1170 ## 0.1.0 (September 28, 2015) 1171 1172 * Initial release 1173