Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1958131

Summary: minimum client version is not working with kernel clients
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Yogesh Mane <ymane>
Component: CephFSAssignee: Patrick Donnelly <pdonnell>
Status: CLOSED ERRATA QA Contact: Yogesh Mane <ymane>
Severity: high Docs Contact: Ranjini M N <rmandyam>
Priority: unspecified    
Version: 5.0CC: agunn, ceph-eng-bugs, hyelloji, jlayton, pdonnell, rmandyam, sweil, tserlin, vereddy
Target Milestone: ---Keywords: Regression
Target Release: 5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.0-55.el8cp Doc Type: Deprecated Functionality
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-30 08:30:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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