<div dir="ltr"><div><div><div><div><div><div><div>Hi Kristof.<br><br></div>By inspecting the logs (supervdsm.log) I see the following:<br>Adding the management network on the host started here:<br><br>MainProcess|jsonrpc.Executor/4::DEBUG::2015-12-21 15:40:04,620::supervdsmServer::114::SuperVdsm.ServerCallback::(wrapper) call setupNetworks with ({u'ovirtmgmt': {u'nic': u'enp3s0', u'mtu': u'1500', u'bootproto': u'dhcp', u'STP': u'no', u'bridged': u'true', u'defaultRoute': True}}, {}, {u'connectivityCheck': u'true', u'connectivityTimeout': 120}) {}<br><br></div>as part of the network configuration vdsm tries to call `ifup` on the bridge named ovirtmgmt:<br><br>ifup-waiting-on-dhcp::DEBUG::2015-12-21 15:40:04,854::utils::669::root::(execCmd) /usr/bin/systemd-run --scope --unit=8bcdacee-4849-453d-a68f-2251e168d466 --slice=vdsm-dhclient /usr/sbin/ifup ovirtmgmt (cwd None)<br><br></div>This fails after ~1 minute:<br><br>ifup-waiting-on-dhcp::DEBUG::2015-12-21 15:41:08,184::utils::687::root::(execCmd) FAILED: <err> = 'Running as unit 8bcdacee-4849-453d-a68f-2251e168d466.scope.\n'; <rc> = 1<br><br></div>and then the vdsm gives up after 2 minuets (see the parameter: u'connectivityTimeout': 120) when it no longer hears the keepalive ping from the engine.<br><br></div>I guess that somehow the DHCP process on your network is not operating properly.<br><br></div>To work around this (until you sort out the DHCP issues)- configure ovirtmgmt management to have a static IP.<br><br></div>Ido<br><div><div><div><div><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 21, 2015 at 4:04 PM, Kristof VAN DEN EYNDEN <span dir="ltr"><<a href="mailto:Kristof.VANDENEYNDEN@politiewestkust.be" target="_blank">Kristof.VANDENEYNDEN@politiewestkust.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Dan,<br>
<br>
I reïnstalled the 3.6 on CentOS 7 (this was the issue as vdsm is no longre build for 6.7).<br>
It's a fresh install of CentOs, only configured the adapter for a static IP and then the install of the oVirt Node.<br>
Installation goes well until following errors popup:<br>
<br>
<br>
Dec 21, 2015 3:42:45 PM<br>
Host KVM1 installation failed. Failed to configure management network on the host.<br>
<br>
Dec 21, 2015 3:42:45 PM<br>
Failed to configure management network on host KVM1 due to setup networks failure.<br>
<br>
Dec 21, 2015 3:42:45 PM<br>
VDSM KVM1 command failed: connectivity check failed<br>
<br>
I included both vdsm.log & supervdsm.log<br>
<br>
---<br>
<br>
I did a reboot, the ovirtmgmt was not linked to the adapter (enp3s0). Tried to link it manually which worked without hassle...<br>
<br>
So now everything seems OK. I'll test further with the 3.6 now and hope it all goes like this now<br>
<br>
-----Oorspronkelijk bericht-----<br>
Van: <a href="mailto:users-bounces@ovirt.org">users-bounces@ovirt.org</a> [mailto:<a href="mailto:users-bounces@ovirt.org">users-bounces@ovirt.org</a>] Namens Kristof VAN DEN EYNDEN<br>
Verzonden: maandag 21 december 2015 11:41<br>
Aan: '<a href="mailto:users@ovirt.org">users@ovirt.org</a>'<br>
<div class="HOEnZb"><div class="h5">Onderwerp: Re: [ovirt-users] network configuration oVirt 3.5<br>
<br>
Hey Dan,<br>
<br>
Thanks for your response.<br>
<br>
VDSM was the first problem when installing oVirt 3.6 on CentOS, it couldn't find the package and while browsing through the repos I couldn't find it either. So that was the first issue.. I tried compiling vdsm myself which didn't work either and I ended up using the VDSM package under the 3.5 release. Any idea how to tackle this?<br>
<br>
If I have the time I'll try to reinstall 3.6 and note all the issues I find on the way. Can't recover those files as the server is complete messed up after my previous efforts<br>
<br>
Kind regards !<br>
Kristof<br>
<br>
<br>
<br>
<br>
-----Oorspronkelijk bericht-----<br>
Van: Dan Kenigsberg [mailto:<a href="mailto:danken@redhat.com">danken@redhat.com</a>]<br>
Verzonden: maandag 21 december 2015 11:19<br>
Aan: Kristof VAN DEN EYNDEN; <a href="mailto:edwardh@redhat.com">edwardh@redhat.com</a><br>
CC: '<a href="mailto:users@ovirt.org">users@ovirt.org</a>'<br>
Onderwerp: Re: [ovirt-users] network configuration oVirt 3.5<br>
<br>
On Thu, Dec 17, 2015 at 03:33:28PM +0000, Kristof VAN DEN EYNDEN wrote:<br>
> Hello everyone,<br>
><br>
> After trying to install oVirt 3.6 on CentOs which was a lot of pain, I ended up installing 3.5 without hassle.<br>
<br>
Would you provide more information (logs, screenshots) about the pains of installing ovirt-3.6? These days, most of the development effort is focused on stabilizing 3.6. No further releases of ovirt-3.5.z are expected (up to horrible security bugs, etc), so we advise using 3.6 in new instllations.<br>
<br>
><br>
> BUT Now I'm trying to configure the network for my first cluster host but I'm having troubles doing so.<br>
><br>
> The server has 4 network ports,<br>
> Eth0 = Virtual management network, 172.16 range, only used for oVirt /<br>
> KVM<br>
> Eth1 = Local network where the Guest should be accessible range 11.x<br>
> Eth2/3 unused..<br>
><br>
> Initially, no network is assigned, but I feel eth0 should be linked to ovirtmgmt I automatically using it's IP that is assigned?<br>
><br>
> When I assign ovirtmgmt to eth0 and set the IP to the corresponding IP<br>
> it already has for that host and the local network to eth1 the host<br>
> loses connection (until it resets it's connections...)<br>
> ->not assigning an IP is no option as I can only select static /dhcp<br>
> ->for ovirtmgmt<br>
<br>
<br>
ovirtmgmt should have been automatically added on top of the interface that has the IP used to add the host to Engine.<br>
<br>
Could you share your engine.log and {super,}vdsm.log from that time to understand why did it happen?<br>
<br>
Similarly, please share your ifcfg files prior to adding ovirtmgmt, and the supervdsm logs that end up with disconnection.<br>
<br>
Regards,<br>
Dan.<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>Thanks,<br></div>Ido Barkan<br></div></div>
</div>