Bug 1474716 - [Ganesha]When all the nodes are rebooted, ganesha service fails to come up on few even when shared_storage is mounted
Summary: [Ganesha]When all the nodes are rebooted, ganesha service fails to come up on...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: nfs-ganesha
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Kaleb KEITHLEY
QA Contact: Manisha Saini
URL:
Whiteboard:
Depends On:
Blocks: 1417153
TreeView+ depends on / blocked
 
Reported: 2017-07-25 09:01 UTC by Manisha Saini
Modified: 2019-05-20 12:41 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
After a reboot, systemd may interpret NFS-Ganesha to be in STARTED state when it is not running. Workaround: Manually start the NFS-Ganesha process.
Clone Of:
Environment:
Last Closed: 2019-05-20 12:41:29 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Manisha Saini 2017-07-25 09:01:25 UTC
Description of problem:

While verifying bug #1451981 ,as mentioned in comment #13,Observed..ganesha service goes to failed state on few nodes after reboot.



Version-Release number of selected component (if applicable):

# rpm -qa | grep ganesha
nfs-ganesha-gluster-2.4.4-16.el7rhgs.x86_64
glusterfs-ganesha-3.8.4-34.el7rhgs.x86_64
nfs-ganesha-2.4.4-16.el7rhgs.x86_64


How reproducible:


Steps to Reproduce:
1.Create 6 node ganesha cluster.
2.Reboot all the nodes


Actual results:
When nodes come up,on few nodes Ganesha service goes to failed state.

Expected results:
Ganesha service should start on all the nodes after reboot.

Additional info:

systemctl status nfs-ganesha
● nfs-ganesha.service - NFS-Ganesha file server
   Loaded: loaded (/usr/lib/systemd/system/nfs-ganesha.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Thu 2017-07-20 12:16:16 IST; 2h 28min ago
     Docs: http://github.com/nfs-ganesha/nfs-ganesha/wiki
 Main PID: 2341 (code=exited, status=2)

Jul 20 12:16:16 dhcp42-127.lab.eng.blr.redhat.com systemd[1]: Starting NFS-Ganesha file server...
Jul 20 12:16:16 dhcp42-127.lab.eng.blr.redhat.com bash[2429]: prlimit: invalid PID argument: '--nofile=1048576:1048576'
Jul 20 12:16:16 dhcp42-127.lab.eng.blr.redhat.com systemd[1]: Started NFS-Ganesha file server.

Even though nfs-ganesha didn't start properly, but systemd consider it to be started.

Comment 2 Daniel Gryniewicz 2017-07-25 12:23:24 UTC
Is there a ganesha log somewhere?

Comment 5 Jiffin 2017-07-27 12:29:52 UTC
(In reply to Daniel Gryniewicz from comment #2)
> Is there a ganesha log somewhere?

Here ganesha service was not at started because ganesha.conf was not available(for gluster we store ganesha.conf in shared volume). But by somehow systemd interupts it to be started and stopping restarting ganesha service after reboot

Comment 7 Jiffin 2017-08-17 05:09:33 UTC
Doc text looks good to me


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