[ovirt-users] self-hosted-engine Failed to establish session with host
Simone Tiraboschi
stirabos at redhat.com
Tue Aug 4 11:35:39 EDT 2015
On Tue, Aug 4, 2015 at 3:24 PM, Neil <nwilson123 at gmail.com> wrote:
> Hi guys,
>
> I initially installed an AllinOne oVirt installation, but realised half way
> through that I actually need a self-hosted-engine instead, so I did an
> engine-cleanup and removed the database etc then ran...
>
> yum install ovirt-hosted-engine-setup
> hosted-engine --deploy
>
> I installed Centos 6.4 minimal on the VM then did a full yum update to 6.6
> and restarted as well as disabled selinux.
>
> Everything went through perfectly and my engine is up and running, however
> my installation suddenly terminated when trying to add the host to the
> Default datacenter as follows....
>
> [ INFO ] Engine replied: DB Up!Welcome to Health Status!
> Enter the name of the cluster to which you want to add the host
> (Default) [Default]:
> [ ERROR ] Cannot automatically add the host to cluster Default: 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.
> [ ERROR ] Failed to execute stage 'Closing up': Cannot add the host to
> cluster Default
> [ INFO ] Stage: Clean up
> [ INFO ] Generating answer file
> '/var/lib/ovirt-hosted-engine-setup/answers/answers-20150804143614.conf'
> [ INFO ] Stage: Pre-termination
> [ INFO ] Stage: Termination
>
> I've attached my engine.log and my answer file. I have confirmed that both
> systems are able to reach each other, so I'm not sure if it's perhaps some
did you checked it using the host hostname or just the IP address?
we generate and sign the cert for the hostname and so the engine VM
should be able to connect to the host using the hostname.
> kind of DNS related issue perhaps? Note that I'm only using host file
> resolution and not internal DNS names.
The issue seams there:
2015-08-04 12:36:11,507 WARN
[org.ovirt.engine.core.bll.AddVdsCommand] (ajp--127.0.0.1-8702-7)
[5c0b6ba5] CanDoAction of action AddVds failed for user
admin at internal. Reasons: VAR__ACTION__ADD,VAR__TYPE__HOST,$server
dr.mydomain.co.za,VDS_CANNOT_CONNECT_TO_SERVER
2015-08-04 12:36:11,521 ERROR
[org.ovirt.engine.api.restapi.resource.AbstractBackendResource]
(ajp--127.0.0.1-8702-7) Operation Failed: [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.]
> Please could someone take a look and see if you are able to pick up anything
> obvious please.
>
> Thank you!
>
> Regards.
>
> Neil Wilson.
>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
More information about the Users
mailing list