Bug 1958131 - minimum client version is not working with kernel clients
Summary: minimum client version is not working with kernel clients
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 5.0
Assignee: Patrick Donnelly
QA Contact: Yogesh Mane
Ranjini M N
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-07 09:27 UTC by Yogesh Mane
Modified: 2021-09-22 03:04 UTC (History)
9 users (show)

Fixed In Version: ceph-16.2.0-55.el8cp
Doc Type: Deprecated Functionality
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-30 08:30:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 50873 0 None None None 2021-05-21 03:16:22 UTC
Red Hat Issue Tracker RHCEPH-902 0 None None None 2021-09-22 03:04:38 UTC
Red Hat Product Errata RHBA-2021:3294 0 None None None 2021-08-30 08:30:43 UTC

Description Yogesh Mane 2021-05-07 09:27:42 UTC
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

Comment 1 Patrick Donnelly 2021-05-11 02:28:42 UTC
(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).

Comment 26 errata-xmlrpc 2021-08-30 08:30:29 UTC
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


Note You need to log in before you can comment on or make changes to this bug.