[SCALE] nfs service not startable. (/etc/exports not being generated at least)

Description

as commented in NAS-114501, the latest versions of scale no longer include functional nfs services :/

root@pine:~# cat /etc/version
22.02-MASTER-20220207-092926

the nfs-server service won't start, as /etc/exports doesn't exist.

root@pine:~# systemctl status nfs-server
● nfs-server.service - NFS server and services
Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2022-02-07 10:58:58 CST; 1h 8min ago

Feb 07 10:58:58 pine.wolfspyre.com systemd[1]: Starting NFS server and services...
Feb 07 10:58:58 pine.wolfspyre.com exportfs[53050]: exportfs: can't open /etc/exports for reading
Feb 07 10:58:58 pine.wolfspyre.com systemd[1]: nfs-server.service: Control process exited, code=exited, s>
Feb 07 10:58:58 pine.wolfspyre.com systemd[1]: nfs-server.service: Failed with result 'exit-code'.
Feb 07 10:58:58 pine.wolfspyre.com systemd[1]: Stopped NFS server and services.
root@pine:~#

the files in /var/lib/nfs are all 0byte files untouched from june 21.

root@pine:/var/tmp/fndebug# tree -Dugh /var/lib/nfs
/var/lib/nfs
├── [root root 0 Jun 28 2021] etab
├── [root root 0 Feb 7 10:54] export-lock
├── [root root 0 Jun 28 2021] rmtab
├── [statd nogroup 2 Jun 28 2021] sm
├── [statd nogroup 2 Jun 28 2021] sm.bak
├── [statd root 0 Jun 28 2021] state
├── [root root 2 Jun 28 2021] v4recovery
└── [root root 0 Jun 28 2021] xtab

3 directories, 5 files

there are a bunch of ancilary things that seem unfunctional, but I'm trying to avoid the red herring breadcrumb trail.

Problem/Justification

None

Impact

None

Activity

Show:

Wolf Noble 
February 7, 2022 at 7:56 PM

I can confirm this fixes the problem I was experiencing here:

after a restart of middlewared:

 

and twiddling the ip address in the nfs service UI:

nfs appears to be functional again:

Bug Clerk 
February 7, 2022 at 7:32 PM

Bug Clerk 
February 7, 2022 at 7:31 PM

Bug Clerk 
February 7, 2022 at 7:16 PM

Wolf Noble 
February 7, 2022 at 7:00 PM

aye! Thanks for the help. I'm happy to work with ya in a less async fashion if that's better too. 

Complete

Details

Assignee

Reporter

Labels

Impact

Time remaining

0m

Components

Fix versions

Affects versions

Priority

Katalon Platform

Created February 7, 2022 at 6:38 PM
Updated July 1, 2022 at 5:54 PM
Resolved February 8, 2022 at 10:59 AM