Thanks for the instructions Michael, I was able to successfully get the
patch, build, and install.

Unfortunately I'm now seeing "osd/PG.cc: 5381: FAILED
assert(info.history.same_interval_since != 0)". Then the OSD crashes.

On Sat, Nov 4, 2017 at 5:51 AM, Michael <mehe.sch...@gmx.ch> wrote:

> Jon Light wrote:
>
> I followed the instructions in the Github repo for cloning and setting up
> the build environment, checked out the 12.2.0 tag, modified OSD.cc with the
> fix, and then tried to build with dpkg-buildpackage. I got the following
> error:
> "ceph/src/kv/RocksDBStore.cc:593:22: error: ‘perf_context’ is not a
> member of ‘rocksdb’"
> I guess some changes have been made to RocksDB since 12.2.0?
>
> Am I going about this the right way? Should I just simply recompile the
> OSD binary with the fix and then copy it to the nodes in my cluster? What's
> the best way to get this fix applied to my current installation?
>
> Thanks
>
> It's probably only an indirect help because you might just have the issue
> that you aren't using 12.2.1, but the way in which I got the patch applied
> on Ubuntu's bionic 12.2.1 is this: apt-get source ceph, wget patch file
> from github, cd to the ceph sources, quilt import <path to patchfile>,
> quilt push, pdebuild and then install the ceph-osd .deb .
> At least roughly - you still may have to perform related configuration
> tasks like enabling deb-src entries in the apt sources file, setting up the
> standard pbuilderrc for bionic, and such.
>
> As you might see on the bug tracker, the patch did apparently avoid the
> immediate error for me, but Ceph then ran into another error.
>
> - Michael
>
> _______________________________________________
> 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

Reply via email to