"Failed to Establish Libvirt connection" seen when installing RHEV-H

Solution Unverified - Updated -

Environment

  • Red Hat Enterprise Virtualization Hypervisor (RHEV-H) 7.2
  • rhev-hypervisor7-7.2-20160328.0
  • rhev-hypervisor7-7.2-20160602.0

Issue

Receive error message Failed to Establish Libvirt connection while installing RHEV-H from ISO.

Resolution

Download and install the newest RHEV H iso from https://access.redhat.com/products/red-hat-enterprise-virtualization/.

Root Cause

There issue was tracked in RHBZ#1324016.

Diagnostic Steps

The TUI for the installer allows the user to access a shell with the F2 key, this is similar to normal RHEV-H. The installer logs are in /tmp/ovirt-node*.log and should be reviewed to see why the installer is failing.

Should there be nothing of use in logs, you can enable debugging by dropping to the shell as described above and running:
# python -m ovirt.node.installer.__main__ --debug

# systemctl status libvirtd vdsmd

● libvirtd.service - Virtualization daemon
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/libvirtd.service.d
└─unlimited-core.conf
Active: failed (Result: start-limit) since Tue 2016-04-05 07:16:49 UTC; 8min ago
Docs: man:libvirtd(8)
http://libvirt.org
Process: 18450 ExecStart=/usr/sbin/libvirtd $LIBVIRTD_ARGS (code=exited, status=6)
Main PID: 18450 (code=exited, status=6)

Apr 05 07:16:49 localhost systemd[1]: Failed to start Virtualization daemon.
Apr 05 07:16:49 localhost systemd[1]: Unit libvirtd.service entered failed state.
Apr 05 07:16:49 localhost systemd[1]: libvirtd.service failed.
Apr 05 07:16:49 localhost systemd[1]: libvirtd.service holdoff time over, scheduling restart.
Apr 05 07:16:49 localhost systemd[1]: start request repeated too quickly for libvirtd.service
Apr 05 07:16:49 localhost systemd[1]: Failed to start Virtualization daemon.
Apr 05 07:16:49 localhost systemd[1]: Unit libvirtd.service entered failed state.
Apr 05 07:16:49 localhost systemd[1]: libvirtd.service failed.

● vdsmd.service - Virtual Desktop Server Manager
Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor preset: enabled)
Active: inactive (dead)

Apr 05 07:16:48 localhost systemd[1]: Dependency failed for Virtual Desktop Server Manager.
Apr 05 07:16:48 localhost systemd[1]: Job vdsmd.service/start failed with result 'dependency'.
Apr 05 07:16:48 localhost systemd[1]: Dependency failed for Virtual Desktop Server Manager.
Apr 05 07:16:48 localhost systemd[1]: Job vdsmd.service/start failed with result 'dependency'.
Apr 05 07:16:49 localhost systemd[1]: Dependency failed for Virtual Desktop Server Manager.
Apr 05 07:16:49 localhost systemd[1]: Job vdsmd.service/start failed with result 'dependency'.
Apr 05 07:16:49 localhost systemd[1]: Dependency failed for Virtual Desktop Server Manager.
Apr 05 07:16:49 localhost systemd[1]: Job vdsmd.service/start failed with result 'dependency'.
Apr 05 07:16:49 localhost systemd[1]: Dependency failed for Virtual Desktop Server Manager.
Apr 05 07:16:49 localhost systemd[1]: Job vdsmd.service/start failed with result 'dependency'.

# systemctl restart libvirtd

Job for libvirtd.service failed because the control process exited with error code. See "systemctl status libvirtd.service" and "journalctl -xe" for details.
[root@localhost admin]#

# systemctl status supervdsmd

● supervdsmd.service - Auxiliary vdsm service for running helper functions as root
Loaded: loaded (/usr/lib/systemd/system/supervdsmd.service; static; vendor preset: enabled)
Active: failed (Result: start-limit) since Tue 2016-04-05 07:25:57 UTC; 22s ago
Process: 18679 ExecStart=/usr/share/vdsm/daemonAdapter /usr/share/vdsm/supervdsmServer --sockfile /var/run/vdsm/svdsm.sock (code=killed, signal=TERM)
Main PID: 18679 (code=killed, signal=TERM)

Apr 05 07:25:57 localhost systemd[1]: Started Auxiliary vdsm service for running helper functions as root.
Apr 05 07:25:57 localhost systemd[1]: Starting Auxiliary vdsm service for running helper functions as root...
Apr 05 07:25:57 localhost systemd[1]: Stopping Auxiliary vdsm service for running helper functions as root...
Apr 05 07:25:57 localhost systemd[1]: start request repeated too quickly for supervdsmd.service
Apr 05 07:25:57 localhost systemd[1]: Failed to start Auxiliary vdsm service for running helper functions as root.
Apr 05 07:25:57 localhost systemd[1]: Unit supervdsmd.service entered failed state.
Apr 05 07:25:57 localhost systemd[1]: supervdsmd.service failed.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.