Hi All,

I'm trying to add a second Host to my controller but it fails for some reason, from the events log in the webUI I got the following message :
Host HV2 installation failed. Command returned failure code 1 during SSH session


The engine logs are showing the following messages :


2018-05-09 05:50:28,315-04 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [359b2b82-9cca-4910-8a74-4d90819702b0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host HV2. Stage: Initializing.
2018-05-09 05:50:28,398-04 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [359b2b82-9cca-4910-8a74-4d90819702b0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host HV2. Stage: Environment setup.
2018-05-09 05:50:28,440-04 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [359b2b82-9cca-4910-8a74-4d90819702b0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host HV2. Stage: Environment packages setup.
2018-05-09 05:50:29,924-04 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [359b2b82-9cca-4910-8a74-4d90819702b0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host HV2. Stage: Programs detection.
2018-05-09 05:50:29,932-04 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [359b2b82-9cca-4910-8a74-4d90819702b0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host HV2. Stage: Environment customization.
2018-05-09 05:50:30,457-04 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [359b2b82-9cca-4910-8a74-4d90819702b0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host HV2. Kdump supported.
2018-05-09 05:50:30,541-04 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [359b2b82-9cca-4910-8a74-4d90819702b0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host HV2. Logs at host located at: '/tmp/ovirt-host-deploy-20180509105027-896hy7.log'.
2018-05-09 05:50:30,595-04 INFO  [org.ovirt.engine.core.bll.hostdeploy.VdsDeployVdsmUnit] (VdsDeploy) [359b2b82-9cca-4910-8a74-4d90819702b0] Host hv2.vdi-lab.ma reports unique id 4C4C4544-0053-5A10-8048-C2C04F59344A
2018-05-09 05:50:30,618-04 INFO  [org.ovirt.engine.core.bll.hostdeploy.VdsDeployVdsmUnit] (VdsDeploy) [359b2b82-9cca-4910-8a74-4d90819702b0] Assigning unique id 4C4C4544-0053-5A10-8048-C2C04F59344A to Host hv2.vdi-lab.ma
2018-05-09 05:50:30,674-04 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [359b2b82-9cca-4910-8a74-4d90819702b0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host HV2. Disabling Kdump integration.
2018-05-09 05:50:30,774-04 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [359b2b82-9cca-4910-8a74-4d90819702b0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host HV2. Stage: Setup validation.
2018-05-09 05:50:31,232-04 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [359b2b82-9cca-4910-8a74-4d90819702b0] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during installation of Host HV2: Failed to execute stage 'Setup validation': Cannot locate ovirt-host package, possible cause is incorrect channels.
2018-05-09 05:50:31,241-04 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [359b2b82-9cca-4910-8a74-4d90819702b0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host HV2. Stage: Clean up.
2018-05-09 05:50:31,249-04 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [359b2b82-9cca-4910-8a74-4d90819702b0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host HV2. Stage: Pre-termination.
2018-05-09 05:50:31,265-04 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [359b2b82-9cca-4910-8a74-4d90819702b0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host HV2. Retrieving installation logs to: '/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-20180509055031-hv2.vdi-lab.ma-359b2b82-9cca-4910-8a74-4d90819702b0.log'.
2018-05-09 05:50:31,591-04 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [359b2b82-9cca-4910-8a74-4d90819702b0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host HV2. Stage: Termination.
2018-05-09 05:50:31,592-04 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (EE-ManagedThreadFactory-engine-Thread-115) [359b2b82-9cca-4910-8a74-4d90819702b0] SSH error running command root@hv2.vdi-lab.ma:'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@hv2.vdi-lab.ma'
2018-05-09 05:50:31,592-04 ERROR [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (EE-ManagedThreadFactory-engine-Thread-115) [359b2b82-9cca-4910-8a74-4d90819702b0] Error during host hv2.vdi-lab.ma install
2018-05-09 05:50:31,593-04 ERROR [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (EE-ManagedThreadFactory-engine-Thread-115) [359b2b82-9cca-4910-8a74-4d90819702b0] Host installation failed for host 'fa86070d-61a3-40b5-85ec-bae7a2056210', 'HV2': Command returned failure code 1 during SSH session 'root@hv2.vdi-lab.ma'
2018-05-09 05:50:31,597-04 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (EE-ManagedThreadFactory-engine-Thread-115) [359b2b82-9cca-4910-8a74-4d90819702b0] START, SetVdsStatusVDSCommand(HostName = HV2, SetVdsStatusVDSCommandParameters:{hostId='fa86070d-61a3-40b5-85ec-bae7a2056210', status='InstallFailed', nonOperationalReason='NONE', stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 1a83e92b
2018-05-09 05:50:31,608-04 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (EE-ManagedThreadFactory-engine-Thread-115) [359b2b82-9cca-4910-8a74-4d90819702b0] FINISH, SetVdsStatusVDSCommand, log id: 1a83e92b
2018-05-09 05:50:31,649-04 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-115) [359b2b82-9cca-4910-8a74-4d90819702b0] EVENT_ID: VDS_INSTALL_FAILED(505), Host HV2 installation failed. Command returned failure code 1 during SSH session 'root@hv2.vdi-lab.ma'.
2018-05-09 05:50:31,658-04 INFO  [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (EE-ManagedThreadFactory-engine-Thread-115) [359b2b82-9cca-4910-8a74-4d90819702b0] Lock freed to object 'EngineLock:{exclusiveLocks='[fa86070d-61a3-40b5-85ec-bae7a2056210=VDS]', sharedLocks=''}'


Does anyone have a hint on how to fix this ?


Thank you in advance.