open-nomad/CHANGELOG.md

343 lines
17 KiB
Markdown
Raw Normal View History

2016-04-26 17:14:48 +00:00
## 0.4.0 (UNRELEASED)
BUG FIXES:
* core: Updated User, Meta or Resources in a task cause create/destroy updates
[GH-1128]
2016-04-22 23:23:25 +00:00
## 0.3.2 (April 22, 2016)
2016-03-17 18:31:22 +00:00
IMPROVEMENTS:
2016-04-22 23:16:26 +00:00
* core: Garbage collection partitioned to avoid system delays [GH-1012]
2016-03-17 18:31:22 +00:00
* core: Allow count zero task groups to enable blue/green deploys [GH-931]
2016-04-13 23:56:47 +00:00
* core: Validate driver configurations when submitting jobs [GH-1062, GH-1089]
2016-03-25 22:21:03 +00:00
* core: Job Deregister forces an evaluation for the job even if it doesn't
exist [GH-981]
* core: Rename successfully finished allocations to "Complete" rather than
"Dead" for clarity [GH-975]
* cli: `alloc-status` explains restart decisions [GH-984]
2016-04-12 00:02:22 +00:00
* cli: `node-drain -self` drains the local node [GH-1068]
2016-03-29 21:27:21 +00:00
* cli: `node-status -self` queries the local node [GH-1004]
2016-03-25 22:21:03 +00:00
* cli: Destructive commands now require confirmation [GH-983]
2016-03-21 00:06:38 +00:00
* cli: `alloc-status` display is less verbose by default [GH-946]
2016-03-17 23:38:49 +00:00
* cli: `server-members` displays the current leader in each region [GH-935]
2016-03-26 01:49:16 +00:00
* cli: `run` has an `-output` flag to emit a JSON version of the job [GH-990]
2016-03-21 20:03:19 +00:00
* cli: New `inspect` command to display a submitted job's specification
[GH-952]
2016-03-21 00:38:06 +00:00
* cli: `node-status` display is less verbose by default and shows a node's
total resources [GH-946]
2016-04-13 21:59:43 +00:00
* client: `artifact` source can be interpreted [GH-1070]
2016-04-15 18:34:07 +00:00
* client: Add IP and Port environment variables [GH-1099]
2016-03-23 00:57:23 +00:00
* client: Nomad fingerprinter to detect client's version [GH-965]
2016-04-14 00:29:42 +00:00
* client: Tasks can interpret Meta set in the task group and job [GH-985]
* client: All tasks in a task group are killed when a task fails [GH-962]
2016-03-23 21:09:06 +00:00
* client: Pass environment variables from host to exec based tasks [GH-970]
2016-03-25 22:21:03 +00:00
* client: Allow task's to be run as particular user [GH-950, GH-978]
2016-03-19 20:41:09 +00:00
* client: `artifact` block now supports downloading paths relative to the
task's directory [GH-944]
2016-04-22 23:16:26 +00:00
* docker: Timeout communications with Docker Daemon to avoid deadlocks with
misbehaving Docker Daemon [GH-1117]
2016-03-26 20:02:30 +00:00
* discovery: Support script based health checks [GH-986]
2016-04-14 17:54:33 +00:00
* discovery: Allowing registration of services which don't expose ports
[GH-1092]
2016-04-08 18:24:13 +00:00
* driver/docker: Support for `tty` and `interactive` options [GH-1059]
2016-04-19 16:20:28 +00:00
* jobspec: Improved validation of services referencing port labels [GH-1097]
2016-04-13 00:19:41 +00:00
* periodic: Periodic jobs are always evaluated in UTC timezone [GH-1074]
2016-03-17 18:31:22 +00:00
2016-03-22 01:11:13 +00:00
BUG FIXES:
2016-03-25 23:49:46 +00:00
* core: Prevent garbage collection of running batch jobs [GH-989]
2016-04-19 02:40:22 +00:00
* core: Trigger System scheduler when Node drain is disabled [GH-1106]
2016-04-22 23:16:26 +00:00
* core: Fix issue where in-place updated allocation double counted resources
[GH-957]
2016-04-13 16:46:43 +00:00
* core: Fix drained, batched allocations from being migrated indefinitely
[GH-1086]
2016-04-14 17:52:38 +00:00
* client: Garbage collect Docker containers on exit [GH-1071]
2016-03-30 18:35:18 +00:00
* client: Fix common exec failures on CentOS and Amazon Linux [GH-1009]
2016-04-22 01:37:43 +00:00
* client: Fix S3 artifact downloading with IAM credentials [GH-1113]
2016-04-22 17:22:55 +00:00
* client: Fix handling of environment variables containing multiple equal
signs [GH-1115]
2016-03-22 01:11:13 +00:00
2016-04-22 23:23:25 +00:00
## 0.3.1 (March 16, 2016)
2016-03-15 18:35:37 +00:00
__BACKWARDS INCOMPATIBILITIES:__
2016-03-16 04:15:07 +00:00
* Service names that dont conform to RFC-1123 and RFC-2782 will fail
validation. To fix, change service name to conform to the RFCs before
running the job [GH-915]
* Jobs that downloaded artifacts will have to be updated to the new syntax and
be resubmitted. The new syntax consolidates artifacts to the `task` rather
than being duplicated inside each driver config [GH-921]
2016-03-15 18:35:37 +00:00
2016-02-29 19:11:46 +00:00
IMPROVEMENTS:
2016-03-10 18:50:29 +00:00
* cli: Validate job file schemas [GH-900]
2016-03-10 16:57:19 +00:00
* client: Add environment variables for task name, allocation ID/Name/Index
[GH-869, GH-896]
2016-02-29 19:11:46 +00:00
* client: Starting task is retried under the restart policy if the error is
recoverable [GH-859]
2016-03-16 04:15:07 +00:00
* client: Allow tasks to download artifacts, which can be archives, prior to
starting [GH-921]
* config: Validate Nomad configuration files [GH-910]
* config: Client config allows reserving resources [GH-910]
2016-03-08 18:13:46 +00:00
* driver/docker: Support for ECR [GH-858]
2016-03-08 22:57:08 +00:00
* driver/docker: Periodic Fingerprinting [GH-893]
2016-03-10 21:21:57 +00:00
* driver/docker: Preventing port reservation for log collection on Unix platforms [GH-897]
2016-03-10 16:57:19 +00:00
* driver/rkt: Pass DNS information to rkt driver [GH-892]
2016-03-16 04:15:07 +00:00
* jobspec: Require RFC-1123 and RFC-2782 valid service names [GH-915]
2016-02-29 19:11:46 +00:00
BUG FIXES:
2016-03-04 23:20:51 +00:00
* core: No longer cancel evaluations that are delayed in the plan queue
[GH-884]
2016-03-07 21:13:38 +00:00
* api: Guard client/fs/ APIs from being accessed on a non-client node [GH-890]
* client: Allow dashes in variable names during interprelation [GH-857]
2016-03-10 02:38:28 +00:00
* client: Updating kill timeout adheres to operator specified maximum value [GH-878]
2016-03-11 00:21:24 +00:00
* client: Fix a case in which clients would pull but not run allocations
[GH-906]
2016-03-03 01:00:40 +00:00
* consul: Remove concurrent map access [GH-874]
* driver/exec: Stopping tasks with more than one pid in a cgroup [GH-855]
2016-03-10 23:22:06 +00:00
* executor/linux: Add /run/resolvconf/ to chroot so DNS works [GH-905]
2016-04-10 12:46:37 +00:00
## 0.3.0 (February 25, 2016)
2015-12-22 18:20:07 +00:00
2016-02-13 00:58:50 +00:00
__BACKWARDS INCOMPATIBILITIES:__
2016-02-25 17:28:34 +00:00
* Stdout and Stderr log files of tasks have moved from task/local to
alloc/logs [GH-851]
2016-02-13 00:58:50 +00:00
* Any users of the runtime environment variable `$NOMAD_PORT_` will need to
2016-02-25 01:07:44 +00:00
update to the new `${NOMAD_ADDR_}` varriable [GH-704]
2016-02-13 00:58:50 +00:00
* Service names that include periods will fail validation. To fix, remove any
periods from the service name before running the job [GH-770]
* Task resources are now validated and enforce minimum resources. If a job
specifies resources below the minimum they will need to be updated [GH-739]
* Node ID is no longer specifiable. For users who have set a custom Node
ID, the node should be drained before Nomad is updated and the data_dir
should be deleted before starting for the first time [GH-675]
* Users of custom restart policies should update to the new syntax which adds
a `mode` field. The `mode` can be either `fail` or `delay`. The default for
`batch` and `service` jobs is `fail` and `delay` respectively [GH-594]
* All jobs that interpret variables in constraints or driver configurations
will need to be updated to the new syntax which wraps the interpreted
2016-02-25 01:08:30 +00:00
variable in curly braces. (`$node.class` becomes `${node.class}`) [GH-760]
2016-01-07 00:30:11 +00:00
2015-12-22 18:20:07 +00:00
IMPROVEMENTS:
2016-02-01 23:53:06 +00:00
* core: Populate job status [GH-663]
* core: Cgroup fingerprinter [GH-712]
2015-12-28 21:31:28 +00:00
* core: Node class constraint [GH-618]
2016-01-04 19:45:47 +00:00
* core: User specifiable kill timeout [GH-624]
2016-02-01 23:53:06 +00:00
* core: Job queueing via blocked evaluations [GH-726]
2016-02-11 17:51:28 +00:00
* core: Only reschedule failed batch allocations [GH-746]
2016-01-05 03:26:50 +00:00
* core: Add available nodes by DC to AllocMetrics [GH-619]
2016-02-11 17:51:28 +00:00
* core: Improve scheduler retry logic under contention [GH-787]
2016-02-01 23:53:06 +00:00
* core: Computed node class and stack optimization [GH-691, GH-708]
* core: Improved restart policy with more user configuration [GH-594]
* core: Periodic specification for jobs [GH-540, GH-657, GH-659, GH-668]
* core: Batch jobs are garbage collected from the Nomad Servers [GH-586]
2016-02-17 22:14:45 +00:00
* core: Free half the CPUs on leader node for use in plan queue and evaluation
broker [GH-812]
* core: Seed random number generator used to randomize node traversal order
during scheduling [GH-808]
2016-02-23 22:54:01 +00:00
* core: Performance improvements [GH-823, GH-825, GH-827, GH-830, GH-832,
GH-833, GH-834, GH-839]
2016-02-21 00:21:42 +00:00
* core/api: System garbage collection endpoint [GH-828]
2016-02-01 23:53:06 +00:00
* core/api: Allow users to set arbitrary headers via agent config [GH-699]
2016-01-06 22:37:35 +00:00
* core/cli: Prefix based lookups of allocs/nodes/evals/jobs [GH-575]
2016-01-21 22:14:22 +00:00
* core/cli: Print short identifiers and UX cleanup [GH-675, GH-693, GH-692]
2016-02-02 21:27:40 +00:00
* core/client: Client pulls minimum set of required allocations [GH-731]
2016-02-01 23:53:06 +00:00
* cli: Output of agent-info is sorted [GH-617]
2016-02-07 00:29:50 +00:00
* cli: Eval monitor detects zero wait condition [GH-776]
2016-02-13 00:58:50 +00:00
* cli: Ability to navigate allocation directories [GH-709, GH-798]
2016-02-23 22:54:01 +00:00
* client: Batch allocation updates to the server [GH-835]
2016-02-23 21:39:28 +00:00
* client: Log rotation for all drivers [GH-685, GH-763, GH-819]
2016-02-23 22:27:43 +00:00
* client: Only download artifacts from http, https, and S3 [GH-841]
2016-02-05 01:25:18 +00:00
* client: Create a tmp/ directory inside each task directory [GH-757]
2016-02-20 00:06:23 +00:00
* client: Store when an allocation was received by the client [GH-821]
2016-02-17 22:14:45 +00:00
* client: Heartbeating and saving state resilient under high load [GH-811]
2016-02-11 17:51:28 +00:00
* client: Handle updates to tasks Restart Policy and KillTimeout [GH-751]
2016-02-17 22:14:45 +00:00
* client: Killing a driver handle is retried with an exponential backoff
[GH-809]
2016-02-04 18:19:02 +00:00
* client: Send Node to server when periodic fingerprinters change Node
attributes/metadata [GH-749]
2016-02-13 00:58:50 +00:00
* client/api: File-system access to allocation directories [GH-669]
2016-02-23 22:27:43 +00:00
* drivers: Validate the "command" field contains a single value [GH-842]
2016-02-01 23:53:06 +00:00
* drivers: Interpret Nomad variables in environment variables/args [GH-653]
* driver/rkt: Add support for CPU/Memory isolation [GH-610]
* driver/rkt: Add support for mounting alloc/task directory [GH-645]
2016-02-07 02:03:28 +00:00
* driver/docker: Support for .dockercfg based auth for private registries
[GH-773]
2015-12-22 18:20:07 +00:00
BUG FIXES:
2016-02-04 00:01:58 +00:00
* core: Node drain could only be partially applied [GH-750]
2016-02-11 19:14:23 +00:00
* core: Fix panic when eval Ack occurs at delivery limit [GH-790]
2015-12-22 18:20:07 +00:00
* cli: Handle parsing of un-named ports [GH-604]
2015-12-22 19:16:15 +00:00
* cli: Enforce absolute paths for data directories [GH-622]
2016-02-04 23:20:19 +00:00
* client: Cleanup of the allocation directory [GH-755]
2016-02-11 19:14:23 +00:00
* client: Improved stability under high contention [GH-789]
* client: Handle non-200 codes when parsing AWS metadata [GH-614]
2016-02-04 23:20:19 +00:00
* client: Unmounted of shared alloc dir when client is rebooted [GH-755]
2016-02-07 01:12:11 +00:00
* client/consul: Service name changes handled properly [GH-766]
2016-02-03 01:56:12 +00:00
* driver/rkt: handle broader format of rkt version outputs [GH-745]
2016-01-07 00:30:11 +00:00
* driver/qemu: failed to load image and kvm accelerator fixes [GH-656]
2015-12-22 18:20:07 +00:00
2015-12-17 21:29:41 +00:00
## 0.2.3 (December 17, 2015)
2015-12-16 01:53:02 +00:00
BUG FIXES:
2016-02-01 23:53:06 +00:00
* core: Task States not being properly updated [GH-600]
2015-12-16 01:53:02 +00:00
* client: Fixes for user lookup to support CoreOS [GH-591]
2016-02-01 23:53:06 +00:00
* discovery: Using a random prefix for nomad managed services [GH-579]
* discovery: De-Registering Tasks while Nomad sleeps before failed tasks are
restarted.
2016-02-01 23:53:06 +00:00
* discovery: Fixes for service registration when multiple allocations are bin
packed on a node [GH-583]
2015-12-16 01:53:02 +00:00
* configuration: Sort configuration files [GH-588]
2015-12-18 00:36:37 +00:00
* cli: RetryInterval was not being applied properly [GH-601]
2015-12-16 01:53:02 +00:00
## 0.2.2 (December 11, 2015)
2015-12-09 03:34:42 +00:00
2015-12-11 00:17:16 +00:00
IMPROVEMENTS:
2015-12-11 22:41:45 +00:00
* core: Enable `raw_exec` driver in dev mode [GH-558]
2015-12-11 22:38:21 +00:00
* cli: Server join/retry-join command line and config options [GH-527]
2015-12-11 22:38:45 +00:00
* cli: Nomad reports which config files are loaded at start time, or if none
2015-12-11 22:41:45 +00:00
are loaded [GH-536], [GH-553]
2015-12-11 00:17:16 +00:00
2015-12-09 03:34:42 +00:00
BUG FIXES:
2015-12-11 22:38:21 +00:00
* core: Send syslog to `LOCAL0` by default as previously documented [GH-547]
2016-02-01 23:53:06 +00:00
* client: remove all calls to default logger [GH-570]
2015-12-11 22:41:45 +00:00
* consul: Nomad is less noisy when Consul is not running [GH-567]
* consul: Nomad only deregisters services that it created [GH-568]
2015-12-11 22:38:21 +00:00
* driver/exec: Shutdown a task now sends the interrupt signal first to the
process before forcefully killing it. [GH-543]
2016-02-01 23:53:06 +00:00
* driver/docker: Docker driver no longer leaks unix domain socket connections
[GH-556]
2015-12-11 22:38:21 +00:00
* fingerprint/network: Now correctly detects interfaces on Windows [GH-382]
2015-12-09 03:34:42 +00:00
2015-12-11 22:40:23 +00:00
## 0.2.1 (November 28, 2015)
IMPROVEMENTS:
* core: Can specify a whitelist for activating drivers [GH-467]
2015-11-24 19:42:19 +00:00
* core: Can specify a whitelist for activating fingerprinters [GH-488]
2016-02-01 23:53:06 +00:00
* core/api: Can list all known regions in the cluster [GH-495]
2015-11-20 22:57:56 +00:00
* client/spawn: spawn package tests made portable (work on Windows) [GH-442]
2015-11-25 00:41:54 +00:00
* client/executor: executor package tests made portable (work on Windows) [GH-497]
2015-11-26 01:39:04 +00:00
* client/driver: driver package tests made portable (work on windows) [GH-502]
2015-11-25 23:22:40 +00:00
* client/discovery: Added more consul client api configuration options [GH-503]
2016-02-01 23:53:06 +00:00
* driver/docker: Added TLS client options to the config file [GH-480]
2015-11-27 03:37:52 +00:00
* jobspec: More flexibility in naming Services [GH-509]
BUG FIXES:
2015-11-24 02:31:27 +00:00
* core: Shared reference to DynamicPorts caused port conflicts when scheduling
count > 1 [GH-494]
2016-02-01 23:53:06 +00:00
* client/restart policy: Not restarting Batch Jobs if the exit code is 0 [GH-491]
* client/service discovery: Make Service IDs unique [GH-479]
2015-11-25 23:22:40 +00:00
* client/service: Fixes update to check definitions and services which are already registered [GH-498]
2016-02-01 23:53:06 +00:00
* driver/docker: Expose the container port instead of the host port [GH-466]
* driver/docker: Support `port_map` for static ports [GH-476]
* driver/docker: Pass 0.2.0-style port environment variables to the docker container [GH-476]
* jobspec: distinct_hosts constraint can be specified as a boolean (previously panicked) [GH-501]
## 0.2.0 (November 18, 2015)
2015-11-04 19:22:20 +00:00
2016-02-13 00:58:50 +00:00
__BACKWARDS INCOMPATIBILITIES:__
* core: HTTP API `/v1/node/<id>/allocations` returns full Allocation and not
stub [GH-402]
* core: Removed weight and hard/soft fields in constraints [GH-351]
2015-11-17 22:11:31 +00:00
* drivers: Qemu and Java driver configurations have been updated to both use
`artifact_source` as the source for external images/jars to be ran
2016-02-01 23:53:06 +00:00
* jobspec: New reserved and dynamic port specification [GH-415]
* jobspec/drivers: Driver configuration supports arbitrary struct to be
2015-11-19 03:45:21 +00:00
passed in jobspec [GH-415]
2015-11-04 19:22:20 +00:00
FEATURES:
* core: Blocking queries supported in API [GH-366]
2016-02-01 23:53:06 +00:00
* core: System Scheduler that runs tasks on every node [GH-287]
* core: Regexp, version and lexical ordering constraints [GH-271]
2015-11-17 22:11:31 +00:00
* core: distinctHost constraint ensures Task Groups are running on distinct
clients [GH-321]
2016-02-01 23:53:06 +00:00
* core: Service block definition with Consul registration [GH-463, GH-460,
GH-458, GH-455, GH-446, GH-425]
2015-11-17 22:17:58 +00:00
* client: GCE Fingerprinting [GH-215]
* client: Restart policy for task groups enforced by the client [GH-369,
GH-393]
2015-11-17 22:11:31 +00:00
* driver/rawexec: Raw Fork/Exec Driver [GH-237]
* driver/rkt: Experimental Rkt Driver [GH-165, GH-247]
* drivers: Add support for downloading external artifacts to execute for
Exec, Raw exec drivers [GH-381]
2015-11-17 21:24:17 +00:00
IMPROVEMENTS:
* core: Configurable Node GC threshold [GH-362]
* core: Overlap plan verification and plan application for increased
throughput [GH-272]
* cli: Output of `alloc-status` also displays task state [GH-424]
2015-11-17 22:11:31 +00:00
* cli: Output of `server-members` is sorted [GH-323]
* cli: Show node attributes in `node-status` [GH-313]
2015-11-17 22:11:31 +00:00
* client/fingerprint: Network fingerprinter detects interface suitable for
use, rather than defaulting to eth0 [GH-334, GH-356]
* client: Client Restore State properly reattaches to tasks and recreates
them as needed [GH-364, GH-380, GH-388, GH-392, GH-394, GH-397, GH-408]
2015-11-17 22:11:31 +00:00
* client: Periodic Fingerprinting [GH-391]
* client: Precise snapshotting of TaskRunner and AllocRunner [GH-403, GH-411]
* client: Task State is tracked by client [GH-416]
* client: Test Skip Detection [GH-221]
* driver/docker: Can now specify auth for docker pull [GH-390]
* driver/docker: Can now specify DNS and DNSSearch options [GH-390]
* driver/docker: Can now specify the container's hostname [GH-426]
* driver/docker: Containers now have names based on the task name. [GH-389]
* driver/docker: Mount task local and alloc directory to docker containers [GH-290]
* driver/docker: Now accepts any value for `network_mode` to support userspace networking plugins in docker 1.9
* driver/java: Pass JVM options in java driver [GH-293, GH-297]
* drivers: Use BlkioWeight rather than BlkioThrottleReadIopsDevice [GH-222]
* jobspec and drivers: Driver configuration supports arbitrary struct to be passed in jobspec [GH-415]
2015-11-17 21:24:17 +00:00
BUG FIXES:
2015-11-17 22:11:31 +00:00
* core: Nomad Client/Server RPC codec encodes strings properly [GH-420]
* core: Reset Nack timer in response to scheduler operations [GH-325]
* core: Scheduler checks for updates to environment variables [GH-327]
2015-11-17 22:11:31 +00:00
* cli: Fix crash when -config was given a directory or empty path [GH-119]
* client/fingerprint: Use correct local interface on OS X [GH-361, GH-365]
2015-11-17 22:11:31 +00:00
* client: Nomad Client doesn't restart failed containers [GH-198]
* client: Reap spawn-daemon process, avoiding a zombie process [GH-240]
* client: Resource exhausted errors because of link-speed zero [GH-146,
GH-205]
* client: Restarting Nomad Client leads to orphaned containers [GH-159]
* driver/docker: Apply SELinux label for mounting directories in docker
[GH-377]
* driver/docker: Docker driver exposes ports when creating container [GH-212,
GH-412]
* driver/docker: Docker driver uses docker environment variables correctly
[GH-407]
* driver/qemu: Qemu fingerprint and tests work on both windows/linux [GH-352]
2015-11-05 19:50:18 +00:00
2015-10-06 23:44:00 +00:00
## 0.1.2 (October 6, 2015)
IMPROVEMENTS:
2015-11-17 22:11:31 +00:00
* client: Nomad client cleans allocations on exit when in dev mode [GH-214]
* drivers: Use go-getter for artifact retrieval, add artifact support to
Exec, Raw Exec drivers [GH-288]
2015-10-06 23:44:00 +00:00
2015-10-05 21:39:29 +00:00
## 0.1.1 (October 5, 2015)
IMPROVEMENTS:
* cli: Nomad Client configurable from command-line [GH-191]
2015-11-17 22:11:31 +00:00
* client/fingerprint: Native IP detection and user specifiable network
interface for fingerprinting [GH-189]
* driver/docker: Docker networking mode is configurable [GH-184]
* drivers: Set task environment variables [GH-206]
2015-10-05 21:39:29 +00:00
BUG FIXES:
2015-11-17 22:11:31 +00:00
* client/fingerprint: Network fingerprinting failed if default network
interface did not exist [GH-189]
* client: Fixed issue where network resources throughput would be set to 0
MBits if the link speed could not be determined [GH-205]
2015-11-17 22:11:31 +00:00
* client: Improved detection of Nomad binary [GH-181]
* driver/docker: Docker dynamic port mapping were not being set properly
[GH-199]
2015-10-05 21:39:29 +00:00
2015-09-28 05:49:45 +00:00
## 0.1.0 (September 28, 2015)
* Initial release