Bug 1732706 - [RGW-NFS]: nfs-ganesha aborts due to "Cannot acquire credentials for principal nfs"
Summary: [RGW-NFS]: nfs-ganesha aborts due to "Cannot acquire credentials for principa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 3.3
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: rc
: 3.3
Assignee: Matt Benjamin (redhat)
QA Contact: Rachana Patel
URL:
Whiteboard:
: 1732788 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-24 07:49 UTC by Tejas
Modified: 2019-09-04 08:10 UTC (History)
12 users (show)

Fixed In Version: RHEL: nfs-ganesha-2.7.4-10.el7cp, ceph-12.2.12-45.el7cp Ubuntu: nfs-ganesha_2.7.4-10redhat1xenial, ceph_12.2.12-42redhat1xenial
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-21 15:11:10 UTC
Embargoed:


Attachments (Terms of Use)
ganesha.log from last crash (I think it has an extra startup at the beginning) (36.98 KB, text/plain)
2019-08-01 14:04 UTC, Matt Benjamin (redhat)
no flags Details
re-run with CACHE_INODE = FULL_DEBUG; (40.91 KB, text/plain)
2019-08-01 14:10 UTC, Matt Benjamin (redhat)
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 41173 0 None None None 2019-08-08 20:39:02 UTC
Red Hat Product Errata RHSA-2019:2538 0 None None None 2019-08-21 15:11:24 UTC

Description Tejas 2019-07-24 07:49:19 UTC
Description of problem:
   After startup in 3.3 , nfs ganesha daemon goes down with any command.
ceph version 12.2.12-40.el7cp

Steps to Reproduce:
1. Bring up ganesha on 3.3
2. Mount with v3 or v4, try a ls command on mount point
3. The nfs-ganesha daemon goes down

Additional info:

a]# mkdir test1
mkdir: cannot create directory ‘test1’: Input/output error


Ganesha logs:
24/07/2019 04:29:26 : epoch 5d37de9f : magna009 : ganesha.nfsd-19144[main] nfs_Init_svc :DISP :CRIT :Cannot acquire credentials for principal nfs
24/07/2019 04:29:26 : epoch 5d37de9f : magna009 : ganesha.nfsd-19144[main] nfs_Init_admin_thread :NFS CB :EVENT :Admin thread initialized
24/07/2019 04:29:26 : epoch 5d37de9f : magna009 : ganesha.nfsd-19144[main] nfs_rpc_cb_init_ccache :NFS STARTUP :EVENT :Callback creds directory (/var/run/ganesha) already exists
24/07/2019 04:29:26 : epoch 5d37de9f : magna009 : ganesha.nfsd-19144[main] nfs_rpc_cb_init_ccache :NFS STARTUP :WARN :gssd_refresh_krb5_machine_credential failed (2:2)

Comment 8 Matt Benjamin (redhat) 2019-08-01 14:04:47 UTC
Created attachment 1597470 [details]
ganesha.log from last crash (I think it has an extra startup at the beginning)

Comment 9 Matt Benjamin (redhat) 2019-08-01 14:10:35 UTC
Created attachment 1597472 [details]
re-run with CACHE_INODE = FULL_DEBUG;

Comment 10 Daniel Gryniewicz 2019-08-01 14:26:37 UTC
This is https://github.com/nfs-ganesha/nfs-ganesha/commit/0beeae7c76dbf43ae388728ddd6e8065fad4c207

I'll backport it.

Comment 11 Daniel Gryniewicz 2019-08-01 14:59:02 UTC
This has been backported.

Comment 13 Giridhar Ramaraju 2019-08-05 13:10:01 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. 

Regards,
Giri

Comment 14 Giridhar Ramaraju 2019-08-05 13:11:10 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. 

Regards,
Giri

Comment 45 errata-xmlrpc 2019-08-21 15:11:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:2538

Comment 46 Tejas 2019-09-04 08:10:15 UTC
*** Bug 1732788 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.