Bug 1013347

Summary: /etc/sysconfig/nfs is deleted on cleanup
Product: [Retired] oVirt Reporter: Yedidyah Bar David <didi>
Component: ovirt-engine-installerAssignee: Yedidyah Bar David <didi>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: urgent    
Version: 3.3CC: acathrow, eedri, iheim, knesenko, oschreib, sbonazzo, yeylon
Target Milestone: ---Keywords: Reopened, TestBlocker
Target Release: 3.3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-25 12:05:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yedidyah Bar David 2013-09-29 13:08:16 UTC
Description of problem:

If /etc/sysconfig/nfs was changed during setup, it is deleted during cleanup.

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


How reproducible:

Always

Steps to Reproduce:
1. Run engine-setup
2. Choose to configure a local NFS ISO domain
3.Run engine-cleanup

Actual results:

/etc/sysconfig/nfs is deleted

Expected results:

/etc/sysconfig/nfs should have the same contents it had before engine-setup.

Additional info:

Comment 1 Eyal Edri 2013-10-13 16:19:45 UTC
any update on merging this?

Comment 2 Sandro Bonazzola 2013-10-18 07:30:12 UTC
It seems that the solution implemented is breaking nfs configuration:
using nightly setup leads to /etc/sysconfig/nfs:


 # Options specific to ovirt engine.
 # Changing this file will make engine-setup change /etc/sysconfig/nfs.
 # You might want to also change iptables/firewalld.
 RPCNFSDCOUNT=8
 LOCKD_TCPPORT=32803
 LOCKD_UDPPORT=32769
 # RPCMOUNTDOPTS="-p 892"
 RPCMOUNTDOPTS = -p 892
 # RPCRQUOTADOPTS="-p 875"
 RPCRQUOTADOPTS = -p 875
 # STATDARG="-p 662 -o 2020"
 STATDARG = -p 662 -o 2020

Note the space around =, it causes 

 RPCMOUNTDOPTS command not found
 RPCRQUOTADOPTS command not found
 STATDARG command not found

when starting nfs service

Comment 3 Sandro Bonazzola 2013-11-25 12:05:23 UTC
oVirt 3.3.1 has been released