Project

General

Profile

Actions

Documentation #50161

closed

mgr/nfs: validation error on creating custom export

Added by Varsha Rao about 3 years ago. Updated almost 3 years ago.

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

0%

Tags:
Backport:
pacific,octopus
Reviewed:
Affected Versions:
Labels (FS):
NFS-cluster
Pull request ID:

Description

EXPORT {
  Export_Id = 100;
  Transports = TCP;
  Path = /;
  Pseudo = /ceph/;
  Protocols = 4;
  Access_Type = RW;
  Attr_Expiration_Time = 0;
  Squash = None;
  FSAL {
    Name = CEPH;
  }
}

ganesha log

31/03/2021 18:48:21 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] main :MAIN :EVENT :ganesha.nfsd Starting: Ganesha Version 3.3
31/03/2021 18:48:21 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] nfs_set_param_from_conf :NFS STARTUP :EVENT :Configuration file successfully parsed
31/03/2021 18:48:21 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] init_server_pkgs :NFS STARTUP :EVENT :Initializing ID Mapper.
31/03/2021 18:48:21 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] init_server_pkgs :NFS STARTUP :EVENT :ID Mapper successfully initialized.
31/03/2021 18:48:21 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] nfs_start_grace :STATE :EVENT :NFS Server Now IN GRACE, duration 90
31/03/2021 18:48:21 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] rados_kv_traverse :CLIENT ID :EVENT :Failed to lst kv ret=-2
31/03/2021 18:48:21 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] rados_cluster_read_clids :CLIENT ID :EVENT :Failed to traverse recovery db: -2
31/03/2021 18:48:27 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] rados_cluster_end_grace :CLIENT ID :EVENT :Failed to remove rec-0000000000000026:nfs.cephnfs.magna025: -2
31/03/2021 18:48:27 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] nfs_lift_grace_locked :STATE :EVENT :NFS Server Now NOT IN GRACE
31/03/2021 18:48:31 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] reclaim_reset :FSAL :EVENT :start_reclaim failed: -2
31/03/2021 18:48:31 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] create_export :FSAL :CRIT :Unable to mount Ceph cluster for /volumes/_nogroup/subvol-ec/2c836a03-f828-4801-a336-bf53fcbf80eb/123.
31/03/2021 18:48:31 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] mdcache_fsal_create_export :FSAL :MAJ :Failed to call create_export on underlying FSAL Ceph
31/03/2021 18:48:31 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] fsal_cfg_commit :CONFIG :CRIT :Could not create export for (/nfspathec123) to (/volumes/_nogroup/subvol-ec/2c836a03-f828-4801-a336-bf53fcbf80eb/123)
31/03/2021 18:48:31 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] create_export :FSAL :CRIT :Unable to init Ceph handle for /.
31/03/2021 18:48:31 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] mdcache_fsal_create_export :FSAL :MAJ :Failed to call create_export on underlying FSAL Ceph
31/03/2021 18:48:31 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] fsal_cfg_commit :CONFIG :CRIT :Could not create export for (/ceph) to (/)
31/03/2021 18:48:31 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] config_errs_to_log :CONFIG :CRIT :Config File ("rados://nfs-ganesha/cephnfs/export-5":10): 1 validation errors in block FSAL
31/03/2021 18:48:31 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] config_errs_to_log :CONFIG :CRIT :Config File ("rados://nfs-ganesha/cephnfs/export-5":10): Errors processing block (FSAL)
31/03/2021 18:48:31 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] config_errs_to_log :CONFIG :CRIT :Config File ("rados://nfs-ganesha/cephnfs/export-5":1): 1 validation errors in block EXPORT
31/03/2021 18:48:31 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] config_errs_to_log :CONFIG :CRIT :Config File ("rados://nfs-ganesha/cephnfs/export-5":1): Errors processing block (EXPORT)
31/03/2021 18:48:31 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] config_errs_to_log :CONFIG :CRIT :Config File ("rados://nfs-ganesha/cephnfs/userconf-nfs.cephnfs":10): 1 validation errors in block FSAL
31/03/2021 18:48:31 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] config_errs_to_log :CONFIG :CRIT :Config File ("rados://nfs-ganesha/cephnfs/userconf-nfs.cephnfs":10): Errors processing block (FSAL)
31/03/2021 18:48:31 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] config_errs_to_log :CONFIG :CRIT :Config File ("rados://nfs-ganesha/cephnfs/userconf-nfs.cephnfs":1): 1 validation errors in block EXPORT
31/03/2021 18:48:31 : epoch 6064c3f5 : test : ganesha.nfsd-1[main] config_errs_to_log :CONFIG :CRIT :Config File ("rados://nfs-ganesha/cephnfs/userconf-nfs.cephnfs":1): Errors processing block (EXPORT)


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #50173: pacific: mgr/nfs: validation error on creating custom exportResolvedsinguliere _Actions
Copied to CephFS - Backport #50354: octopus: mgr/nfs: validation error on creating custom exportRejectedActions
Actions #1

Updated by Varsha Rao about 3 years ago

  • Pull request ID set to 40613
Actions #2

Updated by Varsha Rao about 3 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Patrick Donnelly about 3 years ago

  • Status changed from In Progress to Pending Backport
  • Backport changed from pacific,octopus to pacific
Actions #4

Updated by Backport Bot about 3 years ago

  • Copied to Backport #50173: pacific: mgr/nfs: validation error on creating custom export added
Actions #5

Updated by Varsha Rao about 3 years ago

  • Backport changed from pacific to pacific,octopus

Backport to Octopus too. Because this related PR is backported https://github.com/ceph/ceph/pull/40766

Actions #6

Updated by Backport Bot about 3 years ago

  • Copied to Backport #50354: octopus: mgr/nfs: validation error on creating custom export added
Actions #7

Updated by Loïc Dachary almost 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF