Skip to content

Conversation

andyzhangx
Copy link
Member

@andyzhangx andyzhangx commented Jul 23, 2025

What type of PR is this?
/kind bug

What this PR does / why we need it:
fix: intree volume unmount failure

though intree volume is not supported any more, we still want to address the unmount failure if there is solution with best efforts

Which issue(s) this PR fixes:

Fixes #

Requirements:

Special notes for your reviewer:

NodeUnpublishVolume: remove direct volume mount info #storage--storage-test-rotate#arc-appint-stage-p-env1northcentralusstagerotate4830#volume1#containerapps-ns1 from /var/lib/kubelet/pods/5c80b21a-52ee-42c9-bd96-3c66bbd2a108/volumes/kubernetes.io~csi/#xx#xx#volume1#containerapps-ns1/mount azurefile E0723 03:20:44.829002       1 utils.go:110] GRPC error: rpc error: code = Internal desc = failed to direct volume remove mount info /var/lib/kubelet/pods/5c80b21a-52ee-42c9-bd96-3c66bbd2a108/volumes/kubernetes.io~csi/#xx#xx#volume1#containerapps-ns1/mount: unlinkat /run/kata-containers/shared/direct-volumes/xx-xx==: file name too long  

Release note:

fix: intree volume unmount failure

@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jul 23, 2025
@k8s-ci-robot k8s-ci-robot requested review from cvvz and gnufied July 23, 2025 06:42
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andyzhangx

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 23, 2025
@andyzhangx andyzhangx force-pushed the fix-intree-volume-error branch from 3f70d7e to 94a9a52 Compare July 23, 2025 06:53
@andyzhangx andyzhangx merged commit 192846f into master Jul 23, 2025
27 of 28 checks passed
@andyzhangx
Copy link
Member Author

/cherrypick release-1.33

@andyzhangx
Copy link
Member Author

/cherrypick release-1.32

@k8s-infra-cherrypick-robot

@andyzhangx: new pull request created: #2689

In response to this:

/cherrypick release-1.33

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.

@k8s-infra-cherrypick-robot

@andyzhangx: new pull request created: #2690

In response to this:

/cherrypick release-1.32

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.

@nearora-msft
Copy link
Contributor

@andyzhangx is this issue applicable only to the in-tree volumes?
I don't think it should matter whether it is in-tree or csi?

@andyzhangx
Copy link
Member Author

@andyzhangx is this issue applicable only to the in-tree volumes? I don't think it should matter whether it is in-tree or csi?

@nearora-msft in-tree volume would make the mount path longer than csi volume, and from what users have reported, all such issues are due to using in-tree volume, I don't see there is csi volume hitting such issue up till now, do you have any?

@nearora-msft
Copy link
Contributor

@andyzhangx is this issue applicable only to the in-tree volumes? I don't think it should matter whether it is in-tree or csi?

@nearora-msft in-tree volume would make the mount path longer than csi volume, and from what users have reported, all such issues are due to using in-tree volume, I don't see there is csi volume hitting such issue up till now, do you have any?

Oh I see, thanks for responding. No I haven't seen any other than this.

@nearora-msft
Copy link
Contributor

nearora-msft commented Aug 5, 2025

@andyzhangx is this issue applicable only to the in-tree volumes? I don't think it should matter whether it is in-tree or csi?

@nearora-msft in-tree volume would make the mount path longer than csi volume, and from what users have reported, all such issues are due to using in-tree volume, I don't see there is csi volume hitting such issue up till now, do you have any?

Oh I see, thanks for responding. No I haven't seen any other than this.

@andyzhangx on another note, why was enableKataCCMount path invoked for the customer? Shouldn't it be disabled by default unless the cx has set it in storageclass or PV?

@andyzhangx
Copy link
Member Author

@andyzhangx is this issue applicable only to the in-tree volumes? I don't think it should matter whether it is in-tree or csi?

@nearora-msft in-tree volume would make the mount path longer than csi volume, and from what users have reported, all such issues are due to using in-tree volume, I don't see there is csi volume hitting such issue up till now, do you have any?

Oh I see, thanks for responding. No I haven't seen any other than this.

@andyzhangx on another note, why was enableKataCCMount path invoked for the customer? Shouldn't it be disabled by default unless the cx has set it in storageclass or PV?

@nearora-msft that would require an extra config in sc if user wants to mount pv on kata enabled node, with current design, as long as it's kata enabled node, user could mount azure file volume directly without any extra config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants