<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">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><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><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="gmail-HOEnZb"><div class="gmail-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="gmail-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="gmail-m_-8548298540613787777m_-7693343922127389188gmail-HOEnZb"><div class="gmail-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="gmail-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="gmail-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><br></div></div>