<div dir="ltr">Didi,<div><br></div><div>NetworkManager is off, via "systemctl disable NetworkManager && systemctl stop NetworkManager" (and rebooted after), and network allowing remote ssh access and yum commands functional.</div><div><br></div><div>Log files with sizes >0 from /var/log/vdsm:</div><div><a href="https://www.dropbox.com/s/iobee7toeyc2jda/supervdsm.log?dl=0">https://www.dropbox.com/s/iobee7toeyc2jda/supervdsm.log?dl=0</a><br></div><div><a href="https://www.dropbox.com/s/rdxi4ujwqhmekgh/upgrade.log?dl=0">https://www.dropbox.com/s/rdxi4ujwqhmekgh/upgrade.log?dl=0</a><br></div><div><br></div><div>Most recent log file from /var/log/ovirt-hosted-engine-setup:</div><div><a href="https://www.dropbox.com/s/brbbujmqhhbsx4o/ovirt-hosted-engine-setup-20160306104135-zibehr.log?dl=0">https://www.dropbox.com/s/brbbujmqhhbsx4o/ovirt-hosted-engine-setup-20160306104135-zibehr.log?dl=0</a></div><div><br></div><div>Thank you for your time!</div><div>-js</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 6, 2016 at 5:23 AM, Yedidyah Bar David <span dir="ltr"><<a href="mailto:didi@redhat.com" target="_blank">didi@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 class="HOEnZb"><div class="h5">On Sun, Mar 6, 2016 at 2:50 AM, Jonathan Sherman <<a href="mailto:haviland@gmail.com">haviland@gmail.com</a>> wrote:<br>
> I want to extend my lab and am trying an install using the hosted engine,<br>
> but the install is failing for me:<br>
><br>
> References used for install:<br>
> <a href="https://glennsnead.wordpress.com/2016/02/28/ovirt-3-6-installation/" rel="noreferrer" target="_blank">https://glennsnead.wordpress.com/2016/02/28/ovirt-3-6-installation/</a><br>
> <a href="http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt-3-5/" rel="noreferrer" target="_blank">http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt-3-5/</a><br>
><br>
> Setup:<br>
> Minimal install of CentOS Linux release 7.2.1511 (Core)<br>
> Using DHCP with static address (tried without DHCP with same issue)<br>
> yum upgrade<br>
><br>
> Installed packages:<br>
> yum localinstall -y<br>
> <a href="http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm" rel="noreferrer" target="_blank">http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm</a><br>
> yum install -y ovirt-hosted-engine-setup screen glusterfs-server nfs-utils<br>
> vdsm-gluster system-storage-manager mailx<br>
><br>
> rebooted<br>
><br>
> Tried hosted-engine --deploy, but it errors out. I followed various logs<br>
> and I _think_ it's failing related to vdsm-tool restore-nets. I could use<br>
> some guidance on this to help track down what's happening and how to fix.<br>
><br>
> (Note: I'd very much prefer using the hosted engine vs. another option for<br>
> my lab, so I'm willing to put in the time to figure this out. Thanks for<br>
> any assistance!)<br>
><br>
> Install error:<br>
> [root@ovirt01 network-scripts]# hosted-engine --deploy<br>
> [ INFO ] Stage: Initializing<br>
> [ INFO ] Generating a temporary VNC password.<br>
> [ INFO ] Stage: Environment setup<br>
> Continuing will configure this host for serving as hypervisor and<br>
> create a VM where you have to install the engine afterwards.<br>
> Are you sure you want to continue? (Yes, No)[Yes]:<br>
> Configuration files: []<br>
> Log file:<br>
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160305194655-o29y86.log<br>
> Version: otopi-1.4.1 (otopi-1.4.1-1.el7.centos)<br>
> [ INFO ] Hardware supports virtualization<br>
> [ INFO ] Stage: Environment packages setup<br>
> [ INFO ] Stage: Programs detection<br>
> [ INFO ] Stage: Environment setup<br>
> [ ERROR ] Failed to execute stage 'Environment setup': Failed to start<br>
> service 'vdsmd'<br>
> [ INFO ] Stage: Clean up<br>
> [ INFO ] Generating answer file<br>
> '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160305194703.conf'<br>
> [ INFO ] Stage: Pre-termination<br>
> [ INFO ] Stage: Termination<br>
> [ ERROR ] Hosted Engine deployment failed: this system is not reliable,<br>
> please check the issue, fix and redeploy<br>
> Log file is located at<br>
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160305194655-o29y86.log<br>
><br>
> --<br>
> vdsm-tool restore-nets output:<br>
><br>
> [root@ovirt01 etc]# /usr/bin/vdsm-tool restore-nets<br>
> Traceback (most recent call last):<br>
> File "/usr/share/vdsm/vdsm-restore-net-config", line 429, in <module><br>
> restore(args)<br>
> File "/usr/share/vdsm/vdsm-restore-net-config", line 387, in restore<br>
> _restore_sriov_numvfs()<br>
> File "/usr/share/vdsm/vdsm-restore-net-config", line 82, in<br>
> _restore_sriov_numvfs<br>
> sriov_devices = _get_sriov_devices()<br>
> File "/usr/share/vdsm/vdsm-restore-net-config", line 54, in<br>
> _get_sriov_devices<br>
> devices = hostdev.list_by_caps()<br>
> File "/usr/share/vdsm/hostdev.py", line 175, in list_by_caps<br>
> libvirt_devices = _get_devices_from_libvirt()<br>
> File "/usr/share/vdsm/hostdev.py", line 160, in _get_devices_from_libvirt<br>
> for device in libvirtconnection.get().listAllDevices(0))<br>
> File "/usr/share/vdsm/hostdev.py", line 160, in <genexpr><br>
> for device in libvirtconnection.get().listAllDevices(0))<br>
> File "/usr/share/vdsm/hostdev.py", line 107, in _parse_device_params<br>
> devXML = etree.fromstring(device_xml)<br>
> File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML<br>
> parser.feed(text)<br>
> File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed<br>
> self._raiseerror(v)<br>
> File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in<br>
> _raiseerror<br>
> raise err<br>
> xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 4,<br>
> column 13<br>
> Traceback (most recent call last):<br>
> File "/usr/bin/vdsm-tool", line 219, in main<br>
> return tool_command[cmd]["command"](*args)<br>
> File "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line<br>
> 41, in restore_command<br>
> exec_restore(cmd)<br>
> File "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line<br>
> 54, in exec_restore<br>
> raise EnvironmentError('Failed to restore the persisted networks')<br>
> EnvironmentError: Failed to restore the persisted networks<br>
<br>
</div></div>Please check/post full ovirt-hosted-engine-setup logs, vdsm logs.<br>
<br>
Do you have NetworkManager?<br>
<br>
Thanks for the report!<br>
<br>
Best,<br>
<span class="HOEnZb"><font color="#888888">--<br>
Didi<br>
</font></span></blockquote></div><br></div>