<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.E-mailStijl18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="NL-BE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal" style="margin-bottom:8.0pt;line-height:106%"><span style="font-size:11.0pt;line-height:106%;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hey Ido,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:8.0pt;line-height:106%"><span style="font-size:11.0pt;line-height:106%;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">But I didn’t set anything to DHCP ?
</span><span lang="EN-US" style="font-size:11.0pt;line-height:106%;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">So where does that come from<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:8.0pt;line-height:106%"><span lang="EN-US" style="font-size:11.0pt;line-height:106%;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:8.0pt;line-height:106%"><span lang="EN-US" style="font-size:8.5pt;line-height:106%;font-family:"Verdana",sans-serif;color:#739B3F"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="NL" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Van:</span></b><span lang="NL" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Ido Barkan [mailto:ibarkan@redhat.com]
<br>
<b>Verzonden:</b> dinsdag 22 december 2015 10:54<br>
<b>Aan:</b> Kristof VAN DEN EYNDEN<br>
<b>CC:</b> users@ovirt.org<br>
<b>Onderwerp:</b> Re: [ovirt-users] network configuration oVirt 3.5<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Configuring the management network with DHCP causes VDSM to try and configure<o:p></o:p></p>
</div>
<p class="MsoNormal">the NIC that with a bridge on top of it with DHCP.<br>
This has failed and VDSM automatically reverted the NIC configuration to its original<br>
static IP configuration.<o:p></o:p></p>
</div>
<p class="MsoNormal">The installation of VDSM went OK, but the configuration of the management network<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">have failed because the assignment of a DHCP address failed.<o:p></o:p></p>
</div>
<p class="MsoNormal">Ido<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Tue, Dec 22, 2015 at 11:46 AM, Kristof VAN DEN EYNDEN <<a href="mailto:Kristof.VANDENEYNDEN@politiewestkust.be" target="_blank">Kristof.VANDENEYNDEN@politiewestkust.be</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Before installing the oVirt Node I set the ifcfg-enp3s0 to a static address (no dhcp server
availaible on this network). </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">After installing the Node through the oVirt interface I was still able to connect to the
server using that address. </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">After reboot the IP was still active. After connecting the ovirtmgmt to that interface
I saw that is was set to DHCP (but the static IP was filled in the grayed out boxes) so probably something has gone wrong during the install of the VDSM package?
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="NL" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Van:</span></b><span lang="NL" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Ido Barkan
[mailto:<a href="mailto:ibarkan@redhat.com" target="_blank">ibarkan@redhat.com</a>]
<br>
<b>Verzonden:</b> dinsdag 22 december 2015 10:32<br>
<b>Aan:</b> Kristof VAN DEN EYNDEN</span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><b>CC:</b> <a href="mailto:users@ovirt.org" target="_blank">
users@ovirt.org</a><br>
<b>Onderwerp:</b> Re: [ovirt-users] network configuration oVirt 3.5<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">Hi Kristof.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">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}) {}<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">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)<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">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<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">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.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">I guess that somehow the DHCP process on your network is not operating properly.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">To work around this (until you sort out the DHCP issues)- configure ovirtmgmt management to have a static IP.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Ido<o:p></o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Mon, Dec 21, 2015 at 4:04 PM, Kristof VAN DEN EYNDEN <<a href="mailto:Kristof.VANDENEYNDEN@politiewestkust.be" target="_blank">Kristof.VANDENEYNDEN@politiewestkust.be</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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" target="_blank">users-bounces@ovirt.org</a> [mailto:<a href="mailto:users-bounces@ovirt.org" target="_blank">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" target="_blank">users@ovirt.org</a>'<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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" target="_blank">danken@redhat.com</a>]<br>
Verzonden: maandag 21 december 2015 11:19<br>
Aan: Kristof VAN DEN EYNDEN; <a href="mailto:edwardh@redhat.com" target="_blank">
edwardh@redhat.com</a><br>
CC: '<a href="mailto:users@ovirt.org" target="_blank">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" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br>
<br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Ido Barkan<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
</div>
<p class="MsoNormal">Ido Barkan<o:p></o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>