Re: [ceph-users] Ceph features and linux kernel version for upmap

2019-07-10 Thread Lars Marowsky-Bree
On 2019-07-09T16:32:22, Mattia Belluco  wrote:

> That of course in my case fails with:
> Error EPERM: cannot set require_min_compat_client to luminous: 29
> connected client(s) look like jewel (missing 0x800); 1
> connected client(s) look like jewel (missing 0x800); add
> --yes-i-really-mean-it to do it anyway

That's because instead of looking at the actual feature flags needed and
advertised by the clients, it tries to translate those back to a Ceph
version (which doesn't work, because it's not the same exact codestream)
and then compares that one. That is so harebrained it probably deserves
a tracker bug ;-)



Regards,
Lars

-- 
SUSE Linux GmbH, GF: Felix Imendörffer, Mary Higgins, Sri Rasiah, HRB 21284 (AG 
Nürnberg)
"Architects should open possibilities and not determine everything." (Ueli 
Zbinden)
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Ceph features and linux kernel version for upmap

2019-07-09 Thread Paul Emmerich
On Tue, Jul 9, 2019 at 4:32 PM Mattia Belluco  wrote:

> Hi Paul,
>
>
> Should I just go ahead?


yes


> My guess is that those clients (that are CephFS
> clients using the kernel driver) will not be able to mount the
> filesystem anymore.
>

no, that will continue to work because it only blocks clients that don't
support certain features.

Kernel >= 4.13 works IIRC



Paul




>
>
> Mattia
>
>
> On 7/9/19 4:23 PM, Paul Emmerich wrote:
> > Yes, upmap will work with 4.15. The Ceph kernel client is a completely
> > independent implementation from the user space client, so you can't
> > really map it to any specific features. It has some Luminous features
> > but lacks others.
> >
> >
> > Paul
> > --
> > Paul Emmerich
> >
> > Looking for help with your Ceph cluster? Contact us at https://croit.io
> >
> > croit GmbH
> > Freseniusstr. 31h
> > 81247 München
> > www.croit.io 
> > Tel: +49 89 1896585 90
> >
> >
> > On Tue, Jul 9, 2019 at 4:20 PM Mattia Belluco  > > wrote:
> >
> > Hello ml,
> >
> > I have been looking for an updated table like the one you can see
> here:
> >
> >
> https://ceph.com/geen-categorie/feature-set-mismatch-error-on-ceph-kernel-client/
> >
> >
> > Case in point we would like to use upmap on our ceph cluster
> (currently
> > used mainly for CephFS) but `ceph feature` return:
> >
> > "client": [
> > {
> > "features": "0x7010fb86aa42ada",
> > "release": "jewel",
> > "num": 69
> > },
> > ]
> >
> > despite the CephFS clients running with a fairly recent 4.15 kernel.
> >
> > If anyone has any pointers they would be most welcome
> >
> > Kind regards
> >
> > Mattia
> >
> > ___
> > ceph-users mailing list
> > ceph-users@lists.ceph.com 
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >
>
>
> --
> Mattia Belluco
> S3IT Services and Support for Science IT
> Office Y11 F 52
> University of Zürich
> Winterthurerstrasse 190, CH-8057 Zürich (Switzerland)
> Tel: +41 44 635 42 22
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Ceph features and linux kernel version for upmap

2019-07-09 Thread Mattia Belluco
Hi Paul,

thanks for the quick reply. I am still a bit puzzled as the
documentation states:

"To allow use of the feature, you must tell the cluster that it only
needs to support luminous (and newer) clients with:

ceph osd set-require-min-compat-client luminous"

That of course in my case fails with:
Error EPERM: cannot set require_min_compat_client to luminous: 29
connected client(s) look like jewel (missing 0x800); 1
connected client(s) look like jewel (missing 0x800); add
--yes-i-really-mean-it to do it anyway

Should I just go ahead? My guess is that those clients (that are CephFS
clients using the kernel driver) will not be able to mount the
filesystem anymore.


Mattia


On 7/9/19 4:23 PM, Paul Emmerich wrote:
> Yes, upmap will work with 4.15. The Ceph kernel client is a completely
> independent implementation from the user space client, so you can't
> really map it to any specific features. It has some Luminous features
> but lacks others.
> 
> 
> Paul
> -- 
> Paul Emmerich
> 
> Looking for help with your Ceph cluster? Contact us at https://croit.io
> 
> croit GmbH
> Freseniusstr. 31h
> 81247 München
> www.croit.io 
> Tel: +49 89 1896585 90
> 
> 
> On Tue, Jul 9, 2019 at 4:20 PM Mattia Belluco  > wrote:
> 
> Hello ml,
> 
> I have been looking for an updated table like the one you can see here:
> 
> 
> https://ceph.com/geen-categorie/feature-set-mismatch-error-on-ceph-kernel-client/
> 
> 
> Case in point we would like to use upmap on our ceph cluster (currently
> used mainly for CephFS) but `ceph feature` return:
> 
> "client": [
>         {
>             "features": "0x7010fb86aa42ada",
>             "release": "jewel",
>             "num": 69
>         },
> ]
> 
> despite the CephFS clients running with a fairly recent 4.15 kernel.
> 
> If anyone has any pointers they would be most welcome
> 
> Kind regards
> 
> Mattia
> 
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com 
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 


-- 
Mattia Belluco
S3IT Services and Support for Science IT
Office Y11 F 52
University of Zürich
Winterthurerstrasse 190, CH-8057 Zürich (Switzerland)
Tel: +41 44 635 42 22
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Ceph features and linux kernel version for upmap

2019-07-09 Thread Paul Emmerich
Yes, upmap will work with 4.15. The Ceph kernel client is a completely
independent implementation from the user space client, so you can't really
map it to any specific features. It has some Luminous features but lacks
others.


Paul
-- 
Paul Emmerich

Looking for help with your Ceph cluster? Contact us at https://croit.io

croit GmbH
Freseniusstr. 31h
81247 München
www.croit.io
Tel: +49 89 1896585 90


On Tue, Jul 9, 2019 at 4:20 PM Mattia Belluco  wrote:

> Hello ml,
>
> I have been looking for an updated table like the one you can see here:
>
>
> https://ceph.com/geen-categorie/feature-set-mismatch-error-on-ceph-kernel-client/
>
>
> Case in point we would like to use upmap on our ceph cluster (currently
> used mainly for CephFS) but `ceph feature` return:
>
> "client": [
> {
> "features": "0x7010fb86aa42ada",
> "release": "jewel",
> "num": 69
> },
> ]
>
> despite the CephFS clients running with a fairly recent 4.15 kernel.
>
> If anyone has any pointers they would be most welcome
>
> Kind regards
>
> Mattia
>
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com