Nomad v0.10.2 Release Notes

Release Date: 2019-12-04 // about 2 months ago
  • NOTES:

    • cli: Our nomad_0.10.2_darwin_amd64_notarized release has been signed and notarized according to Apple's requirements. In the future, darwin releases will be signed and notarized with our standard naming convention.

      Prior to this release, MacOS 10.15+ users attempting to run our software may see the error: "'nomad' cannot be opened because the developer cannot be verified." This error affected all MacOS 10.15+ users who downloaded our software directly via web browsers, and was caused by changes to Apple's third-party software requirements.

      MacOS 10.15+ users should plan to upgrade to 0.10.2+.

    🔋 FEATURES:

    • Nomad Monitor: New nomad monitor command allows remotely following the logs of any Nomad Agent (clients or servers). See https://nomadproject.io/docs/commands/monitor.html
    • Docker Container Cleanup: Nomad will now automatically remove Docker containers for tasks leaked due to Nomad or Docker crashes or bugs.

    👌 IMPROVEMENTS:

    • agent: Added support for running under Windows Service Manager [GH-6220]
    • api: Added StartedAt field to Node.DrainStrategy [GH-6698]
    • api: Added JSON representation of rules to policy endpoint response [GH-6017]
    • api: Update policy endpoint to permit anonymous access [GH-6021]
    • build: Updated to Go 1.12.13 [GH-6606]
    • cli: Show full ID in node and alloc individual status views [GH-6425]
    • client: Enable setting tags on Consul Connect sidecar service [GH-6448]
    • client: Added support for downloading artifacts from Google Cloud Storage [GH-6692]
    • command: Added -tls-server-name flag [GH-6370]
    • command: Added nomad monitor command to stream logs at a specified level for debugging [GH-6499]
    • quota: Added support for network bandwidth quota limits in Nomad enterprise

    🐛 BUG FIXES:

    • core: Ignore server config values if server is disabled [GH-6047]
    • core: Added semver constraint for strict Semver 2.0 version comparisons [GH-6699]
    • core: Fixed server panic caused by a plan evicting and preempting allocs on a node [GH-6792]
    • api: Return a 404 if endpoint not found instead of redirecting to /ui/ [GH-6658]
    • api: Decompress web socket response body if gzipped on error responses [GH-6650]
    • api: Fixed a bug where some FS/Allocation API endpoints didn't return error messages [GH-6427]
    • api: Return 40X status code for failing ACL requests, rather than 500 [GH-6421]
    • cli: Made scoring column orders consistent nomad alloc status [GH-6609]
    • cli: Fixed a bug where nomad alloc exec fails if stdout is being redirected and not a TTY [GH-6684]
    • cli: Fixed a bug where a cli user may fail to query FS/Allocation API endpoints if they lack node:read capability [GH-6423]
    • client: client: Return empty values when host stats fail [GH-6349]
    • client: Fixed a bug where a client may not restart dead internal processes upon client's restart on Windows [GH-6426]
    • consul/connect: Fixed registering multiple Connect-enabled services in the same task group [GH-6646]
    • drivers: Fixed a bug where client may panic if a restored task failed to shutdown cleanly [GH-6763]
    • driver/exec: Fixed a bug where exec tasks can spawn processes that live beyond task lifecycle [GH-6722]
    • driver/docker: Added mechanism for detecting running unexpectedly running docker containers [GH-6325]
    • scheduler: Changes to devices in resource stanza should cause rescheduling [GH-6644]
    • scheduler: Fixed a bug that allowed inplace updates after affinity or spread were changed [GH-6703]
    • ui: Fixed client sorting [GH-6817]
    • vault: Allow overriding implicit Vault version constraint [GH-6687]
    • vault: Supported Vault auth role's new fields, token_period and token_explicit_max_ttl [GH-6574], [GH-6580]

Previous changes from v0.10.2-rc1

  • 0.10.2 (November 22, 2019)

    🔋 FEATURES:

    • Nomad Monitor : New nomad monitor command allows remotely following
      👀 the logs of any Nomad Agent (clients or servers). See
      📄 https://nomadproject.io/docs/commands/monitor.html
    • 🐳 Docker Container Cleanup : Nomad will now automatically remove Docker
      🐳 containers for tasks leaked due to Nomad or Docker crashes or bugs.

    👌 IMPROVEMENTS:

    • 🏁 agent: Added support for running under Windows Service Manager [GH-6220]
    • api: Added StartedAt field to Node.DrainStrategy [GH-6698]
    • api: Added JSON representation of rules to policy endpoint response [GH-6017]
    • ⚡️ api: Update policy endpoint to permit anonymous access [GH-6021]
    • ⚡️ build: Updated to Go 1.12.13 [GH-6606]
    • cli: Show full ID in node and alloc individual status views [GH-6425]
    • client: Enable setting tags on Consul Connect sidecar service [GH-6448]
    • 👍 client: Added support for downloading artifacts from Google Cloud Storage [GH-6692]
    • command: Added -tls-server-name flag [GH-6370]
    • 🔊 command: Added nomad monitor command to stream logs at a specified level for debugging [GH-6499]
    • 👍 quota: Added support for network bandwidth quota limits in Nomad enterprise

    🐛 BUG FIXES:

    • core: Ignore server config values if server is disabled [GH-6047]
    • core: Added semver constraint for strict Semver 2.0 version comparisons [GH-6699]
    • 💻 api: Return a 404 if endpoint not found instead of redirecting to /ui/ [GH-6658]
    • 🌐 api: Decompress web socket response body if gzipped on error responses [GH-6650]
    • 🛠 api: Fixed a bug where some FS/Allocation API endpoints didn't return error messages [GH-6427]
    • api: Return 40X status code for failing ACL requests, rather than 500 [GH-6421]
    • cli: Made scoring column orders consistent nomad alloc status [GH-6609]
    • 🛠 cli: Fixed a bug where nomad alloc exec fails if stdout is being redirected and not a TTY [GH-6684]
    • 🛠 cli: Fixed a bug where a cli user may fail to query FS/Allocation API endpoints if they lack node:read capability [GH-6423]
    • client: client: Return empty values when host stats fail [GH-6349]
    • 🏁 client: Fixed a bug where a client may not restart dead internal processes upon client's restart on Windows [GH-6426]
    • ⏪ drivers: Fixed a bug where client may panic if a restored task failed to shutdown cleanly [GH-6763]
    • 🛠 driver/exec: Fixed a bug where exec tasks can spawn processes that live beyond task lifecycle [GH-6722]
    • 🐳 driver/docker: Added mechanism for detecting running unexpectedly running docker containers [GH-6325]
    • 🛠 nomad: Fixed registering multiple connect enabled services in the same task group [GH-6646]
    • ⏱ scheduler: Changes to devices in resource stanza should cause rescheduling [GH-6644]
    • ⚡️ scheduler: Fixed a bug that allowed inplace updates after affinity or spread were changed [GH-6703]
    • vault: Allow overriding implicit Vault version constraint [GH-6687]
    • vault: Supported Vault auth role's new fields, token_period and token_explicit_max_ttl [GH-6574], [GH-6580]