Project

General

Profile

Actions

Bug #18152

closed

segfault in ceph-fuse when quota is enabled

Added by Goncalo Borges over 7 years ago. Updated over 7 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

When quotas are enabled, by mounting cephfs using ceph-fuse, as

ceph-fuse --id mount_user -k /etc/ceph/ceph.client.mount_user.keyring -m <MON IP>:6789 --client-quota --fuse_default_permissions=0 --client_acl_type=posix_acl -r /cephfs /coepp/cephfs/

we get the following segfault once we expose the clients to users workload

ceph version 10.2.2 (45107e21c568dd033c2f0a3107dec8f0b0e58374)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x8b) [0x7f410845671b]
2: (Client::get_quota_root(Inode*)+0x7c5) [0x7f4108291315]
3: (Client::check_quota_condition(Inode*, std::function&lt;bool (Inode const&)&gt;)+0x3d) [0x7f410829193d]
4: (Client::is_quota_bytes_exceeded(Inode*, long)+0x6e) [0x7f4108291ade]
5: (Client::_write(Fh*, long, unsigned long, char const*, iovec const*, int)+0xce3) [0x7f41082a7323]
6: (Client::ll_write(Fh*, long, long, char const*)+0x94) [0x7f41082a87b4]
7: (()+0x197b46) [0x7f4108262b46]
8: (()+0x15294) [0x7f4107c82294]
9: (()+0x15b76) [0x7f4107c82b76]
10: (()+0x12aa9) [0x7f4107c7faa9]
11: (()+0x3db6a07aa1) [0x7f4106db8aa1]
12: (clone()+0x6d) [0x7f4106046aad]
NOTE: a copy of the executable, or `objdump -rdS &lt;executable&gt;` is needed to interpret this.

Will attach the full log obtained with 'debug client = 20' to this ticket.

Actions #1

Updated by Goncalo Borges over 7 years ago

The full log, running ceph-fuse in debug mode, and with 'debug client = 20' is gzipped, and available for download in my dropbox public folder:

https://dl.dropboxusercontent.com/u/2946024/ceph.log.noips.gz

Actions #2

Updated by Greg Farnum over 7 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF