Project

General

Profile

Actions

Bug #43649

closed

mount.ceph fails with ERANGE if name= option is longer than 37 characters

Added by Jeff Layton over 4 years ago. Updated about 4 years ago.

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

0%

Source:
Community (user)
Tags:
Backport:
nautilus
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
kceph
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Aaron reported on the cephfs mailing list that some mount attempts were failing with ERANGE. For example:

# mount.ceph :/ /mnt/cephfs -o name=user-20c5338c-34db-11ea-b27a-de7033e90,secret=AQC6dhpeyczkDxAAhRcr7oERUY4BcD2NCUkuNg==

Trimming the name down to 37 characters allows it to work. The problem is the SECRET_OPTIONS_LEN constant is too small for long usernames.


Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #43770: nautilus: mount.ceph fails with ERANGE if name= option is longer than 37 charactersResolvedNathan CutlerActions
Actions

Also available in: Atom PDF