[ovirt-devel] engine-setup fails on first attempt due to "Command '/bin/systemctl' failed to execute" then succeeds.

Mooli Tayer mtayer at redhat.com
Thu Nov 27 09:47:33 UTC 2014



----- Original Message -----
> ----- Original Message -----
> > From: "Sandro Bonazzola" <sbonazzo at redhat.com>
> > To: "Dan Kenigsberg" <danken at redhat.com>, "Mooli Tayer" <mtayer at redhat.com>
> > Cc: devel at ovirt.org
> > Sent: Thursday, November 27, 2014 9:27:57 AM
> > Subject: Re: [ovirt-devel] engine-setup fails on first attempt due to
> > "Command '/bin/systemctl' failed to execute"
> > then succeeds.
> > 
> > Il 27/11/2014 00:12, Dan Kenigsberg ha scritto:
> > > (Poor mailing list, needs to duplicate so much logs to so many
> > > subscribers. Pastebin is so more efficient)
> > 
> > +1
> > 
> > > 
> > > On Wed, Nov 26, 2014 at 06:57:27AM -0500, Mooli Tayer wrote:
> > > 
> > >> 2014-11-26 12:17:45 DEBUG otopi.plugins.otopi.services.systemd
> > >> plugin.execute:936 execute-output: ('/bin/systemctl', 'stop',
> > >> 'nfs-server.service') stderr:
> > >>
> > >>
> > >> 2014-11-26 12:17:45 DEBUG otopi.plugins.otopi.services.systemd
> > >> systemd.state:134 starting service nfs-server
> > >> 2014-11-26 12:17:45 DEBUG otopi.plugins.otopi.services.systemd
> > >> plugin.executeRaw:823 execute: ('/bin/systemctl', 'start',
> > >> 'nfs-server.service'), executable='None', cwd='None', env=None
> > >> 2014-11-26 12:17:45 DEBUG otopi.plugins.otopi.services.systemd
> > >> plugin.executeRaw:873 execute-result: ('/bin/systemctl', 'start',
> > >> 'nfs-server.service'), rc=1
> > >> 2014-11-26 12:17:45 DEBUG otopi.plugins.otopi.services.systemd
> > >> plugin.execute:931 execute-output: ('/bin/systemctl', 'start',
> > >> 'nfs-server.service') stdout:
> > >>
> > >>
> > >> 2014-11-26 12:17:45 DEBUG otopi.plugins.otopi.services.systemd
> > >> plugin.execute:936 execute-output: ('/bin/systemctl', 'start',
> > >> 'nfs-server.service') stderr:
> > >> Job for nfs-server.service failed. See 'systemctl status
> > >> nfs-server.service' and 'journalctl -xn' for details.
> > > 
> > > 
> > > could you look for details of the nfs-server.service startup failure?
> > 
> > +1
> > looks like a nfs service issue
> 
> Indeed. See also [1] [2].

OK, thanks for the input.

Seems relates to [3]:

Nov 26 12:17:45 dhcp-0-124.tlv.redhat.com systemd[1]: Reloading.
Nov 26 12:17:45 dhcp-0-124.tlv.redhat.com systemd[1]: Stopped NFS Server.
Nov 26 12:17:45 dhcp-0-124.tlv.redhat.com systemd[1]: Mounting RPC Pipe File
System...
Nov 26 12:17:45 dhcp-0-124.tlv.redhat.com systemd[1]: Mounting RPC Pipe File
System...
Nov 26 12:17:45 dhcp-0-124.tlv.redhat.com systemd[1]: Starting NFS Server...
Nov 26 12:17:45 dhcp-0-124.tlv.redhat.com systemd[1]: Mounted RPC Pipe File
System.
Nov 26 12:17:45 dhcp-0-124.tlv.redhat.com exportfs[23093]: exportfs: 
dhcp-0-124.tlv.redhat.com:/var/lib/exports/iso-20141126101625: Function not 
implemented
Nov 26 12:17:45 dhcp-0-124.tlv.redhat.com systemd[1]: nfs-server.service: 
control process exited, code=exited status=1
Nov 26 12:17:45 dhcp-0-124.tlv.redhat.com systemd[1]: Failed to start NFS
Server.
Nov 26 12:17:45 dhcp-0-124.tlv.redhat.com systemd[1]: Dependency failed for NFS
Remote Quota Server.
Nov 26 12:17:45 dhcp-0-124.tlv.redhat.com systemd[1]: Dependency failed for NFS
Mount Daemon.
Nov 26 12:17:45 dhcp-0-124.tlv.redhat.com systemd[1]: Dependency failed for 
NFSv4 ID-name mapping daemon.
Nov 26 12:17:45 dhcp-0-124.tlv.redhat.com systemd[1]: Unit nfs-server.service 
entered failed state.
Nov 26 12:17:45 dhcp-0-124.tlv.redhat.com kernel: Installing knfsd (copyright 
(C) 1996 okir at monad.swb.de).
Nov 26 12:17:45 dhcp-0-124.tlv.redhat.com systemd[1]: Mounted RPC Pipe File
System.

[3] https://bugzilla.redhat.com/show_bug.cgi?id=1163395 : [engine-setup]
exportfs before nfs restart fails

Mooli.

> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=848684 :  [engine-setup]
> setup shouldn't fail in case it didn't succeed configuring shared ISO domain
> (or start NFS service)
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=1033964 : ovirt-setup fails
> when restarting NFS server
> --
> Didi
> 



More information about the Devel mailing list