My Oracle Support Banner

OLVM: Fail to Add New Host with libvirt 5.7.0-11 to OLVM (Doc ID 2653778.1)

Last updated on JULY 18, 2022

Applies to:

Linux OS - Version Oracle Linux 7.6 with Unbreakable Enterprise Kernel [4.14.35] and later
Linux x86-64


Engine log fails with the below error:

ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (EE-ManagedThreadFactory-engine-Thread-5) SSH error running command x.x.x.x:'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XXXXXXXXXX)trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x && "${MYTMP}"
/ovirt-host-deploy DIALOG/dialect=str:machine
DIALOG/customization=bool:True': IOException: Command returned failure code 1 during SSH session 'x.x.x.x'
ERROR [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (EE-ManagedThreadFactory-engine-Thread-5) [172c24ca] Error during host x.x.x.x install
ERROR [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (EE-ManagedThreadFactory-engine-Thread-5) [172c24ca] Host installation failed for host '', 'y.y.y.y':
Command returned failure code 1 during SSH session 'x.x.x.x'

ovirt-host-deploy-x.x.x.x.log fails with below error:

Job for libvirtd.service failed because the control process exited with error code. See "systemctl status libvirtd.service" and "journalctl -xe" for details.
DEBUG otopi.context context._executeMethod:143 method exception
Traceback (most recent call last):
File "/tmp/ovirt-kzNHYqI58J/pythonlib/otopi/", line 133, in _executeMethod
File "/tmp/ovirt-kzNHYqI58J/otopi-plugins/ovirt-host-deploy/vdsm/", line 160, in _start'libvirtd')
File "/tmp/ovirt-kzNHYqI58J/otopi-plugins/otopi/services/", line 158, in restart
RuntimeError: Failed to restart service 'libvirtd'
ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Closing up': Failed to restart service 'libvirtd'

#journalctl -xe shows below error:

x.x.x.x:libvirtd[85775]: --listen parameter not permitted with systemd activation sockets
x.x.x.x: libvirtd.service: main process exited, code=exited, status=6/NOTCONFIGURED
x.x.x.x: Failed to start Virtualization daemon.
-- Subject: Unit libvirtd.service has failed
-- Defined-By: systemd
-- Support:
-- Unit libvirtd.service has failed.
-- The result is failed.
x.x.x.x systemd[1]: Unit libvirtd.service entered failed state.
x.x.x.xsystemd[1]: libvirtd.service failed.
x.x.x.x systemd[1]: libvirtd.service holdoff time over, scheduling restart.
x.x.x.x systemd[1]: Cannot add dependency job for unit lvm2-lvmetad.socket, ignoring: Unit is masked.
x.x.x.x systemd[1]: Stopped Virtualization daemon.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.