Hi,
I am trying to setup ovirt engine dev environment in my local Fedora 28
machine.I have followed this guide ->
https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=blob_plain;f=README....
When I am trying to add a new host (Centos 7) ,it is failing with the
following error.
[35eb76d9] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host
10.70.43.157. Connected to host 10.70.43.157 with SSH key fingerprint:
SHA256:rZfUGylVh3PLqfH2Siey0+CA9RUctK2ITQ2UGtV5ggA.
2018-07-10 15:47:50,447+05 INFO
[org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
(EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] Installation of
10.70.43.157. Executing command via SSH 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 <
/home/kaustavmajumder/work/ovirt-engine-builds/07-07/var/cache/ovirt-engine/ovirt-host-deploy.tar
2018-07-10 15:47:50,447+05 INFO
[org.ovirt.engine.core.utils.archivers.tar.CachedTar]
(EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] Tarball
'/home/kaustavmajumder/work/ovirt-engine-builds/07-07/var/cache/ovirt-engine/ovirt-host-deploy.tar'
refresh
2018-07-10 15:47:50,471+05 INFO
[org.ovirt.engine.core.uutils.ssh.SSHDialog]
(EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] SSH execute
'root(a)10.70.43.157' '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'
2018-07-10 15:47:50,676+05 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(VdsDeploy) [35eb76d9] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An
error has occurred during installation of Host 10.70.43.157: Python is
required but missing.
2018-07-10 15:47:50,685+05 ERROR
[org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy)
[35eb76d9] Error during deploy dialog
2018-07-10 15:47:50,686+05 ERROR
[org.ovirt.engine.core.uutils.ssh.SSHDialog]
(EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] SSH error
running command root@10.70.43.157:'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 'root(a)10.70.43.157'
2018-07-10 15:47:50,690+05 ERROR
[org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
(EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] Error during
host 10.70.43.157 install
2018-07-10 15:47:50,697+05 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] EVENT_ID:
VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during
installation of Host 10.70.43.157: Command returned failure code 1
during SSH session 'root(a)10.70.43.157'.
2018-07-10 15:47:50,698+05 ERROR
[org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
(EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] Error during
host 10.70.43.157 install, preferring first exception: Unexpected
connection termination
2018-07-10 15:47:50,698+05 ERROR
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand]
(EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] Host
installation failed for host '3a52f700-a1d3-47b0-9518-f7f94231a874',
'10.70.43.157': Unexpected connection termination
2018-07-10 15:47:50,700+05 INFO
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
(EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] START,
SetVdsStatusVDSCommand(HostName = 10.70.43.157,
SetVdsStatusVDSCommandParameters:{hostId='3a52f700-a1d3-47b0-9518-f7f94231a874',
status='InstallFailed', nonOperationalReason='NONE',
stopSpmFailureLogged='false', maintenanceReason='null'}), log id:
48d6c653
2018-07-10 15:47:50,704+05 INFO
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
(EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] FINISH,
SetVdsStatusVDSCommand, return: , log id: 48d6c653
2018-07-10 15:47:50,710+05 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] EVENT_ID:
VDS_INSTALL_FAILED(505), Host 10.70.43.157 installation failed.
Unexpected connection termination.
I have tried installing it several times and it has failed.
Thanks,
Kaustav