Bug 1033964

Summary: ovirt-setup fails when restarting NFS server
Product: Red Hat Enterprise Virtualization Manager Reporter: Andrew Cathrow <acathrow>
Component: ovirt-engine-setupAssignee: Yedidyah Bar David <didi>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: medium    
Version: 3.3.0CC: acathrow, alonbl, bazulay, iheim, rbalakri, Rhev-m-bugs, sbonazzo, thomas, yeylon
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-01 14:15:42 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:
Attachments:
Description Flags
engine setup log none

Description Andrew Cathrow 2013-11-24 19:51:04 UTC
Created attachment 828428 [details]
engine setup log

(Reported on RHEV tech)

Everything seems to be running fine, but I got this at the end of
rhevm-setup on a clean install:

          --== 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-20131124122504.log
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed


comment on thread from Alon
"there is fedora bug regarding nfs daemon start[1], maybe related.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=970595"

Comment 1 Alon Bar-Lev 2013-11-24 19:56:36 UTC
I was wrong, I did not notice this is rhev and not ovirt.

Comment 2 Yedidyah Bar David 2013-11-25 06:09:26 UTC
It might be related to our code that changes /etc/sysconfig/nfs .
Can you please attach: logs, /etc/sysconfig/nfs and its backups /etc/sysconfig/nfs.* ? Thanks!

Comment 3 Yedidyah Bar David 2013-11-25 06:10:08 UTC
Sorry, did not notice the log was attached. /etc/sysconfig/nfs*, please. Thanks!

Comment 4 Yedidyah Bar David 2013-11-25 06:32:53 UTC
Also please attach /var/log/messages (or a rotated version) from the time of the failure. Thanks!

I thought it might be related to http://gerrit.ovirt.org/20452 but in the log you attached the values seem quoted. So I currently have no other guess.

Comment 5 Alon Bar-Lev 2013-11-25 08:09:22 UTC
The reporter is actually thomas

Comment 6 Yedidyah Bar David 2013-12-01 14:15:42 UTC
I am closing this bug.

I checked again my systems and do not think it's related to http://gerrit.ovirt.org/20452 .

I did notice one thing which might need fixing, but I can't see how it can cause this failure: If /etc/sysconfig/nfs contains multiple lines for the same setting, setup replaces them all with the new value. We might want to change editConfigContent to only replace the first occurrence or something like that.

Please reopen if it happens again or you have more data. Thanks!

Comment 7 Red Hat Bugzilla 2023-09-14 01:54:22 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days