How to configure NFS Ganesha over RGW in Red Hat Ceph Storage?

Solution In Progress - Updated -

Issue

  • Configuring NFS-Ganesha for Rados Gateway in Red Hat Ceph Storage 2.x, fails to export the RGW buckets.

  • The Rados Gateway logs show the following messages:

01/10/2017 22:42:25 : epoch 59d0fed1 : rgw_node1 : ganesha.nfsd-6112[main] nfs_set_param_from_conf :NFS STARTUP :EVENT :Configuration file successfully parsed
01/10/2017 22:42:25 : epoch 59d0fed1 : rgw_node1 : ganesha.nfsd-6112[main] init_server_pkgs :NFS STARTUP :EVENT :Initializing ID Mapper.
01/10/2017 22:42:25 : epoch 59d0fed1 : rgw_node1 : ganesha.nfsd-6112[main] init_server_pkgs :NFS STARTUP :EVENT :ID Mapper successfully initialized.
01/10/2017 22:42:25 : epoch 59d0fed1 : rgw_node1 : ganesha.nfsd-6112[main] create_export :FSAL :CRIT :RGW module: librgw init failed (-5)
01/10/2017 22:42:25 : epoch 59d0fed1 : rgw_node1 : ganesha.nfsd-6112[main] mdcache_fsal_create_export :FSAL :MAJ :Failed to call create_export on underlying FSAL RGW
01/10/2017 22:42:25 : epoch 59d0fed1 : rgw_node1 : ganesha.nfsd-6112[main] fsal_cfg_commit :CONFIG :CRIT :Could not create export for (/) to (/)
01/10/2017 22:42:25 : epoch 59d0fed1 : rgw_node1 : ganesha.nfsd-6112[main] main :NFS STARTUP :WARN :No export entries found in configuration file !!!
01/10/2017 22:42:25 : epoch 59d0fed1 : rgw_node1 : ganesha.nfsd-6112[main] config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:49): 1 validation errors in block FSAL
01/10/2017 22:42:25 : epoch 59d0fed1 : rgw_node1 : ganesha.nfsd-6112[main] config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:49): Errors processing block (FSAL)
01/10/2017 22:42:25 : epoch 59d0fed1 : rgw_node1 : ganesha.nfsd-6112[main] config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:45): Unknown parameter (NFS_Protocols)
01/10/2017 22:42:25 : epoch 59d0fed1 : rgw_node1 : ganesha.nfsd-6112[main] config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:46): Unknown parameter (Transport_Protocols)
01/10/2017 22:42:25 : epoch 59d0fed1 : rgw_node1 : ganesha.nfsd-6112[main] config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:38): 2 errors while processing parameters for EXPORT
01/10/2017 22:42:25 : epoch 59d0fed1 : rgw_node1 : ganesha.nfsd-6112[main] config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:38): Errors processing block (EXPORT)
  • The service was restarted with:
# systemctl status nfs-ganesha.service

Environment

  • Red Hat Ceph Storage 2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content