Do you have something in host-deploy logs in /var/log/ovirt-engine/host-deploy/ ?

On Thu, Oct 25, 2018 at 11:02 AM Nuno Martins <nuno@rocketscience.co.za> wrote:


\ - This is where it all goes to hell...


-10-25 09:01:25,869+02 ERROR [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [38ecca45] Error during deploy dialog

2018-10-25 09:01:25,869+02 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (EE-ManagedThreadFactory-engine-Thread-90) [38ecca45] SSH error running command root@ird-vhost02-sam.za.ds.naspers.com:'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': TimeLimitExceededException: SSH session timeout host 'root@ird-vhost02-sam.za.ds.naspers.com'

2018-10-25 09:01:25,874+02 ERROR [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (EE-ManagedThreadFactory-engine-Thread-90) [38ecca45] Timeout during host ird-vhost02-sam.za.ds.naspers.com install: SSH session timeout host 'root@ird-vhost02-sam.za.ds.naspers.com'

2018-10-25 09:01:25,882+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-90) [38ecca45] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during installation of Host ird-vhost02-sam.za.ds.naspers.com: Processing stopped due to timeout.

2018-10-25 09:01:25,882+02 ERROR [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (EE-ManagedThreadFactory-engine-Thread-90) [38ecca45] Host installation failed for host '3b4cba1e-907e-4344-847d-85b1d54c8687', 'ird-vhost02-sam.za.ds.naspers.com': SSH session timeout host 'root@ird-vhost02-sam.za.ds.naspers.com'

2018-10-25 09:01:25,886+02 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (EE-ManagedThreadFactory-engine-Thread-90) [38ecca45] START, SetVdsStatusVDSCommand(HostName = ird-vhost02-sam.za.ds.naspers.com, SetVdsStatusVDSCommandParameters:{hostId='3b4cba1e-907e-4344-847d-85b1d54c8687', status='InstallFailed', nonOperationalReason='NONE', stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 14b0af02

2018-10-25 09:01:25,890+02 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (EE-ManagedThreadFactory-engine-Thread-90) [38ecca45] FINISH, SetVdsStatusVDSCommand, log id: 14b0af02

2018-10-25 09:01:25,897+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-90) [38ecca45] EVENT_ID: VDS_INSTALL_FAILED(505), Host ird-vhost02-sam.za.ds.naspers.com installation failed. SSH session timeout host 'root@ird-vhost02-sam.za.ds.naspers.com'.





From: Simone Tiraboschi <stirabos@redhat.com>
Sent: Thursday, October 25, 2018 10:09 AM
To: Nuno Martins
Cc: users
Subject: Re: [ovirt-users] Newbie Ovirt 4.2 - hosts all fail installs
 


On Wed, Oct 24, 2018 at 10:41 PM <nuno@rocketscience.co.za> wrote:
Hi - I have just setup 3 hosts and I am running a self hosted engine on the primary host - I am now trying to add the remaining two and my installs take awhile and then fail.

Logs say ssh timeout, but the engine can get to the systems via DNS or hosts file etc -

Any advice ?

Thanx guys,


So i have 3 servers and i am running Ovirt 4.2 with a self hosted engine on the primary host. I am trying to add the other hosts but keep getting failed installs due to ssh timeouts - The engine can get to the hosts via DNS and via hosts files but the install just bombs.


Any advice ?  - i have added some of the engine.log to this mail --




##########

2018-10-24 20:19:40,061+02 INFO  [org.ovirt.engine.core.uutils.ssh.SSHDialog] (EE-ManagedThreadFactory-engine-Thread-950) [337a439f] SSH execute 'root@ird-vhost02-sam.za.ds.naspers.com' '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-10-24 20:19:41,991+02 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [337a439f] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host ird-vhost02-sam.za.ds.nas.com. Stage: Initializing.
2018-10-24 20:19:42,083+02 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [337a439f] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host ird-vhost02-sam.za.ds.nas.com. Stage: Environment setup.
2018-10-24 20:19:42,138+02 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [337a439f] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host ird-vhost02-sam.za.ds.nas.com. Stage: Environment packages setup.
2018-10-24 20:19:52,969+02 ERROR [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [2c4d56fb-f5f3-4eba-b3dd-1f2646b38eec] Error during deploy dialog
2018-10-24 20:19:52,973+02 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (EE-ManagedThreadFactory-engine-Thread-789) [2c4d56fb-f5f3-4eba-b3dd-1f2646b38eec] SSH error running command root@ird-vhost03-sam.za.ds.nas.com:'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': TimeLimitExceededException: SSH session timeout host 'root@ird-vhost03-sam.za.ds.nas.com'
2018-10-24 20:19:52,977+02 ERROR [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (EE-ManagedThreadFactory-engine-Thread-789) [2c4d56fb-f5f3-4eba-b3dd-1f2646b38eec] Timeout during host ird-vhost03-sam.za.ds.naspers.com install: SSH session timeout host 'root@ird-vhost03-sam.za.ds.nas.com'

Can you please try manually executing
from the engine VM?

Please ensure that everything works as expected on network side.
 
2018-10-24 20:19:52,981+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-789) [2c4d56fb-f5f3-4eba-b3dd-1f2646b38eec] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during installation of Host ird-vhost03-sam.za.ds.nas.com: Processing stopped due to timeout.
2018-10-24 20:19:52,981+02 ERROR [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (EE-ManagedThreadFactory-engine-Thread-789) [2c4d56fb-f5f3-4eba-b3dd-1f2646b38eec] Host installation failed for host '126448ff-2561-416b-b265-ad027683080e', 'ird-vhost03-sam.za.ds.nas.com': SSH session timeout host 'root@ird-vhost03-sam.za.ds.nas.com'
2018-10-24 20:19:52,984+02 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (EE-ManagedThreadFactory-engine-Thread-789) [2c4d56fb-f5f3-4eba-b3dd-1f2646b38eec] START, SetVdsStatusVDSCommand(HostName = ird-vhost03-sam.za.ds.nas.com, SetVdsStatusVDSCommandParameters:{hostId='126448ff-2561-416b-b265-ad027683080e', status='InstallFailed', nonOperationalReason='NONE', stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 1648388
2018-10-24 20:19:52,987+02 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (EE-ManagedThreadFactory-engine-Thread-789) [2c4d56fb-f5f3-4eba-b3dd-1f2646b38eec] FINISH, SetVdsStatusVDSCommand, log id: 1648388
2018-10-24 20:19:52,989+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-789) [2c4d56fb-f5f3-4eba-b3dd-1f2646b38eec] EVENT_ID: VDS_INSTALL_FAILED(505), Host ird-vhost03-sam.za.ds.nas.com installation failed. SSH session timeout host 'root@ird-vhost03-sam.za.ds.nas.com'.
2018-10-24 20:19:52,993+02 INFO  [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (EE-ManagedThreadFactory-engine-Thread-789) [2c4d56fb-f5f3-4eba-b3dd-1f2646b38eec] Lock freed to object 'EngineLock:{exclusiveLocks='[126448ff-2561-416b-b265-ad027683080e=VDS]', sharedLocks=''}'
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/QKEJCLHSXKE3EINXZ462W4D5BRGS2KEV/