Project

General

Profile

Actions

Bug #22158

closed

*** Caught signal (Segmentation fault) ** in thread thread_name:tp_librbd

Added by wb song over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous,jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

After remove parent snap with --force flag while its child and child's clone without deef-flatten enabled,
any operation of image child's clone will causes core dumped (cli operation records as follow):


[root~ #] rbd create i1 -s 100 && rbd snap create i1@s1 && rbd snap protect i1@s1 && rbd clone i1@s1 i2 --image-feature layering
[root~ #] rbd snap create i2@s2 && rbd snap protect i2@s2 && rbd clone i2@s2 i3 --image-feature layering
[root~ #] rbd snap remove i1@s1 --force
Removing snap: 100% complete...done.
[root~ #] rbd du i2
warning: fast-diff map is not enabled for i2. operation may be slow.
2017-11-18 10:42:58.305 7f5a5d7fa700 -1 librbd::image::RefreshParentRequest: failed to locate snapshot: Snapshot with this id not found
2017-11-18 10:42:58.305 7f5a5d7fa700 -1 librbd::image::SetSnapRequest: failed to refresh snapshot parent: (2) No such file or directory
2017-11-18 10:42:58.305 7f5a5d7fa700 -1 librbd::image::OpenRequest: failed to set image snapshot: (2) No such file or directory
rbd: error opening snapshot i2@s2: (2) No such file or directory
NAME PROVISIONED USED 
[root~ #] rbd info i3
2017-11-18 10:43:12.021 7f2364ff9700 -1 librbd::image::RefreshParentRequest: failed to locate snapshot: Snapshot with this id not found
2017-11-18 10:43:12.021 7f2364ff9700 -1 librbd::image::SetSnapRequest: failed to refresh snapshot parent: (2) No such file or directory
2017-11-18 10:43:12.021 7f2364ff9700 -1 librbd::image::RefreshParentRequest: failed to set parent snapshot: (2) No such file or directory
2017-11-18 10:43:12.021 7f2364ff9700 -1 librbd::image::RefreshRequest: failed to refresh parent image: (2) No such file or directory
2017-11-18 10:43:12.021 7f2364ff9700 -1 librbd::image::OpenRequest: failed to refresh image: (2) No such file or directory
*** Caught signal (Segmentation fault) **
 in thread 7f2364ff9700 thread_name:tp_librbd
 ceph version 12.1.2-4357-gc662dc3 (c662dc3067125d168a91a18a00425e84d8b68c5b) mimic (dev)
 1: (()+0x189249) [0x56360656c249]
 2: (()+0x10340) [0x7f23843f9340]
 3: (()+0x775eb) [0x7f238d8025eb]
 4: (()+0xf43f1) [0x7f238d87f3f1]
 5: (()+0xf4568) [0x7f238d87f568]
 6: (()+0x5dd79) [0x7f238d7e8d79]
 7: (()+0x6c7e4) [0x7f238d7f77e4]
 8: (ThreadPool::worker(ThreadPool::WorkThread*)+0xa6e) [0x7f2384ad8f3e]
 9: (ThreadPool::WorkThread::entry()+0x10) [0x7f2384ad9e60]
 10: (()+0x8182) [0x7f23843f1182]
 11: (clone()+0x6d) [0x7f23832e547d]
2017-11-18 10:43:12.025 7f2364ff9700 -1 *** Caught signal (Segmentation fault) **
 in thread 7f2364ff9700 thread_name:tp_librbd


Related issues 2 (0 open2 closed)

Copied to rbd - Backport #22169: luminous: *** Caught signal (Segmentation fault) ** in thread thread_name:tp_librbdResolvedJason DillamanActions
Copied to rbd - Backport #22170: jewel: *** Caught signal (Segmentation fault) ** in thread thread_name:tp_librbdResolvedPrashant DActions
Actions #1

Updated by Jason Dillaman over 6 years ago

  • Status changed from New to In Progress
  • Assignee set to Jason Dillaman
  • Backport set to luminous,jewel
Actions #2

Updated by Jason Dillaman over 6 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Mykola Golub over 6 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Nathan Cutler over 6 years ago

  • Copied to Backport #22169: luminous: *** Caught signal (Segmentation fault) ** in thread thread_name:tp_librbd added
Actions #5

Updated by Nathan Cutler over 6 years ago

  • Copied to Backport #22170: jewel: *** Caught signal (Segmentation fault) ** in thread thread_name:tp_librbd added
Actions #6

Updated by Nathan Cutler about 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF