<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Dear Simone,<br>
<br>
thanks for the help, I already have noticed, that there is a
mismatch between SPM IDs and the hosts.<br>
From my knowledge this may be our fault.<br>
<br>
vds_name | vds_spm_id<br>
oVirt4 | 3<br>
oVirt2 | 4<br>
oVirt6 | 6<br>
oVirt5 | 5<br>
oVirt1 | 1<br>
oVirt3 | 2<br>
<br>
oVirt3 was re-installed using the node ng image - and was assigned
id 2 that was available at that time (taken into account this
database query).<br>
It was not available in fact because of the host ovirt2 having the
host_id=2 entry in the configuration on the host and the sanlock
having locked the appropriate space.<br>
<br>
I can't remember where this mismatch came from but I assume that
some time ago someone maybe manually changed the entry on oVirt2
host in order to match with the hostname (oVirtX -> Host id X).<br>
Thus I think it is not a bug at the moment.<br>
<br>
But that leads me to the next question:<br>
<br>
Is there a manual way to align numbers in the hostnames with the
SPM IDs? (oVirt4 should be spm id 4)<br>
<br>
Does this work? Update the database, change the entry in
hosted-engine.conf and then reboot the node?<br>
<br>
Thanks & best regards,<br>
Thomas<br>
<br>
<br>
</div>
<blockquote type="cite"
cite="mid:CAN8-ONoCNj8gth+sxHdgXnYOEizwtcUXLocaBddo+Z+jJdHUKA@mail.gmail.com">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Apr 23, 2018 at 1:04 PM,
Martin Sivak <span dir="ltr"><<a
href="mailto:msivak@redhat.com" target="_blank"
moz-do-not-send="true">msivak@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
the ID should be coming from the SPM ID of the host as
assigned by the<br>
engine and duplicates should not be happening indeed.<br>
<br>
Can you please tell us what version of engine you have and
how was<br>
first hosted engine node deployed? We recently changed the
default<br>
deployment method (4.2.2 in fact) and we would like to
know whether<br>
this might be related to that change or not.<br>
<br>
Simone, do you know how to debug this? Are there logs we
could use to<br>
check the behavior? The host-deploy logs maybe?<br>
</blockquote>
<div><br>
</div>
<div>Thomas,</div>
<div>can you please share the output of </div>
<div> sudo -u postgres scl enable rh-postgresql95 -- psql
-d engine -c "select vds_id, vds_name, vds_spm_id from
vds"<br>
</div>
<div>executed on the engine VM</div>
<div><br>
</div>
<div>and the content of /var/log/ovirt-engine/host-deploy
(still from the engine VM)?</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<br>
Best regards<br>
<br>
--<br>
Martin Sivak<br>
SLA / oVirt<br>
<div>
<div class="gmail-h5"><br>
On Mon, Apr 23, 2018 at 12:54 PM, Thomas Klute <<a
href="mailto:klute@ingenit.com"
moz-do-not-send="true">klute@ingenit.com</a>>
wrote:<br>
> Dear oVirt Users,<br>
><br>
> we installed a third ovirt node using the ovirt
node ng image (4.2.2), and<br>
> added that node using the web interface of the
hosted engine:<br>
><br>
> Compute->Hosts->New - including the Hosted
engine option "Choose hosted<br>
> engine deployment action" set to "Deploy"<br>
><br>
> After that we found out, that on the new node the
host_id entry was causing<br>
> problems. In<br>
><br>
> /etc/ovirt-hosted-engine/<wbr>hosted-engine.conf<br>
><br>
> we found the entry<br>
><br>
> ...<br>
> host_id=2<br>
> ...<br>
><br>
> But that host id already exists and was alive
during deployment process.<br>
> So my questions are:<br>
><br>
> How is the host id chosen (when adding a new host
via GUI)?<br>
> Is there an option to preselect the host id in
the GUI for a new node?<br>
> How can we prevent further duplicate host ids?<br>
><br>
> Thanks and best regards,<br>
> Thomas<br>
><br>
><br>
> --<br>
> ______________________________<wbr>______________________________<wbr>____________<br>
><br>
> Dipl.-Inform. Thomas Klute
<a href="mailto:klute@ingenit.com"
moz-do-not-send="true">klute@ingenit.com</a><br>
> Geschäftsführer / CEO<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> ingenit GmbH & Co. KG
Tel. +49 (0)231 58 698-120<br>
> Emil-Figge-Strasse 76-80 Fax.
+49 (0)231 58 698-121<br>
> D-44227 Dortmund
<a href="http://www.ingenit.com"
rel="noreferrer" target="_blank"
moz-do-not-send="true">www.ingenit.com</a><br>
><br>
> Registergericht: Amtsgericht Dortmund, HRA 13
914<br>
> Gesellschafter : Thomas Klute, Marc-Christian
Schröer<br>
> ______________________________<wbr>______________________________<wbr>____________<br>
><br>
><br>
</div>
</div>
> ______________________________<wbr>_________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org"
moz-do-not-send="true">Users@ovirt.org</a><br>
> <a
href="http://lists.ovirt.org/mailman/listinfo/users"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<p><br>
</p>
<pre class="moz-signature" cols="72">Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.
Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________
Dipl.-Inform. Thomas Klute <a class="moz-txt-link-abbreviated" href="mailto:klute@ingenit.com">klute@ingenit.com</a>
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 <a class="moz-txt-link-abbreviated" href="http://www.ingenit.com">www.ingenit.com</a>
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
</pre>
</body>
</html>