Skip to content

Commit

Permalink
backport of commit 24e01ef
Browse files Browse the repository at this point in the history
  • Loading branch information
pkazmierczak committed Nov 7, 2022
1 parent eff57ee commit 0c0e850
Show file tree
Hide file tree
Showing 921 changed files with 26,184 additions and 10,888 deletions.
3 changes: 3 additions & 0 deletions .changelog/11791.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
hcl: added support for using the `filebase64` function in jobspecs
```
3 changes: 3 additions & 0 deletions .changelog/11864.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
qemu: Added option to configure `drive_interface`
```
3 changes: 3 additions & 0 deletions .changelog/12520.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
bootstrap: Added option to allow for an operator generated bootstrap token to be passed to the `acl bootstrap` command
```
3 changes: 3 additions & 0 deletions .changelog/12534.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
api: support Authorization Bearer header in lieu of X-Nomad-Token header
```
3 changes: 3 additions & 0 deletions .changelog/12800.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
qemu: add support for guest agent socket
```
3 changes: 3 additions & 0 deletions .changelog/12817.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
client: Fixed a bug where network.dns block was not interpolated
```
3 changes: 3 additions & 0 deletions .changelog/12862.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
api: enable setting `?choose` parameter when querying services
```
3 changes: 0 additions & 3 deletions .changelog/12872.txt

This file was deleted.

3 changes: 3 additions & 0 deletions .changelog/12925.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Fixed a bug that prevented the UI task exec functionality to work from behind a reverse proxy.
```
3 changes: 3 additions & 0 deletions .changelog/12953.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
consul: Reduce load on Consul leader server by allowing stale results when listing namespaces.
```
3 changes: 3 additions & 0 deletions .changelog/12955.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
core: On node updates skip creating evaluations for jobs not in the node's datacenter.
```
3 changes: 3 additions & 0 deletions .changelog/12961.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
agent: emit a warning message if the agent starts with `bootstrap_expect` set to an even number.
```
3 changes: 3 additions & 0 deletions .changelog/12962.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
agent: fixed a panic on startup when the `server.protocol_version` config parameter was set
```
3 changes: 3 additions & 0 deletions .changelog/13008.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
volumes: Fixed a bug where additions, updates, or removals of host volumes or CSI volumes were not treated as destructive updates
```
3 changes: 3 additions & 0 deletions .changelog/13012.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: fixed a bug where links to jobs with "@" in their name would mis-identify namespace and 404
```
3 changes: 3 additions & 0 deletions .changelog/13041.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
client: added more fault tolerant defaults for template configuration
```
3 changes: 3 additions & 0 deletions .changelog/13044.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
cli: update default redis and use nomad service discovery
```
7 changes: 7 additions & 0 deletions .changelog/13045.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:improvement
cli: Added `scheduler get-config` and `scheduler set-config` commands to the operator CLI
```

```release-note:improvement
core: Added the ability to pause and un-pause the eval broker and blocked eval broker
```
3 changes: 3 additions & 0 deletions .changelog/13055.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
lifecycle: fixed a bug where sidecar tasks were not being stopped last
```
3 changes: 3 additions & 0 deletions .changelog/13057.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:security
A vulnerability was identified in the go-getter library that Nomad uses for its artifacts such that a specially crafted Nomad jobspec can be used for privilege escalation onto client agent hosts. [CVE-2022-30324](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30324)
```
3 changes: 3 additions & 0 deletions .changelog/13058.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
docker: Fixed a bug where cgroups-v1 parent was being set
```
3 changes: 3 additions & 0 deletions .changelog/13065.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
api: Fixed a bug where Consul token was not respected for job revert API
```
3 changes: 3 additions & 0 deletions .changelog/13070.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cli: Fixed a bug where job validate did not respect vault token or namespace
```
3 changes: 3 additions & 0 deletions .changelog/13076.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
agent: logs are no longer buffered at startup when logging in JSON format
```
3 changes: 3 additions & 0 deletions .changelog/13103.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
cli: warn destructive update only when count is greater than 1
```
3 changes: 3 additions & 0 deletions .changelog/13104.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
core: Fixed a bug where blocked eval resources were incorrectly computed
```
3 changes: 3 additions & 0 deletions .changelog/13125.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
connect: Added missing ability of setting Connect upstream destination namespace
```
3 changes: 3 additions & 0 deletions .changelog/13182.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
fingerprint: add support for detecting kernel architecture of clients. (attribute: `kernel.arch`)
```
3 changes: 3 additions & 0 deletions .changelog/13184.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvements
consul/connect: Allow configuring tls settings for ingress.
```
3 changes: 3 additions & 0 deletions .changelog/13205.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
core: Fixed a bug where an evicted batch job would not be rescheduled
```
3 changes: 3 additions & 0 deletions .changelog/13265.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
driver/docker: Eliminate excess Docker registry pulls for the `infra_image` when it already exists locally.
```
3 changes: 3 additions & 0 deletions .changelog/13274.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
csi: Fixed a scheduler bug where failed feasibility checks would return early and prevent processing additional nodes
```
3 changes: 3 additions & 0 deletions .changelog/13301.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
csi: Fixed a bug where volume claims on lost or garbage collected nodes could not be freed
```
3 changes: 3 additions & 0 deletions .changelog/13340.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
csi: Fixed a regression where a timeout was introduced that prevented some plugins from running by marking them as unhealthy after 30s by introducing a configurable `health_timeout` field
```
3 changes: 3 additions & 0 deletions .changelog/13359.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvements
api: Added `NewSysbatchJob` helper function to create a base sysbatch job object
```
3 changes: 3 additions & 0 deletions .changelog/13364.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cli: Fixed a bug where the evaluation ID was not returned from `job revert` when the `-detach` flag was used
``
3 changes: 3 additions & 0 deletions .changelog/13405.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cli: Fixed remaining bugs where the evaluation ID was not printed when the `-detach` flag was passed
``
3 changes: 3 additions & 0 deletions .changelog/13407.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
core: Fixed a bug where the plan applier could deadlock if leader's state lagged behind plan's creation index for more than 5 seconds.
```
7 changes: 7 additions & 0 deletions .changelog/13421.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:improvement
core: automatically mark clients with recurring plan rejections as ineligible
```

```release-note:improvement
metrics: emit `nomad.nomad.plan.rejection_tracker.node_score` metric for the number of times a node had a plan rejection within the past time window
```
3 changes: 3 additions & 0 deletions .changelog/13428.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cni: Fixed a bug where loopback address was not set for all drivers
```
3 changes: 3 additions & 0 deletions .changelog/13446.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
csi: Fixed a bug where CSI hook validation would fail if all tasks didn't support CSI.
``
3 changes: 3 additions & 0 deletions .changelog/13472.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
cli: `operator debug` now outputs current leader to debug bundle
```
3 changes: 3 additions & 0 deletions .changelog/13473.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Fixed a bug where dispatched children of parameterized jobs wouldn't display metadata or payloads
``
3 changes: 3 additions & 0 deletions .changelog/13491.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
deps: Updated `github.com/hashicorp/go-discover` to latest to allow setting the AWS endpoint definition
```
7 changes: 7 additions & 0 deletions .changelog/13492.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:improvement
cli: Added `delete` command to the eval CLI
```

```release-note:improvement
agent: Added delete support to the eval HTTP API
```
3 changes: 3 additions & 0 deletions .changelog/13493.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
client: Fixed a problem calculating a services namespace
```
7 changes: 7 additions & 0 deletions .changelog/13530.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:bug
api: Fix listing evaluations with the wildcard namespace and an ACL token
```

```release-note:bug
ui: Fix a bug that prevented viewing the details of an evaluation in a non-default namespace
```
3 changes: 3 additions & 0 deletions .changelog/13551.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
state: Fix listing evaluations from all namespaces
```
7 changes: 7 additions & 0 deletions .changelog/13581.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:improvement
cli: display namespace and node ID in the `eval list` command and when `eval status` matches multiple evals
```

```release-note:improvement
cli: always display job ID and namespace in the `eval status` command
```
3 changes: 3 additions & 0 deletions .changelog/13588.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Fixed an issue where editing or running a job with a namespace via the UI would throw a 404 on redirect.
```
3 changes: 3 additions & 0 deletions .changelog/13608.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
api: refactor ACL check when using the all namespaces wildcard in the job and alloc list endpoints
```
3 changes: 3 additions & 0 deletions .changelog/13621.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
api: HTTP server now returns a 429 error code when hitting the connection limit
```
3 changes: 3 additions & 0 deletions .changelog/13626.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
client: Fixed a bug where max_kill_timeout client config was ignored
```
3 changes: 3 additions & 0 deletions .changelog/13651.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
core: Fixed a bug where reserved ports on multiple node networks would be treated as a collision. `client.reserved.reserved_ports` is now merged into each `host_network`'s reserved ports instead of being treated as a collision.
```
3 changes: 3 additions & 0 deletions .changelog/13656.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cli: Fixed a bug in the names of the `node drain` and `node status` sub-commands
```
3 changes: 3 additions & 0 deletions .changelog/13658.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
cli: `operator snapshot state` supports `-filter` expressions and avoids writing large temporary files
```
3 changes: 3 additions & 0 deletions .changelog/13659.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Allow running jobs from a namespace-limited token
```
3 changes: 3 additions & 0 deletions .changelog/13670.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Fixed a bug where task memory was reported as zero on systems using cgroups v2
```
3 changes: 3 additions & 0 deletions .changelog/13679.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
ui: Namespace filter query paramters are now isolated by route
```
3 changes: 3 additions & 0 deletions .changelog/13737.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
acl: Fixed a bug where the timestamp for expiring one-time tokens was not deterministic between servers
```
3 changes: 3 additions & 0 deletions .changelog/13755.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
template: Templates support new uid/gid parameter pair
```
3 changes: 3 additions & 0 deletions .changelog/13786.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
metrics: Fixed a bug where blocked evals with no class produced no dc:class scope metrics
```
3 changes: 3 additions & 0 deletions .changelog/13865.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Add missing breadcrumb in the Evaluations page.
```
3 changes: 3 additions & 0 deletions .changelog/13866.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
ui: Reorder and apply the same style to the Evaluations list page filters to match the Job list page.
```
3 changes: 3 additions & 0 deletions .changelog/13869.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
servicedisco: Fixed a bug where non-unique services would escape job validation
```
3 changes: 3 additions & 0 deletions .changelog/13880.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
namespaces: Fixed a bug that allowed deleting a namespace that contained a CSI volume
```
3 changes: 3 additions & 0 deletions .changelog/13907.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
template: Expose consul-template configuration options at the client level for `nomad_retry`.
```
3 changes: 3 additions & 0 deletions .changelog/13919.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
csi: Add `stage_publish_base_dir` field to `csi_plugin` block to support plugins that require a specific staging/publishing directory for mounts
```
3 changes: 3 additions & 0 deletions .changelog/13971.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
qemu: use shorter socket file names to reduce the chance of hitting the max path length
```
3 changes: 3 additions & 0 deletions .changelog/13972.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
template: add script change_mode that allows scripts to be executed on template change
```
3 changes: 3 additions & 0 deletions .changelog/14000.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
qemu: restore the monitor socket path when restoring a QEMU task.
```
3 changes: 3 additions & 0 deletions .changelog/14001.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
deployments: Fixed a bug that prevented auto-approval if canaries were marked as unhealthy during deployment
```
3 changes: 3 additions & 0 deletions .changelog/14065.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cli: Fixed a bug where job validation requeset was not sent to leader
```
3 changes: 3 additions & 0 deletions .changelog/14069.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cli: Fixed a bug where the memory usage reported by Allocation Resource Utilization is zero on systems using cgroups v2
```
3 changes: 3 additions & 0 deletions .changelog/14071.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
ui: Display different message when trying to exec into a job with no task running.
```
3 changes: 3 additions & 0 deletions .changelog/14088.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cli: Fixed a bug where vault token not respected in plan command
```
3 changes: 3 additions & 0 deletions .changelog/14089.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
driver/docker: Added config option to disable container healthcheck
```
3 changes: 3 additions & 0 deletions .changelog/14115.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Removes duplicate breadcrumb header when navigating from child job back to parent.
```
7 changes: 7 additions & 0 deletions .changelog/14127.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:improvement
client: add option to restart all tasks of an allocation, regardless of lifecycle type or state.
```

```release-note:improvement
client: only start poststop tasks after poststart tasks are done.
```
3 changes: 3 additions & 0 deletions .changelog/14132.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
build: update to go1.19
```
3 changes: 3 additions & 0 deletions .changelog/14138.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
ui: add general keyboard navigation to the Nomad UI
```
3 changes: 3 additions & 0 deletions .changelog/14145.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
api: cleanup whitespace from failed api response body
```
3 changes: 3 additions & 0 deletions .changelog/14171.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
sentinel: add the ability to reference the namespace and Nomad acl token in policies
```
3 changes: 3 additions & 0 deletions .changelog/14203.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
template: Fixed a bug where job templates would use `uid` and `gid` 0 after upgrading to Nomad 1.3.3, causing tasks to fail with the error `failed looking up user: managing file ownership is not supported on Windows`.
```
3 changes: 3 additions & 0 deletions .changelog/14223.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
ui: Add button to restart all tasks in an allocation.
```
3 changes: 3 additions & 0 deletions .changelog/14224.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Fixed a bug that caused the allocation details page to display the stats bar chart even if the task was pending.
```
3 changes: 3 additions & 0 deletions .changelog/14230.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
client: Fixed a bug where cpuset initialization would not work on first agent startup
```
3 changes: 3 additions & 0 deletions .changelog/14248.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
client: Fixed a bug where user lookups would hang or panic
```
3 changes: 3 additions & 0 deletions .changelog/14297.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
client/logmon: fixed a bug where logmon cannot find nomad executable
```
7 changes: 7 additions & 0 deletions .changelog/14298.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:bug
vault: Fixed a bug where changing the Vault configuration `namespace` field was not detected as a change during server configuration reload.
```

```release-note:bug
vault: Fixed a bug where Vault clients were recreated when the server configuration was reloaded, even if there were no changes to the Vault configuration.
```
3 changes: 3 additions & 0 deletions .changelog/14333.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cli: Fixed a bug where forcing a periodic job would fail if the job ID prefix-matched other periodic jobs
```
Loading

0 comments on commit 0c0e850

Please sign in to comment.