Project

General

Profile

Bug #35969

Updated by Kefu Chai about 1 year ago

see /a/kchai-2018-09-13_01:57:49-ceph-disk-wip-fix-35906-distro-basic-ovh/3012294

<pre>
2018-09-13T02:28:57.997 INFO:teuthology.orchestra.run.ovh030:Running: 'sudo MALLOC_CHECK_=3 adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage ceph-osd --no-mon-config --cluster ceph --mkfs --mkkey -i 0 --monmap /home/ubuntu/cephtest/ceph.monmap'
...
2018-09-13T02:28:59.551 INFO:teuthology.orchestra.run.ovh030.stderr:ceph-osd: symbol lookup error: ceph-osd: undefined symbol: _ZdaPvm
</pre>

and per https://jenkins.ceph.com/job/ceph-dev-new-build/ARCH=x86_64,AVAILABLE_ARCH=x86_64,AVAILABLE_DIST=centos7,DIST=centos7,MACHINE_SIZE=huge/14456//consoleFull

<pre>
--> Already installed : gperftools-devel-2.6.1-1.el7.x86_64
</pre>

per /a/kchai-2018-09-13_01:57:49-ceph-disk-wip-fix-35906-distro-basic-ovh/3012294/teuthology.log

<pre>
description: ceph-disk/basic/{distros/centos_latest.yaml tasks/ceph-disk.yaml}
...
os_type: centos
os_version: '7.4'
</pre>

so, when mimic was released. the "latest" centos was 7.4. by then, the shipped gperftools-libs was gperftools-libs-2.4-7 .

the tested Ceph is always compiled with the latest centos (7.5 at the time of writing), where gperftools-lib's version is 2.6.1. while the mimic's rados test suite is still pointing to centos 7.4.

<pre>
$ c++filt _ZdlPvm
operator delete(void*, unsigned long)
</pre>

this operator was introduced in gperftool 2.6.1, see https://github.com/gperftools/gperftools/commit/7efb3ecf37d88edf9cf9a43efb89b425eaf81d5e , search for "ENABLE_SIZED_DELETE". .

that's why we have the missing symbol on centos 7.4.

Back