-
Notifications
You must be signed in to change notification settings - Fork 547
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
rbd: healer detect Kubernetes version for right StagingTargetPath #3207
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Related rook PR: rook/rook#10490 |
/retest ci/centos/mini-e2e/k8s-1.24 |
/retest ci/centos/mini-e2e-helm/k8s-1.24 |
Diff b/w v1 and v2 Fixed a typo in the commit-msg. |
/retest ci/centos/mini-e2e/k8s-1.24 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
squash commits into one?
Unless you insist, I would like to keep the deployment template changes in a separate commit, that actually helps me track them when similar changes where needed, I can always come back and check |
yay ! k8s 1.24 ci run is green too. |
@Mergifyio rebase |
✅ Branch has been successfully rebased |
@Mergifyio rebase |
Kubernetes 1.24 and newer use a different path for staging the volume. That means the CSI-driver is requested to mount the volume at an other location, compared to previous versions of Kubernetes. CSI-drivers implementing the volumeHealer, must receive the correct path, otherwise the after a nodeplugin restart the NBD mounts will bailout attempting to NodeStageVolume() call and return an error. See-also: kubernetes/kubernetes#107065 Fixes: ceph#3176 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
Signed-off-by: Prasanna Kumar Kalever <[email protected]>
✅ Branch has been successfully rebased |
/retest ci/centos/k8s-e2e-external-storage/1.22 |
@Mergifyio requeue |
❌ This pull request head commit has not been previously disembarked from queue. |
/retest ci/centos/mini-e2e-helm/k8s-1.22 |
@Mergifyio requeue |
❌ This pull request head commit has not been previously disembarked from queue. |
Describe what this PR does
Kubernetes 1.24 and newer use a different path for staging the volume.
That means the CSI-driver is requested to mount the volume at an other
location, compared to previous versions of Kubernetes. CSI-drivers
implementing the volumeHealer, must receive the correct path,
otherwise the after a nodeplugin restart the NBD mounts will bailout
attempting to NodeStageVolume() call and return an error.
See-also: kubernetes/kubernetes#107065
Related issues
Mention any github issues relevant to this PR. Adding below line
will help to auto close the issue once the PR is merged.
Fixes: #3176
Other
Related rook PR: rook/rook#10490
Credits
Thanks @nixpanic for csi-addons/kubernetes-csi-addons@3f23be1 which made the PR easy.
Signed-off-by: Prasanna Kumar Kalever <[email protected]>
Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:
/retest ci/centos/<job-name>
: retest the<job-name>
after unrelatedfailure (please report the failure too!)
/retest all
: run this in case the CentOS CI failed to start/report any testprogress or results