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