Bug 1013347 - /etc/sysconfig/nfs is deleted on cleanup
Summary: /etc/sysconfig/nfs is deleted on cleanup
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-installer
Version: 3.3
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: 3.3.1
Assignee: Yedidyah Bar David
QA Contact:
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-29 13:08 UTC by Yedidyah Bar David
Modified: 2013-11-25 12:05 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-25 12:05:23 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 19001 0 None None None Never
oVirt gerrit 20204 0 None None None Never
oVirt gerrit 20315 0 None None None Never
oVirt gerrit 20316 0 None None None Never
oVirt gerrit 20452 0 None None None Never

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


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