<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 29, 2016 at 9:20 AM, Sandro Bonazzola <span dir="ltr"><<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, Apr 28, 2016 at 11:06 PM, Beckman, Daniel <span dir="ltr"><<a href="mailto:Daniel.Beckman@ingramcontent.com" target="_blank">Daniel.Beckman@ingramcontent.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="white" link="#0563C1" vlink="#954F72" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11pt">Hello,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">I’m trying to setup oVirt for the first time using hosted engine. This is on a Dell PowerEdge R720 (512GB RAM), with 2 10G interfaces (connected to regular access ports on the switch, DHCP), and using external
iSCSI storage. This is on CentOS 7.2 (latest) with the 4.5 kernel from EPEL. Here’s the main error I’m getting at the end of setup:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">RuntimeError: Failed to setup networks {'ovirtmgmt': {'nic': 'p1p1', 'bootproto': 'dhcp', 'blockingdhcp': True, 'defaultRoute': True}}. Error code: "29" message: "Determining IP information for ovirtmgmt...
failed; no link present. Check cable?"</span></p></div></div></blockquote><div><br></div><div><br></div></span><div>This message comes from vdsm, can you please attach vdsm log?</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5"><div bgcolor="white" link="#0563C1" vlink="#954F72" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Here is what that interface ‘p1p1’ looks like:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">[root@labvmhostt01 ovirt-hosted-engine-setup]# cat /etc/sysconfig/network-scripts/ifcfg-p1p1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"># Generated by dracut initrd<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">DEVICE="p1p1"<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">ONBOOT=yes<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">UUID="9d2666a5-9b72-4f9e-b4e9-4bfb6ad9b263"<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">IPV6INIT=no<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">BOOTPROTO=dhcp<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">DEFROUTE=yes<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">HWADDR="a0:36:9f:33:39:e8"<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">TYPE=Ethernet<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">NAME="p1p1"<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">PERSISTENT_DHCLIENT=1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">NM_CONTROLLED=no<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">LINKDELAY=10<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Note that I had added ‘linkdelay=10’ because that interface takes a while to come up. Without it, an ‘ifup p1p1’ will generate that same error about “no link present. Check cable?”. It works after a second
‘ifup p1p1’. With the linkdelay option it works right away. I wonder if that’s related. From /var/log/messages:</span></p></div></div></div></div></blockquote></div></div></div></blockquote><div><br></div><div>You are correct, it is related.<br></div><div>VDSM takes over the ifcfg configuration of the interfaces it manages and writes its own settings (overwriting the existing config after backing it up).<br></div><div>At the moment, we do not support the <span style="font-size:11pt">LINKDELAY option.<br><br></span></div><div><span style="font-size:11pt">As an workaround, you could use a VDSM before_ifcfg_write hook to add this parameter for the specific nic.<br><br></span></div><div><span style="font-size:11pt">Please open a bug on this so we can track it.<br><br></span></div><div><span style="font-size:11pt">Thanks,<br></span></div><div><span style="font-size:11pt">Edy.<br></span></div><div><span style="font-size:11pt"><br></span></div><div><span style="font-size:11pt"><br></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5"><div bgcolor="white" link="#0563C1" vlink="#954F72" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Apr 28 15:24:51 localhost dhclient[5976]: dhclient.c:2680: Failed to bind fallback interface to ovirtmgmt: No such device<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Apr 28 15:25:01 localhost dhclient[5976]: DHCPREQUEST on ovirtmgmt to 10.50.3.2 port 67 (xid=0x6d98d072)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Apr 28 15:25:01 localhost dhclient[5976]: dhclient.c:2680: Failed to bind fallback interface to ovirtmgmt: No such device<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Apr 28 15:25:06 localhost systemd: Started /usr/sbin/ifup ovirtmgmt.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Apr 28 15:25:06 localhost systemd: Starting /usr/sbin/ifup ovirtmgmt.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Apr 28 15:25:06 localhost kernel: IPv6: ADDRCONF(NETDEV_UP): ovirtmgmt: link is not ready<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Apr 28 15:25:12 localhost kernel: ovirtmgmt: port 1(p1p1) entered disabled state<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Apr 28 15:25:48 localhost journal: vdsm vds ERROR Determining IP information for ovirtmgmt... failed; no link present. Check cable?#012Traceback (most recent call last):#012 File "/usr/share/vdsm/API.py",
line 1648, in _rollback#012 yield rollbackCtx#012 File "/usr/share/vdsm/API.py", line 1500, in setupNetworks#012 supervdsm.getProxy().setupNetworks(networks, bondings, options)#012 File "/usr/share/vdsm/supervdsm.py", line 50, in __call__#012 return
callMethod()#012 File "/usr/share/vdsm/supervdsm.py", line 48, in <lambda>#012 **kwargs)#012 File "<string>", line 2, in setupNetworks#012 File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in _callmethod#012 raise convert_to_error(kind,
result)#012ConfigNetworkError: (29, 'Determining IP information for ovirtmgmt... failed; no link present. Check cable?')<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">I’m attaching the setup log file. The physical interface p1p1 is indeed stable once up. Any help would be appreciated!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Daniel<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"> <u></u><u></u></span></p>
</div>
</div>
<br></div></div>_______________________________________________<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" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><span class=""><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr">Sandro Bonazzola<br>Better technology. Faster innovation. Powered by community collaboration.<br>See how it works at <a href="http://redhat.com" target="_blank">redhat.com</a><br></div></div></div></div>
</font></span></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></div></div>