On Thu, Mar 15, 2018 at 10:46 AM, Ilya Dryomov <idryomov@xxxxxxxxx> wrote: > On Wed, Mar 14, 2018 at 10:55 PM, Liu, Chunmei <chunmei.liu@xxxxxxxxx> wrote: >> The recent ceph version (commit 5fee2689c87dea23cab10fee2a758f4d9a5b4959, Mar. 13th), not only this commit, rbd map failed. >> >> From dmesg, I got the error message as: >> >> libceph: mon0 169.254.100.17:6789 session established >> libceph: client4148 fsid f525f0bd-66eb-4c7a-830e-eadcd7c306df >> libceph: corrupt full osdmap (-22) epoch 12 off 291 (ffff881036127143 of ffff881036127020-ffff88103612764e) >> ..... >> >> libceph: osdc handle_map corrupt msg >> >> Anybody test recent ceph? Have you met this problem? Any suggestion or solution for it? > > Hrm... The latest master > > ceph version 13.0.1-3071-g2f05d2d > (2f05d2d39929fd15b63c2f300f2f0aa1785ac809) mimic (dev) > > works fine with ceph-client/testing and an old 3.12 based upstream > kernel on which we regularly test for backwards compatibility. > > Ubuntu 4.4.0-116-generic kernel however barfs with > > libceph: corrupt full osdmap (-22) epoch 13 off 293 > (ffff880427a22145 of ffff880427a22020-ffff880427a22bb8) > > I'll take a look. Here is the fix: https://github.com/ceph/ceph/pull/20922 The reason 3.12 kept working is it's too old... It misses so many feature bits that it goes through a separate encoding path. I'll add a couple of other kernels to the krbd compatibility suite. Clearly a single kernel, albeit a very old one, isn't enough. Thanks, Ilya -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html