on Host-01
[root@localhost ~]# hostname
localhost.localdomain
on Engine VM
[root@engine ~]# hostname
engine.ovirt.hscloud
[root@engine ~]# engine-setup
--== CONFIGURATION PREVIEW ==--
Bridge interface : em1
Engine FQDN : engine.ovirt.hscloud
Bridge name : ovirtmgmt
* Host address : localhost.localdomain*
SSH daemon port : 22
Gateway address : 10.0.100.2
Host name for web application : hosted_engine_1
Storage Domain type : glusterfs
Host ID : 1
Image size GB : 10
GlusterFS Share Name : hosted_engine_glusterfs
GlusterFS Brick Provisioning : False
Storage connection : 10.0.100.17:/ovirt-engine
Console type : vnc
Memory size MB : 16384
MAC address : 00:16:3e:1b:0f:e2
Boot type : disk
Number of CPUs : 4
OVF archive (for disk boot) :
/usr/share/ovirt-engine-appliance/ovirt-engine-appliance-3.6-20160623.1.el7.centos.ova
CPU Type : model_Haswell-noTSX
On Fri, Jul 8, 2016 at 8:36 PM, Simone Tiraboschi <stirabos(a)redhat.com>
wrote:
On Thu, Jul 7, 2016 at 5:44 PM, Dewey Du <deweyto(a)gmail.com>
wrote:
> "PermitRootLogin without-password" is disabled. Is this a MUST? I am
> following the steps from the link below, and there is no steps needed to
> enable "PermitRootLogin without-password".
No, it's not.
The engine will connect using a key deployed on the host by
hosted-engine-setup.
>
http://blogs-ramesh.blogspot.jp/2016/01/ovirt-and-gluster-hyperconvergenc...
>
> Do you have anyother instructions to setup
> ovirt-and-gluster-hyperconvergence?
>
> By the way, the "localhost.localdomain" in the engine.log "Failed
to
> authenticate session with host 'hosted_engine_1': SSH authentication to
> 'root(a)localhost.localdomain' failed." means the engine VM or Host-01?
It means the engine and the issue is just there.
Can you please check the hostname of your host?
We had a bug in past about that but now hosted-engine-setup should
refuse to deploy, which version are you using?
> On Thu, Jul 7, 2016 at 4:11 PM, Ramesh Nachimuthu <rnachimu(a)redhat.com>
> wrote:
>>
>> Hi Dewey,
>>
>> Looks like SSH login from Engine VM to 'Host-01' is failing. Can you
>> confirm that "PermitRootLogin without-password" is enabled on
'Host-01'
>> where you are running " hosted-engine --deploy "
>>
>>
>> Regards,
>> Ramesh
>>
>> ----- Original Message -----
>> > From: "Dewey Du" <deweyto(a)gmail.com>
>> > To: "Scott" <romracer(a)gmail.com>
>> > Cc: "users" <users(a)ovirt.org>
>> > Sent: Thursday, July 7, 2016 1:11:14 PM
>> > Subject: Re: [ovirt-users] Fail to setup Hyperconverged Infrastructure
>> > using oVirt and Gluster
>> >
>> > On Engine VM, the command " engine-setup " is executed
successfully.
>> >
>> > On Host-01 which running the command " hosted-engine --deploy "
>> > always display the following message:
>> >
>> > Make a selection from the options below:
>> > (1) Continue setup - oVirt-Engine installation is ready and
ovirt-engine
>> > service is up
>> > (2) Abort setup
>> > (3) Power off and restart the VM
>> > (4) Destroy VM and abort setup
>> > (1, 2, 3, 4)[1]: 1
>> >
>> > My engine.log on Engine VM is attached below
>> >
>> > 2016-07-05 15:55:54,086 ERROR
>> > [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-17)
>> > [77e52cbc] Failed to authenticate session with host
'hosted_engine_1':
>> > SSH
>> > authentication to 'root(a)localhost.localdomain' failed. Please
verify
>> > provided credentials. Make sure key is authorized at host
>> > 2016-07-05 15:55:54,086 WARN
>> > [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-17)
>> > [77e52cbc] CanDoAction of action 'AddVds' failed for user
>> > admin@internal.
>> > Reasons: VAR__ACTION__ADD,VAR__TYPE__HOST,$server
>> > localhost.localdomain,VDS_CANNOT_AUTHENTICATE_TO_SERVER
>> > 2016-07-05 15:55:54,098 ERROR
>> > [org.ovirt.engine.api.restapi.resource.AbstractBackendResource]
(default
>> > task-17) [] Operation Failed: [Cannot add Host. SSH authentication
>> > failed,
>> > verify authentication parameters are correct (Username/Password,
>> > public-key
>> > etc.) You may refer to the engine.log file for further details.]
>> >
>> > On Sun, Jul 3, 2016 at 11:27 PM, Scott < romracer(a)gmail.com > wrote:
>> >
>> >
>> >
>> > Do you have root logins disabled in SSH? If I remember right, oVirt
will
>> > use
>> > SSH keys once configured so you need "PermitRootLogin
without-password"
>> > at a
>> > minimum.
>> >
>> > The engine log and your auth/secure log on the host should probably
give
>> > you
>> > some idea of what happened.
>> >
>> > Scott
>> >
>> > On Sun, Jul 3, 2016 at 10:13 AM Dewey Du < deweyto(a)gmail.com >
wrote:
>> >
>> >
>> >
>> > oVirt 3.6
>> >
>> > # hosted-engine --deploy
>> >
>> > [ ERROR ] Cannot automatically add the host to cluster Default: Cannot
>> > add
>> > Host. SSH authentication failed, verify authentication parameters are
>> > correct (Username/Password, public-key etc.) You may refer to the
>> > engine.log
>> > file for further details.
>> >
>> > Has anyone encountered this issue before? Thx.
>> > _______________________________________________
>> > Users mailing list
>> > Users(a)ovirt.org
>> >
http://lists.ovirt.org/mailman/listinfo/users
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users(a)ovirt.org
>> >
http://lists.ovirt.org/mailman/listinfo/users
>> >
>
>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
>