Project

General

Profile

Actions

Bug #49301

closed

mon/MonCap: `fs authorize` generates unparseable cap for file system name containing '-'

Added by Patrick Donnelly about 3 years ago. Updated about 3 years ago.

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

0%

Source:
Development
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDSMonitor
Labels (FS):
task(easy)
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

pdonnell@vossi04 ~/ceph/build$ bin/ceph fs volume create cephfs-ec                                                                                                            
Volume created successfully (no MDS daemons created)
pdonnell@vossi04 ~/ceph/build$ bin/ceph fs authorize cephfs-ec client.foo3 / rwp
Error EINVAL: mds capability parse failed, stopped at '-ec' of 'allow rwp fsname=cephfs-ec'

I checked the parser and I'm not sure why it fails. This will require a little digging. Clearly it works for the file system name parsing for vxattr parsing: https://github.com/ceph/ceph/pull/35063


Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #49564: pacific: mon/MonCap: `fs authorize` generates unparseable cap for file system name containing '-'ResolvedPatrick DonnellyActions
Actions

Also available in: Atom PDF