Repository navigation
fix: reuse existing local storage RAID array after volume replacement - #2869
Merged
Merged
Conversation
Contributor
|
@lawraa this PR is not currently mergeable, you'll need to rebase it first. |
1 of 3 tasks
This was referenced Nov 9, 2026
5 of 7 tasks
jackmisbach
added a commit
to METR/hawk
that referenced
this pull request
Nov 16, 2026
* fix(infra): bump the AL2023 node AMIs to v20261107 The gVisor, glovebox and Nitro pools boot the AL2023 EKS AMI, and the GPU pools its NVIDIA variant, both pinned at v20261031. v20261107 keeps that release's kernels, containerd, runc and NVIDIA driver. Three of its changes can act on a Hawk node: - AWS rebuilt the node binaries (kubelet v1.36.5-eks-6e7947a to eks-8418f54) in its 2026-11-06 bundle, the one the Nitro bootstrap already takes its runtime and guest image from, and publishes no change list for them - an instance-store RAID0 array is found again after a root volume replacement (awslabs/amazon-eks-ami#2869) - systemd restarts NVIDIA's fabric manager when it fails to start on a host with an NVSwitch (awslabs/amazon-eks-ami#2871) Co-Authored-By: Claude <noreply@anthropic.com> * docs: stop promising EPERM from io_uring_setup under gVisor The hardening guide and the upgrade note promised EPERM on gVisor nodes. A gVisor sandbox's syscalls go to gVisor's own kernel, which returns ENOSYS for io_uring_setup unless runsc runs with --iouring (release 20260914.0, pkg/sentry/syscalls/linux/sys_iouring.go). EPERM is what the sysctl gives a container on the node's kernel, and on a gVisor node only one without CAP_SYS_ADMIN. The guide now names no error, and the upgrade note says which containers get EPERM. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #, if available: #2867
Description of changes:
setup-local-diskscreates RAID array whenever/.aws/mdadm.confis missing. The file is on root volume, so whenever there's a root volume replacement, the scripts tries to create new array on the already existing array, sonodeadm-runfails and returnDevice or resource busy.This PR only create array when array exist instead of relying on
md_configand always rewrite the themd_configafter. Applied to bothal2023andal2027By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Testing Done
Readywith the same array and dataSee this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.