[ovirt-users] Fail to setup Hyperconverged Infrastructure using oVirt and Gluster

Simone Tiraboschi stirabos at redhat.com
Fri Jul 8 14:46:30 UTC 2016


On Fri, Jul 8, 2016 at 4:41 PM, Dewey Du <deweyto at gmail.com> wrote:
> on Host-01
>
> [root at localhost ~]# hostname
> localhost.localdomain

OK, the issue is here ^^^
Please use an uniquely resolvable hostname for your host.


> on Engine VM
>
> [root at engine ~]# hostname
> engine.ovirt.hscloud
>
> [root at 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 at redhat.com>
> wrote:
>>
>> On Thu, Jul 7, 2016 at 5:44 PM, Dewey Du <deweyto at 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-hyperconvergence.html
>> >
>> > 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 at 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 at 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 at gmail.com>
>> >> > To: "Scott" <romracer at gmail.com>
>> >> > Cc: "users" <users at 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 at 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 at 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 at 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 at 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 at ovirt.org
>> >> > http://lists.ovirt.org/mailman/listinfo/users
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > Users mailing list
>> >> > Users at ovirt.org
>> >> > http://lists.ovirt.org/mailman/listinfo/users
>> >> >
>> >
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at ovirt.org
>> > http://lists.ovirt.org/mailman/listinfo/users
>> >
>
>



More information about the Users mailing list