Bug 1033964 - ovirt-setup fails when restarting NFS server
Summary: ovirt-setup fails when restarting NFS server
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-setup
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: 3.3.0
Assignee: Yedidyah Bar David
QA Contact: Pavel Stehlik
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-24 19:51 UTC by Andrew Cathrow
Modified: 2023-09-14 01:54 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-01 14:15:42 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine setup log (1.54 MB, text/x-log)
2013-11-24 19:51 UTC, Andrew Cathrow
no flags Details

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


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