Project

General

Profile

Backport #16507

jewel: "ceph_test_librbd_api: symbol lookup error: ceph_test_librbd_api: undefined symbol" in upgrade:client-upgrade-jewel-distro-basic-smithi

Added by Yuri Weinstein almost 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
Release:
jewel
Crash signature (v1):
Crash signature (v2):


Related issues

Copied from Ceph - Bug #16899: buffer::list::const_iterator not exposed Resolved 08/03/2016

History

#1 Updated by Kefu Chai over 7 years ago

  • Assignee set to Kefu Chai

#2 Updated by Kefu Chai over 7 years ago

ceph::buffer::list::iterator_impl<false>::advance(int) was changed to buffer::list::iterator_impl<is_const>::advance(ssize_t o) along with other methods, like void buffer::list::iterator_impl<is_const>::seek(unsigned o), which was changed to void buffer::list::iterator_impl<is_const>::seek(size_t o), in https://github.com/ceph/ceph/pull/9395 as the fix for #16010.

see the discussion in the https://github.com/ceph/ceph/pull/9395, the ABI changes are expected. and we do not plan to fix it.

the buffer::list::const_iterator was introduced in infernalis, and the commit which exposed it via librados was 16bc3e59325d4057d36cd63a57111ab36fbc50fd), and the change breaking the ABI is in master, and hence will be in kraken.

will look at it closer to see if this is really expected, if yes, how to disable this test.

#3 Updated by Kefu Chai over 7 years ago

the commit of 6c645780dd485770abd54e3585975098fd808354 was merged after infernalis,
it excludes iterator_impl symbols in the librados. and this commit exists in jewel and master.

and in 16bc3e59325d4057d36cd63a57111ab36fbc50fd export these symbols again. but 16bc3e59325d4057d36cd63a57111ab36fbc50fd only exists in master.

so, to fix the issue here, we need to backport 16bc3e59325d4057d36cd63a57111ab36fbc50fd to jewel

#4 Updated by Kefu Chai over 7 years ago

  • Status changed from New to 7

pushed to ceph.git/wip-16507-jewel. pending on test.

being tested at http://pulpito.ceph.com/kchai-2016-08-02_03:29:45-upgrade-wip-16507-jewel---basic-mira/

2016-08-02T04:52:10.482 INFO:teuthology.orchestra.run.mira054.stderr:/bin/adjust-ulimits: line 16: exec: ceph-coverage: not found

#6 Updated by Kefu Chai over 7 years ago

  • Status changed from 7 to Fix Under Review

#7 Updated by Nathan Cutler over 7 years ago

  • Tracker changed from Bug to Backport

#8 Updated by Nathan Cutler over 7 years ago

  • Copied from Bug #16899: buffer::list::const_iterator not exposed added

#9 Updated by Nathan Cutler over 7 years ago

  • Subject changed from "ceph_test_librbd_api: symbol lookup error: ceph_test_librbd_api: undefined symbol" in upgrade:client-upgrade-jewel-distro-basic-smithi to jewel: "ceph_test_librbd_api: symbol lookup error: ceph_test_librbd_api: undefined symbol" in upgrade:client-upgrade-jewel-distro-basic-smithi

#10 Updated by Kefu Chai over 7 years ago

Nathan, thanks for updating this ticket and creating a backport ticket for this issue!

#11 Updated by Loïc Dachary over 7 years ago

  • Description updated (diff)

Original description

Run: http://pulpito.ceph.com/teuthology-2016-06-26_02:45:02-upgrade:client-upgrade-jewel-distro-basic-smithi/
Job: 278398
Logs: http://qa-proxy.ceph.com/teuthology/teuthology-2016-06-26_02:45:02-upgrade:client-upgrade-jewel-distro-basic-smithi/278398/teuthology.log

2016-06-28T01:03:22.345 INFO:tasks.workunit:Running workunit rbd/test_librbd_api.sh...
2016-06-28T01:03:22.345 INFO:teuthology.orchestra.run.smithi052:Running (workunit test rbd/test_librbd_api.sh): 'mkdir -p -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && cd -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && CEPH_CLI_TEST_DUP_COMMAND=1 CEPH_REF=infernalis TESTDIR="/home/ubuntu/cephtest" CEPH_ARGS="--cluster ceph" CEPH_ID="0" PATH=$PATH:/usr/sbin RBD_FEATURES=13 adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 3h /home/ubuntu/cephtest/workunit.client.0/rbd/test_librbd_api.sh'
2016-06-28T01:03:22.383 INFO:tasks.workunit.client.0.smithi052.stderr:ceph_test_librbd_api: symbol lookup error: ceph_test_librbd_api: undefined symbol: _ZN4ceph6buffer4list13iterator_implILb0EE7advanceEi
2016-06-28T01:03:22.384 INFO:tasks.workunit:Stopping ['rbd/test_librbd_api.sh'] on client.0...

#12 Updated by Loïc Dachary over 7 years ago

  • Status changed from Fix Under Review to In Progress

#13 Updated by Loïc Dachary over 7 years ago

  • Status changed from In Progress to Resolved
  • Target version set to v10.2.3

Also available in: Atom PDF