-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backport of fix 'default' alias not added to interface specified by network_interface
into release/1.4.x
#18114
Backport of fix 'default' alias not added to interface specified by network_interface
into release/1.4.x
#18114
Commits on Jun 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f0f4cbb - Browse repository at this point
Copy the full SHA f0f4cbbView commit details -
node pools: implement HTTP API to list jobs in pool (#17431)
Implements the HTTP API associated with the `NodePool.ListJobs` RPC, including the `api` package for the public API and documentation. Update the `NodePool.ListJobs` RPC to fix the missing handling of the special "all" pool.
Configuration menu - View commit details
-
Copy full SHA for 385dbfb - Browse repository at this point
Copy the full SHA 385dbfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84e7cf3 - Browse repository at this point
Copy the full SHA 84e7cf3View commit details
Commits on Jun 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 354d741 - Browse repository at this point
Copy the full SHA 354d741View commit details -
node pools: implement support in scheduler (#17443)
Implement scheduler support for node pool: * When a scheduler is invoked, we get a set of the ready nodes in the DCs that are allowed for that job. Extend the filter to include the node pool. * Ensure that changes to a job's node pool are picked up as destructive allocation updates. * Add `NodesInPool` as a metric to all reporting done by the scheduler. * Add the node-in-pool the filter to the `Node.Register` RPC so that we don't generate spurious evals for nodes in the wrong pool.
Configuration menu - View commit details
-
Copy full SHA for 9a6078a - Browse repository at this point
Copy the full SHA 9a6078aView commit details -
build: update to go1.20.5 (#17451)
Go released a security update to fix build-time code injection and execution via CGO. This doesn't impact already-released versions of Nomad, just the build toolchain, so we won't be releasing a Nomad security update to go with it.
Configuration menu - View commit details
-
Copy full SHA for ceb3b4c - Browse repository at this point
Copy the full SHA ceb3b4cView commit details -
client: fix client panic during drain cause by shutdown (#17450)
During shutdown of a client with drain_on_shutdown there is a race between the Client ending the cgroup and the task's cpuset manager cleaning up the cgroup. During the path traversal, skip anything we cannot read, which avoids the nil DirEntry we try to dereference now.
Configuration menu - View commit details
-
Copy full SHA for 225693a - Browse repository at this point
Copy the full SHA 225693aView commit details -
[ui] Parallelize ember tests (#17442)
* Exam to parallelize tests * Logging to try to solve test flakiness * Logging in another failure * Hardening for one test and snapshot for another * Explicitly set the first one as the servicedAlloc instead of randomly picking * A wild CircleCI test failure appears * de-log
Configuration menu - View commit details
-
Copy full SHA for 408ab82 - Browse repository at this point
Copy the full SHA 408ab82View commit details
Commits on Jun 9, 2023
-
docker: stop network pause container of lost alloc after node restart (…
…#17455) This PR fixes a bug where the docker network pause container would not be stopped and removed in the case where a node is restarted, the alloc is moved to another node, the node comes back up. See the issue below for full repro conditions. Basically in the DestroyNetwork PostRun hook we would depend on the NetworkIsolationSpec field not being nil - which is only the case if the Client stays alive all the way from network creation to network teardown. If the node is rebooted we lose that state and previously would not be able to find the pause container to remove. Now, we manually find the pause container by scanning them and looking for the associated allocID. Fixes #17299
Configuration menu - View commit details
-
Copy full SHA for 89ce092 - Browse repository at this point
Copy the full SHA 89ce092View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1a9fe9 - Browse repository at this point
Copy the full SHA c1a9fe9View commit details -
Configuration menu - View commit details
-
Copy full SHA for be8f04e - Browse repository at this point
Copy the full SHA be8f04eView commit details -
[ui] Don't show a service as healthy when its parent alloc is not run…
…ning (#17465) * Fix: dont show a service as healthy when its parent alloc is not running * Test for Health Unknown
Configuration menu - View commit details
-
Copy full SHA for 667d002 - Browse repository at this point
Copy the full SHA 667d002View commit details
Commits on Jun 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1f1c0a1 - Browse repository at this point
Copy the full SHA 1f1c0a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b94cb32 - Browse repository at this point
Copy the full SHA b94cb32View commit details -
replication: fix potential panic during upgrades (#17476)
If the authoritative region has been upgraded to a version of Nomad that has new replicated objects (such as ACL Auth Methods, ACL Binding Rules, etc.), the non-authoritative regions will start replicating those objects as soon as their leader is upgraded. If a server in the non-authoritative region is upgraded and then becomes the leader before all the other servers in the region have been upgraded, then it will attempt to write a Raft log entry that the followers don't understand. The followers will then panic. Add same the minimum version checks that we do for RPC writes to the leader's replication loop.
Configuration menu - View commit details
-
Copy full SHA for cff3c9b - Browse repository at this point
Copy the full SHA cff3c9bView commit details -
node pools: prevent panic on upsert during upgrades (#17474)
Whenever we write a Raft log entry for node pools, we need to first make sure that all servers can safely apply the log without panicking. Gate upsert and delete RPCs on all servers being upgraded to the minimum version.
Configuration menu - View commit details
-
Copy full SHA for 95b6d7a - Browse repository at this point
Copy the full SHA 95b6d7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca86582 - Browse repository at this point
Copy the full SHA ca86582View commit details -
node pools: replicate from authoritative region (#17456)
Upserts and deletes of node pools are forwarded to the authoritative region, just like we do for namespaces, quotas, ACL policies, etc. Replicate node pools from the authoritative region.
Configuration menu - View commit details
-
Copy full SHA for 5bb6e57 - Browse repository at this point
Copy the full SHA 5bb6e57View commit details -
all of our workflows are in GitHub Actions now 🎉
Configuration menu - View commit details
-
Copy full SHA for 5733fa7 - Browse repository at this point
Copy the full SHA 5733fa7View commit details
Commits on Jun 13, 2023
-
conf: Add preemption_config to the server extra HCL keys which should…
Configuration menu - View commit details
-
Copy full SHA for 887d306 - Browse repository at this point
Copy the full SHA 887d306View commit details -
node pools: protect against deleting occupied pools (#17457)
We don't want to delete node pools that have nodes or non-terminal jobs. Add a check in the `DeleteNodePools` RPC to check locally and in federated regions, similar to how we check that it's safe to delete namespaces.
Configuration menu - View commit details
-
Copy full SHA for 2c77bf7 - Browse repository at this point
Copy the full SHA 2c77bf7View commit details -
node pool: node pool upsert on multiregion node register (#17503)
When registering a node with a new node pool in a non-authoritative region we can't create the node pool because this new pool will not be replicated to other regions. This commit modifies the node registration logic to only allow automatic node pool creation in the authoritative region. In non-authoritative regions, the client is registered, but the node pool is not created. The client is kept in the `initialing` status until its node pool is created in the authoritative region and replicated to the client's region.
Configuration menu - View commit details
-
Copy full SHA for 5db9e64 - Browse repository at this point
Copy the full SHA 5db9e64View commit details -
node pools: implement
node pool init
command (#17479)Implement a `nomad node pool init` command that generates an example spec file in either HCL or JSON format.
Configuration menu - View commit details
-
Copy full SHA for 0aeeaf1 - Browse repository at this point
Copy the full SHA 0aeeaf1View commit details
Commits on Jun 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b30f76e - Browse repository at this point
Copy the full SHA b30f76eView commit details -
client: fix panic on alloc stop in non-Linux environments (#17515)
Provide a no-op implementation of the drivers.DriverNetoworkManager interface to be used by systems that don't support network isolation and prevent panics where a network manager is expected.
Configuration menu - View commit details
-
Copy full SHA for 30921a1 - Browse repository at this point
Copy the full SHA 30921a1View commit details -
[ui] Job status panel: tooltips on individual allocs (#17514)
* Tooltip on individual allocs in the panel * Isolate allocation cells to their own component * Tipsy trigger * Aria label for failed-or-lost tooltips * Buildfix * Try adding percy exec back to exam run
Configuration menu - View commit details
-
Copy full SHA for ee8cf15 - Browse repository at this point
Copy the full SHA ee8cf15View commit details -
docs: note namespace apply/delete behaviors, fix metric (#17527)
This changeset includes some fixes to documentation discovered while working on node pools, but we didn't want to include in the node pool PRs so they can get backported easily: * namespace apply/delete commands are forwarded to the authoritative region * deleting a namespace requires there are no non-terminal jobs in any of the federated regions * fixed a typo in the name of the `nomad.client.allocated.disk` metric
Configuration menu - View commit details
-
Copy full SHA for 6bd1ebe - Browse repository at this point
Copy the full SHA 6bd1ebeView commit details -
cli: fix missing
-quiet
flag forvar init
(#17526)The `var init` command was intended to have support for a `-quiet` flag but it was not documented and never parsed.
Configuration menu - View commit details
-
Copy full SHA for 0ac85db - Browse repository at this point
Copy the full SHA 0ac85dbView commit details -
node pools: add pool as label on client metrics (#17528)
This changeset adds the node pool as a label anywhere we're already emitting labels with additional information such as node class or ID about the client.
Configuration menu - View commit details
-
Copy full SHA for 068d0ea - Browse repository at this point
Copy the full SHA 068d0eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for eee2315 - Browse repository at this point
Copy the full SHA eee2315View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57f31eb - Browse repository at this point
Copy the full SHA 57f31ebView commit details
Commits on Jun 15, 2023
-
docs: add missing
client.allocs
metrics (#17540)The docs were missing counter metrics emitted by the task runner around task state changes.
Configuration menu - View commit details
-
Copy full SHA for 288ff2f - Browse repository at this point
Copy the full SHA 288ff2fView commit details -
tests: set timeout on test-ui (#17549)
This seems to finish in about 20 minutes, or run for 6+ hours until hitting a default timeout. Set a timeout to 30 minutes so we aren't wasting time and runners.
Configuration menu - View commit details
-
Copy full SHA for 55e224f - Browse repository at this point
Copy the full SHA 55e224fView commit details -
build(deps-dev): bump webpack from 5.69.1 to 5.86.0 in /ui (#17488)
Bumps [webpack](https://github.com/webpack/webpack) from 5.69.1 to 5.86.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.69.1...v5.86.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ea2cdc0 - Browse repository at this point
Copy the full SHA ea2cdc0View commit details -
Fix DevicesSets being removed when cpusets are reloaded with cgroup v2 (
#17535) * Fix DevicesSets being removed when cpusets are reloaded with cgroup v2 This meant that if any allocation was created or removed, all active DevicesSets were removed from all cgroups of all tasks. This was most noticeable with "exec" and "raw_exec", as it meant they no longer had access to /dev files. * e2e: add test for verifying cgroups do not interfere with access to devices --------- Co-authored-by: Seth Hoenig <shoenig@duck.com>
1Configuration menu - View commit details
-
Copy full SHA for a1a5241 - Browse repository at this point
Copy the full SHA a1a5241View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65db030 - Browse repository at this point
Copy the full SHA 65db030View commit details -
Minimum viable fix for Storybook
Stories that used named blocked wouldn't render the named blocks. Evidently this was due to using a customized template renderer that became incompatible when Ember was upgraded.
Configuration menu - View commit details
-
Copy full SHA for 14c297e - Browse repository at this point
Copy the full SHA 14c297eView commit details -
Tidy up Storybook related packages
It's unfortunate having to point to a hash for ember-cli-storybook, but there hasn't been a release since the environment PR merged. At least this is better than pointing at a fork?
Configuration menu - View commit details
-
Copy full SHA for d6c1813 - Browse repository at this point
Copy the full SHA d6c1813View commit details -
Free your mind of the babel and the packed web
ember-cli-storybook and storybook itself has progressed to the point where the DIY configs aren't necessary. It's all swept under the `framework: '@storybook/ember'` config in main.js. Yay!
Configuration menu - View commit details
-
Copy full SHA for d394aca - Browse repository at this point
Copy the full SHA d394acaView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2731d8 - Browse repository at this point
Copy the full SHA e2731d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81f7e53 - Browse repository at this point
Copy the full SHA 81f7e53View commit details -
e2e: purge bionic packer image scripts (#17559)
Bionic is dead, long live the Jammy!
Configuration menu - View commit details
-
Copy full SHA for 6b28345 - Browse repository at this point
Copy the full SHA 6b28345View commit details -
Merge pull request #17516 from hashicorp/f/fix-storybook
Fix Storybook
Configuration menu - View commit details
-
Copy full SHA for 18ed171 - Browse repository at this point
Copy the full SHA 18ed171View commit details -
e2e: cleanup podman installation in jammy image (#17558)
* e2e: cleanup podman installation in jammy image The original steps were copied over from the bionic image and does a lot of hoop jumping we do not need anymore. For the moment just hard-code installing the v0.4.2 version of the driver, but I may follow up and modify hc-install to support installing @latest like go itself. * use releases for hc-install
Configuration menu - View commit details
-
Copy full SHA for 6975409 - Browse repository at this point
Copy the full SHA 6975409View commit details
Commits on Jun 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2d7bead - Browse repository at this point
Copy the full SHA 2d7beadView commit details -
e2e: modernize podman test suite (#17564)
Use the new style of e2e test for the podman suite ... which is all of one test case that was skipped out. Turn the case back on, and we will add more tests in the near future.
Configuration menu - View commit details
-
Copy full SHA for f5fcaba - Browse repository at this point
Copy the full SHA f5fcabaView commit details -
node pools: support
node.pool
constraint in scheduler (#17548)Although most of the time jobs will be assigned to a single node pool, users may want to set the node pool to "all" and then constraint to a subset of node pools. Add support for setting a contraint like `${node.pool}`.
Configuration menu - View commit details
-
Copy full SHA for 6ea36f2 - Browse repository at this point
Copy the full SHA 6ea36f2View commit details -
node pools: namespace integration (#17562)
Add structs and fields to support the Nomad Pools Governance Enterprise feature of controlling node pool access via namespaces. Nomad Enterprise allows users to specify a default node pool to be used by jobs that don't specify one. In order to accomplish this, it's necessary to distinguish between a job that explicitly uses the `default` node pool and one that did not specify any. If the `default` node pool is set during job canonicalization it's impossible to do this, so this commit allows a job to have an empty node pool value during registration but sets to `default` at the admission controller mutator. In order to guarantee state consistency the state store validates that the job node pool is set and exists before inserting it.
Configuration menu - View commit details
-
Copy full SHA for 4f7c38b - Browse repository at this point
Copy the full SHA 4f7c38bView commit details -
cli: prevent panic if job node pool is nil (#17571)
If the `nomad` CLI is used to access a cluster running a version that does not include node pools the command will `nil` panic when trying to resolve the job's node pool.
Configuration menu - View commit details
-
Copy full SHA for 80e1ad6 - Browse repository at this point
Copy the full SHA 80e1ad6View commit details
Commits on Jun 17, 2023
-
Use the legacy openssl provider for backcompat
Node v18 uses a newer version of openssl than webpack 4 is compatible with. This is the quickest fix. The ideal fix would be to upgrade webpack to v5 but the state of Ember, Storybook, and generally just JS dep management makes this not an option.
Configuration menu - View commit details
-
Copy full SHA for 51d72db - Browse repository at this point
Copy the full SHA 51d72dbView commit details -
Merge pull request #17573 from hashicorp/f/legacy-openssl
UI Dev Tools: Use the legacy openssl provider for backcompat
Configuration menu - View commit details
-
Copy full SHA for a6c8a56 - Browse repository at this point
Copy the full SHA a6c8a56View commit details
Commits on Jun 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8953e78 - Browse repository at this point
Copy the full SHA 8953e78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 219f5dd - Browse repository at this point
Copy the full SHA 219f5ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for e29ad68 - Browse repository at this point
Copy the full SHA e29ad68View commit details -
np: scheduler configuration updates (#17575)
* jobspec: rename node pool scheduler_configuration In HCL specifications we usually call configuration blocks `config` instead of `configuration`. * np: add memory oversubscription config * np: make scheduler config ENT
Configuration menu - View commit details
-
Copy full SHA for 6c64847 - Browse repository at this point
Copy the full SHA 6c64847View commit details -
[ui, deployments] Promote Canary and Unhealthy Allocations in the dep…
…loyment status panel (#17547) * A wild health status appears * autoPromote notification conditions * Legend fixes etc * Acceptance tests for new canary alerts
Configuration menu - View commit details
-
Copy full SHA for 94cb129 - Browse repository at this point
Copy the full SHA 94cb129View commit details -
[COMPLIANCE] Add Copyright and License Headers (#17596)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4e2d131 - Browse repository at this point
Copy the full SHA 4e2d131View commit details
Commits on Jun 20, 2023
-
ci: run 'make check' as reusable workflow (#17600)
Some of the paths ignored by `test-core.yaml` need to be checked by `make check`. The `checks.yaml` workflow run on these paths and can also be used as a reusable workflow.
Configuration menu - View commit details
-
Copy full SHA for 354e4b2 - Browse repository at this point
Copy the full SHA 354e4b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b707b5 - Browse repository at this point
Copy the full SHA 4b707b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d9cad1 - Browse repository at this point
Copy the full SHA 9d9cad1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4beb12 - Browse repository at this point
Copy the full SHA e4beb12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2520cb2 - Browse repository at this point
Copy the full SHA 2520cb2View commit details -
e2e: fix windows client docker (#17572)
the windows docker install script stopped working. after trying various things to fix the script, I opted instead for a base image that comes with docker already installed. error output during build was: Installing Docker. WARNING: Cannot find path 'C:\Users\Administrator\AppData\Local\Temp\DockerMsftProvider\DockerDefault_DockerSearchIndex.json' because it does not exist. WARNING: Cannot bind argument to parameter 'downloadURL' because it is an empty string. WARNING: The property 'AbsoluteUri' cannot be found on this object. Verify that the property exists. WARNING: The property 'RequestMessage' cannot be found on this object. Verify that the property exists. Failed to install Docker. Install-Package : No match was found for the specified search criteria and package name 'docker'.
Configuration menu - View commit details
-
Copy full SHA for 748aea1 - Browse repository at this point
Copy the full SHA 748aea1View commit details -
scheduler: tolerate having only one dynamic port available (#17619)
If the dynamic port range for a node is set so that the min is equal to the max, there's only one port available and this passes config validation. But the scheduler panics when it tries to pick a random port. Only add the randomness when there's more than one to pick from. Adds a test for the behavior but also adjusts the commentary on a couple of the existing tests that made it seem like this case was already covered if you didn't look too closely. Fixes: #17585
Configuration menu - View commit details
-
Copy full SHA for f73b454 - Browse repository at this point
Copy the full SHA f73b454View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e4161f - Browse repository at this point
Copy the full SHA 5e4161fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea8bf8e - Browse repository at this point
Copy the full SHA ea8bf8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59d5a41 - Browse repository at this point
Copy the full SHA 59d5a41View commit details -
Merge pull request #17624 from hashicorp/b/ui-audit-workflow
[UI, CI] Bump the ember-test-audit workflow to node 18
Configuration menu - View commit details
-
Copy full SHA for 8e2cb4c - Browse repository at this point
Copy the full SHA 8e2cb4cView commit details -
New generic exam:parallel yarn script
This is intended to be used like `yarn exam:parallel -- more --options` This way a split and partition can be provided by CI without CI also needing to deal with percy details.
Configuration menu - View commit details
-
Copy full SHA for 8a19375 - Browse repository at this point
Copy the full SHA 8a19375View commit details -
Move the ember exam workflow into its own reusable job
This will be called N times by the parent test-ui script.
Configuration menu - View commit details
-
Copy full SHA for ad2c8d5 - Browse repository at this point
Copy the full SHA ad2c8d5View commit details -
Use a matrix strategy to run exam partitions
This will run partitions and parallel only after linting passes.
Configuration menu - View commit details
-
Copy full SHA for 7bbc51a - Browse repository at this point
Copy the full SHA 7bbc51aView commit details -
Rip out the xUnit test reporter
This was used to integrate with Circle CI's deeper test reporting (failures, flakes, reporting). It's strictly vestigial now that we're on GHA.
Configuration menu - View commit details
-
Copy full SHA for 7d80d0e - Browse repository at this point
Copy the full SHA 7d80d0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 167f5bd - Browse repository at this point
Copy the full SHA 167f5bdView commit details -
After renovating everything, it's evident that the ember-exam sub-workflow can be inlined without any pesky duplication.
Configuration menu - View commit details
-
Copy full SHA for d5767ac - Browse repository at this point
Copy the full SHA d5767acView commit details -
Tag the GHA run for percy to use
Percy uses this to stitch parallel test runs back together into a single report.
Configuration menu - View commit details
-
Copy full SHA for 6c53c1e - Browse repository at this point
Copy the full SHA 6c53c1eView commit details
Commits on Jun 21, 2023
-
Merge pull request #17626 from hashicorp/f/ui-test-splitting
[UI, CI] Test splitting
Configuration menu - View commit details
-
Copy full SHA for 04042c6 - Browse repository at this point
Copy the full SHA 04042c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 102f732 - Browse repository at this point
Copy the full SHA 102f732View commit details -
[ui] General status for steady-state jobs (#17599)
* Degraded vs Healthy etc. status * Standardize the look of a deploying status panel * badge styles * remove job.status from title component in favour of in-panel status * Remove a redundant check * re-attrd fail-deployment button considered
Configuration menu - View commit details
-
Copy full SHA for 873acf0 - Browse repository at this point
Copy the full SHA 873acf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe49f22 - Browse repository at this point
Copy the full SHA fe49f22View commit details
Commits on Jun 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f4c7182 - Browse repository at this point
Copy the full SHA f4c7182View commit details -
Configuration menu - View commit details
-
Copy full SHA for c192532 - Browse repository at this point
Copy the full SHA c192532View commit details -
Configuration menu - View commit details
-
Copy full SHA for b197a9e - Browse repository at this point
Copy the full SHA b197a9eView commit details -
ui: remove redundant columns from child job table (#17645)
Namespace, job type, and priority are already available from the parent job header, so displaying them in the table caused it to be too crowded.
Configuration menu - View commit details
-
Copy full SHA for a29048b - Browse repository at this point
Copy the full SHA a29048bView commit details -
ui: add tooltips to the Topology labels (#17647)
Add tooltips to labels in nodes and datacenters for the Topology view page to clarify what each value represents.
Configuration menu - View commit details
-
Copy full SHA for df37f2d - Browse repository at this point
Copy the full SHA df37f2dView commit details -
client: do not disable memory swappiness if kernel does not support it (
#17625) * client: do not disable memory swappiness if kernel does not support it This PR adds a workaround for very old Linux kernels which do not support the memory swappiness interface file. Normally we write a "0" to the file to explicitly disable swap. In the case the kernel does not support it, give libcontainer a nil value so it does not write anything. Fixes #17448 * client: detect swappiness by writing to the file * fixup changelog Co-authored-by: James Rasell <jrasell@users.noreply.github.com> --------- Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 33ac5ed - Browse repository at this point
Copy the full SHA 33ac5edView commit details -
ui: display mirage scenario in header label (#17649)
This information is useful when switching between different scenarios for testing.
Configuration menu - View commit details
-
Copy full SHA for 876117f - Browse repository at this point
Copy the full SHA 876117fView commit details -
release pipeline: release workflow needs write permissions (#17669)
In #17103 we set read-only permissions on all the workflows. Unfortunately we missed that the `release` workflow makes git commits and pushes them to the repository, so it needs to have write permissions.
Configuration menu - View commit details
-
Copy full SHA for b23fe72 - Browse repository at this point
Copy the full SHA b23fe72View commit details -
ci: fix some flaky UI tests (#17648)
These tests would fail depending on the value of the seed used.
Configuration menu - View commit details
-
Copy full SHA for 28206f7 - Browse repository at this point
Copy the full SHA 28206f7View commit details -
client: send node secret with every client-to-server RPC (#16799)
In Nomad 1.5.3 we fixed a security bug that allowed bypass of ACL checks if the request came thru a client node first. But this fix broke (knowingly) the identification of many client-to-server RPCs. These will be now measured as if they were anonymous. The reason for this is that many client-to-server RPCs do not send the node secret and instead rely on the protection of mTLS. This changeset ensures that the node secret is being sent with every client-to-server RPC request. In a future version of Nomad we can add enforcement on the server side, but this was left out of this changeset to reduce risks to the safe upgrade path. Sending the node secret as an auth token introduces a new problem during initial introduction of a client. Clients send many RPCs concurrently with `Node.Register`, but until the node is registered the node secret is unknown to the server and will be rejected as invalid. This causes permission denied errors. To fix that, this changeset introduces a gate on having successfully made a `Node.Register` RPC before any other RPCs can be sent (except for `Status.Ping`, which we need earlier but which also ignores the error because that handler doesn't do an authorization check). This ensures that we only send requests with a node secret already known to the server. This also makes client startup a little easier to reason about because we know `Node.Register` must succeed first, and it should make for a good place to hook in future plans for secure introduction of nodes. The tradeoff is that an existing client that has running allocs will take slightly longer (a second or two) to transition to ready after a restart, because the transition in `Node.UpdateStatus` is gated at the server by first submitting `Node.UpdateAlloc` with client alloc updates.
Configuration menu - View commit details
-
Copy full SHA for deae9bb - Browse repository at this point
Copy the full SHA deae9bbView commit details -
ci: set
continue-on-error: true
ontest-ui
(#17646)Since the matrix exercises different test cases, it's better to allow all partitions to completely run, even if one of them fails, so it's easier to catch multiple test failures.
Configuration menu - View commit details
-
Copy full SHA for 717e156 - Browse repository at this point
Copy the full SHA 717e156View commit details -
Configuration menu - View commit details
-
Copy full SHA for 085a0b0 - Browse repository at this point
Copy the full SHA 085a0b0View commit details -
ui: create node pool model (#17301)
Co-authored-by: Phil Renaud <phil@riotindustries.com> Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
Configuration menu - View commit details
-
Copy full SHA for 4da63e3 - Browse repository at this point
Copy the full SHA 4da63e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13ee343 - Browse repository at this point
Copy the full SHA 13ee343View commit details -
Configuration menu - View commit details
-
Copy full SHA for e617962 - Browse repository at this point
Copy the full SHA e617962View commit details -
release pipeline: fix ref arguments in invoking workflow (#17684)
Although #17669 fixed the permissions of the release pipeline to push new commits, there was still an error when invoking the `build` workflow. The format of the reference was changed in #17103 such that we're sending the git ref (a SHA) and not the "--ref" argument required by the GH actions workflow API, which in this case is apparently specially defined as "The branch or tag name which contains the version of the workflow file you'd like to run" and not what git calls a "ref". This changeset: * Removes the third-party action entirely so that we're using GitHub's own tooling. This removes one more thing from the supply chain to pin and ensures a 1:1 mapping of args to what's documented by GitHub. * Removes the `--ref` argument entirely, which causes it to default to the current branch that the release workflow is running on (which is always what we want).
Configuration menu - View commit details
-
Copy full SHA for c3d8157 - Browse repository at this point
Copy the full SHA c3d8157View commit details -
[ui] Versions added to deploying status panel (#17629)
* Versions added to deploying status panel * Wrap the running and healthy title in a span * Versions in the deployment UI next to titles * Version count and label styles updated
Configuration menu - View commit details
-
Copy full SHA for 908ce47 - Browse repository at this point
Copy the full SHA 908ce47View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4a72b5 - Browse repository at this point
Copy the full SHA b4a72b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e1516b - Browse repository at this point
Copy the full SHA 7e1516bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea71321 - Browse repository at this point
Copy the full SHA ea71321View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7952b6 - Browse repository at this point
Copy the full SHA e7952b6View commit details -
TopoViz story that is sourced from Mirage
Unfortunately due to the split build nature of the ember app and storybook it isn't possible to import mirage in the storybook context to control scenarios via a knob :(
Configuration menu - View commit details
-
Copy full SHA for 2e2e396 - Browse repository at this point
Copy the full SHA 2e2e396View commit details
Commits on Jun 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2dec8ba - Browse repository at this point
Copy the full SHA 2dec8baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f7dc6a - Browse repository at this point
Copy the full SHA 6f7dc6aView commit details -
e2e: create a v3/ set of packages for creating Nomad e2e tests (#17620)
* e2e: create a v3/ set of packages for creating Nomad e2e tests This PR creates an experimental set of packages under `e2e/v3/` for crafting Nomad e2e tests. Unlike previous generations, this is an attempt at providing a way to create tests in a declarative (ish) pattern, with a focus on being easy to use, easy to cleanup, and easy to debug. @shoenig is just trying this out to see how it goes. Lots of features need to be implemented. Many more docs need to be written. Breaking changes are to be expected. There are known and unknown bugs. No warranty. Quick run of `example` with verbose logging. ```shell ➜ NOMAD_E2E_VERBOSE=1 go test -v === RUN TestExample === RUN TestExample/testSleep util3.go:25: register (service) job: "sleep-809" util3.go:25: checking eval: 9f0ae04d-7259-9333-3763-44d0592d03a1, status: pending util3.go:25: checking eval: 9f0ae04d-7259-9333-3763-44d0592d03a1, status: complete util3.go:25: checking deployment: a85ad2f8-269c-6620-d390-8eac7a9c397d, status: running util3.go:25: checking deployment: a85ad2f8-269c-6620-d390-8eac7a9c397d, status: running util3.go:25: checking deployment: a85ad2f8-269c-6620-d390-8eac7a9c397d, status: running util3.go:25: checking deployment: a85ad2f8-269c-6620-d390-8eac7a9c397d, status: running util3.go:25: checking deployment: a85ad2f8-269c-6620-d390-8eac7a9c397d, status: successful util3.go:25: deployment a85ad2f8-269c-6620-d390-8eac7a9c397d was a success util3.go:25: deregister job "sleep-809" util3.go:25: system gc === RUN TestExample/testNamespace util3.go:25: apply namespace "example-291" util3.go:25: register (service) job: "sleep-967" util3.go:25: checking eval: a2a2303a-adf1-2621-042e-a9654292e569, status: pending util3.go:25: checking eval: a2a2303a-adf1-2621-042e-a9654292e569, status: complete util3.go:25: checking deployment: 3395e9a8-3ffc-8990-d5b8-cc0ce311f302, status: running util3.go:25: checking deployment: 3395e9a8-3ffc-8990-d5b8-cc0ce311f302, status: running util3.go:25: checking deployment: 3395e9a8-3ffc-8990-d5b8-cc0ce311f302, status: running util3.go:25: checking deployment: 3395e9a8-3ffc-8990-d5b8-cc0ce311f302, status: successful util3.go:25: deployment 3395e9a8-3ffc-8990-d5b8-cc0ce311f302 was a success util3.go:25: deregister job "sleep-967" util3.go:25: system gc util3.go:25: cleanup namespace "example-291" === RUN TestExample/testEnv util3.go:25: register (batch) job: "env-582" util3.go:25: checking eval: 600f3bce-ea17-6d13-9d20-9d9eb2a784f7, status: pending util3.go:25: checking eval: 600f3bce-ea17-6d13-9d20-9d9eb2a784f7, status: complete util3.go:25: deregister job "env-582" util3.go:25: system gc --- PASS: TestExample (10.08s) --- PASS: TestExample/testSleep (5.02s) --- PASS: TestExample/testNamespace (4.02s) --- PASS: TestExample/testEnv (1.03s) PASS ok github.com/hashicorp/nomad/e2e/example 10.079s ``` * cluster3: use filter for kernel.name instead of filtering manually
Configuration menu - View commit details
-
Copy full SHA for 5b5fbc0 - Browse repository at this point
Copy the full SHA 5b5fbc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ced6c58 - Browse repository at this point
Copy the full SHA ced6c58View commit details -
Merge pull request #17691 from hashicorp/f/missing-chart-stories
[UI] Missing chart stories
Configuration menu - View commit details
-
Copy full SHA for ed51605 - Browse repository at this point
Copy the full SHA ed51605View commit details -
Add
disable_file
parameter to job'svault
stanza (#13343)This complements the `env` parameter, so that the operator can author tasks that don't share their Vault token with the workload when using `image` filesystem isolation. As a result, more powerful tokens can be used in a job definition, allowing it to use template stanzas to issue all kinds of secrets (database secrets, Vault tokens with very specific policies, etc.), without sharing that issuing power with the task itself. This is accomplished by creating a directory called `private` within the task's working directory, which shares many properties of the `secrets` directory (tmpfs where possible, not accessible by `nomad alloc fs` or Nomad's web UI), but isn't mounted into/bound to the container. If the `disable_file` parameter is set to `false` (its default), the Vault token is also written to the NOMAD_SECRETS_DIR, so the default behavior is backwards compatible. Even if the operator never changes the default, they will still benefit from the improved behavior of Nomad never reading the token back in from that - potentially altered - location.
Configuration menu - View commit details
-
Copy full SHA for 6f04b91 - Browse repository at this point
Copy the full SHA 6f04b91View commit details -
docs: split out unsupported versions in changelog (#17704)
Our changelog has become large enough that GitHub's rendering is very slow, resulting in error pages ("angry unicorns"). Split out the older unsupported versions of Nomad into their own file so that we only need to render the most recent versions, while keeping the older versions relatively searchable by having them in a single file.
Configuration menu - View commit details
-
Copy full SHA for 8dca363 - Browse repository at this point
Copy the full SHA 8dca363View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b70896 - Browse repository at this point
Copy the full SHA 6b70896View commit details -
np: fix list of jobs for node pool
all
(#17705)Unlike nodes, jobs are allowed to be registered in the node pool `all`, in which case all nodes are used for evaluating placements. When listing jobs for the `all` node pool only those that are explicitly in this node pool should be returned.
Configuration menu - View commit details
-
Copy full SHA for aea6146 - Browse repository at this point
Copy the full SHA aea6146View commit details -
build: add Docker image (#17017)
Co-authored-by: Daniel Kimsey <90741+dekimsey@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b7c2d65 - Browse repository at this point
Copy the full SHA b7c2d65View commit details -
api: prevent panic on job plan (#17689)
Check for a nil job ID to prevent a panic when calling Jobs().Plan().
Configuration menu - View commit details
-
Copy full SHA for 276c69b - Browse repository at this point
Copy the full SHA 276c69bView commit details -
docs: clarify drain's
-force
flag behavior with system/CSI jobs (#1……7703) If you use `nomad node drain -force`, the drain deadline is set to -1ns. If you have not prevented system and CSI node plugin allocations from being drained with `-ignore-system`, they will be immediately drained as well. This is typically not safe for CSI node plugins. Also fix some broken links. Fixes: #17696
Configuration menu - View commit details
-
Copy full SHA for fc611fc - Browse repository at this point
Copy the full SHA fc611fcView commit details -
cli: fix broken
node pool jobs
test (#17715)In #17705 we fixed a bug in the treatment of the "all" node pool for the `node pool jobs` command but missed a test in the CLI.
Configuration menu - View commit details
-
Copy full SHA for 5552141 - Browse repository at this point
Copy the full SHA 5552141View commit details
Commits on Jun 26, 2023
-
drivers: OOM kill logging for Docker driver (#17518)
Explicit error log of the docker ID and container image name
Configuration menu - View commit details
-
Copy full SHA for 5b46b74 - Browse repository at this point
Copy the full SHA 5b46b74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 807907e - Browse repository at this point
Copy the full SHA 807907eView commit details -
build(deps): bump github.com/opencontainers/runtime-spec (#17719)
Bumps [github.com/opencontainers/runtime-spec](https://github.com/opencontainers/runtime-spec) from 1.0.3-0.20210326190908-1c3f411f0417 to 1.1.0-rc.3. - [Release notes](https://github.com/opencontainers/runtime-spec/releases) - [Changelog](https://github.com/opencontainers/runtime-spec/blob/main/ChangeLog) - [Commits](https://github.com/opencontainers/runtime-spec/commits/v1.1.0-rc.3) --- updated-dependencies: - dependency-name: github.com/opencontainers/runtime-spec dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1d4f886 - Browse repository at this point
Copy the full SHA 1d4f886View commit details -
adjust prioritized client updates (#17541)
In #17354 we made client updates prioritized to reduce client-to-server traffic. When the client has no previously-acknowledged update we assume that the update is of typical priority; although we don't know that for sure in practice an allocation will never become healthy quickly enough that the first update we send is the update saying the alloc is healthy. But that doesn't account for allocations that quickly fail in an unrecoverable way because of allocrunner hook failures, and it'd be nice to be able to send those failure states to the server more quickly. This changeset does so and adds some extra comments on reasoning behind priority.
Configuration menu - View commit details
-
Copy full SHA for 78f4f76 - Browse repository at this point
Copy the full SHA 78f4f76View commit details -
e2e: refactor pids isolation tests (#17717)
This PR refactors some old PID isolation tests to make use of the e2e/v3 packages. Should be quite a bit easier to read. Adds 'alloc exec' capability to the jobs3 package.
Configuration menu - View commit details
-
Copy full SHA for 37df529 - Browse repository at this point
Copy the full SHA 37df529View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09cc4b1 - Browse repository at this point
Copy the full SHA 09cc4b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4385cc - Browse repository at this point
Copy the full SHA f4385ccView commit details -
[COMPLIANCE] Add Copyright and License Headers (#17732)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d778ecf - Browse repository at this point
Copy the full SHA d778ecfView commit details -
[ui] alignment and spacing for job status panel (#17708)
* CSS alignment and spacing for job status panel * Only fade the count, not the legend icon, when count is 0 * Unrounded version corners * changelog * css has to only remove border radius when count is present * Seed stabilization for services test * Try consolidating the testfixes from before * Total test isolation and bonus logs * Drop the isolation but keep the logs * Remove bonus logging
Configuration menu - View commit details
-
Copy full SHA for d20faf5 - Browse repository at this point
Copy the full SHA d20faf5View commit details -
deploymentwatcher: fail early whenever possible (#17341)
Given a deployment that has a `progress_deadline`, if a task group runs out of reschedule attempts, allow it to fail at this time instead of waiting until the `progress_deadline` is reached. Fixes: #17260
Configuration menu - View commit details
-
Copy full SHA for a9135bc - Browse repository at this point
Copy the full SHA a9135bcView commit details -
Update allocations.go (#17726)
* Update allocations.go updated missing client status "unknown" #17688 * changelog * Update .changelog/17726.txt adding relevant desc. Co-authored-by: Seth Hoenig <shoenig@duck.com> --------- Co-authored-by: Seth Hoenig <shoenig@duck.com>
Configuration menu - View commit details
-
Copy full SHA for 05c84d6 - Browse repository at this point
Copy the full SHA 05c84d6View commit details -
drivers/docker: refactor use of clients in docker driver (#17731)
* drivers/docker: refactor use of clients in docker driver This PR refactors how we manage the two underlying clients used by the docker driver for communicating with the docker daemon. We keep two clients - one with a hard-coded timeout that applies to all operations no matter what, intended for use with short lived / async calls to docker. The other has no timeout and is the responsibility of the caller to set a context that will ensure the call eventually terminates. The use of these two clients has been confusing and mistakes were made in a number of places where calls were making use of the wrong client. This PR makes it so that a user must explicitly call a function to get the client that makes sense for that use case. Fixes #17023 * cr: followup items
Configuration menu - View commit details
-
Copy full SHA for ec4fa55 - Browse repository at this point
Copy the full SHA ec4fa55View commit details -
Configuration menu - View commit details
-
Copy full SHA for d06dfd2 - Browse repository at this point
Copy the full SHA d06dfd2View commit details
Commits on Jun 27, 2023
-
Update checklist-rpc-endpoint.md (#17698)
* Update checklist-rpc-endpoint.md * Update checklist-rpc-endpoint.md * Update contributing/checklist-rpc-endpoint.md Co-authored-by: Tim Gross <tgross@hashicorp.com> --------- Co-authored-by: Tim Gross <tgross@hashicorp.com>
Configuration menu - View commit details
-
Copy full SHA for 20280d2 - Browse repository at this point
Copy the full SHA 20280d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f06948f - Browse repository at this point
Copy the full SHA f06948fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b06b02 - Browse repository at this point
Copy the full SHA 6b06b02View commit details -
[ui] links to allocations explicitly go through their route model hook (
#17737) * links to allocations explicitly go through their route model hook * Acceptance test to make sure alloc clicking loads alloc endpoint obj
Configuration menu - View commit details
-
Copy full SHA for 72a9f2b - Browse repository at this point
Copy the full SHA 72a9f2bView commit details -
[ui] Move Placement Failures notification above job status panel (#17750
Configuration menu - View commit details
-
Copy full SHA for f3df01e - Browse repository at this point
Copy the full SHA f3df01eView commit details
Commits on Jun 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 43587c5 - Browse repository at this point
Copy the full SHA 43587c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a678b42 - Browse repository at this point
Copy the full SHA a678b42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81d3575 - Browse repository at this point
Copy the full SHA 81d3575View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2baba58 - Browse repository at this point
Copy the full SHA 2baba58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0be2b42 - Browse repository at this point
Copy the full SHA 0be2b42View commit details -
Merge pull request #17758 from hashicorp/post-release-1.6.0-beta.1
Post release 1.6.0 beta.1
Configuration menu - View commit details
-
Copy full SHA for 350c435 - Browse repository at this point
Copy the full SHA 350c435View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bd5098 - Browse repository at this point
Copy the full SHA 6bd5098View commit details
Commits on Jun 29, 2023
-
[ui] HCL-in-UI: Re-arrange buttons, add save-as-file (#17752)
* Move buttons over as expected * Let a user download file locally * test mock fns for jobeditor * Changelog
Configuration menu - View commit details
-
Copy full SHA for fccfb1d - Browse repository at this point
Copy the full SHA fccfb1dView commit details -
Update the revision used by the docker build action. (#17755)
Update the revision used by the docker action. This should always reflect the commit that's being built as this may differ from the default <github.sha> that the workflow was invoked at. Goes with hashicorp/actions-docker-build#59 - and should not be merged until this PR is merged and a new version of the action is cut.
Configuration menu - View commit details
-
Copy full SHA for 9e5fc77 - Browse repository at this point
Copy the full SHA 9e5fc77View commit details
Commits on Jun 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1e0d691 - Browse repository at this point
Copy the full SHA 1e0d691View commit details -
docs: clarify network topology requirements for clients (#17779)
The requirements for client-to-server and client-to-client topologies are not well-documented in the production install requirements docs. Document that clients make connections to servers (and not the other way around), and that clients don't need to communicate with each other (with some exceptions). Fixes: #17631
Configuration menu - View commit details
-
Copy full SHA for 63d6af6 - Browse repository at this point
Copy the full SHA 63d6af6View commit details -
[ui] Text wrap long lines of code and logs (#17754)
* Text and code wrapping as a localStorage var * task-log uses wrapping and kb shortcut * Word wrap keyboard labels * Wrapper as a toggle not a button * Changelog and fixed an extra space trailing log lines * Moves toggle to inside * Acceptance tests for ww and toggle click
Configuration menu - View commit details
-
Copy full SHA for 6124c1a - Browse repository at this point
Copy the full SHA 6124c1aView commit details -
Report shows a 3rd party browser extension puts a banner at the top o…
…f page and awkwardly shifts nav; this fixes that (#17783)
Configuration menu - View commit details
-
Copy full SHA for 17f63cf - Browse repository at this point
Copy the full SHA 17f63cfView commit details
Commits on Jul 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c883621 - Browse repository at this point
Copy the full SHA c883621View commit details -
[api] Add NetworkStatus to allocation response (#17280)
Service discovery or mesh network systems consuming the Nomad event stream or API need to know the CNI assigned IP for the allocation. This data is returned by the underlying Nomad API but isn't mapped in the response struct.
Configuration menu - View commit details
-
Copy full SHA for e75ae1d - Browse repository at this point
Copy the full SHA e75ae1dView commit details
Commits on Jul 5, 2023
-
metrics: add "total_ticks_count" for CPU metrics (#17579)
This counter tells you the total amount of ticks for that CPU entry since the start of Nomad.
Configuration menu - View commit details
-
Copy full SHA for ede662a - Browse repository at this point
Copy the full SHA ede662aView commit details
Commits on Jul 6, 2023
-
docs: fix broken link in security model docs (#17812)
correcting a broken link under "similar to consul" and correcting list formatting under "general mechanisms"
Configuration menu - View commit details
-
Copy full SHA for bb95009 - Browse repository at this point
Copy the full SHA bb95009View commit details -
ci: dynamic runs-on values for oss/ent (#17775)
so in enterprise we can use Vault for secrets, without merge conflicts from oss->ent. also: * use hashicorp/setup-golang * setup-js for self-hosted runners they don't come with yarn, nor chrome, and might not always match node version.
Configuration menu - View commit details
-
Copy full SHA for 4738d30 - Browse repository at this point
Copy the full SHA 4738d30View commit details -
ci: clean GOCACHE before build (#17808)
this is basically to avoid Fear/Uncertainty/Doubt the github action actions/setup-go (and, with a different chache key, hashicorp/setup-golang) caches both GOMODCACHE (go source files), which is good, and GOCACHE (build outputs), which *might* be bad, if the cache was built on an OS with an older glibc than we want to support. from `go help cache`: > [...] the build cache does not detect changes to > C libraries imported with cgo.
Configuration menu - View commit details
-
Copy full SHA for 3d87b3d - Browse repository at this point
Copy the full SHA 3d87b3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 878e6b9 - Browse repository at this point
Copy the full SHA 878e6b9View commit details -
cni: ensure to setup CNI addresses in deterministic order (#17766)
* cni: ensure to setup CNI addresses in deterministic order Currently as commented in the code the go-cni library returns an unordered map of interfaces. In cases where there are multiple CNI interfaces being created this creates a problem with service registration and healthchecking because the first address in the map is being used. The use case we have where this is an issue is that we run CNI with the macvlan plugin to isolate workloads, but they still need to be able to access the host on a static address to be able to perform local resolving and hit host services like the Consul agent API. To make this work there are 2 options, you either add a macvlan interface on the host with an assigned address for each VLAN you have or you create an additional veth bridged interface in the container namespace. We chose the latter option through a custom CNI plugin but the ordering issue leaves us with incorrect service registration. * Updates after feedback * First check for the CNIResult interfaces length, if it's zero we don't need to proceed at all. * Use sorted interfaces list for the address fallback scenario as well. * Remove "found" log message logic, when an address isn't found an error is returned stating the allocation could not be configured as an address was missing from the CNIResult. If we still need a Warn message then we can add it to the condition that returns the error if no address could be found instead of using the "found" bool logic.
Configuration menu - View commit details
-
Copy full SHA for 709f20c - Browse repository at this point
Copy the full SHA 709f20cView commit details -
ci: windows tests on public runners (#17829)
currently our self-hosted windows runners lack `docker`, so for now just revert to public runners.
Configuration menu - View commit details
-
Copy full SHA for 03b8a9a - Browse repository at this point
Copy the full SHA 03b8a9aView commit details
Commits on Jul 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 100c460 - Browse repository at this point
Copy the full SHA 100c460View commit details -
Configuration menu - View commit details
-
Copy full SHA for 243429b - Browse repository at this point
Copy the full SHA 243429bView commit details -
consul: handle "not found" errors from Consul when deleting tokens (#…
…17847) In Consul 1.15.0, the Delete Token API was changed so as to return an error when deleting a non-existent ACL token. This means that if Nomad successfully deletes the token but fails to persist that fact, it will get stuck trying to delete a non-existent token forever. Update the token deletion function to ignore "not found" errors and treat them as successful deletions. Fixes: #17833
Configuration menu - View commit details
-
Copy full SHA for 18327cd - Browse repository at this point
Copy the full SHA 18327cdView commit details
Commits on Jul 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f43a3c9 - Browse repository at this point
Copy the full SHA f43a3c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8683e3 - Browse repository at this point
Copy the full SHA e8683e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 079f5d4 - Browse repository at this point
Copy the full SHA 079f5d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34105f1 - Browse repository at this point
Copy the full SHA 34105f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b31e891 - Browse repository at this point
Copy the full SHA b31e891View commit details -
CSI: persist previous mounts on client to restore during restart (#17840
) When claiming a CSI volume, we need to ensure the CSI node plugin is running before we send any CSI RPCs. This extends even to the controller publish RPC because it requires the storage provider's "external node ID" for the client. This primarily impacts client restarts but also is a problem if the node plugin exits (and fingerprints) while the allocation that needs a CSI volume claim is being placed. Unfortunately there's no mapping of volume to plugin ID available in the jobspec, so we don't have enough information to wait on plugins until we either get the volume from the server or retrieve the plugin ID from data we've persisted on the client. If we always require getting the volume from the server before making the claim, a client restart for disconnected clients will cause all the allocations that need CSI volumes to fail. Even while connected, checking in with the server to verify the volume's plugin before trying to make a claim RPC is inherently racy, so we'll leave that case as-is and it will fail the claim if the node plugin needed to support a newly-placed allocation is flapping such that the node fingerprint is changing. This changeset persists a minimum subset of data about the volume and its plugin in the client state DB, and retrieves that data during the CSI hook's prerun to avoid re-claiming and remounting the volume unnecessarily. This changeset also updates the RPC handler to use the external node ID from the claim whenever it is available. Fixes: #13028
Configuration menu - View commit details
-
Copy full SHA for 0ba7d00 - Browse repository at this point
Copy the full SHA 0ba7d00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5169950 - Browse repository at this point
Copy the full SHA 5169950View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e95149 - Browse repository at this point
Copy the full SHA 6e95149View commit details
Commits on Jul 11, 2023
-
[COMPLIANCE] Add Copyright and License Headers (#17877)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e178906 - Browse repository at this point
Copy the full SHA e178906View commit details -
Add the ability to customise the details of the CA (#17309)
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1541358 - Browse repository at this point
Copy the full SHA 1541358View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79773a0 - Browse repository at this point
Copy the full SHA 79773a0View commit details -
np: update docs and add test for nil lists (#17899)
Document and test that if a namespace does not provide an `allow` or `deny` list than those are treated as `nil` and have a different behaviour from an empty list (`[]string{}`).
Configuration menu - View commit details
-
Copy full SHA for 99fb36e - Browse repository at this point
Copy the full SHA 99fb36eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01cb47b - Browse repository at this point
Copy the full SHA 01cb47bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef89b69 - Browse repository at this point
Copy the full SHA ef89b69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80b9ff6 - Browse repository at this point
Copy the full SHA 80b9ff6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4d0dcd - Browse repository at this point
Copy the full SHA a4d0dcdView commit details -
e2e: do not set a user for raw_exec tasks (#17901)
Cannot set a user for raw_exec tasks, because doing so does not work with the 0700 root owned client data directory that we setup in the e2e cluster in accordance with the Nomad hardening guide.
Configuration menu - View commit details
-
Copy full SHA for fd50f2b - Browse repository at this point
Copy the full SHA fd50f2bView commit details -
docs: add plugin docs for pledge task driver (#17823)
* docs: add plugin docs for pledge task driver Add pledge driver to the set of Community drivers. * docs: cr feedback
Configuration menu - View commit details
-
Copy full SHA for 8253ec8 - Browse repository at this point
Copy the full SHA 8253ec8View commit details
Commits on Jul 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3cfa267 - Browse repository at this point
Copy the full SHA 3cfa267View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3656de6 - Browse repository at this point
Copy the full SHA 3656de6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 335bb8b - Browse repository at this point
Copy the full SHA 335bb8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09c89e7 - Browse repository at this point
Copy the full SHA 09c89e7View commit details -
Merge pull request #17914 from hashicorp/post-1.6.0-rc.1-release
Post 1.6.0 rc.1 release
Configuration menu - View commit details
-
Copy full SHA for 3c481d3 - Browse repository at this point
Copy the full SHA 3c481d3View commit details -
Smoke test binaries for EL7 compatiblity (#17706)
This adds a quick smoke test of our binaries to verify we haven't exceeeded the maximum GLIBC (2.17) version during linking which would break our ability to execute on EL7 machines.
Configuration menu - View commit details
-
Copy full SHA for 995b936 - Browse repository at this point
Copy the full SHA 995b936View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74335b3 - Browse repository at this point
Copy the full SHA 74335b3View commit details -
e2e: add some e2e tests for pledge task driver (#17909)
* e2e: setup nomad for pledge driver * e2e: add some e2e tests for pledge task driver
Configuration menu - View commit details
-
Copy full SHA for 159bf51 - Browse repository at this point
Copy the full SHA 159bf51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4379418 - Browse repository at this point
Copy the full SHA 4379418View commit details
Commits on Jul 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e53955b - Browse repository at this point
Copy the full SHA e53955bView commit details
Commits on Jul 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7f5d39f - Browse repository at this point
Copy the full SHA 7f5d39fView commit details -
docs: note windows requirement for workload identity (#17950)
Support for UDS sockets was added to Windows 10.
Configuration menu - View commit details
-
Copy full SHA for 1e7726c - Browse repository at this point
Copy the full SHA 1e7726cView commit details
Commits on Jul 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3a68793 - Browse repository at this point
Copy the full SHA 3a68793View commit details
Commits on Jul 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3abb112 - Browse repository at this point
Copy the full SHA 3abb112View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81c14de - Browse repository at this point
Copy the full SHA 81c14deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81aa274 - Browse repository at this point
Copy the full SHA 81aa274View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0015d25 - Browse repository at this point
Copy the full SHA 0015d25View commit details -
Configuration menu - View commit details
-
Copy full SHA for d23aaed - Browse repository at this point
Copy the full SHA d23aaedView commit details -
acl: fix parsing of policies with blocks w/o label
An ACL policy with a block without label generates unexpected results. For example, a policy such as this: ``` namespace { policy = "read" } ``` Is applied to a namespace called `policy` instead of the documented behaviour of applying it to the `default` namespace. This happens because of the way HCL1 decodes blocks. Since it doesn't know if a block is expected to have a label it applies the `key` tag to the content of the block and, in the example above, the first key is `policy`, so it sets that as the `namespace` block label. Since this happens internally in the HCL decoder it's not possible to detect the problem externally. Fixing the problem inside the decoder is challenging because the JSON and HCL parsers generate different ASTs that makes impossible to differentiate between a JSON tree from an invalid HCL tree within the decoder. The fix in this commit consists of manually parsing the policy after decoding to clear labels that were not set in the file. This allows the validation rules to consistently catch and return any errors, no matter if the policy is an invalid HCL or JSON.
Configuration menu - View commit details
-
Copy full SHA for 54c45ed - Browse repository at this point
Copy the full SHA 54c45edView commit details -
search: fix ACL filtering for plugins and variables
ACL permissions for the search endpoints are done in three passes. The first (the `sufficientSearchPerms` method) is for performance and coarsely rejects requests based on the passed-in context parameter if the user has no permissions to any object in that context. The second (the `filteredSearchContexts` method) filters out contexts based on whether the user has permissions either to the requested namespace or again by context (to catch the "all" context). Finally, when iterating over the objects available, we do the usual filtering in the iterator. Internal testing found several bugs in this filtering: * CSI plugins can be searched by any authenticated user. * Variables can be searched if the user has `job:read` permissions to the variable's namespace instead of `variable:list`. * Variables cannot be searched by wildcard namespace. This is an information leak of the plugin names and variable paths, which we don't consider to be privileged information but intended to protect anyways. This changeset fixes these bugs by ensuring CSI plugins are filtered in the 1st and 2nd pass ACL filters, and changes variables to check `variable:list` in the 2nd pass filter unless the wildcard namespace is passed (at which point we'll fallback to filtering in the iterator). Fixes: CVE-2023-3300 Fixes: #17906
Configuration menu - View commit details
-
Copy full SHA for a8789d3 - Browse repository at this point
Copy the full SHA a8789d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 573cab2 - Browse repository at this point
Copy the full SHA 573cab2View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc8b4bd - Browse repository at this point
Copy the full SHA bc8b4bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47fb70b - Browse repository at this point
Copy the full SHA 47fb70bView commit details -
Merge pull request #17986 from hashicorp/post-1.6.0-release
Post 1.6.0 release
Configuration menu - View commit details
-
Copy full SHA for a04245d - Browse repository at this point
Copy the full SHA a04245dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d343f2 - Browse repository at this point
Copy the full SHA 0d343f2View commit details -
Use config "cpu_total_compute" (if set) for all CPU statistics (#17628)
Before this commit, it was only used for fingerprinting, but not for CPU stats on nodes or tasks. This meant that if the auto-detection failed, setting the cpu_total_compute didn't resolved the issue. This issue was most noticeable on ARM64, as there auto-detection always failed.
Configuration menu - View commit details
-
Copy full SHA for e190eae - Browse repository at this point
Copy the full SHA e190eaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd3ef90 - Browse repository at this point
Copy the full SHA bd3ef90View commit details -
volume-status : show namespace the volume belongs to (#17911)
* volume-status : show namespace the volume belongs to
Configuration menu - View commit details
-
Copy full SHA for ca26673 - Browse repository at this point
Copy the full SHA ca26673View commit details -
ui: fix Topology node state filter (#17940)
"Ineligible" and "Draining" are not determined by the node status, but are rather inferred from other fields.
Configuration menu - View commit details
-
Copy full SHA for 969ea54 - Browse repository at this point
Copy the full SHA 969ea54View commit details -
nsd: retain query params in HTTP health checks (#17936)
Apply the same logic as Consul service health checks when building the HTTP URL so that query params in `path` are preserved.
Configuration menu - View commit details
-
Copy full SHA for e664f14 - Browse repository at this point
Copy the full SHA e664f14View commit details -
metrics: report task memory_max value (#17938)
Add new `nomad.client.allocs.memory.max_allocated` metric to report the value of the task `memory_max` resource value.
Configuration menu - View commit details
-
Copy full SHA for ce0f60f - Browse repository at this point
Copy the full SHA ce0f60fView commit details -
e2e podman private registry (#17642)
* e2e: add tests for using private registry with podman driver This PR adds e2e tests that stands up a private docker registry and has a podman tasks run a container from an image in that private registry. Tests - user:password set in task config - auth_soft_fail works for public images when auth is set in driver - credentials helper is set in driver auth config - config auth.json file is set in driver auth config * packer: use nomad-driver-podman v0.5.0 * e2e: eliminate unnecessary chmod Co-authored-by: Daniel Bennett <dbennett@hashicorp.com> * cr: no need to install nomad twice * cl: no need to install docker twice --------- Co-authored-by: Daniel Bennett <dbennett@hashicorp.com>
Configuration menu - View commit details
-
Copy full SHA for 8d28946 - Browse repository at this point
Copy the full SHA 8d28946View commit details
Commits on Jul 20, 2023
-
[ui] When a purged/404-ing job is detected, boot the user out of that…
… job and back to the index (#17915) * Boot the user off the job if it gets deleted * de-yoink * watching the job watcher * Unload record so history.back has to refire a (failing) request * Acceptance tests for boot-out and notification
Configuration menu - View commit details
-
Copy full SHA for 287ad19 - Browse repository at this point
Copy the full SHA 287ad19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51393dd - Browse repository at this point
Copy the full SHA 51393ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bed12f - Browse repository at this point
Copy the full SHA 6bed12fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94112d8 - Browse repository at this point
Copy the full SHA 94112d8View commit details -
CSI: improve controller RPC reliability (#17996)
The CSI specification says that we "SHOULD" send no more than one in-flight request per *volume* at a time, with an allowance for losing state (ex. leadership transitions) which the plugins "SHOULD" handle gracefully. We mostly successfully serialize node and controller RPCs for the same volume, except when Nomad clients are lost. (See also container-storage-interface/spec#512) These concurrency requirements in the spec fall short because Storage Provider APIs aren't necessarily safe to call concurrently on the same host even for _different_ volumes. For example, concurrently attaching AWS EBS volumes to an EC2 instance results in a race for device names, which results in failure to attach (because the device name is taken already and the API call fails) and confused results when releasing claims. So in practice many CSI plugins rely on k8s-specific sidecars for serializing storage provider API calls globally. As a result, we have to be much more conservative about concurrency in Nomad than the spec allows. This changeset includes four major changes to fix this: * Add a serializer method to the CSI volume RPC handler. When the RPC handler makes a destructive CSI Controller RPC, we send the RPC thru this serializer and only one RPC is sent at a time. Any other RPCs in flight will block. * Ensure that requests go to the same controller plugin instance whenever possible by sorting by lowest client ID out of the plugin instances. * Ensure that requests go to _healthy_ plugin instances only. * Ensure that requests for controllers can go to a controller on any _live_ node, not just ones eligible for scheduling (which CSI controllers don't care about) Fixes: #15415
Configuration menu - View commit details
-
Copy full SHA for f529124 - Browse repository at this point
Copy the full SHA f529124View commit details -
state: canonicalize namespace on restore (#18017)
The upgrade path to Nomad 1.6.0 requires canonicalizing the namespace in order to set the default scheduler configuration values. Previous implementation only canonicalized on namespace upsert operations, which works for recent namespaces as those Raft transactions are reapplied on upgrade. But for older namespaces restore from a snapshot the code path did not canonicalize them, leaving the scheduler configuration set as `nil`.
Configuration menu - View commit details
-
Copy full SHA for f8b9b5c - Browse repository at this point
Copy the full SHA f8b9b5cView commit details
Commits on Jul 21, 2023
-
ui: handle errors from unimplemented services (#18020)
When a request is made to an RPC service that doesn't exist (for example, a cross-region request from a newer version of Nomad to an older version that doesn't implement the endpoint) the application should return an empty list as well.
Configuration menu - View commit details
-
Copy full SHA for 5d3639f - Browse repository at this point
Copy the full SHA 5d3639fView commit details -
ui: handle node pool requests to older regions (#18021)
When accessing a region running a version of Nomad without node pools an error was thrown because the request is handled by the nodes endpoint which fails because it assumes `pools` is the node ID.
Configuration menu - View commit details
-
Copy full SHA for 2b3dd86 - Browse repository at this point
Copy the full SHA 2b3dd86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91e1baf - Browse repository at this point
Copy the full SHA 91e1bafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 583f877 - Browse repository at this point
Copy the full SHA 583f877View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bcc20e - Browse repository at this point
Copy the full SHA 0bcc20eView commit details -
Merge pull request #18028 from hashicorp/post-1.6.1-release
Post 1.6.1 release
Configuration menu - View commit details
-
Copy full SHA for 4768c2a - Browse repository at this point
Copy the full SHA 4768c2aView commit details -
Retain task states for post stop tasks at the time of node GC (#18005)
* Retain task states for post stop tasks at the time of node GC
Configuration menu - View commit details
-
Copy full SHA for b9a388f - Browse repository at this point
Copy the full SHA b9a388fView commit details
Commits on Jul 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2a91bf4 - Browse repository at this point
Copy the full SHA 2a91bf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea37488 - Browse repository at this point
Copy the full SHA ea37488View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03cde51 - Browse repository at this point
Copy the full SHA 03cde51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7173d3b - Browse repository at this point
Copy the full SHA 7173d3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 738bdb2 - Browse repository at this point
Copy the full SHA 738bdb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55723e5 - Browse repository at this point
Copy the full SHA 55723e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 937d927 - Browse repository at this point
Copy the full SHA 937d927View commit details
Commits on Jul 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7f30444 - Browse repository at this point
Copy the full SHA 7f30444View commit details
Commits on Jul 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a8fd803 - Browse repository at this point
Copy the full SHA a8fd803View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c9cd35 - Browse repository at this point
Copy the full SHA 5c9cd35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c463bb - Browse repository at this point
Copy the full SHA 2c463bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a5667c - Browse repository at this point
Copy the full SHA 0a5667cView commit details -
build: support s390x architecture for linux (ent) (#18069)
Makefile changes required for supporting s390x builds and a corresponding changelog entry.
Configuration menu - View commit details
-
Copy full SHA for ee0b104 - Browse repository at this point
Copy the full SHA ee0b104View commit details
Commits on Jul 27, 2023
-
core: add jwks rpc and http api (#18035)
Add JWKS endpoint to HTTP API for exposing the root public signing keys used for signing workload identity JWTs. Part 1 of N components as part of making workload identities consumable by third party services such as Consul and Vault. Identity attenuation (audience) and expiration (+renewal) are necessary to securely use workload identities with 3rd parties, so this merge does not yet document this endpoint. --------- Co-authored-by: Tim Gross <tgross@hashicorp.com>
Configuration menu - View commit details
-
Copy full SHA for d14362e - Browse repository at this point
Copy the full SHA d14362eView commit details
Commits on Jul 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0a32d7f - Browse repository at this point
Copy the full SHA 0a32d7fView commit details -
cli: add help message for
-consul-namespace
(#18081)Add missing help entry for the `-consul-namespace` flag in `nomad job run`.
Configuration menu - View commit details
-
Copy full SHA for ee31916 - Browse repository at this point
Copy the full SHA ee31916View commit details -
Trusted Supply Chain Component Registry (TSCCR) enforcement starts Monday and an internal report shows our semgrep action is pinned to a version that's not currently permitted. Update all the action versions to whatever's the new hotness to maximum the time-to-live on these until we have automated pinning setup. Also version bumps our chromedriver action, which randomly broke upstream today.
Configuration menu - View commit details
-
Copy full SHA for b17c0f7 - Browse repository at this point
Copy the full SHA b17c0f7View commit details -
feature: Add new field render_templates on restart block (#18054)
This feature is necessary when user want to explicitly re-render all templates on task restart. E.g. to fetch all new secrets from Vault, even if the lease on the existing secrets has not been expired.
Configuration menu - View commit details
-
Copy full SHA for 9e98d69 - Browse repository at this point
Copy the full SHA 9e98d69View commit details
Commits on Jul 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 76ebb3f - Browse repository at this point
Copy the full SHA 76ebb3fView commit details -
scheduler: fix panic in
render_templates
destructive update check (#……18100) In #18054 we introduced a new field `render_templates` in the `restart` block. Previously changes to the `restart` block were always non-destructive in the scheduler but we now need to check the new field so that we can update the template runner. The check assumed that the block was always non-nil, which causes panics in our scheduler tests.
Configuration menu - View commit details
-
Copy full SHA for 1ef8ad8 - Browse repository at this point
Copy the full SHA 1ef8ad8View commit details -
[ui] Search results are overloading filter with sorted results (#18053)
* Attempt at a varied end-result when sorting and searching * Consider sort direction as well * computed property dep update * prioritizeSearchOrder and test * Side-effecty but resets sort on search etc * changelog
Configuration menu - View commit details
-
Copy full SHA for 66649d1 - Browse repository at this point
Copy the full SHA 66649d1View commit details -
cli: support wildcard namespace in alloc subcommands (#18095)
The alloc exec and filesystem/logs commands allow passing the `-job` flag to select a random allocation. If the namespace for the command is set to `*`, the RPC handler doesn't handle this correctly as it's expecting to query for a specific job. Most commands handle this ambiguity by first verifying that only a single object of the type in question exists (ex. a single node or job). Update these commands so that when the `-job` flag is set we first verify there's a single job that matches. This also allows us to extend the functionality to allow for the `-job` flag to support prefix matching. Fixes: #12097
Configuration menu - View commit details
-
Copy full SHA for 4fb5bf9 - Browse repository at this point
Copy the full SHA 4fb5bf9View commit details -
[ui] Job Variables page (#17964)
* Bones of a component that has job variable awareness * Got vars listed woo * Variables as its own subnav and some pathLinkedVariable perf fixes * Automatic Access to Variables alerter * Helper and component to conditionally render the right link * A bit of cleanup post-template stuff * testfix for looping right-arrow keynav bc we have a new subnav section * A very roundabout way of ensuring that, if a job exists when saving a variable with a pathLinkedEntity of that job, its saved right through to the job itself * hacky but an async version of pathLinkedVariable * model-driven and async fetcher driven with cleanup * Only run the update-job func if jobname is detected in var path * Test cases begun * Management token for variables to appear in tests * Its a management token so it gets to see the clients tab under system jobs * Pre-review cleanup * More tests * Number of requests test and small fix to groups-by-way-or-resource-arrays elsewhere * Variable intro text tests * Variable name re-use * Simplifying our wording a bit * parse json vs plainId * Addressed PR feedback, including de-waterfalling
Configuration menu - View commit details
-
Copy full SHA for 18dd9e7 - Browse repository at this point
Copy the full SHA 18dd9e7View commit details -
build(deps): bump word-wrap from 1.2.3 to 1.2.4 in /ui (#17972)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1Configuration menu - View commit details
-
Copy full SHA for 511cb55 - Browse repository at this point
Copy the full SHA 511cb55View commit details
Commits on Aug 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ee917be - Browse repository at this point
Copy the full SHA ee917beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4202288 - Browse repository at this point
Copy the full SHA 4202288View commit details -
Configuration menu - View commit details
-
Copy full SHA for d956837 - Browse repository at this point
Copy the full SHA d956837View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7555fee - Browse repository at this point
Copy the full SHA 7555feeView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5ced5b - Browse repository at this point
Copy the full SHA c5ced5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b4adff - Browse repository at this point
Copy the full SHA 8b4adffView commit details