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 of api.Client should ensure their Config.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 to alloc restart and alloc signal for consistent UX with alloc exec and alloc 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 for job run and job 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 and cni_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]