On Fri, Feb 7, 2020 at 3:26 PM <krisibo01@gmail.com> wrote:
Hello,
I am a student and as a school project i have to make virtual environment using oVirt. I just installed the oVirt-engine with the recomended configuration in the documentation and when i try to make a new host i got this error:
Error while executing action: Cannot add Host. Connecting to host via SSH has failed, verify that the host is reachable (IP address, routable address etc.) You may refer to the engine.log file for further details.
When i checked the log file the only thing that was there is that there is:
2020-02-06 03:59:24,594-05 ERROR [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-30) [d54ee4df-32c8-474c-b315-51ad1131091a] Failed to establish session with host 'test': SSH connection timed out connecting to 'root@10.10.0.20'

Can you ssh root@10.10.0.20 from Engine's machine?
Can Engine's machine ping 10.10.0.20?
Can Engine's machine connect to 10.10.0.20 port 22 (e.g. check with "nc -vz 10.10.0.2 22")?
What is the network configuration of the host with the IP address 10.10.0.20 before and after adding it to oVirt?
Please have a look at the relevant files in /var/log/ovirt-engine/host-deploy/, and if exists /var/log/vdsm/* on the host.
If these questions does not point you to the answer, please share the answers to these questions and the logfiles.



 
I was trying to make the host following this steps:

Adding a Host to the oVirt Engine

1.Click Compute → Hosts.

2.Click New.

3.Use the drop-down list to select the Data Center and Host Cluster for the new host.

4.Enter the Name and the Hostname of the new host. The standard SSH port, port 22, is auto-filled in the SSH Port field.

5.Select an authentication method to use for the Engine to access the host.

Enter the root user’s password to use password authentication.

Alternatively, copy the key displayed in the SSH PublicKey field to /root/.ssh/authorized_keys on the host to use public key authentication.

6.Click the Advanced Parameters button to expand the advanced host settings.

i. Optionally disable automatic firewall configuration.

ii. Optionally add a host SSH fingerprint to increase security. You can add it manually, or fetch it automatically.

7.Optionally configure Power Management, SPM, Console, Network Provider, and Kernel. See Explanation of Settings and Controls in the New Host and Edit Host Windows for more information. Hosted Engine is used when deploying or undeploying a host for a self-hosted engine deployment.

8.Click OK.

The new host displays in the list of hosts with a status of Installing, and you can view the progress of the installation in the details pane. After a brief delay the host status changes to Up.
_______________________________________________
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/HWSFFHMS6ECHK4B7GZXS4PCUY5CYAJQL/