Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765649 - sys-cluster/ceph-14.2.16 OSD crashes with segafult shortly after start
Summary: sys-cluster/ceph-14.2.16 OSD crashes with segafult shortly after start
Status: RESOLVED DUPLICATE of bug 764221
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-16 16:59 UTC by zipiju
Modified: 2021-02-25 23:43 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zipiju 2021-01-16 16:59:44 UTC
After upgrading CEPH node from 14.2.13 to 14.2.16, shortly after starting the OSDs they do crash with the below segfault.
Downgrading back to 14.2.13 solves the issue and OSDs start normally.
When upgrading from 14.2.13 to 14.2.16 dev-libs/rocksdb-6.15.2 is pulled in as a dependency, after downgrading to 14.2.13 it can be unmerged safely using --depclean.
Might this be related to the segfaults? Why is rocksdb pulled in as a dependency when 14.2.13 doesn't need it?
Using gcc-9.3.0 on amd64, CEPH flags USE="cephfs mgr openssl radosgw ssl tcmalloc -babeltrace -custom-cflags -diskprediction (-dpdk) -fuse -grafana -jemalloc -kafka -kerberos -ldap -libressl -lttng -numa -rabbitmq -spdk (-system-boost) -systemd -test -xfs -zfs" CPU_FLAGS_X86="sse sse2 sse4_1 sse4_2 ssse3 -sse3" PYTHON_TARGETS="python3_8 (-python3_6) -python3_7".
If any other details are needed please let me know.
Thank you.

2021-01-16 16:32:44.640 7fbdd7cd4c40 -1 Falling back to public interface
2021-01-16 16:32:53.607 7fbdd7cd4c40 -1 rocksdb: NotFound: db/: No such file or directory
2021-01-16 16:32:53.607 7fbdd7cd4c40 -1 bluestore(/var/lib/ceph/osd/ceph-1) _open_db erroring opening db: 
*** Caught signal (Segmentation fault) **
 in thread 7fbdd7cd4c40 thread_name:ceph-osd
 ceph version 14.2.16 (762032d6f509d5e7ee7dc008d80fe9c87086603c) nautilus (stable)
 1: (()+0x127e0) [0x7fbdd834e7e0]
 2: (BlueStore::_open_collections()+0x61) [0x55774026ee91]
 3: (BlueStore::_mount(bool, bool)+0x5b8) [0x5577402b19c8]
 4: (OSD::init()+0x565) [0x55773fd80915]
 5: (main()+0x378a) [0x55773fcf3eea]
 6: (__libc_start_main()+0xeb) [0x7fbdd7d8de6b]
 7: (_start()+0x2a) [0x55773fd0617a]
2021-01-16 16:32:53.748 7fbdd7cd4c40 -1 *** Caught signal (Segmentation fault) **
 in thread 7fbdd7cd4c40 thread_name:ceph-osd
Comment 1 zipiju 2021-01-17 13:27:53 UTC
This is actually related to bug 764221.
Comment 2 Patrick McLean gentoo-dev 2021-02-25 23:42:08 UTC
What version of rocksdb is installed on this system? This is probably a duplicate of https://bugs.gentoo.org/764221
Comment 3 Patrick McLean gentoo-dev 2021-02-25 23:43:04 UTC
Closing for now as a duplicate, please reopen if this is happens with the downgraded rocksdb.

*** This bug has been marked as a duplicate of bug 764221 ***