OCPBUGS-100071: csi-driver-smb: DeleteVolume call fails to mkdir under /tmp - #593
OCPBUGS-100071: csi-driver-smb: DeleteVolume call fails to mkdir under /tmp#593dobsonj wants to merge 1 commit into
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@dobsonj: This pull request references Jira Issue OCPBUGS-100071, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
@dobsonj: GitHub didn't allow me to request PR reviews from the following users: openshift/storage. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn response to this:
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. |
📝 WalkthroughWalkthroughThe Samba controller and node Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error)
✅ Passed checks (14 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/pipeline required |
|
Scheduling required tests: |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dobsonj The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test ? |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@assets/overlays/samba/patches/controller_add_driver.yaml`:
- Around line 83-84: In controller_add_driver.yaml and node_add_driver.yaml at
the memory-backed emptyDir volumes, add validated sizeLimit values for both
tmp-dir volumes. Complete resource limits by adding CPU limits to the controller
and node csi-driver containers and controller csi-provisioner, plus both CPU and
memory limits to the node sidecar containers.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 58451c2e-6ca8-4bf8-b4d4-57da100b1321
⛔ Files ignored due to path filters (2)
assets/overlays/samba/generated/standalone/controller.yamlis excluded by!**/generated/**assets/overlays/samba/generated/standalone/node.yamlis excluded by!**/generated/**
📒 Files selected for processing (2)
assets/overlays/samba/patches/controller_add_driver.yamlassets/overlays/samba/patches/node_add_driver.yaml
|
/test smb-operator-e2e |
|
/retest |
|
@dobsonj: once the present PR merges, I will cherry-pick it on top of DetailsIn response to this:
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. |
|
@dobsonj: This PR has been marked as verified by DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
@dobsonj: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
https://redhat.atlassian.net/browse/OCPBUGS-100071
readOnlyRootFilesystemstill applies when the driver attempts to create subdirectories under/tmpeven though it's mounted as emptydir. Addingmedium: Memoryto the tmp-dir volume though allows new directories to be created under/tmpand allows theDeleteVolumecall to succeed.Manual testing: ran the operator with these changes locally and followed the "steps to reproduce" in the bug to verify the PV is deleted successfully.
/verified by @dobsonj
/cherry-pick release-4.22 release-4.21
/cc @openshift/storage