Skip to content

Commit

Permalink
Merge branch 'hashicorp:main' into ui-logs-disabled-message
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanskar531 authored Dec 15, 2023
2 parents 2df79be + a6e1646 commit e0e8357
Show file tree
Hide file tree
Showing 684 changed files with 25,777 additions and 9,175 deletions.
2 changes: 1 addition & 1 deletion .changelog/11572.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```release-note:breaking-change
raft: The default raft protocol version is now 3 so you must follow the [Upgrading to Raft Protocol 3](https://www.nomadproject.io/docs/upgrade#upgrading-to-raft-protocol-3) guide when upgrading an existing cluster to Nomad 1.3.0. Downgrading the raft protocol version is not supported.
raft: The default raft protocol version is now 3 so you must follow the [Upgrading to Raft Protocol 3](https://developer.hashicorp.com/nomad/docs/upgrade#upgrading-to-raft-protocol-3) guide when upgrading an existing cluster to Nomad 1.3.0. Downgrading the raft protocol version is not supported.
```

```release-note:improvement
Expand Down
3 changes: 3 additions & 0 deletions .changelog/15617.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:feature
**Workload Identity for Vault:** Jobs can now use workload identity to authenticate to Vault.
```
3 changes: 3 additions & 0 deletions .changelog/15618.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:feature
**Workload Identity for Consul:** Jobs can now use workload identity to authenticate to Consul.
```
3 changes: 3 additions & 0 deletions .changelog/16638.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
client: remove incomplete allocation entries from client state database during client restarts
```
3 changes: 3 additions & 0 deletions .changelog/16867.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:feature
**Reschedule on Lost**: Adds the ability to prevent tasks on down nodes from being rescheduled
```
3 changes: 3 additions & 0 deletions .changelog/18035.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
api: Add JWKS HTTP API endpoint
```
3 changes: 3 additions & 0 deletions .changelog/18123.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
identity: Add support for multiple workload identities
```
3 changes: 3 additions & 0 deletions .changelog/18262.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
identity: Support jwt expiration and rotation
```
7 changes: 7 additions & 0 deletions .changelog/18371.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:breaking-change
client: the `unique.cgroup.mountpoint` node attribute has been removed
```

```release-note:breaking-change
client: the `unique.cgroup.version` node attribute has been renamed to `os.cgroups.version`
```
2 changes: 1 addition & 1 deletion .changelog/18463.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
```release-note:feature
```release-note:improvement
cli: Add `-prune` flag to `nomad operator force-leave` command
```
3 changes: 3 additions & 0 deletions .changelog/18516.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
consul: uses token namespace to fetch policies for verification
```
7 changes: 7 additions & 0 deletions .changelog/18562.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:improvement
deps: bumped `shirou/gopsutil` to v3.23.9
```

```release-note:improvement
client: add support for NetBSD clients
```
3 changes: 3 additions & 0 deletions .changelog/18681.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:feature
**NUMA aware scheduling**: Nomad Enterprise now supports optimized scheduling on NUMA hardware
```
3 changes: 3 additions & 0 deletions .changelog/18691.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:feature
**Workload Identity IDP:** Nomad's workload identities may now be used with third parties that support JWT or OIDC IDPs such as the AWS IAM OIDC Provider.
```
3 changes: 3 additions & 0 deletions .changelog/18745.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
config: Add `go-netaddrs` support to `server_join.retry_join`
```
3 changes: 3 additions & 0 deletions .changelog/18754.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
variables: Fixed a bug where poststop tasks were not allowed access to Variables
```
4 changes: 2 additions & 2 deletions .changelog/18794.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
```release-note:improvement
actions: introduces the action concept to jobspecs, the web UI, CLI and API
```release-note:feature
**Job Actions**: Introduces the action concept to jobspecs, the web UI, CLI and API. Operators can now define actions that Nomad users can execute against running allocations.
```
3 changes: 3 additions & 0 deletions .changelog/18832.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cli: ensure HCL env vars are added to the job submission object in the `job run` command
```
3 changes: 3 additions & 0 deletions .changelog/18835.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
metrics: Fixed a bug where CPU counters could report errors for negative values
```
3 changes: 3 additions & 0 deletions .changelog/18836.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
cli: Added support for prefix ID matching and wildcard namespaces to `service info` command
```
3 changes: 3 additions & 0 deletions .changelog/18838.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
scheduler (Enterprise): auto-unblock evals with associated quotas when node resources are freed up
```
3 changes: 3 additions & 0 deletions .changelog/18843.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:breaking-change
client/fingerprint: The `cpu.numcores.power` node attribute has been renamed to `cpu.numcores.performance` on Apple Silicon nodes
```
3 changes: 3 additions & 0 deletions .changelog/18873.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
scheduler: Ensure duplicate allocation indexes are tracked and fixed when performing job updates
```
3 changes: 3 additions & 0 deletions .changelog/18882.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
identity: default to RS256 for new workload ids
```
3 changes: 3 additions & 0 deletions .changelog/18901.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
cli: Add file prediction for operator raft/snapshot commands
```
3 changes: 3 additions & 0 deletions .changelog/18943.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
identity: Implement `change_mode` and `change_signal` for workload identities
```
3 changes: 3 additions & 0 deletions .changelog/18961.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
cli: Added help text to `acl bootstrap` about reading the initial token from a file
```
3 changes: 3 additions & 0 deletions .changelog/18967.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
core: Fix incorrect submit time for stopped jobs
```
3 changes: 3 additions & 0 deletions .changelog/18972.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
client: Fixed a bug where client API calls would fail incorrectly with permission denied errors when using ACL tokens with dangling policies
```
3 changes: 3 additions & 0 deletions .changelog/18985.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
vault: Fixed an issue that could cause Nomad to attempt to renew a Vault token that is already expired
```
7 changes: 7 additions & 0 deletions .changelog/18996.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:improvement
cli: Added identities, networks, and volumes to the output of the `operator client-state` command
```

```release-note:bug
cli: Fixed a bug where the `operator client-state` command would crash if it reads an allocation without a task state
```
3 changes: 3 additions & 0 deletions .changelog/19004.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:breaking-change
core: Honor job's namespace when checking `distinct_hosts` feasibility
```
3 changes: 3 additions & 0 deletions .changelog/19013.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:security
build: Update to go1.21.4 to resolve Windows path validation CVE in Go
```
3 changes: 3 additions & 0 deletions .changelog/19037.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
ui: nicer comment styles in UI example jobs
```
3 changes: 3 additions & 0 deletions .changelog/19051.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
ui: for system and sysbatch jobs, now show client name on hover in job panel
```
3 changes: 3 additions & 0 deletions .changelog/19101.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
scheduler: Added a new configuration to avoid rescheduling allocations if a nodes misses one or more heartbits
```
3 changes: 3 additions & 0 deletions .changelog/19104.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
consul: constraint for minimum version of Consul increased to 1.8.0
```
3 changes: 3 additions & 0 deletions .changelog/19115.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
api: Fix panic in `Allocation.Stub` method when `Job` is unset
```
3 changes: 3 additions & 0 deletions .changelog/19135.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
sso: Allow adding a token name format to auth methods which can be used to generate token names when signing in via SSO
```
3 changes: 3 additions & 0 deletions .changelog/19139.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Fixed an issue where purging a job with a namespace did not process correctly
```
3 changes: 3 additions & 0 deletions .changelog/19147.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cli: Fixed the `nomad job restart` command to create replacements for batch and system jobs and to prevent sysbatch jobs from being rescheduled since they never create replacements
```
3 changes: 3 additions & 0 deletions .changelog/19153.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
ui: Added a new example template with Task Actions
```
3 changes: 3 additions & 0 deletions .changelog/19154.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cli: Fixed a panic when the `nomad job restart` command received an interrupt signal while waiting for an answer
```
3 changes: 3 additions & 0 deletions .changelog/19155.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cli: Fixed a bug that caused the `nomad job restart` command to miscount the allocations to restart
```
3 changes: 3 additions & 0 deletions .changelog/19172.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
agent: Correct websocket status code handling
```
3 changes: 3 additions & 0 deletions .changelog/19176.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
cgroupslib: Consider CGroups OFF when essential controllers are missing
```
3 changes: 3 additions & 0 deletions .changelog/19189.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:deprecation
config: Loading plugins from `plugin_dir` without a `plugin` configuration block is deprecated
```
3 changes: 3 additions & 0 deletions .changelog/19220.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: fix an issue where starting a stopped job with default-less variables would not retain those variables when done via the job page start button in the web ui
```
3 changes: 3 additions & 0 deletions .changelog/19225.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
ui: show plan output warnings alongside placement failures and dry-run info when running a job through the web ui
```
3 changes: 3 additions & 0 deletions .changelog/19268.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
vault: Fixed a bug where poststop tasks would not get a Vault token
```
3 changes: 3 additions & 0 deletions .changelog/19320.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:security
build: Update to go1.21.5 to resolve Windows path validation CVE in Go
```
3 changes: 3 additions & 0 deletions .changelog/19332.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
ui: make the exec window look nicer on mobile screens
```
3 changes: 3 additions & 0 deletions .changelog/19334.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
connect: Fixed a bug where deployments would not wait for Connect sidecar task health checks to pass
```
7 changes: 7 additions & 0 deletions .changelog/19336.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:improvement
consul: Added support for failures_before_warning and failures_before_critical in Nomad agent services
```

```release-note:improvement
consul: Added support for failures_before_warning in Consul service checks
```
3 changes: 3 additions & 0 deletions .changelog/19349.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cli: Fixed a bug that caused the `nomad agent` command to ignore the `VAULT_TOKEN` and `VAULT_NAMESPACE` environment variables
```
3 changes: 3 additions & 0 deletions .changelog/19350.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
keyring: Fixed a bug where RSA keys were not replicated to followers
```
3 changes: 3 additions & 0 deletions .changelog/19374.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
metrics: Revert upgrade of `go-metrics` to fix an issue where metrics from dependencies, such as raft, were no longer emitted
```
3 changes: 3 additions & 0 deletions .changelog/19377.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
ui: dont allow new jobspec download until template is populated, and remove group count from jobs index
```
3 changes: 3 additions & 0 deletions .changelog/19383.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
client: Fix a panic in building CPU topology when inaccurate CPU data is provided
```
3 changes: 3 additions & 0 deletions .changelog/19415.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
audit (Enterprise): Added ACL token role links to audit log auth objects
```
3 changes: 3 additions & 0 deletions .changelog/19423.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cli: Fix a bug in the `var put` command which prevented combining items as CLI arguments and other parameters as flags
```
3 changes: 3 additions & 0 deletions .changelog/19425.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
auth: Fixed a bug where `tls.verify_server_hostname=false` was not respected, leading to authentication failures between Nomad agents
```
3 changes: 3 additions & 0 deletions .changelog/19432.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Fixed an issue where Accessor ID was masked by default when editing a token
```
3 changes: 3 additions & 0 deletions .changelog/19439.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
vault: Fixed a bug that caused `template` blocks to ignore Nomad configuration for Vault and use the default address of `https://127.0.0.1:8200` when the job does not have a `vault` block defined
```
3 changes: 3 additions & 0 deletions .changelog/19441.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
csi: Added validation to `csi_plugin` blocks to prevent `stage_publish_base_dir` from being a subdirectory of `mount_dir`
```
3 changes: 3 additions & 0 deletions .changelog/19449.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
consul (Enterprise): Fixed a bug where implicit Consul constraints were not specific to non-default Consul clusters
```
3 changes: 3 additions & 0 deletions .changelog/19452.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
ui: when an Action has long output, anchor to the latest messages
```
3 changes: 3 additions & 0 deletions .changelog/19457.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
client: Fixed a bug where clients are unable to detect CPU topology in certain conditions
```
3 changes: 3 additions & 0 deletions .changelog/19458.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
core: Fixed a bug where linux nodes with no reservable cores would panic the scheduler
```
3 changes: 3 additions & 0 deletions .changelog/19483.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
namespaces: Failed delete calls no longer return success codes
```
3 changes: 3 additions & 0 deletions .changelog/19485.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
consul: Add fingerprint for Consul Enterprise admin partitions
```
3 changes: 3 additions & 0 deletions .changelog/19490.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
client: Fixed a bug where where the environment variable / file for the Consul token weren't written.
```
3 changes: 3 additions & 0 deletions .changelog/19496.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
ui: Added a copy button on Action output
```
3 changes: 3 additions & 0 deletions .changelog/5311.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:feature
**Multiple Vault and Consul Clusters:** Nomad Enterprise can now use multiple Vault or Consul clusters. Each task or service can be registered with a different Consul cluster and each task can obtain secrets from a different Vault cluster.
```
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Hi there,

Thank you for opening an issue. Please note that we try to keep the Nomad issue
tracker reserved for bug reports and feature requests. For general usage
questions, please see: https://www.nomadproject.io/community
questions, please see: https://developer.hashicorp.com/nomad/community

-->

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Hi there,

Thank you for opening an issue. Please note that we try to keep the Nomad issue
tracker reserved for bug reports and feature requests. For general usage
questions, please see: https://www.nomadproject.io/community
questions, please see: https://developer.hashicorp.com/nomad/community

-->

Expand Down
18 changes: 17 additions & 1 deletion .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ on:
- 'website/**'

jobs:
test-e2e:
test-e2e-vault:
runs-on: ${{ endsWith(github.repository, '-enterprise') && fromJSON('["self-hosted", "ondemand", "linux"]') || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
Expand All @@ -51,6 +51,22 @@ jobs:
- name: Vault Compatability
run: make integration-test
- run: make e2e-test

test-e2e-consul:
runs-on: 'ubuntu-22.04' # this job requires sudo, so not currently suitable for self-hosted runners
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Git config token
if: endsWith(github.repository, '-enterprise')
run: git config --global url.'https://${{ secrets.ELEVATED_GITHUB_TOKEN }}@github.com'.insteadOf 'https://github.com'
- uses: hashicorp/setup-golang@v1
- name: Consul Compatability
run: |
make deps
sudo make cni
sudo sed -i 's!Defaults!#Defaults!g' /etc/sudoers
sudo -E env "PATH=$PATH" make integration-test-consul

permissions:
contents: read
id-token: write
Loading

0 comments on commit e0e8357

Please sign in to comment.