Bug 32228 - Univention Net Installer in 3.2 fails to mount its NFS share
Univention Net Installer in 3.2 fails to mount its NFS share
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UCS Net Installer
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.2
Assigned To: Philipp Hahn
Moritz Muehlenhoff
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-13 10:20 CEST by Moritz Muehlenhoff
Modified: 2013-11-19 06:44 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
Screenshot of failed NFS mount (23.72 KB, image/png)
2013-08-13 10:20 CEST, Moritz Muehlenhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2013-08-13 10:20:52 CEST
Created attachment 5366 [details]
Screenshot of failed NFS mount

I tried a PXE installation using Univention Net Installer with current 3.2. The installation source was assigned via NFS in the installation profile via the following configuration stanza:

cdrom_device='nfs:10.200.3.32:/var/lib/univention-repository'

However, the installations hangs since the NFS mount fails. I've tracked it down to a problem closely related to Bug 28500: The client in the initial ramdisk and the NFS server negotiate the use of NFS4 and this fails (see attached screenshot)

We probably need to pass "nfsvers=3" to the mount call.
Comment 1 Stefan Gohmann univentionstaff 2013-08-15 19:03:34 CEST
It works after starting the nfs-kernel-server with the diverted debian init script:

root@master131:~# /etc/init.d/nfs-kernel-server.debian restart
Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon....
Exporting directories for NFS kernel daemon....
Starting NFS kernel daemon: nfsd mountd.
root@master131:~#
Comment 2 Philipp Hahn univentionstaff 2013-08-20 17:24:12 CEST
The NFS scripts and defaults have been synchronized from the Debian version.
While updating the files, several
  if baseConfig.has_key(...) and baseConfig[...] == ...:
were converted to
  if configRegistry.get(...) == ...:
(There are 3 more unfixed occurrences in nfs-shares.py)
Some dh related cruft has been cleaned up.

svn43327, univention-nfs_6.0.1-1.87.201308201358
ChangeLog:
The start script for the NFS server has been synchronized with the upstrean version to support newer Linux kernels and start all services needed for the PXE installer to work
Comment 3 Moritz Muehlenhoff univentionstaff 2013-08-21 11:23:06 CEST
The NFS share of the installer is now mounted correctly.
Comment 4 Stefan Gohmann univentionstaff 2013-11-19 06:44:00 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

If this error occurs again, please use "Clone This Bug".