[Users] engine-setup fails on nfs

Hi again, While running engine-setup, it fails starting the nfs service. Errors starting nfs service: [ INFO ] Generating post install configuration file '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf' [ INFO ] Stage: Transaction commit [ INFO ] Stage: Closing up --== SUMMARY ==-- [WARNING] Less than 16384MB of memory is available SSH fingerprint: 8F:4E:D0:38:E3:4E:F3:E4:2D:7F:49:5D:40:C1:8A:39 Internal CA 27:B4:17:FD:BF:EA:35:3A:E6:A3:65:32:2D:CC:78:BA:9C:E0:AB:23 Web access is enabled at: http://xxxx.xxxx.xxxx:80/ovirt-engine https://xxxx.xxxx.xxxx:443/ovirt-engine Please use the user "admin" and password specified in order to login into oVirt Engine --== END OF SUMMARY ==-- [ INFO ] Starting engine service [ INFO ] Restarting httpd [ INFO ] Restarting nfs services [ ERROR ] Failed to execute stage 'Closing up': Command '/sbin/service' failed to execute [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20140328114601.log [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed service nfs status rpc.svcgssd is stopped rpc.mountd (pid 12725) is running... nfsd dead but subsys locked rpc.rquotad (pid 12721) is running... from ovirt-engine-setup.log: Starting NFS services: [ OK ] Starting NFS quotas: [ OK ] Starting NFS mountd: [ OK ] Starting NFS daemon: [FAILED] 2014-03-28 11:51:14 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:446 execute-output: ('/sbin/service', 'nfs', 'start') stderr: 2014-03-28 11:51:14 DEBUG otopi.context context._executeMethod:152 method exception Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _executeMethod method['method']() File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/system/nfs.py", line 232, in _closeup state=state, File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 188, in state 'start' if state else 'stop' File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 96, in _executeServiceCommand raiseOnError=raiseOnError File "/usr/lib/python2.6/site-packages/otopi/plugin.py", line 451, in execute command=args[0], RuntimeError: Command '/sbin/service' failed to execute 2014-03-28 11:51:14 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Closing up': Command '/sbin/service' failed to execute Kind regards, Jorick Astrego Netbulae B.V.

Can you please checkout journal to see what errors you may have? What fedora version is it? ----- Original Message -----
From: "Jorick Astrego" <j.astrego@netbulae.eu> To: "users" <users@ovirt.org> Sent: Friday, March 28, 2014 2:00:42 PM Subject: [Users] engine-setup fails on nfs
Hi again,
While running engine-setup, it fails starting the nfs service.
Errors starting nfs service:
[ INFO ] Generating post install configuration file '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf' [ INFO ] Stage: Transaction commit [ INFO ] Stage: Closing up
--== SUMMARY ==--
[WARNING] Less than 16384MB of memory is available SSH fingerprint: 8F:4E:D0:38:E3:4E:F3:E4:2D:7F:49:5D:40:C1:8A:39 Internal CA 27:B4:17:FD:BF:EA:35:3A:E6:A3:65:32:2D:CC:78:BA:9C:E0:AB:23 Web access is enabled at: http://xxxx.xxxx.xxxx:80/ovirt-engine https://xxxx.xxxx.xxxx:443/ovirt-engine Please use the user "admin" and password specified in order to login into oVirt Engine
--== END OF SUMMARY ==--
[ INFO ] Starting engine service [ INFO ] Restarting httpd [ INFO ] Restarting nfs services [ ERROR ] Failed to execute stage 'Closing up': Command '/sbin/service' failed to execute [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20140328114601.log [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed
service nfs status
rpc.svcgssd is stopped rpc.mountd (pid 12725) is running... nfsd dead but subsys locked rpc.rquotad (pid 12721) is running...
from ovirt-engine-setup.log:
Starting NFS services: [ OK ] Starting NFS quotas: [ OK ] Starting NFS mountd: [ OK ] Starting NFS daemon: [FAILED]
2014-03-28 11:51:14 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:446 execute-output: ('/sbin/service', 'nfs', 'start') stderr:
2014-03-28 11:51:14 DEBUG otopi.context context._executeMethod:152 method exception Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _executeMethod method['method']() File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/system/nfs.py", line 232, in _closeup state=state, File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 188, in state 'start' if state else 'stop' File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 96, in _executeServiceCommand raiseOnError=raiseOnError File "/usr/lib/python2.6/site-packages/otopi/plugin.py", line 451, in execute command=args[0], RuntimeError: Command '/sbin/service' failed to execute
2014-03-28 11:51:14 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Closing up': Command '/sbin/service' failed to execute
Kind regards,
Jorick Astrego Netbulae B.V.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Oh sorry, I'm installing on a fresh deployed minimal install Centos 6.5 VM. Mar 28 11:51:13 manage01en01 kernel: RPC: Registered named UNIX socket transport module. Mar 28 11:51:13 manage01en01 kernel: RPC: Registered udp transport module. Mar 28 11:51:13 manage01en01 kernel: RPC: Registered tcp transport module. Mar 28 11:51:13 manage01en01 kernel: RPC: Registered tcp NFSv4.1 backchannel transport module. Mar 28 11:51:13 manage01en01 kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Mar 28 11:51:13 manage01en01 rpc.mountd[12725]: Version 1.2.3 starting Mar 28 11:51:14 manage01en01 rpc.nfsd[12729]: error starting threads: errno 98 (Address already in use) Mar 28 11:51:14 manage01en01 kernel: lockd_up: makesock failed, error=-98 Mar 28 11:51:14 manage01en01 kernel: nfsd: last server has exited, flushing export cache Kind regards, Jorick Astrego Netbulae B.V. On Fri, 2014-03-28 at 07:06 -0400, Alon Bar-Lev wrote:
Can you please checkout journal to see what errors you may have? What fedora version is it?
----- Original Message -----
From: "Jorick Astrego" <j.astrego@netbulae.eu> To: "users" <users@ovirt.org> Sent: Friday, March 28, 2014 2:00:42 PM Subject: [Users] engine-setup fails on nfs
Hi again,
While running engine-setup, it fails starting the nfs service.
Errors starting nfs service:
[ INFO ] Generating post install configuration file '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf' [ INFO ] Stage: Transaction commit [ INFO ] Stage: Closing up
--== SUMMARY ==--
[WARNING] Less than 16384MB of memory is available SSH fingerprint: 8F:4E:D0:38:E3:4E:F3:E4:2D:7F:49:5D:40:C1:8A:39 Internal CA 27:B4:17:FD:BF:EA:35:3A:E6:A3:65:32:2D:CC:78:BA:9C:E0:AB:23 Web access is enabled at: http://xxxx.xxxx.xxxx:80/ovirt-engine https://xxxx.xxxx.xxxx:443/ovirt-engine Please use the user "admin" and password specified in order to login into oVirt Engine
--== END OF SUMMARY ==--
[ INFO ] Starting engine service [ INFO ] Restarting httpd [ INFO ] Restarting nfs services [ ERROR ] Failed to execute stage 'Closing up': Command '/sbin/service' failed to execute [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20140328114601.log [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed
service nfs status
rpc.svcgssd is stopped rpc.mountd (pid 12725) is running... nfsd dead but subsys locked rpc.rquotad (pid 12721) is running...
from ovirt-engine-setup.log:
Starting NFS services: [ OK ] Starting NFS quotas: [ OK ] Starting NFS mountd: [ OK ] Starting NFS daemon: [FAILED]
2014-03-28 11:51:14 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:446 execute-output: ('/sbin/service', 'nfs', 'start') stderr:
2014-03-28 11:51:14 DEBUG otopi.context context._executeMethod:152 method exception Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _executeMethod method['method']() File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/system/nfs.py", line 232, in _closeup state=state, File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 188, in state 'start' if state else 'stop' File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 96, in _executeServiceCommand raiseOnError=raiseOnError File "/usr/lib/python2.6/site-packages/otopi/plugin.py", line 451, in execute command=args[0], RuntimeError: Command '/sbin/service' failed to execute
2014-03-28 11:51:14 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Closing up': Command '/sbin/service' failed to execute
Kind regards,
Jorick Astrego Netbulae B.V.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

----- Original Message -----
From: "Jorick Astrego" <j.astrego@netbulae.eu> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "users" <users@ovirt.org> Sent: Friday, March 28, 2014 3:34:50 PM Subject: Re: [Users] engine-setup fails on nfs
Oh sorry, I'm installing on a fresh deployed minimal install Centos 6.5 VM.
Mar 28 11:51:13 manage01en01 kernel: RPC: Registered named UNIX socket transport module. Mar 28 11:51:13 manage01en01 kernel: RPC: Registered udp transport module. Mar 28 11:51:13 manage01en01 kernel: RPC: Registered tcp transport module. Mar 28 11:51:13 manage01en01 kernel: RPC: Registered tcp NFSv4.1 backchannel transport module. Mar 28 11:51:13 manage01en01 kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Mar 28 11:51:13 manage01en01 rpc.mountd[12725]: Version 1.2.3 starting Mar 28 11:51:14 manage01en01 rpc.nfsd[12729]: error starting threads: errno 98 (Address already in use)
can you please check what process use this port?
Mar 28 11:51:14 manage01en01 kernel: lockd_up: makesock failed, error=-98 Mar 28 11:51:14 manage01en01 kernel: nfsd: last server has exited, flushing export cache
Kind regards,
Jorick Astrego Netbulae B.V.
On Fri, 2014-03-28 at 07:06 -0400, Alon Bar-Lev wrote:
Can you please checkout journal to see what errors you may have? What fedora version is it?
----- Original Message -----
From: "Jorick Astrego" <j.astrego@netbulae.eu> To: "users" <users@ovirt.org> Sent: Friday, March 28, 2014 2:00:42 PM Subject: [Users] engine-setup fails on nfs
Hi again,
While running engine-setup, it fails starting the nfs service.
Errors starting nfs service:
[ INFO ] Generating post install configuration file '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf' [ INFO ] Stage: Transaction commit [ INFO ] Stage: Closing up
--== SUMMARY ==--
[WARNING] Less than 16384MB of memory is available SSH fingerprint: 8F:4E:D0:38:E3:4E:F3:E4:2D:7F:49:5D:40:C1:8A:39 Internal CA 27:B4:17:FD:BF:EA:35:3A:E6:A3:65:32:2D:CC:78:BA:9C:E0:AB:23 Web access is enabled at: http://xxxx.xxxx.xxxx:80/ovirt-engine https://xxxx.xxxx.xxxx:443/ovirt-engine Please use the user "admin" and password specified in order to login into oVirt Engine
--== END OF SUMMARY ==--
[ INFO ] Starting engine service [ INFO ] Restarting httpd [ INFO ] Restarting nfs services [ ERROR ] Failed to execute stage 'Closing up': Command '/sbin/service' failed to execute [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20140328114601.log [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed
service nfs status
rpc.svcgssd is stopped rpc.mountd (pid 12725) is running... nfsd dead but subsys locked rpc.rquotad (pid 12721) is running...
from ovirt-engine-setup.log:
Starting NFS services: [ OK ] Starting NFS quotas: [ OK ] Starting NFS mountd: [ OK ] Starting NFS daemon: [FAILED]
2014-03-28 11:51:14 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:446 execute-output: ('/sbin/service', 'nfs', 'start') stderr:
2014-03-28 11:51:14 DEBUG otopi.context context._executeMethod:152 method exception Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _executeMethod method['method']() File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/system/nfs.py", line 232, in _closeup state=state, File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 188, in state 'start' if state else 'stop' File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 96, in _executeServiceCommand raiseOnError=raiseOnError File "/usr/lib/python2.6/site-packages/otopi/plugin.py", line 451, in execute command=args[0], RuntimeError: Command '/sbin/service' failed to execute
2014-03-28 11:51:14 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Closing up': Command '/sbin/service' failed to execute
Kind regards,
Jorick Astrego Netbulae B.V.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Here you go: netstat -tulpn Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:875 0.0.0.0:* LISTEN 12721/rpc.rquotad tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 12556/rpcbind tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 5654/sshd tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 6965/postmaster tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 5738/master tcp 0 0 0.0.0.0:892 0.0.0.0:* LISTEN 12725/rpc.mountd tcp 0 0 127.0.0.1:8702 0.0.0.0:* LISTEN 12481/ovirt-engine tcp 0 0 127.0.0.1:8703 0.0.0.0:* LISTEN 12481/ovirt-engine tcp 0 0 127.0.0.1:8706 0.0.0.0:* LISTEN 12481/ovirt-engine tcp 0 0 :::111 :::* LISTEN 12556/rpcbind tcp 0 0 :::80 :::* LISTEN 12522/httpd tcp 0 0 :::22 :::* LISTEN 5654/sshd tcp 0 0 ::1:5432 :::* LISTEN 6965/postmaster tcp 0 0 ::1:25 :::* LISTEN 5738/master tcp 0 0 :::443 :::* LISTEN 12522/httpd tcp 0 0 :::892 :::* LISTEN 12725/rpc.mountd udp 0 0 0.0.0.0:875 0.0.0.0:* 12721/rpc.rquotad udp 0 0 0.0.0.0:111 0.0.0.0:* 12556/rpcbind udp 0 0 10.50.50.41:123 0.0.0.0:* 5662/ntpd udp 0 0 127.0.0.1:123 0.0.0.0:* 5662/ntpd udp 0 0 0.0.0.0:123 0.0.0.0:* 5662/ntpd udp 0 0 0.0.0.0:892 0.0.0.0:* 12725/rpc.mountd udp 0 0 0.0.0.0:859 0.0.0.0:* 12556/rpcbind udp 0 0 :::111 :::* 12556/rpcbind udp 0 0 fe80::5054:ff:fe88:3f4f:123 :::* 5662/ntpd udp 0 0 ::1:123 :::* 5662/ntpd udp 0 0 :::123 :::* 5662/ntpd udp 0 0 :::892 :::* 12725/rpc.mountd udp 0 0 :::859 :::* 12556/rpcbind I also see "nfs" and "nfs.20140328115058" in /etc/sysconfig/ "nfs.20140328115058" is empty and "nfs" has this in it: RPCRQUOTADOPTS="-p 875" LOCKD_TCPPORT=32803 LOCKD_UDPPORT=32769 RPCNFSDCOUNT=8 RPCMOUNTDOPTS="-p 892" STATDARG="-p 662 -o 2020" Kind regards, Jorick Astrego Netbulae B.V.

----- Original Message -----
From: "Jorick Astrego" <j.astrego@netbulae.eu> To: "users" <users@ovirt.org> Sent: Friday, March 28, 2014 4:00:16 PM Subject: Re: [Users] engine-setup fails on nfs
Here you go:
netstat -tulpn
can you please try to restart nfs service manually? and see if that error resumes?
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:875 0.0.0.0:* LISTEN 12721/rpc.rquotad tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 12556/rpcbind tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 5654/sshd tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 6965/postmaster tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 5738/master tcp 0 0 0.0.0.0:892 0.0.0.0:* LISTEN 12725/rpc.mountd tcp 0 0 127.0.0.1:8702 0.0.0.0:* LISTEN 12481/ovirt-engine tcp 0 0 127.0.0.1:8703 0.0.0.0:* LISTEN 12481/ovirt-engine tcp 0 0 127.0.0.1:8706 0.0.0.0:* LISTEN 12481/ovirt-engine tcp 0 0 :::111 :::* LISTEN 12556/rpcbind tcp 0 0 :::80 :::* LISTEN 12522/httpd tcp 0 0 :::22 :::* LISTEN 5654/sshd tcp 0 0 ::1:5432 :::* LISTEN 6965/postmaster tcp 0 0 ::1:25 :::* LISTEN 5738/master tcp 0 0 :::443 :::* LISTEN 12522/httpd tcp 0 0 :::892 :::* LISTEN 12725/rpc.mountd udp 0 0 0.0.0.0:875 0.0.0.0:* 12721/rpc.rquotad udp 0 0 0.0.0.0:111 0.0.0.0:* 12556/rpcbind udp 0 0 10.50.50.41:123 0.0.0.0:* 5662/ntpd udp 0 0 127.0.0.1:123 0.0.0.0:* 5662/ntpd udp 0 0 0.0.0.0:123 0.0.0.0:* 5662/ntpd udp 0 0 0.0.0.0:892 0.0.0.0:* 12725/rpc.mountd udp 0 0 0.0.0.0:859 0.0.0.0:* 12556/rpcbind udp 0 0 :::111 :::* 12556/rpcbind udp 0 0 fe80::5054:ff:fe88:3f4f:123 :::* 5662/ntpd udp 0 0 ::1:123 :::* 5662/ntpd udp 0 0 :::123 :::* 5662/ntpd udp 0 0 :::892 :::* 12725/rpc.mountd udp 0 0 :::859 :::* 12556/rpcbind
I also see "nfs" and "nfs.20140328115058" in /etc/sysconfig/
"nfs.20140328115058" is empty and "nfs" has this in it:
RPCRQUOTADOPTS="-p 875" LOCKD_TCPPORT=32803 LOCKD_UDPPORT=32769 RPCNFSDCOUNT=8 RPCMOUNTDOPTS="-p 892" STATDARG="-p 662 -o 2020" Kind regards,
Jorick Astrego Netbulae B.V.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Alon Bar-Lev
-
Jorick Astrego