Project

General

Profile

Actions

Bug #23448

closed

nfs-ganesha: fails to parse rados URLs with '.' in object name

Added by Jeff Layton about 6 years ago. Updated about 5 years ago.

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

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client, Ganesha FSAL
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I added a ganesha config file to nfs-ganesha RADOS pool with the object name "ganesha.conf". I then added this to the local (stub) config file that I fed to ganesha:

%url    rados://nfs-ganesha/ganesha.conf

When I ran ganesha:

$ ./MainNFSD/ganesha.nfsd -L STDOUT -N NIV_DEBUG -f ./ganesha.conf -p ./ganesha.pid  -F
23/03/2018 08:26:59 : epoch 5ab4f293 : tleilax.poochiereds.net : ganesha.nfsd-25145[main] main :MAIN :EVENT :ganesha.nfsd Starting: Ganesha Version V2.7-dev.5-21-g09a7dd9b657d, built at Mar 23 2018 08:16:54 on tleilax.poochiereds.net
23/03/2018 08:26:59 : epoch 5ab4f293 : tleilax.poochiereds.net : ganesha.nfsd-25145[main] cu_rados_url_init :CONFIG :WARN :cu_rados_url_init: RADOS_URLS config block not found
2018-03-23 08:26:59.375 7f0bdae049c0 -1 WARNING: all dangerous and experimental features are enabled.
23/03/2018 08:26:59 : epoch 5ab4f293 : tleilax.poochiereds.net : ganesha.nfsd-25145[main] cu_rados_url_fetch :CONFIG :EVENT :cu_rados_url_fetch: Failed reading nfs-ganesha/ganesha Unknown error -2
23/03/2018 08:26:59 : epoch 5ab4f293 : tleilax.poochiereds.net : ganesha.nfsd-25145[main] main :NFS STARTUP :CRIT :Error (token scan) while parsing (./ganesha.conf)
23/03/2018 08:26:59 : epoch 5ab4f293 : tleilax.poochiereds.net : ganesha.nfsd-25145[main] config_errs_to_log :CONFIG :CRIT :Config File (././ganesha.conf:1): new url (rados://nfs-ganesha/ganesha.conf) open error (Unknown error -2), ignored
23/03/2018 08:26:59 : epoch 5ab4f293 : tleilax.poochiereds.net : ganesha.nfsd-25145[main] main :NFS STARTUP :FATAL :Fatal errors.  Server exiting...

When I change the '.' into a '-', it works fine.

Actions #1

Updated by Jeff Layton about 6 years ago

  • Subject changed from ganesha fails to parse rados URLs with '.' in name to ganesha fails to parse rados URLs with '.' in object name
Actions #3

Updated by Matt Benjamin about 6 years ago

  • Status changed from New to Fix Under Review
Actions #4

Updated by Patrick Donnelly about 6 years ago

  • Subject changed from ganesha fails to parse rados URLs with '.' in object name to nfs-ganesha: fails to parse rados URLs with '.' in object name
  • Target version set to v13.0.0
  • Source set to Development
  • Component(FS) Ganesha FSAL added
Actions #5

Updated by Patrick Donnelly almost 6 years ago

Is this resolved?

Actions #6

Updated by Jeff Layton almost 6 years ago

  • Status changed from Fix Under Review to Resolved

Yes.

Actions #7

Updated by Patrick Donnelly about 5 years ago

  • Category deleted (109)
  • Component(FS) Client added
Actions

Also available in: Atom PDF