-
Notifications
You must be signed in to change notification settings - Fork 559
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 "supported_features: no such file or directory" error. #2678
Comments
@pkalever PTAL |
If my idea is correct, the /sys/bus/rbd/supported_features file should be installed from package. |
The There might be an issue in the order or detecting the file, and loading the kernel module for some reason. We would need to understand why that happens. |
I can confirm, the kernel module is loaded on the host system
|
Maybe the @pkalever can you update the check for features with some sensible defaults for when the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation. |
reopening @pkalever PTAL when you get some time. |
this should be a blocker for the release as it's tagged for 3.5.0? @ceph/ceph-csi-maintainers |
Considering this kernel is in use, it looks like we have to consider this as a blocker. |
As this is also a bug in 3.4.0, we do not need to block releasing 3.5.0 for this. A bugfix can get backported to a minor release later. |
@nixpanic this code is present only in devel branch https://github.com/ceph/ceph-csi/blob/devel/internal/rbd/rbd_util.go#L229-L254 not in 3.4 |
Hmm, in that case it would be good to have a fix in 3.5.0, or some note about a minimal kernel version (for the rbd module). This was reported against |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions. |
Sorry guys! looks like this went into some spam email box or somehow I ignored on this email thread notification may be based on the title. Anyways I will look into this now. I see the
So, What route do we want to take here?
Thoughts? |
As we already have check for deep-flatten, I think it makes it hard to have a kernel version check as we need to maintain both upstream and downstream kernel versions. is there any alternative for this one?
If the file is missing can we continue with starting the driver? and consider this check only if someone asks for auto fallback?
This breaks things as we never enforced the kernel version from the cephcsi side. and this was never a blocker?
|
The other alternative I can think of is,
Need to understand where exactly we are working with the features list in the code. But yes, I think continuing to run the Driver looks good. I may get back on this later.
May we just make it a recommendation rather than a requirement? |
continue running rbd driver when /sys/bus/rbd/supported_features file is missing, do not bailout. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
krbdFeatures is set to zero when kernel version < 3.8, i.e. in case where /sys/bus/rbd/supported_features is absent and we are unable to prepare the krbd attributes based on kernel version. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
continue running rbd driver when /sys/bus/rbd/supported_features file is missing, do not bailout. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
krbdFeatures is set to zero when kernel version < 3.8, i.e. in case where /sys/bus/rbd/supported_features is absent and we are unable to prepare the krbd attributes based on kernel version. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
continue running rbd driver when /sys/bus/rbd/supported_features file is missing, do not bailout. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
krbdFeatures is set to zero when kernel version < 3.8, i.e. in case where /sys/bus/rbd/supported_features is absent and we are unable to prepare the krbd attributes based on kernel version. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
continue running rbd driver when /sys/bus/rbd/supported_features file is missing, do not bailout. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
krbdFeatures is set to zero when kernel version < 3.8, i.e. in case where /sys/bus/rbd/supported_features is absent and we are unable to prepare the krbd attributes based on kernel version. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
continue running rbd driver when /sys/bus/rbd/supported_features file is missing, do not bailout. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
krbdFeatures is set to zero when kernel version < 3.8, i.e. in case where /sys/bus/rbd/supported_features is absent and we are unable to prepare the krbd attributes based on kernel version. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
continue running rbd driver when /sys/bus/rbd/supported_features file is missing, do not bailout. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
krbdFeatures is set to zero when kernel version < 3.8, i.e. in case where /sys/bus/rbd/supported_features is absent and we are unable to prepare the krbd attributes based on kernel version. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
continue running rbd driver when /sys/bus/rbd/supported_features file is missing, do not bailout. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
krbdFeatures is set to zero when kernel version < 3.8, i.e. in case where /sys/bus/rbd/supported_features is absent and we are unable to prepare the krbd attributes based on kernel version. When krbdFeatures is set to zero fallback to NBD only when autofallback is turned ON. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]> Signed-off-by: Prasanna Kumar Kalever <[email protected]>
continue running rbd driver when /sys/bus/rbd/supported_features file is missing, do not bailout. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
krbdFeatures is set to zero when kernel version < 3.8, i.e. in case where /sys/bus/rbd/supported_features is absent and we are unable to prepare the krbd attributes based on kernel version. When krbdFeatures is set to zero fallback to NBD only when autofallback is turned ON. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]> Signed-off-by: Prasanna Kumar Kalever <[email protected]>
continue running rbd driver when /sys/bus/rbd/supported_features file is missing, do not bailout. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
krbdFeatures is set to zero when kernel version < 3.8, i.e. in case where /sys/bus/rbd/supported_features is absent and we are unable to prepare the krbd attributes based on kernel version. When krbdFeatures is set to zero fallback to NBD only when autofallback is turned ON. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
continue running rbd driver when /sys/bus/rbd/supported_features file is missing, do not bailout. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
krbdFeatures is set to zero when kernel version < 3.8, i.e. in case where /sys/bus/rbd/supported_features is absent and we are unable to prepare the krbd attributes based on kernel version. When krbdFeatures is set to zero fallback to NBD only when autofallback is turned ON. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
continue running rbd driver when /sys/bus/rbd/supported_features file is missing, do not bailout. Fixes: ceph#2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
krbdFeatures is set to zero when kernel version < 3.8, i.e. in case where /sys/bus/rbd/supported_features is absent and we are unable to prepare the krbd attributes based on kernel version. When krbdFeatures is set to zero fallback to NBD only when autofallback is turned ON. Fixes: #2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
continue running rbd driver when /sys/bus/rbd/supported_features file is missing, do not bailout. Fixes: #2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]>
krbdFeatures is set to zero when kernel version < 3.8, i.e. in case where /sys/bus/rbd/supported_features is absent and we are unable to prepare the krbd attributes based on kernel version. When krbdFeatures is set to zero fallback to NBD only when autofallback is turned ON. Fixes: #2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]> (cherry picked from commit 83cc1b0)
continue running rbd driver when /sys/bus/rbd/supported_features file is missing, do not bailout. Fixes: #2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]> (cherry picked from commit 6470cf3)
krbdFeatures is set to zero when kernel version < 3.8, i.e. in case where /sys/bus/rbd/supported_features is absent and we are unable to prepare the krbd attributes based on kernel version. When krbdFeatures is set to zero fallback to NBD only when autofallback is turned ON. Fixes: #2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]> (cherry picked from commit 83cc1b0)
continue running rbd driver when /sys/bus/rbd/supported_features file is missing, do not bailout. Fixes: #2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]> (cherry picked from commit 6470cf3)
krbdFeatures is set to zero when kernel version < 3.8, i.e. in case where /sys/bus/rbd/supported_features is absent and we are unable to prepare the krbd attributes based on kernel version. When krbdFeatures is set to zero fallback to NBD only when autofallback is turned ON. Fixes: #2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]> (cherry picked from commit 83cc1b0)
continue running rbd driver when /sys/bus/rbd/supported_features file is missing, do not bailout. Fixes: #2678 Signed-off-by: Prasanna Kumar Kalever <[email protected]> (cherry picked from commit 6470cf3)
Describe the bug
I get the following error message from the "csi-rbdplugin" container in all "ceph-csi-rbd-nodeplugin" pods.
Environment details
fuse
orkernel
. for rbd itskrbd
orrbd-nbd
) : krbdSteps to reproduce
Steps to reproduce the behavior:
helm install
helm install -f rbd_values.yaml --namespace "ceph-csi-rbd" "ceph-csi-rbd" ceph-csi/ceph-csi-rbd
rbd_values.yaml contains the following changes
Actual results
ceph-csi-rbd-nodeplugin-mbcvk 2/3 CrashLoopBackOff 18 71m
ceph-csi-rbd-nodeplugin-md9v5 2/3 CrashLoopBackOff 18 71m
Expected behavior
I expect to all pods are running :-)
Logs
ceph-csi-rbd-nodeplugin/csi-rbdplugin
The text was updated successfully, but these errors were encountered: