Skip to content
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

reclaimSpace job not working #14094

Open
akash123-eng opened this issue Apr 19, 2024 · 5 comments
Open

reclaimSpace job not working #14094

akash123-eng opened this issue Apr 19, 2024 · 5 comments
Assignees
Labels

Comments

@akash123-eng
Copy link

Hi ,

We are trying to use ReclaimSpace job with rook 1.12 and ceph 17.2.5.
Followed steps given below :
(https://rook.io/docs/rook/v1.12/Storage-Configuration/Ceph-CSI/ceph-csi-drivers/#csi-addons-controller)]
now rbdplugin and provisioner pod has csi-addon sidecar and csi addon pod in csi-addons-system namespace running fine.
But when we create a ReclaimSpace job for rbd volume with Read Write Once mode it failes and shows message in reclaimSpaceJob
"Failed to make node request node client not found for nodeID"

there are no errors in provisioner pod and plugin pod where pvc is attached.
In csi-addon-controller pod there are logs "PANIC no leader found for driver rook-ceph.rbd.csi.ceph.com" Lease.coordination.k8s.io "rook-ceph-rbd-csi-ceph-com-csi-addons"

Please help to fix this

@Rakshith-R
Copy link
Member

Hey @akash123-eng

Can you confirm that csi addons side car image and csi addons Controller image versions are the same ?

Can you paste the logs from both csi addons Controller and Sidecar

@akash123-eng
Copy link
Author

@Rakshith-R for csi sidecar image being used is k8s sidecar:v0.7.0 and in controller I don't see sidecar image but controller image is latest
I.e csiaddon/k8s-contoller:latest and kube-rbac-proxy image is v0.8.0 as given in the manifests

@Rakshith-R
Copy link
Member

Please use the same versions in both Sidecar and Controller.
Preferably use Controller version corresponding to the default csi addons Sidecar provided by that rook version

@akash123-eng
Copy link
Author

So controller image is same as k8s sidecar ?
So in our case k8s sidecar image is 0.7.0 So can you please give exact docker image for controller ?

@Rakshith-R
Copy link
Member

So controller image is same as k8s sidecar ? So in our case k8s sidecar image is 0.7.0 So can you please give exact docker image for controller ?

Whatever side car default version is used in rook version. You can use the version 0.x.y for controller.
If sidecar is 0.7.0, then controller should be 0.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants