Project

General

Profile

Bug #36029

ceph-fuse assert failed when try to do file lock

Added by Michael Yang 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Category:
Correctness/Safety
Target version:
Start date:
09/17/2018
Due date:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
ceph-fuse
Labels (FS):
Pull request ID:

Description

When I user ceph-fuse client to access cephfs, I found one client panic and print such stack as below.
The ceph cluster version is 13.2.1(I just upgrade it from 12.2.7 to 13.2.1 three days ago), ceph-fuse client version is 12.2.7;
I also upload the ceph-fuse client log file, find it in the attachment.

================
2018-09-17 14:28:06.134711 7f22332d7700 -1 /build/ceph-12.2.7/src/client/Client.cc: In function 'void Client::_update_lock_state(flock*, uint64_t, ceph_lock_state_t*)' thread 7f22332d7700 time 2018-09-17 14:28:06.132653
/build/ceph-12.2.7/src/client/Client.cc: 9971: FAILED assert(r)

ceph version 12.2.7 (3ec878d1e53e1aeb47a9f619c49d9e7c0aa384d5) luminous (stable)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x102) [0x55aedc171072]
2: (Client::_update_lock_state(flock*, unsigned long, ceph_lock_state_t*)+0x161) [0x55aedc08f141]
3: (Client::_do_filelock(Inode*, Fh*, int, int, int, flock*, unsigned long, bool)+0x307) [0x55aedc0cae57]
4: (Client::_setlk(Fh*, flock*, unsigned long, int)+0x195) [0x55aedc0cd895]
5: (Client::ll_setlk(Fh*, flock*, unsigned long, int)+0x9d) [0x55aedc0cdaed]
6: (()+0x211f7e) [0x55aedc082f7e]
7: (()+0x13e6c) [0x7f224a382e6c]
8: (()+0x15679) [0x7f224a384679]
9: (()+0x11e38) [0x7f224a380e38]
10: (()+0x76ba) [0x7f22497b06ba]
11: (clone()+0x6d) [0x7f224861841d]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

ceph-client.log.gz (143 KB) Michael Yang, 09/17/2018 07:53 AM

History

#1 Updated by John Spray 3 months ago

  • Project changed from Ceph to fs
  • Category set to Correctness/Safety
  • Component(FS) ceph-fuse added

#2 Updated by Patrick Donnelly 3 months ago

  • Assignee set to Patrick Donnelly
  • Target version set to v14.0.0
  • Source set to Community (user)
  • Backport set to mimic,luminous

Also available in: Atom PDF