On Fri, Sep 21, 2012 at 11:36:01AM -0400, Douglas Landgraf wrote:
Hi Nathanaƫl,
On 09/21/2012 10:18 AM, Nathanaƫl Blanchet wrote:
>Hi all,
>
>In the latest vdsm build from git
>(vdsm-4.10.0-0.452.git87594e3.fc17.x86_64), vdsmd.service never
>starts alone after rebooting.
Does it start well when you restart it later, manually?
Do you see "failed to connect to libvirt" slightly up the log?
>I have had a look to journalctl anfd I've found this :
>
>systemd-vdsmd[538]: vdsm: Failed to define network filters on
>libvirt[FAILED]
>
>[root@node ~]# service vdsmd status
>Redirecting to /bin/systemctl status vdsmd.service
>vdsmd.service - Virtual Desktop Server Manager
> Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
> Active: failed (Result: exit-code) since Fri, 21 Sep
>2012 12:13:01 +0200; 4min 56s ago
> Process: 543 ExecStart=/lib/systemd/systemd-vdsmd start
>(code=exited, status=1/FAILURE)
> CGroup: name=systemd:/system/vdsmd.service
>
>Sep 21 12:12:55 node.abes.fr systemd-vdsmd[543]: Note: Forwarding
>request to 'systemctl disable libvirt-guests.service'.
>Sep 21 12:12:56 node.abes.fr systemd-vdsmd[543]: vdsm: libvirt
>already configured for vdsm [ OK ]
>Sep 21 12:12:56 node.abes.fr systemd-vdsmd[543]: Starting wdmd...
>Sep 21 12:12:56 node.abes.fr systemd-vdsmd[543]: Starting sanlock...
>Sep 21 12:12:56 node.abes.fr systemd-vdsmd[543]: Starting iscsid:
>Sep 21 12:13:01 node.abes.fr systemd-vdsmd[543]: Starting libvirtd
>(via systemctl): [ OK ]
>
>May this nwfilter be the cause of the failure? If yes, do I need
>to open a BZ?
>
Thanks for your report. If you can, please open a BZ.
... but please first check whether running
python /usr/share/vdsm/nwfilter.pyc
reports anything fishy.
Just for the record: I remember we have fixed something really
similar of this report with the below patch, I am going to check..
commit dccf4d0260f735265158c3d0cda6e65a0d8c9a4d
Author: Dan Kenigsberg <danken(a)redhat.com>
Date: Thu Sep 6 16:37:32 2012 +0300
vdsmd: set nwfilter on ovirt-node
ovirt-node is shipped with .pyc only. Do not try running a missing
executable.
Change-Id: I35e9a3526f6ec70ef40f586319259903e9e1f5fe
Signed-off-by: Dan Kenigsberg <danken(a)redhat.com>
Reviewed-on:
http://gerrit.ovirt.org/7821
Reviewed-by: Douglas Schilling Landgraf <dougsland(a)redhat.com>
Tested-by: Moti Asayag <masayag(a)redhat.com>
Tested-by: Douglas Schilling Landgraf <dougsland(a)redhat.com>
--
Cheers
Douglas