[ovirt-users] Fresh install failing (Hosted Engine)

Jonathan Sherman haviland at gmail.com
Sat Mar 5 19:50:48 EST 2016


I want to extend my lab and am trying an install using the hosted engine,
but the install is failing for me:

References used for install:
https://glennsnead.wordpress.com/2016/02/28/ovirt-3-6-installation/
http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt-3-5/

Setup:
Minimal install of CentOS Linux release 7.2.1511 (Core)
Using DHCP with static address (tried without DHCP with same issue)
yum upgrade

Installed packages:
yum localinstall -y
http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
yum install -y ovirt-hosted-engine-setup screen glusterfs-server nfs-utils
vdsm-gluster system-storage-manager mailx

rebooted

Tried hosted-engine --deploy, but it errors out.  I followed various logs
and I _think_ it's failing related to vdsm-tool restore-nets.  I could use
some guidance on this to help track down what's happening and how to fix.

(Note:  I'd very much prefer using the hosted engine vs. another option for
my lab, so I'm willing to put in the time to figure this out.  Thanks for
any assistance!)

Install error:
[root at ovirt01 network-scripts]# hosted-engine --deploy
[ INFO  ] Stage: Initializing
[ INFO  ] Generating a temporary VNC password.
[ INFO  ] Stage: Environment setup
          Continuing will configure this host for serving as hypervisor and
create a VM where you have to install the engine afterwards.
          Are you sure you want to continue? (Yes, No)[Yes]:
          Configuration files: []
          Log file:
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160305194655-o29y86.log
          Version: otopi-1.4.1 (otopi-1.4.1-1.el7.centos)
[ INFO  ] Hardware supports virtualization
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ ERROR ] Failed to execute stage 'Environment setup': Failed to start
service 'vdsmd'
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20160305194703.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed: this system is not reliable,
please check the issue, fix and redeploy
          Log file is located at
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160305194655-o29y86.log

--
vdsm-tool restore-nets output:

[root at ovirt01 etc]# /usr/bin/vdsm-tool restore-nets
Traceback (most recent call last):
  File "/usr/share/vdsm/vdsm-restore-net-config", line 429, in <module>
    restore(args)
  File "/usr/share/vdsm/vdsm-restore-net-config", line 387, in restore
    _restore_sriov_numvfs()
  File "/usr/share/vdsm/vdsm-restore-net-config", line 82, in
_restore_sriov_numvfs
    sriov_devices = _get_sriov_devices()
  File "/usr/share/vdsm/vdsm-restore-net-config", line 54, in
_get_sriov_devices
    devices = hostdev.list_by_caps()
  File "/usr/share/vdsm/hostdev.py", line 175, in list_by_caps
    libvirt_devices = _get_devices_from_libvirt()
  File "/usr/share/vdsm/hostdev.py", line 160, in _get_devices_from_libvirt
    for device in libvirtconnection.get().listAllDevices(0))
  File "/usr/share/vdsm/hostdev.py", line 160, in <genexpr>
    for device in libvirtconnection.get().listAllDevices(0))
  File "/usr/share/vdsm/hostdev.py", line 107, in _parse_device_params
    devXML = etree.fromstring(device_xml)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML
    parser.feed(text)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in
_raiseerror
    raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 4,
column 13
Traceback (most recent call last):
  File "/usr/bin/vdsm-tool", line 219, in main
    return tool_command[cmd]["command"](*args)
  File "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line
41, in restore_command
    exec_restore(cmd)
  File "/usr/lib/python2.7/site-packages/vdsm/tool/restore_nets.py", line
54, in exec_restore
    raise EnvironmentError('Failed to restore the persisted networks')
EnvironmentError: Failed to restore the persisted networks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160305/2a14c795/attachment-0001.html>


More information about the Users mailing list