New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
incomplete service configuration #1
Comments
Debian package still seems not complete and fully working. I have fixed some issue for this already as follows: I've created a defaults file: /etc/default/nfs-ganesha with following content:
Modified nfs-ganesha.service systemd script, so it fits to Debian enviroment (dbus Path Fix and correct environment filepath):
But still missing the configuration modifications for nfs-common/rpcbind and lock service: nfs-ganesha-config.service and nfs-ganesha-config.service |
Hi. Best Regards. |
Hello Damien, Thanks, we also have no functioning lock service on Debian Stretch, what is going on? Any fix for this planned? |
/usr/lib/systemd/system/rpc-statd.service should be /lib/systemd/system/rpc-statd.service on debian. There was some reason for creating nfs-ganesha-lock.service rather than use rpcbind/rpc-statd service directly. I don't think those reasons are with the latest distros we use. As a workaround, you should be able to start rpc-statd.service on debian, and then nfs-ganesha.service. |
Hi malahal , I created a symink and that works now. But now I have the following problem: After reboot the nfs-ganesha.service is sometimes started before gluster server is started completely. I already tried adding a dependency like this: nfs-ganesha.service But even then once in 3 reboots, the services started just a little bit too soon and gluster wasn't correctly initalized yet. I also noticed the nfs-ganesha-config.service fails as well: Jul 10 19:55:29 app1 systemd[1]: Starting Process NFS-Ganesha configuration... This is because the /usr/libexec/ganesha/nfs-ganesha-config.sh doesn't even exists :( I tried gluster before without nfs and it worked fine, but with nfs it's a real hassle. What I'm trying to achieve is the following: 3 app servers with gluster on each of them + the ganesha nfs. Ideally all 3 should mount the local nfs server on boot. So far not much luck with this :( I don't want to use the gluster native fuse mount because it's crazy slow with small files, nfs is very fast compared to it. |
/usr/libexec/ganesha/nfs-ganesha-config.sh should be part of nfs-ganesha package. I don't use ubuntu but check why it is not part of that package. Maybe debian/rules file is missing something like this in override_dh_install target: $ grep nfs-ganesha-config.sh -r debian/rules |
Thx, but does seem to be a known issue I suppose: nfs-ganesha/nfs-ganesha#125 Also I needed to patch /lib/systemd/system/nfs-ganesha-lock.service since the path is wrong: Seems really untested on debian varians all this stuff :( PS using version 2.5 with gluster 3.11, starting to wonder if I shouldn't be using older version. |
fixed in nfs-ganesha-2.5.0-3 packages in Ubuntu Launchpad PPA and download.gluster.org |
Hi.
I'm using your debian jessie nfs-ganesha package (v 2.3.2: from here https://download.gluster.org/pub/gluster/glusterfs/nfs-ganesha/2.3.2/Debian/jessie/)
Even if the nfs-ganesha daemon starts, I have 2 questions/issues about the related service dependencies:
Can you help me ?
Here is more about my configuration:
Best Regards
Damien
The text was updated successfully, but these errors were encountered: