<div dir="ltr"><div><div><div><div><div>Hi Simone,<br><br></div>Sorry for my late reply. I've tried to attempt this all a few more times on my own, and have gotten a bit further but am about ready to call it quits. The last step I now get to is when the service httpd is restarting. It fails right after that.<br><br></div>I tried to manually install httpd myself because it didn't appear to be installed (I never saw it as a prerequisite) and then rerun the deployment via the answer file, but I was never able to resume the deployment. <br><br></div>Unfortunately I have 4 logs now from retrying the deployment, however I am fairly certain this is most important one:<br><a href="https://pastebin.com/ssQmaK8g">https://pastebin.com/ssQmaK8g</a><br><br></div>Here are the others that most likely contain my attempts at resuming the deployment, which probably won't be as useful:<br><a href="https://pastebin.com/6xn50HwL">https://pastebin.com/6xn50HwL</a><br><a href="https://pastebin.com/LLtCMJqC">https://pastebin.com/LLtCMJqC</a><br><a href="https://pastebin.com/gxGWhQc1">https://pastebin.com/gxGWhQc1</a><br><br></div><div>Side note: the first log was done from a freshly imaged CentOS 7 machine. If there's a better way to restart the deployment from scratch aside from reinstalling the OS - please let me know! It takes a lot of time to get everything back up and running again.<br><br></div><div>Thanks so much,<br></div><div>Jon<br></div><div><div><div><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 19, 2017 at 4:04 AM, Simone Tiraboschi <span dir="ltr"><<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Fri, Jun 16, 2017 at 5:00 AM, Jon Bornstein <span dir="ltr"><<a href="mailto:bornstein.jonathan@gmail.com" target="_blank">bornstein.jonathan@gmail.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"><font face="arial, helvetica, sans-serif">Thanks - makes sense.</font><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">I've worked on this a bit more and have pushed a bit further, but from looking through my new log, it looks like the engine is error-ing out because my engine FQDN is cannot be resolved to an IP address.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><b><font face="arial, helvetica, sans-serif">The error: </font></b></div><div><div><font face="arial, helvetica, sans-serif">[ ERROR ] Host name is not valid: <b>engine.example.rocks</b> did not resolve into an IP address</font></div></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"><b>engine.example.rocks</b> is the FQDN I supplied when answering the following:</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="arial, helvetica, sans-serif"> Please provide the FQDN you would like to use for the engine appliance.<br> Note: This will be the FQDN of the engine VM you are now going to launch.<br> It should not point to the base host or to any other existing machine.<br> Engine VM FQDN: (leave it empty to skip):</font></blockquote></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><b><font face="arial, helvetica, sans-serif">My /etc/hosts file: <br></font></b></div><div><div><font face="arial, helvetica, sans-serif">192.168.1.44 host.example.rocks host</font></div><div><font face="arial, helvetica, sans-serif">192.168.1.45 engine.example.rocks engine</font></div></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><br></div><div>I can see why it's erroring, but I'm not sure what I need to do now to get it working. The IP 192.168.1.45 is one I just made up, because the only system I have access to is the one I'm currently using (192.168.1.44)</div></div></blockquote><div><br></div></span><div>Could you please share your hosted-engine-setup log file from the latest attempt?<br></div><div><div class="h5"><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 dir="ltr"><span class="m_2991214390509873716gmail-HOEnZb"><font color="#888888"><div><br></div><div>Jon</div></font></span><div><div class="m_2991214390509873716gmail-h5"><div><br></div><div class="gmail_extra"><div class="gmail_quote">On Thu, Jun 15, 2017 at 12:01 PM, Simone Tiraboschi <span dir="ltr"><<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@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>On Thu, Jun 15, 2017 at 4:08 PM, Jon Bornstein <span dir="ltr"><<a href="mailto:bornstein.jonathan@gmail.com" target="_blank">bornstein.jonathan@gmail.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"><div><div>My lack of Linux proficiency is going to show here, but..</div><div><br></div><div>I guess I'm a bit confused on how to correctly configure my network interface(s) for oVirt.</div><div><br></div><div>I currently have two network interfaces:</div><div><br></div><div>enp0s25 -</div><div>This is my Ethernet interface, but it is unused. It currently is set to DHCP and has no IP address. However, it is the only interface that oVirt suggests I use when configuring which nic to set the bridge on.</div><div><br></div><div>wlo1 - </div><div>My wireless interface, and IS how i'm connecting to the internet. This is the IP address that I was using in my /etc/hosts file.</div><div><br></div><div>Is it it not possible have a system that can run oVirt as well as maintain an internet connection?</div></div><div><br></div></div></blockquote><div><br></div></span><div>oVirt by default works in bridge mode.</div><div>This means that is going to create a bridge on your hosts and the vnic of your VMs will be connected to that bridge as well.</div><div><br></div><div>oVirt is composed by a central engine managing physical hosts trough an agent deployed on each host.</div><div>So the engine has to be able to reach the managed hosts, this happens though what we call management network.</div><div><br></div><div>hosted-engine is special deployment where for ha reasons the oVirt engine is going to run on a VM hosted on the host that it's managing.<br></div><div>So, wrapping up, with hosted-engine setup you are going to create a VM for the engine, the engine VM will have a nic on the management network and this mean that you have a management bridge on your host.</div><div>The host has to have an address over the management network in order to have the engine able to reach your host.</div><div><br></div><div>That's why hosted-engine-setup is checking the address of the interface you choose for the management network.</div><div><div class="m_2991214390509873716gmail-m_6999251926159734851h5"><div><br></div><div> <br></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></div></div><div class="m_2991214390509873716gmail-m_6999251926159734851m_6068614309330628746gmail-HOEnZb"><div class="m_2991214390509873716gmail-m_6999251926159734851m_6068614309330628746gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 15, 2017 at 9:02 AM, Simone Tiraboschi <span dir="ltr"><<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@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>On Thu, Jun 15, 2017 at 2:55 PM, Jon Bornstein <span dir="ltr"><<a href="mailto:bornstein.jonathan@gmail.com" target="_blank">bornstein.jonathan@gmail.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">Hi Marton,<div><br></div><div>Here is the log: <a href="https://gist.github.com/anonymous/ac777a70b8e8fc23016c0b6731f24706" target="_blank">https://gist.github.com/a<wbr>nonymous/ac777a70b8e8fc23016c0<wbr>b6731f24706</a></div></div></blockquote><div><br></div><div><br></div></span><div>You tried to create the management bridge over enp0s25 but it wasn't configured with an IP address for your host.</div><div>Could you please configure it or choose a correctly configured interface?</div><div><br></div><div><br></div><div><div>2017-06-14 16:32:22 DEBUG otopi.plugins.gr_he_common.vm.<wbr>cloud_init cloud_init._getMyIPAddress:115 Acquiring 'enp0s25' address</div><div>2017-06-14 16:32:22 DEBUG otopi.plugins.gr_he_common.vm.<wbr>cloud_init plugin.executeRaw:813 execute: ('/sbin/ip', 'addr', 'show', 'enp0s25'), executable='None', cwd='None', env=None</div><div>2017-06-14 16:32:22 DEBUG otopi.plugins.gr_he_common.vm.<wbr>cloud_init plugin.executeRaw:863 execute-result: ('/sbin/ip', 'addr', 'show', 'enp0s25'), rc=0</div><div>2017-06-14 16:32:22 DEBUG otopi.plugins.gr_he_common.vm.<wbr>cloud_init plugin.execute:921 execute-output: ('/sbin/ip', 'addr', 'show', 'enp0s25') stdout:</div><div>2: enp0s25: <NO-CARRIER,BROADCAST,MULTICAS<wbr>T,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000</div><div> link/ether c4:34:6b:26:6a:d1 brd ff:ff:ff:ff:ff:ff</div><div><br></div><div>2017-06-14 16:32:22 DEBUG otopi.plugins.gr_he_common.vm.<wbr>cloud_init plugin.execute:926 execute-output: ('/sbin/ip', 'addr', 'show', 'enp0s25') stderr:</div><div><br></div><div><br></div><div>2017-06-14 16:32:22 DEBUG otopi.plugins.gr_he_common.vm.<wbr>cloud_init cloud_init._getMyIPAddress:132 address: None</div><div>2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:142 method exception</div><div>Traceback (most recent call last):</div><div> File "/usr/lib/python2.7/site-packa<wbr>ges/otopi/context.py", line 132, in _executeMethod</div><div> method['method']()</div><div> File "/usr/share/ovirt-hosted-engin<wbr>e-setup/scripts/../plugins/gr-<wbr>he-common/vm/cloud_init.py", line 781, in _customize_vm_networking</div><div> self._customize_vm_addressing(<wbr>)</div><div> File "/usr/share/ovirt-hosted-engin<wbr>e-setup/scripts/../plugins/gr-<wbr>he-common/vm/cloud_init.py", line 215, in _customize_vm_addressing</div><div> my_ip = self._getMyIPAddress()</div><div> File "/usr/share/ovirt-hosted-engin<wbr>e-setup/scripts/../plugins/gr-<wbr>he-common/vm/cloud_init.py", line 136, in _getMyIPAddress</div><div> _('Cannot acquire nic/bridge address')</div><div>RuntimeError: Cannot acquire nic/bridge address</div></div><div><div class="m_2991214390509873716gmail-m_6999251926159734851m_6068614309330628746gmail-m_-8548298540613787777h5"><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 class="m_2991214390509873716gmail-m_6999251926159734851m_6068614309330628746gmail-m_-8548298540613787777m_-7693343922127389188gmail-HOEnZb"><div class="m_2991214390509873716gmail-m_6999251926159734851m_6068614309330628746gmail-m_-8548298540613787777m_-7693343922127389188gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 15, 2017 at 4:13 AM, Maton, Brett <span dir="ltr"><<a href="mailto:matonb@ltresources.co.uk" target="_blank">matonb@ltresources.co.uk</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"><div>Hi Jon,<br><br></div> There will be people on this list far more able to help you than I can, but the contents of the engine setup log (/var/log/ovirt-hosted-engine-<wbr>setup/ovirt-hosted-engine-setu<wbr>p-20170614160653-2vuu7h.log) would help<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_2991214390509873716gmail-m_6999251926159734851m_6068614309330628746gmail-m_-8548298540613787777m_-7693343922127389188gmail-m_-570738760139842450h5">On 14 June 2017 at 21:56, Jon Bornstein <span dir="ltr"><<a href="mailto:bornstein.jonathan@gmail.com" target="_blank">bornstein.jonathan@gmail.com</a>></span> wrote:<br></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="m_2991214390509873716gmail-m_6999251926159734851m_6068614309330628746gmail-m_-8548298540613787777m_-7693343922127389188gmail-m_-570738760139842450h5"><div dir="ltr">This is roughly my 10th attempt at installing some version of oVirt and I think where I get stuck every time is with the networking aspect.<div><br></div><div>I'm simply trying to test out oVirt on an old laptop wiht 16GB RAM and an external HDD. I'm connected via WiFi.</div><div><br></div><div>After failing 100 times with the regular ovirt engine, It was recommended I try the self-hosted engine.</div><div><br></div><div>**</div><div><br></div><div>Anyway, here are the contents of my /etc/hosts file:</div><div><div>127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4</div><div>::1 localhost localhost.localdomain localhost6 localhost6.localdomain6</div><div>10.114.13.144 host.example.rocks host</div><div>10.114.13.145 engine.example.rocks engine</div></div><div><br></div><div>**</div><div><br></div><div>After running hosted-engine --deploy, I get to the prompt below in which the installer fails afterwards:</div><div><br></div><div><div>You may specify a unicast MAC address for the VM or accept a randomly generated default [00:16:3e:5b:3a:73]:</div><div><br></div><div>[ ERROR ] Failed to execute stage 'Environment customization': Cannot acquire nic/bridge address</div><div>[ INFO ] Stage: Clean up</div><div>[ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-<wbr>setup/answers/answers-20170614<wbr>163222.conf'</div><div>[ INFO ] Stage: Pre-termination</div><div>[ INFO ] Stage: Termination</div><div>[ ERROR ] Hosted Engine deployment failed</div><div> Log file is located at /var/log/ovirt-hosted-engine-s<wbr>etup/ovirt-hosted-engine-setup<wbr>-20170614160653-2vuu7h.log</div></div><div><br></div><div>**</div><div><br></div><div>Here is a tail of the log:</div><div><br></div><div><div>[root@engine /]# tail /var/log/ovirt-hosted-engine-s<wbr>etup/ovirt-hosted-engine-setup<wbr>-20170614160653-2vuu7h.log</div><div>2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:134 condition False</div><div>2017-06-14 16:32:22 INFO otopi.context context.runSequence:687 Stage: Termination</div><div>2017-06-14 16:32:22 DEBUG otopi.context context.runSequence:691 STAGE terminate</div><div>2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:128 Stage terminate METHOD otopi.plugins.gr_he_common.cor<wbr>e.misc.Plugin._terminate</div><div>2017-06-14 16:32:22 ERROR otopi.plugins.gr_he_common.cor<wbr>e.misc misc._terminate:178 Hosted Engine deployment failed</div><div>2017-06-14 16:32:22 DEBUG otopi.plugins.otopi.dialog.hum<wbr>an dialog.__logString:204 DIALOG:SEND Log file is located at /var/log/ovirt-hosted-engine-s<wbr>etup/ovirt-hosted-engine-setup<wbr>-20170614160653-2vuu7h.log</div><div>2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:128 Stage terminate METHOD otopi.plugins.otopi.dialog.hum<wbr>an.Plugin._terminate</div><div>2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:128 Stage terminate METHOD otopi.plugins.otopi.dialog.mac<wbr>hine.Plugin._terminate</div><div>2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:134 condition False</div><div>2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:128 Stage terminate METHOD otopi.plugins.otopi.core.log.P<wbr>lugin._terminate</div></div><div><br></div><div>**</div><div><br></div><div>This is my first time writing to this list, so hopefully I'm doing it right. Thanks in advance - this is driving me crazy!</div><div><br></div><div><br></div></div>
<br></div></div>______________________________<wbr>_________________<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<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<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<wbr>/listinfo/users</a><br>
<br></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>