Project

General

Profile

Bug #12598

LibCephFS.GetPoolId failure

Added by Sage Weil about 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
Start date:
08/04/2015
Due date:
% Done:

0%

Source:
Q/A
Tags:
Backport:
hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):

Description

2015-08-04T06:43:28.211 INFO:tasks.workunit.client.0.plana89.stdout:[ RUN      ] LibCephFS.GetPoolId
2015-08-04T06:43:28.216 INFO:tasks.workunit.client.0.plana89.stderr:common/ceph_crypto.cc: In function 'void ceph::crypto::init(CephContext*)' thread 7fdb84281780 time 2015-08-04 06:43:28.217757
2015-08-04T06:43:28.216 INFO:tasks.workunit.client.0.plana89.stderr:common/ceph_crypto.cc: 73: FAILED assert(crypto_context != __null)
2015-08-04T06:43:28.216 INFO:tasks.workunit.client.0.plana89.stderr: ceph version 9.0.2-961-g145364b (145364bbd933da8c1f384bea41f1b5cf37e9e082)
2015-08-04T06:43:28.216 INFO:tasks.workunit.client.0.plana89.stderr: 1: (()+0x21e38f) [0x7fdb81ca238f]
2015-08-04T06:43:28.217 INFO:tasks.workunit.client.0.plana89.stderr: 2: (()+0x22e3d3) [0x7fdb81cb23d3]
2015-08-04T06:43:28.217 INFO:tasks.workunit.client.0.plana89.stderr: 3: (()+0x244028) [0x7fdb81cc8028]
2015-08-04T06:43:28.217 INFO:tasks.workunit.client.0.plana89.stderr: 4: (ceph_mount_info::init()+0x14) [0x7fdb81aebb44]
2015-08-04T06:43:28.217 INFO:tasks.workunit.client.0.plana89.stderr: 5: (ceph_mount()+0x51) [0x7fdb81ae9351]
2015-08-04T06:43:28.218 INFO:tasks.workunit.client.0.plana89.stderr: 6: (LibCephFS_GetPoolId_Test::TestBody()+0x2e4) [0x441214]
2015-08-04T06:43:28.218 INFO:tasks.workunit.client.0.plana89.stderr: 7: (void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x4d) [0x4a451d]
2015-08-04T06:43:28.218 INFO:tasks.workunit.client.0.plana89.stderr: 8: (testing::Test::Run()+0x101) [0x49b4a1]
2015-08-04T06:43:28.218 INFO:tasks.workunit.client.0.plana89.stderr: 9: (testing::TestInfo::Run()+0xd6) [0x49b586]
2015-08-04T06:43:28.218 INFO:tasks.workunit.client.0.plana89.stderr: 10: (testing::TestCase::Run()+0xd7) [0x49b6c7]
2015-08-04T06:43:28.219 INFO:tasks.workunit.client.0.plana89.stderr: 11: (testing::internal::UnitTestImpl::RunAllTests()+0x2ee) [0x49ba2e]
2015-08-04T06:43:28.219 INFO:tasks.workunit.client.0.plana89.stderr: 12: (bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::
UnitTestImpl::*)(), char const*)+0x4d) [0x4a409d]
2015-08-04T06:43:28.219 INFO:tasks.workunit.client.0.plana89.stderr: 13: (testing::UnitTest::Run()+0x63) [0x49ab93]
2015-08-04T06:43:28.219 INFO:tasks.workunit.client.0.plana89.stderr: 14: (main()+0x39) [0x42be29]
2015-08-04T06:43:28.219 INFO:tasks.workunit.client.0.plana89.stderr: 15: (__libc_start_main()+0xed) [0x7fdb80fb376d]
2015-08-04T06:43:28.219 INFO:tasks.workunit.client.0.plana89.stderr: 16: ceph_test_libcephfs() [0x42c295]
2015-08-04T06:43:28.220 INFO:tasks.workunit.client.0.plana89.stderr: NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
2015-08-04T06:43:28.220 INFO:tasks.workunit.client.0.plana89.stdout:unknown file: Failure
2015-08-04T06:43:28.220 INFO:tasks.workunit.client.0.plana89.stdout:Unknown C++ exception thrown in the test body.
2015-08-04T06:43:28.220 INFO:tasks.workunit.client.0.plana89.stdout:[  FAILED  ] LibCephFS.GetPoolId (5 ms)

teuthology:sage-2015-08-04_06:28:08-smoke-wip-systemd---basic-multi 06:52 AM $ less 999054/teuthology.log


Related issues

Duplicated by fs - Bug #13011: LibCephFS.ReleaseMounted: FAILED assert(crypto_context != __null) Duplicate 09/09/2015
Copied to fs - Backport #13044: LibCephFS.GetPoolId failure Resolved

Associated revisions

Revision 4d4fe9db (diff)
Added by Yan, Zheng about 3 years ago

crypto: fix unbalanced ceph::crypto::init/ceph::crypto:shutdown

we may create a CephContext without calling common_init_finish(), then
delete the CephContext. In this case, ceph::crypto:init() is not called,
so CephContext::~CephContext() should not call ceph::crypto::shutdown().

Fixes: #12598
Signed-off-by: Yan, Zheng <>
Reviewed-by: John Spray <>

Revision 3a50b904 (diff)
Added by Yan, Zheng about 3 years ago

crypto: fix unbalanced ceph::crypto::init/ceph::crypto:shutdown

we may create a CephContext without calling common_init_finish(), then
delete the CephContext. In this case, ceph::crypto:init() is not called,
so CephContext::~CephContext() should not call ceph::crypto::shutdown().

Fixes: #12598
Signed-off-by: Yan, Zheng <>
(cherry picked from commit 98a85ec6464d8ec3fc7f0c647ac97c8cf002ebe2)

History

#1 Updated by Zheng Yan about 3 years ago

  • Category deleted (44)
  • Status changed from New to Need Review

#2 Updated by Sage Weil about 3 years ago

  • Status changed from Need Review to Resolved

commit:4d4fe9dbc0eb0d0eaa9a608474fecc892626f542

#3 Updated by Loic Dachary about 3 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to hammer

#4 Updated by Nathan Cutler almost 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF