-
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
csi-rbdplugin on the node crashes on start with nil pointer #4807
Comments
Madhu-1
added a commit
to Madhu-1/ceph-csi
that referenced
this issue
Aug 27, 2024
add a check for CSI as it can be nil for non-csi PV. fixes: ceph#4807 Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
Madhu-1
added a commit
to Madhu-1/ceph-csi
that referenced
this issue
Aug 27, 2024
add a check for CSI as it can be nil for non-csi PV. fixes: ceph#4807 Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
Madhu-1
added a commit
to Madhu-1/ceph-csi
that referenced
this issue
Aug 27, 2024
add a check for CSI as it can be nil for non-csi PV. fixes: ceph#4807 Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
mergify bot
pushed a commit
that referenced
this issue
Aug 27, 2024
add a check for CSI as it can be nil for non-csi PV. fixes: #4807 Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
csi-rbdplugin is crashing on one of the k8s node. Here is the log of the csi-rbdplugin container:
I tried to run a debugger in the container and traced to the PV causing the crash:
And also traced that
pv.Spec.PersistentVolumeSource.CSI
isnil
on this lineHere is the value of
pv.Spec.PersistentVolumeSource
before crash:Looks like it should reference
RBD
instead ofCSI
, orVolumeHealer
should skipRBD
volumes?NOTE: the PV was provisioned by in-tree
kubernetes.io/rbd
provisioner and migrated to CSI.I don't have enough knowledge on either ceph-csi code base or volume healer function to continue my debugging. Any suggestions? Thanks!
Environment details
fuse
orkernel
. for rbd itskrbd
orrbd-nbd
) :The text was updated successfully, but these errors were encountered: