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

csi-rbdplugin "supported_features: no such file or directory" error. #2678

Closed
humpalu opened this issue Nov 23, 2021 · 21 comments · Fixed by #3033
Closed

csi-rbdplugin "supported_features: no such file or directory" error. #2678

humpalu opened this issue Nov 23, 2021 · 21 comments · Fixed by #3033
Assignees
Labels
bug Something isn't working component/rbd Issues related to RBD keepalive This label can be used to disable stale bot activiity in the repo

Comments

@humpalu
Copy link

humpalu commented Nov 23, 2021

Describe the bug

I get the following error message from the "csi-rbdplugin" container in all "ceph-csi-rbd-nodeplugin" pods.

I1123 14:51:44.550509   12355 mount_linux.go:207] Cannot run systemd-run, assuming non-systemd OS
I1123 14:51:44.550539   12355 mount_linux.go:208] systemd-run output: System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to create bus connection: Host is down
, failed with: exit status 1
E1123 14:51:44.553355   12355 rbd_util.go:241] reading file "/sys/bus/rbd/supported_features" failed: open /sys/bus/rbd/supported_features: no such file or directory
F1123 14:51:44.553380   12355 driver.go:163] open /sys/bus/rbd/supported_features: no such file or directory
goroutine 1 [running]:
k8s.io/klog/v2.stacks(0xc0001b6001, 0xc0001e8c80, 0x6d, 0x24d)
        /go/src/github.com/ceph/ceph-csi/vendor/k8s.io/klog/v2/klog.go:1026 +0xb9
k8s.io/klog/v2.(*loggingT).output(0x31a8c00, 0xc000000003, 0x0, 0x0, 0xc000544cb0, 0x1, 0x26e3858, 0x9, 0xa3, 0x418e00)
        /go/src/github.com/ceph/ceph-csi/vendor/k8s.io/klog/v2/klog.go:975 +0x1e5
k8s.io/klog/v2.(*loggingT).printDepth(0x31a8c00, 0xc000000003, 0x0, 0x0, 0x0, 0x0, 0x1, 0xc0002cc560, 0x1, 0x1)
        /go/src/github.com/ceph/ceph-csi/vendor/k8s.io/klog/v2/klog.go:735 +0x185
k8s.io/klog/v2.FatalDepth(...)
        /go/src/github.com/ceph/ceph-csi/vendor/k8s.io/klog/v2/klog.go:1500
github.com/ceph/ceph-csi/internal/util/log.FatalLogMsg(0xc000048280, 0x3f, 0x0, 0x0, 0x0)
        /go/src/github.com/ceph/ceph-csi/internal/util/log/log.go:59 +0x118
github.com/ceph/ceph-csi/internal/rbd.(*Driver).Run(0xc0000ae990, 0x31a8d20)
        /go/src/github.com/ceph/ceph-csi/internal/rbd/driver.go:163 +0xda5
main.main()
        /go/src/github.com/ceph/ceph-csi/cmd/cephcsi.go:223 +0x3a5

Environment details

  • Image/version of Ceph CSI driver : Canary and Git version: b2099eb
  • Helm chart version : ceph-csi-rbd-3.4.0
  • Kernel version :
  • Mounter used for mounting PVC (for cephFS its fuse or kernel. for rbd its
    krbd or rbd-nbd) : krbd
  • Kubernetes cluster version : v1.21.2
  • Ceph cluster version : 14

Steps 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

csiConfig:
  - clusterID: "xxxxx-xxxxe-4758-8aea-8ccf52xxx9f"
    monitors:
      - "10.33.xx.xx:6789"
      - "10.33.xx.xx:6789"
      - "10.33.xx.xx:6789"
storageClass:
  # Specifies whether the storageclass should be created
  create: true
  name: csi-rbd-sc
  clusterID: xxxxx-xxxxe-4758-8aea-8ccf52xxx9f
pool: "vmpool"
secret:
  # Specifies whether the secret should be created
  create: true
  name: csi-rbd-secret
  userID: admin
  userKey: "XXXXXXX"

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

I1123 15:17:14.633032   20442 cephcsi.go:168] Driver version: canary and Git version: b2099eb3b1a46ed326ded1aa5b2601a418726d91
I1123 15:17:14.633307   20442 cephcsi.go:186] Initial PID limit is set to -1
I1123 15:17:14.633430   20442 cephcsi.go:192] Reconfigured PID limit to -1 (max)
I1123 15:17:14.633593   20442 cephcsi.go:217] Starting driver type: rbd with name: rbd.csi.ceph.com
I1123 15:17:14.650084   20442 mount_linux.go:207] Cannot run systemd-run, assuming non-systemd OS
I1123 15:17:14.650119   20442 mount_linux.go:208] systemd-run output: System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to create bus connection: Host is down
, failed with: exit status 1
E1123 15:17:14.653174   20442 rbd_util.go:241] reading file "/sys/bus/rbd/supported_features" failed: open /sys/bus/rbd/supported_features: no such file or directory
F1123 15:17:14.653208   20442 driver.go:163] open /sys/bus/rbd/supported_features: no such file or directory
goroutine 1 [running]:
k8s.io/klog/v2.stacks(0xc000010001, 0xc0000e4500, 0x6d, 0x24d)
        /go/src/github.com/ceph/ceph-csi/vendor/k8s.io/klog/v2/klog.go:1026 +0xb9
k8s.io/klog/v2.(*loggingT).output(0x31a8c00, 0xc000000003, 0x0, 0x0, 0xc0000b78f0, 0x1, 0x26e3858, 0x9, 0xa3, 0x418e00)
        /go/src/github.com/ceph/ceph-csi/vendor/k8s.io/klog/v2/klog.go:975 +0x1e5
k8s.io/klog/v2.(*loggingT).printDepth(0x31a8c00, 0xc000000003, 0x0, 0x0, 0x0, 0x0, 0x1, 0xc0003685a0, 0x1, 0x1)
        /go/src/github.com/ceph/ceph-csi/vendor/k8s.io/klog/v2/klog.go:735 +0x185
k8s.io/klog/v2.FatalDepth(...)
        /go/src/github.com/ceph/ceph-csi/vendor/k8s.io/klog/v2/klog.go:1500
github.com/ceph/ceph-csi/internal/util/log.FatalLogMsg(0xc000048580, 0x3f, 0x0, 0x0, 0x0)
        /go/src/github.com/ceph/ceph-csi/internal/util/log/log.go:59 +0x118
github.com/ceph/ceph-csi/internal/rbd.(*Driver).Run(0xc0000b0b10, 0x31a8d20)
        /go/src/github.com/ceph/ceph-csi/internal/rbd/driver.go:163 +0xda5
main.main()
        /go/src/github.com/ceph/ceph-csi/cmd/cephcsi.go:223 +0x3a5

goroutine 6 [chan receive]:
k8s.io/klog/v2.(*loggingT).flushDaemon(0x31a8c00)
        /go/src/github.com/ceph/ceph-csi/vendor/k8s.io/klog/v2/klog.go:1169 +0x8b
created by k8s.io/klog/v2.init.0
        /go/src/github.com/ceph/ceph-csi/vendor/k8s.io/klog/v2/klog.go:420 +0xdf

goroutine 37 [sleep]:
time.Sleep(0x6fc23ac00)
        /usr/local/go/src/runtime/time.go:193 +0xd2
sigs.k8s.io/controller-runtime/pkg/log.init.0.func1()
        /go/src/github.com/ceph/ceph-csi/vendor/sigs.k8s.io/controller-runtime/pkg/log/log.go:63 +0x45
created by sigs.k8s.io/controller-runtime/pkg/log.init.0
        /go/src/github.com/ceph/ceph-csi/vendor/sigs.k8s.io/controller-runtime/pkg/log/log.go:62 +0x35
@Madhu-1 Madhu-1 added the bug Something isn't working label Nov 23, 2021
@Madhu-1
Copy link
Collaborator

Madhu-1 commented Nov 23, 2021

@pkalever PTAL

@humpalu
Copy link
Author

humpalu commented Nov 23, 2021

If my idea is correct, the /sys/bus/rbd/supported_features file should be installed from package.
I checked , none of my worker node has that file.
So the file is installed from package or generated by ceph client?

@nixpanic nixpanic added the component/rbd Issues related to RBD label Nov 24, 2021
@nixpanic
Copy link
Member

The /sys/bus/rbd/supported_features files should get automatically created when the rbd kernel module is loaded. Can you confirm the module is loaded on the worker nodes? If it is not loaded yet, can you manually load it and verify that the file exists and the pod start again?

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.

@humpalu
Copy link
Author

humpalu commented Nov 24, 2021

I can confirm, the kernel module is loaded on the host system

root@node-xxx:~# lsmod | grep rbd
rbd                    69632  0
libceph               245760  1 rbd
root@node-xxx:~# modinfo rbd
filename:       /lib/modules/4.4.0-210-generic/kernel/drivers/block/rbd.ko
license:        GPL
description:    RADOS Block Device (RBD) driver
author:         Jeff Garzik <[email protected]>
author:         Yehuda Sadeh <[email protected]>
author:         Sage Weil <[email protected]>
author:         Alex Elder <[email protected]>
srcversion:     037573996A1AC4BA9831E78
depends:        libceph
retpoline:      Y
intree:         Y
vermagic:       4.4.0-210-generic SMP mod_unload modversions
parm:           single_major:Use a single major number for all rbd devices (default: false) (bool)
root@node-xxx:~# ls -1 /sys/bus/rbd/
add
devices
drivers
drivers_autoprobe
drivers_probe
remove
uevent

@nixpanic
Copy link
Member

Maybe the /sys/bus/rbd/supported_features was added in a more recent kernel version? You seem to be on Linux 4.4.0, which is relatively old.

@pkalever can you update the check for features with some sensible defaults for when the supported_features file is missing?

@nixpanic nixpanic added this to the release-3.5.0 milestone Nov 24, 2021
@github-actions
Copy link

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.

@github-actions github-actions bot added the wontfix This will not be worked on label Dec 24, 2021
@github-actions
Copy link

This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.

@Madhu-1 Madhu-1 removed the wontfix This will not be worked on label Jan 4, 2022
@Madhu-1
Copy link
Collaborator

Madhu-1 commented Jan 4, 2022

reopening @pkalever PTAL when you get some time.

@Madhu-1 Madhu-1 reopened this Jan 4, 2022
@Madhu-1
Copy link
Collaborator

Madhu-1 commented Jan 4, 2022

this should be a blocker for the release as it's tagged for 3.5.0? @ceph/ceph-csi-maintainers

@humblec
Copy link
Collaborator

humblec commented Jan 4, 2022

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.
@pkalever can you please take a look at this ? and may be a workaround ?

@nixpanic
Copy link
Member

nixpanic commented Jan 6, 2022

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 nixpanic removed this from the release-3.5.0 milestone Jan 6, 2022
@Madhu-1
Copy link
Collaborator

Madhu-1 commented Jan 7, 2022

@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

@nixpanic
Copy link
Member

nixpanic commented Jan 7, 2022

@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 ceph-csi-rbd-3.4.0, so I assumed it is included in 3.4.0 as well 🤷‍♂️

@github-actions
Copy link

github-actions bot commented Feb 6, 2022

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.

@github-actions github-actions bot added the wontfix This will not be worked on label Feb 6, 2022
@Madhu-1 Madhu-1 added keepalive This label can be used to disable stale bot activiity in the repo and removed wontfix This will not be worked on labels Feb 7, 2022
@pkalever
Copy link

pkalever commented Feb 9, 2022

@Madhu-1 @nixpanic

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 /sys/bus/rbd/supported_features is part of linux kernel v4.11.0

commit 8767b293a4ab6632f9288f34bcf2ab9ba20dca3a
Author: Ilya Dryomov <[email protected]>
Date:   Thu Mar 2 19:56:57 2017 +0100

    rbd: supported_features bus attribute
    
    ... so that userspace can generate meaningful error messages and spell
    out unsupported features that need to be disabled.
    
    Signed-off-by: Ilya Dryomov <[email protected]>
    Reviewed-by: Sage Weil <[email protected]>

So, What route do we want to take here?

  1. The difficulty part is that what should be the minimum sensible values?
    RBD_FEATURE_LAYERING is added around linux v3.6, RBD_FEATURE_STRIPINGV2 is added around v3.9, RBD_FEATURE_EXCLUSIVE_LOCK is added around v4.8, and RBD_FEATURE_DATA_POOL around v4.10

  2. Shoud we implement some intellegence in Ceph-CSI to check kernel version and decide the min suported feature list?

  3. Or should we just make kernel v4.11.0 as the minimum requirement in our documentation?

Thoughts?

@Madhu-1
Copy link
Collaborator

Madhu-1 commented Feb 9, 2022

@Madhu-1 @nixpanic

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 /sys/bus/rbd/supported_features is part of linux kernel v4.11.0

commit 8767b293a4ab6632f9288f34bcf2ab9ba20dca3a
Author: Ilya Dryomov <[email protected]>
Date:   Thu Mar 2 19:56:57 2017 +0100

    rbd: supported_features bus attribute
    
    ... so that userspace can generate meaningful error messages and spell
    out unsupported features that need to be disabled.
    
    Signed-off-by: Ilya Dryomov <[email protected]>
    Reviewed-by: Sage Weil <[email protected]>

So, What route do we want to take here?

  1. The difficulty part is that what should be the minimum sensible values?
    RBD_FEATURE_LAYERING is added around linux v3.6, RBD_FEATURE_STRIPINGV2 is added around v3.9, RBD_FEATURE_EXCLUSIVE_LOCK is added around v4.8, and RBD_FEATURE_DATA_POOL around v4.10

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?

  1. Shoud we implement some intellegence in Ceph-CSI to check kernel version and decide the min suported feature list?

If the file is missing can we continue with starting the driver? and consider this check only if someone asks for auto fallback?

  1. Or should we just make kernel v4.11.0 as the minimum requirement in our documentation?

This breaks things as we never enforced the kernel version from the cephcsi side. and this was never a blocker?

Thoughts?

@pkalever
Copy link

pkalever commented Feb 9, 2022

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?

The other alternative I can think of is,

  1. If kernel version is < 4.11.0 then just assume we have RBD_FEATURE_LAYERING only, if that doesn't hurt much.
  2. Have a user facing flag to force bypass this feature checks assuming user checked the rbd features list on his own and is sure about the supportability of various features mentioned in the artifacts.
  1. Shoud we implement some intellegence in Ceph-CSI to check kernel version and decide the min suported feature list?

If the file is missing can we continue with starting the driver? and consider this check only if someone asks for auto fallback?

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.

  1. Or should we just make kernel v4.11.0 as the minimum requirement in our documentation?

This breaks things as we never enforced the kernel version from the cephcsi side. and this was never a blocker?

May we just make it a recommendation rather than a requirement?

@pkalever pkalever added this to the release-3.6 milestone Feb 15, 2022
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 6, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 9, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 9, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 9, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 9, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 9, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 9, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 10, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 10, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 11, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 11, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 11, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 11, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 13, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 13, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 13, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 13, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 13, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 13, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 13, 2022
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]>
pkalever pushed a commit to pkalever/ceph-csi that referenced this issue May 13, 2022
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]>
@mergify mergify bot closed this as completed in #3033 May 15, 2022
mergify bot pushed a commit that referenced this issue May 15, 2022
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]>
mergify bot pushed a commit that referenced this issue May 15, 2022
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]>
mergify bot pushed a commit that referenced this issue May 15, 2022
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)
mergify bot pushed a commit that referenced this issue May 15, 2022
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)
ceph-csi-bot pushed a commit that referenced this issue May 18, 2022
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)
ceph-csi-bot pushed a commit that referenced this issue May 18, 2022
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)
mergify bot pushed a commit that referenced this issue May 18, 2022
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)
mergify bot pushed a commit that referenced this issue May 18, 2022
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component/rbd Issues related to RBD keepalive This label can be used to disable stale bot activiity in the repo
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants