open-nomad/.changelog
Tim Gross 74768eb7d3
scheduler: fix panic in system jobs when nodes filtered by class (#11565)
In the system scheduler, if a subset of clients are filtered by class,
we hit a code path where the `AllocMetric` has been copied, but the
`Copy` method does not instantiate the various maps. This leads to an
assignment to a nil map. This changeset ensures that the maps are
non-nil before continuing.

The `Copy` method relies on functions in the `helper` package that all
return nil slices or maps when passed zero-length inputs. This
changeset to fix the panic bug intentionally defers updating those
functions because it'll have potential impact on memory usage. See
https://github.com/hashicorp/nomad/issues/11564 for more details.
2021-11-24 12:59:15 -05:00
..
9160.txt changelog: add entries for #9160 and #11078 (#11290) 2021-10-14 08:43:36 -04:00
10563.txt changelog: add entry for GH-10563 (#10894) 2021-07-13 16:12:41 -04:00
10666.txt edit hierarchy to lead with namespace before job 2021-08-10 10:35:36 -04:00
10675.txt changelog: add entry for #10675 (#10919) 2021-07-21 10:05:48 -04:00
10796.txt changlog: add entry for #10796 (#11312) 2021-10-14 09:01:43 -04:00
10804.txt Adopt go-changelog in Nomad (#10825) 2021-07-06 10:46:53 -04:00
10806.txt update changelog (#10963) 2021-07-28 16:02:04 -04:00
10818.txt Adopt go-changelog in Nomad (#10825) 2021-07-06 10:46:53 -04:00
10822.txt Adopt go-changelog in Nomad (#10825) 2021-07-06 10:46:53 -04:00
10823.txt Adopt go-changelog in Nomad (#10825) 2021-07-06 10:46:53 -04:00
10840.txt CSI: Snapshot volume create should use vol.Secrets (#10840) 2021-07-02 08:28:22 -04:00
10842.txt consul: avoid triggering unnecessary sync when removing workload 2021-07-06 14:08:42 -05:00
10848.txt CSI ListSnapshots secrets implementation 2021-07-28 11:30:29 -07:00
10849.txt docs: add changelog entry for #10849 2021-07-16 15:58:58 -07:00
10855.txt csi: account for nil volume_mount in API-to-structs conversion (#10855) 2021-07-07 08:06:39 -04:00
10859.txt cli: add -task flag to alloc signal, restart (#10859) 2021-07-07 09:58:16 -07:00
10861.txt changelog: add entry for #10861 2021-07-07 11:03:39 +02:00
10864.txt scheduler: datacenter updates should be destructive 2021-07-07 11:18:30 -04:00
10865.txt consul: avoid extra sync operations when no action required 2021-07-07 11:24:56 -05:00
10868.txt service: remove duplicate name check during validation (#10868) 2021-07-08 09:43:38 -04:00
10870.txt cni: respect default cni_config_dir and cni_path (#10870) 2021-07-08 09:56:57 -04:00
10872.txt consul/connect: Avoid assumption of parent service when filtering connect proxies 2021-07-08 09:43:41 -05:00
10873.txt consul/connect: remove sidecar proxy before removing parent service 2021-07-08 13:30:19 -05:00
10875.txt cli: -namespace should override job namespace 2021-07-08 13:17:27 -04:00
10876.txt client: interpolate meta blocks with task environment (#10876) 2021-07-08 16:03:15 -04:00
10883.txt consul/connect: fix bug causing high cpu with multiple connect sidecars in group 2021-07-09 14:34:44 -05:00
10892.txt changelog: add entry for #10892 2021-07-13 10:29:44 +02:00
10893.txt ui: fixes #10885 2021-07-22 11:44:25 -04:00
10896.txt docs: add changelog entry 2021-07-14 10:46:40 -05:00
10897.txt core: remove internalization of affinity strings 2021-07-15 15:15:39 -05:00
10898.txt docs: update changelog 2021-07-14 11:21:00 -05:00
10907.txt client: avoid acting on stale data after launch (#10907) 2021-07-20 15:13:28 -04:00
10916.txt docs: add changelog for #10916 2021-07-27 11:51:38 -07:00
10917.txt fix nomad alloc signal help message (#10917) 2021-07-21 11:02:44 -04:00
10926.txt cli: Use glint to determine if os.Stdout is tty (#10926) 2021-07-23 11:27:47 -04:00
10929.txt changelog: add entry for #10929 2021-08-05 10:48:36 +02:00
10930.txt add dispatch idempotency token support in the CLI (#10930) 2021-10-22 12:39:05 -04:00
10931.txt update changelog (#10963) 2021-07-28 16:02:04 -04:00
10934.txt changelog: add entry for #10934 (#11001) 2021-08-04 11:33:18 -04:00
10935.txt events: fix wildcard namespace handling (#10935) 2021-09-02 09:36:55 -07:00
10951.txt consul/connect: avoid warn messages on connect proxy errors 2021-08-05 11:27:35 +02:00
10952.txt nomad: only activate one-time auth tokens with 1.1.0 (#10952) 2021-07-27 13:17:55 -04:00
10958.txt api: revert to defaulting to http/1 (#10958) 2021-07-28 11:21:53 -04:00
10965.txt Fixed plan diffing to handle non-unique service names. (#10965) 2021-10-12 16:42:39 -04:00
10975.txt Added support for -force-color to the CLI. (#10975) 2021-10-06 10:02:42 -04:00
10990.txt Only initialize task.VolumeMounts when not-nil (#10990) 2021-08-02 13:08:10 -04:00
11005.txt Speed up client startup and registration (#11005) 2021-08-10 17:06:18 -04:00
11007.txt system: re-evaluate node on feasibility changes (#11007) 2021-08-10 17:17:44 -04:00
11013.txt deployments: canary=0 is implicitly autopromote (#11013) 2021-08-10 17:06:40 -04:00
11019.txt ui: only dipslay "Dispatch Job" button on parameterized jobs (#11019) 2021-08-09 17:49:08 -04:00
11020.txt ui: add missing pipe separator in parameterized and periodic jobs (#11020) 2021-08-10 13:48:20 -04:00
11054.txt Consider all system jobs for a new node (#11054) 2021-08-18 09:50:37 -04:00
11065.txt Update x/sys to support go 1.17 (#11065) 2021-08-25 17:23:01 +02:00
11070.txt Don't timestamp active log file (#11070) 2021-08-23 11:27:34 -04:00
11078.txt changelog: add entries for #9160 and #11078 (#11290) 2021-10-14 08:43:36 -04:00
11083.txt update golang to 1.16.7 (#11083) 2021-08-25 11:56:46 -04:00
11084.txt link to cve listing in changelog 2021-08-27 10:42:39 -04:00
11110.txt ui: set namespace when looking for and displaying children jobs (#11110) 2021-09-01 14:40:25 -04:00
11111.txt docs: focus changelog entry for #11111 on the ux 2021-09-10 16:45:43 -07:00
11127.txt Add FailoverHeartbeatTTL to config (#11127) 2021-10-06 18:48:12 -04:00
11128.txt cli: include all possible scores in alloc status metric table (#11128) 2021-09-08 17:30:11 -04:00
11141.txt ui: set the job namespace when redirecting after the job is dispatched (#11141) 2021-09-07 12:27:33 -04:00
11143.txt changelog: add entry for #11143. 2021-09-07 09:51:17 +02:00
11144.txt Making RPC Upgrade mode reloadable. (#11144) 2021-11-01 16:30:53 -04:00
11165.txt changelog: add entry for #11165 2021-11-04 15:35:02 +01:00
11167.txt changelog: fixup entry extension for #11167 2021-11-04 15:28:34 +01:00
11168.txt Fixed usage of NOMAD_CLI_NO_COLOR env variable. (#11168) 2021-09-17 20:37:05 -04:00
11173.txt changelog: add entry for #11173. 2021-09-15 11:44:10 +02:00
11183.txt Disable PowerShell profile and simplify fingerprinting link speed on Windows (#11183) 2021-09-22 11:17:47 -04:00
11184.txt Log network device name during fingerprinting (#11184) 2021-09-16 10:48:31 -04:00
11185.txt deps: update go-memdb to 1.3.2 (#11185) 2021-09-14 20:26:45 -04:00
11187.txt connect: update allowed protocols in ingress gateway config (#11187) 2021-09-16 10:47:53 -04:00
11198.txt docs: add changelog entry for audit log naming 2021-09-16 16:21:57 -07:00
11206.txt changelog: add entry for #11206 2021-09-20 18:05:42 +01:00
11213.txt add -show-url option for ui command (#11213) 2021-10-05 20:08:42 -04:00
11215.txt client: add NOMAD_LICENSE to default env deny list 2021-09-21 13:51:17 -07:00
11238.txt Fixed creation of ControllerCreateVolumeRequest. (#11238) 2021-10-06 10:17:39 -04:00
11242.txt cli: Add nomad job allocs command (#11242) 2021-10-12 16:30:36 -04:00
11249.txt changelog: add entry for #11249 2021-10-01 12:50:51 +01:00
11251.txt update docs and changelog 2021-10-04 13:50:42 -04:00
11257.txt fix panic when Connect mesh gateway doesn't have a proxy block (#11257) 2021-10-04 15:52:07 -04:00
11261.txt add changelog 2021-10-05 13:01:19 -04:00
11269.txt debug: Improve namespace and region support (#11269) 2021-10-12 16:58:41 -04:00
11270.txt cli: Improved autocomplete support for job dispatch and operator debug (#11270) 2021-10-12 20:01:54 -04:00
11273.txt executor: suppress spurious log messages (#11273) 2021-10-06 12:42:35 -04:00
11280.txt Log error if there are no event handlers registered 2021-10-11 19:44:52 +00:00
11283.txt changelog: add entry for #11283 2021-10-07 08:16:05 +01:00
11284.txt Added a -hcl2-strict flag to allow for lenient hcl variable parsing. (#11284) 2021-11-04 16:33:09 +01:00
11287.txt executor: set CpuWeight in cgroup-v2 (#11287) 2021-10-14 08:46:07 -04:00
11291.txt wrap log messages with hclog (#11291) 2021-10-12 14:38:44 -04:00
11307.txt cli: rename paths in debug bundle for clarity (#11307) 2021-10-13 18:00:55 -04:00
11331.txt docs: add #11331 to changelog 2021-10-19 16:30:06 -07:00
11334.txt docs: add #11334 to changelog 2021-10-18 09:22:01 -07:00
11346.txt document GH-11346 fix (#11350) 2021-10-20 22:03:19 -04:00
11353.txt logging: Log the cause behind agent startup failure (#11353) 2021-10-27 10:41:17 -07:00
11357.txt ui: set * as the default namespace selector (#11357) 2021-10-21 10:24:07 -04:00
11358.txt ui: add client name tooltip when displaying client ID in tables (#11358) 2021-10-21 10:23:06 -04:00
11364.txt cli: allow setting namespace and region in the nomad ui command (#11364) 2021-10-21 16:24:39 -04:00
11366.txt ui: display Nomad version in the Clients and Servers table (#11366) 2021-10-22 10:33:06 -04:00
11368.txt ui: persist node drain settings (#11368) 2021-10-22 10:51:31 -04:00
11371.txt ui: update favicon (#11371) 2021-10-22 09:40:38 -04:00
11386.txt prevent active log from being overwritten when agent starts (#11386) 2021-10-26 20:57:07 -04:00
11391.txt scheduler: stop allocs in unrelated nodes (#11391) 2021-10-27 07:04:13 -07:00
11396.txt Fix arm64 panics by updating google/snappy library to latest, 0.0.4 (#11396) 2021-10-27 06:39:16 -07:00
11397.txt vault: set JobID in Vault metadata (#11397) 2021-10-27 07:20:29 -07:00
11398.txt debug: update default node-id and docs (#11398) 2021-10-27 13:43:56 -04:00
11400.txt Allow using specific object ID on diff (#11400) 2021-11-01 15:16:31 -04:00
11411.txt changelog: add entry for #11411. 2021-10-29 09:08:10 +02:00
11416.txt core: bump rejected plans from debug -> info 2021-10-31 12:51:42 -07:00
11423.txt Parse job > group > consul block in HCL1 (#11423) 2021-11-03 13:49:32 -04:00
11426.txt changelog: add entry for #11426 2021-11-02 11:43:13 +01:00
11429.txt changelog: add entry for #11429 2021-11-02 12:58:10 +01:00
11432.txt cli: show host_network in nomad status (#11432) 2021-11-05 09:02:46 -04:00
11461.txt build: bump go version to 1.17.3 (#11461) 2021-11-05 15:34:24 -04:00
11466.txt cli: refactor operator debug capture (#11466) 2021-11-05 19:43:10 -04:00
11542.txt qemu: add args_allowlist to sandbox VM command line inputs 2021-11-19 11:11:52 -05:00
11565.txt scheduler: fix panic in system jobs when nodes filtered by class (#11565) 2021-11-24 12:59:15 -05:00
changelog.tmpl Adopt go-changelog in Nomad (#10825) 2021-07-06 10:46:53 -04:00
note.tmpl Adopt go-changelog in Nomad (#10825) 2021-07-06 10:46:53 -04:00