-
Notifications
You must be signed in to change notification settings - Fork 39.7k
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
fix: handle socket file detection on Windows #123819
Conversation
Update socket file detection logic to use os.Stat as per upstream Go fix for golang/go#33357. This resolves the issue where socket files could not be properly identified on Windows systems.
The committers listed above are authorized under a signed CLA. |
Welcome @fakecore! |
Hi @fakecore. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/check-required-labels |
/ok-to-test |
/retest |
@fakecore I don't see commit golang/go@628b101 cherry-picked to any of the current Go release branches. |
I agree. Looks like a nice fix, but we need to make sure the dependencies are satisfied. I'll check what's the best triage labeling for this kind of state. Holding meanwhile. |
/hold |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
hi all, I noticed current kubernets build version is go1.22.4 |
/remove-lifecycle stale |
I'd bump go.mod to 1.22.1 at least, or somehow require at least go 1.22.1 before to merge |
/priority backlog |
Could we use the version specified in |
right, forgot about this. I think it's fine? cc @cpanato to crosscheck |
/triage accepted |
/hold AFAIU master branch is already on golang >= 1.22.4, so this seems safe to move forward |
LGTM label has been added. Git tree hash: d2971bddc1203367a5f70f64424c64ccac45da3b
|
@ffromani Should I do anything to expedite the merging of this PR? It's been hanging there for a while. |
we need approval review, tagging few ppl which can help @klueska @mrunalp @dchen1107 |
I have no idea who the maintainer is for this node. Thanks for your help! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fakecore, mrunalp The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel no longer relevant (xref: #123819 (comment)) |
@fakecore: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Update socket file detection logic to use os.Stat as per upstream Go fix for golang/go#33357. This resolves the issue where socket files could not be properly identified on Windows systems.
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Update to use os.Stat instead of os.Lstat when deleting the device-plugins socket file, rather than deleting all files in the /var/lib/kubelet/device-plugins/ directory.
Which issue(s) this PR fixes:
related issue: #97554
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: