[ovirt-users] Duplicate host_id after deployment via GUI, how is the hosted engine host_id selected?

Simone Tiraboschi stirabos at redhat.com
Mon Apr 23 12:08:58 UTC 2018


On Mon, Apr 23, 2018 at 1:04 PM, Martin Sivak <msivak at redhat.com> wrote:

> Hello,
>
> the ID should be coming from the SPM ID of the host as assigned by the
> engine and duplicates should not be happening indeed.
>
> Can you please tell us what version of engine you have and how was
> first hosted engine node deployed? We recently changed the default
> deployment method (4.2.2 in fact) and we would like to know whether
> this might be related to that change or not.
>
> Simone, do you know how to debug this? Are there logs we could use to
> check the behavior? The host-deploy logs maybe?
>

Thomas,
can you please share the output of
  sudo -u postgres scl enable rh-postgresql95 -- psql -d engine -c "select
vds_id, vds_name, vds_spm_id from vds"
executed on the engine VM

and the content of /var/log/ovirt-engine/host-deploy (still from the engine
VM)?


>
> Best regards
>
> --
> Martin Sivak
> SLA / oVirt
>
> On Mon, Apr 23, 2018 at 12:54 PM, Thomas Klute <klute at ingenit.com> wrote:
> > Dear oVirt Users,
> >
> > we installed a third ovirt node using the ovirt node ng image (4.2.2),
> and
> > added that node using the web interface of the hosted engine:
> >
> > Compute->Hosts->New - including the Hosted engine option "Choose hosted
> > engine deployment action" set to "Deploy"
> >
> > After that we found out, that on the new node the host_id entry was
> causing
> > problems. In
> >
> > /etc/ovirt-hosted-engine/hosted-engine.conf
> >
> > we found the entry
> >
> > ...
> > host_id=2
> > ...
> >
> > But that host id already exists and was alive during deployment process.
> > So my questions are:
> >
> > How is the host id chosen (when adding a new host via GUI)?
> > Is there an option to preselect the host id in the GUI for a new node?
> > How can we prevent further duplicate host ids?
> >
> > Thanks and best regards,
> > Thomas
> >
> >
> > --
> > ________________________________________________________________________
> >
> >  Dipl.-Inform. Thomas Klute                           klute at ingenit.com
> >  Geschäftsführer / CEO
> >  ----------------------------------------------------------------------
> >  ingenit GmbH & Co. KG                       Tel. +49 (0)231 58 698-120
> >  Emil-Figge-Strasse 76-80                    Fax. +49 (0)231 58 698-121
> >  D-44227 Dortmund                                       www.ingenit.com
> >
> >  Registergericht: Amtsgericht Dortmund, HRA 13 914
> >  Gesellschafter : Thomas Klute, Marc-Christian Schröer
> > ________________________________________________________________________
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180423/fd58f305/attachment.html>


More information about the Users mailing list