Bug #14149
closedceph-mon failed to be started, if configure the source code with "enable-coverage" option
0%
Description
software environment: centos7+ceph-0.94.5
prolbem: I want to run unit test and get the code coverage, so I add "--enable-coverage --disable-silent-rules' when configure the code. After finish compiling, ceph-mon and ceph-osd can't be started, and the log is listed as below.
[root@ceph239 src]# MON=1 OSD=3 MDS=0 ./vstart.sh -d -n -x
...
hostname ceph239
ip 192.168.33.239
ip 192.168.33.239
port
creating /root/ceph-0.94.5/src/keyring
./monmaptool --create --clobber --add a 192.168.33.239:6789 --print /tmp/ceph_monmap.28751
./monmaptool: monmap file /tmp/ceph_monmap.28751
./monmaptool: generated fsid 88a90a11-c978-4734-8519-f57ecb0f0aaa
epoch 0
fsid 88a90a11-c978-4734-8519-f57ecb0f0aaa
last_changed 2015-12-22 22:22:27.217656
created 2015-12-22 22:22:27.217656
0: 192.168.33.239:6789/0 mon.a
./monmaptool: writing epoch 0 to /tmp/ceph_monmap.28751 (1 monitors)
rm -rf /root/ceph-0.94.5/src/dev/mon.a
mkdir -p /root/ceph-0.94.5/src/dev/mon.a
./ceph-mon --mkfs -c /root/ceph-0.94.5/src/ceph.conf -i a --monmap=/tmp/ceph_monmap.28751 --keyring=/root/ceph-0.94.5/src/keyring
./ceph-mon: set fsid to 3d1e129d-a5e3-4192-a0eb-ec65489d3950
./ceph-mon: created monfs at /root/ceph-0.94.5/src/dev/mon.a for mon.a
./ceph-mon -i a -c /root/ceph-0.94.5/src/ceph.conf
2015-12-22 22:22:27.311825 7f946f9e57c0 -1 load: jerasure load dlopen(.libs/libec_lrc.so): .libs/libec_lrc.so: undefined symbol: atexit
Updated by Kefu Chai about 8 years ago
- Status changed from New to Fix Under Review
Updated by Josh Durgin about 7 years ago
- Status changed from Fix Under Review to Won't Fix
autotools is no longer used post-hammer. Please reopen if this is still an issue in master, which uses cmake.