Nomad v1.1.3 Release Notes
Release Date: 2021-07-29 // over 2 years ago-
BACKWARDS INCOMPATIBILITIES:
- ๐ท api: The Job Run and Plan APIs now use the
?namespace=
query parameter before the namespace from the job. This matches region's behavior. Users ofapi.Client
should ensure theirConfig.Namespace
is unset if they want to use the namespace in the job. [GH-10875]
๐ IMPROVEMENTS:
- ๐ท api: Added
NewSystemJob
helper function to create base system job object. [GH-10861] - ๐ง audit (Enterprise): allow configuring file mode for audit logs [GH-10916]
- ๐ build: no longer use vendor directory [GH-10898]
- ๐ฆ cli: Added a
-task
flag toalloc restart
andalloc signal
for consistent UX withalloc exec
andalloc logs
[GH-10859] - ๐ท cli: Support recent job spec construct in the HCLv1 parser [GH-10931]
- consul/connect: automatically set CONSUL_TLS_SERVER_NAME for connect native tasks [GH-10804]
- ๐ท dispatch jobs: Added optional idempotency token to
WriteOptions
which prevents Nomad from creating new dispatched jobs for retried requests. [GH-10806] - ๐ท ui: Added new screen to dispatch a parameterized batch job [GH-10675]
- ๐ป ui: Handle ACL token when running behind a reverse proxy [GH-10563]
๐ BUG FIXES:
- โช api: Reverted to using http/1 to fix a 1.1.2 regression in
alloc exec
sessions [GH-10958] - ๐ท cli: Fixed a bug where
-namespace
flag was not respected forjob run
andjob plan
commands. [GH-10875] - ๐ cli: Fixed a panic when deployment monitor is invoked in some CI environments [GH-10926]
- ๐ cli: Fixed system commands, so they correctly use passed flags [GH-10822]
- ๐ฆ cli: Fixed the help message for the
nomad alloc signal
command [GH-10917] - ๐ client: Fixed a bug where a restarted client may start an already completed tasks in rare conditions [GH-10907]
- ๐ client: Fixed bug where meta blocks were not interpolated with task environment [GH-10876]
- cni: Fixed a bug where fingerprinting of CNI configuration failed with default
cni_config_dir
andcni_path
[GH-10870] - ๐ consul/connect: Avoid assumption of parent service when syncing connect proxies [GH-10872]
- ๐ consul/connect: Fixed a bug causing high CPU with multiple connect sidecars in one group [GH-10883]
- ๐ consul/connect: Fixed a bug where service deregistered before connect sidecar [GH-10873]
- ๐ consul: Fixed a bug where services may incorrectly fail conflicting name validation [GH-10868]
- ๐ consul: avoid extra sync operations when no action required [GH-10865]
- ๐ consul: remove ineffective edge case handling on service deregistration [GH-10842]
- ๐ core: Fixed a bug where affinity memoization may cause planning problems [GH-10897]
- ๐ท core: Fixed a bug where internalized constraint strings broke job plan [GH-10896]
- โฌ๏ธ core: Fixed a panic that may arise when upgrading pre-1.1.0 cluster to 1.1.x and may cause cluster outage [GH-10952]
- ๐ csi: Fixed a bug where volume secrets were not used for creating snapshots. [GH-10840]
- ๐ csi: fixed a CLI panic when formatting
volume status
with-verbose
flag [GH-10818] - โก๏ธ deps: Update
hashicorp/consul-template
to v0.25.2 to fix panic reading Vault secrets [GH-10892] - ๐ณ driver/docker: Moved the generated
/etc/hosts
file's mount source to the allocation directory so that it can be shared between tasks of an allocation. [GH-10823] - ๐ drivers: Fixed bug where Nomad incorrectly reported tasks as recovered successfully even when they were not. [GH-10849]
- โก๏ธ scheduler: Fixed a bug where updates to the
datacenters
field were not destructive. [GH-10864] - ๐ป ui: Fixes bug where UI was not detecting namespace-specific capabilities. [GH-10893]
- volumes: Fix a bug where the HTTP server would crash if a
volume_mount
block was empty [GH-10855]
- ๐ท api: The Job Run and Plan APIs now use the