Description of problem: After setting minimum client version to octopus, nautilus kernel clients are not getting evicted and new nautilus kernel clients are able to mount cephfs. Version-Release number of selected component (if applicable): ceph version 16.2.0-29.el8cp (f08d636d8d62b60adfd3a30df43485df3ce19f76) pacific (stable) How reproducible: 2/2 Steps to Reproduce: 1.Bring up 5.0 ceph cluster. 2.set minimum client version to nautilus. 3.Mount cephfs on nautilus kernel client 4.set minimum client version to octopus. Actual results: Nautilus kernel clients are not getting evicted and new nautilus kernel clients are able to mount cephfs. Expected results: Nautilus kernel clients should get evicted & no new nautilus kernel clients should be allowed to mount cephfs. Additional info: ceph-fuse clients are working fine. nautilus kernel client version - ceph version 14.2.11-154.el8cp (214891cf4af753adb7301d7180650d79dd6d7550) nautilus (stable) ceph-common-14.2.11-154.el8cp.x86_64 Commands used to set minimum client version - # ceph fs set cephfs_new min_compat_client nautilus # ceph fs set cephfs_new min_compat_client octopus
(In reply to ymane from comment #0) > Description of problem: > After setting minimum client version to octopus, nautilus kernel clients are > not getting evicted and new nautilus kernel clients are able to mount cephfs. > > Version-Release number of selected component (if applicable): > ceph version 16.2.0-29.el8cp (f08d636d8d62b60adfd3a30df43485df3ce19f76) > pacific (stable) > > > How reproducible: > 2/2 > > Steps to Reproduce: > 1.Bring up 5.0 ceph cluster. > 2.set minimum client version to nautilus. > 3.Mount cephfs on nautilus kernel client > 4.set minimum client version to octopus. > > > Actual results: > Nautilus kernel clients are not getting evicted and new nautilus kernel > clients are able to mount cephfs. > > > Expected results: > Nautilus kernel clients should get evicted & no new nautilus kernel clients > should be allowed to mount cephfs. > > Additional info: > ceph-fuse clients are working fine. > nautilus kernel client version - ceph version 14.2.11-154.el8cp Which version of RHEL is this? `uname -a`? > (214891cf4af753adb7301d7180650d79dd6d7550) nautilus (stable) > ceph-common-14.2.11-154.el8cp.x86_64 > > > Commands used to set minimum client version - > # ceph fs set cephfs_new min_compat_client nautilus > # ceph fs set cephfs_new min_compat_client octopus We don't routinely recommend this anymore with Pacific. It's better to selectively require some features. See also: https://docs.ceph.com/en/latest/cephfs/administration/#minimum-client-version The upstream documentation could be improved some in that we should no longer be mentioning `min_compat_client` (it should be deprecated).
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat Ceph Storage 5.0 bug fix and enhancement), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:3294