<div dir="ltr">Hi Eli,<div><br></div><div>I could not access the psql prompt, i tried with the credentials and values on /etc/ovirt-engine/engine.conf.d/10-setup-database.conf.</div><div><br></div><div>I tried interactively and also with a .pgpass file containing: </div><div>localhost:5432:engine:engine:PASSWORD</div><div><br></div><div><div>And i get the following error:</div><div><br></div><div>psql: FATAL: Peer authentication failed for user "engine"</div></div><div><br></div><div>Thanks!</div><div><br></div><div>Bernardo</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><a href="http://pgp.mit.edu/pks/lookup?op=get&search=0x695E5BCE34263F5B" target="_blank">PGP Key</a><br><div><a>Skype: mattraken</a><br></div></div></div></div>
<br><div class="gmail_quote">2017-09-05 12:14 GMT-03:00 Eli Mesika <span dir="ltr"><<a href="mailto:emesika@redhat.com" target="_blank">emesika@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:large">Hi Bernardo <br><br></div><div class="gmail_default" style="font-size:large">I would like to suggest a workaround to this problem , can you please check that :<br><br></div><div class="gmail_default" style="font-size:large">We have a configuration value named FenceQuietTimeBetweenOperation<wbr>sInSec.<br>It controls the minimal timeout to wait between fence operation (stop, start),<br></div><div class="gmail_default" style="font-size:large">currently, it is defaulted to 180 sec , The key is not exposed to engine-config, so, I would suggest to <br><br></div><div class="gmail_default" style="font-size:large">1) Change this key value to 900 by running the following from psql prompt :<br><br></div><div class="gmail_default" style="font-size:large">update vdc_options set option_value = '900' where option_name = '<wbr>FenceQuietTimeBetweenOperation<wbr>sInSec';<br><br></div><div class="gmail_default" style="font-size:large">2) Restart the engine <br><br></div><div class="gmail_default" style="font-size:large">3) Repeat the scenario <br><br></div><div class="gmail_default" style="font-size:large">Now, the engine will require 15 min between fencing operations and your host can be up again without being fenced again.<br><br></div><div class="gmail_default" style="font-size:large">Please let me know if this workaround is working for you <br><br></div><div class="gmail_default" style="font-size:large">Thanks <br><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div class="gmail_default" style="font-size:large">Eli<br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 5, 2017 at 4:20 PM, Bernardo Juanicó <span dir="ltr"><<a href="mailto:bjuanico@gmail.com" target="_blank">bjuanico@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Martin, thanks for your reply, i was aware of the [1] BUG and the implemented solution, changing ServerRebootTimeout to 1200 didnt change a thing...<div>Now i know about [2] and ill test the fix once it gets released.</div><div><br></div><div>Regards,</div><div><br></div><div>Bernardo</div></div><div class="gmail_extra"><br clear="all"><div><div class="m_-314005197128950364m_2052028635376288785gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><a href="http://pgp.mit.edu/pks/lookup?op=get&search=0x695E5BCE34263F5B" target="_blank">PGP Key</a><br><div><a>Skype: mattraken</a><br></div></div></div></div><div><div class="m_-314005197128950364h5">
<br><div class="gmail_quote">2017-09-05 8:23 GMT-03:00 Martin Perina <span dir="ltr"><<a href="mailto:mperina@redhat.com" target="_blank">mperina@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Bernardo,<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">we have added timeout to wait until host is booted [1] in oVirt 4.1.2. This timeout is by default 5 minutes, but it can be extended using following command:<br><br> engine-config -s ServerRebootTimeout=NNN<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">where NNN is number of seconds you want to wait until host is booted up.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">But be aware that you may be affected by [2], which we are currently trying to fix.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Regards<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Martin Perina<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>[1] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1423657" target="_blank">https://bugzilla.redhat.com/sh<wbr>ow_bug.cgi?id=1423657</a><br>[2] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1477700" target="_blank">https://bugzilla.redhat.com/sh<wbr>ow_bug.cgi?id=1477700</a><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-314005197128950364m_2052028635376288785h5">On Fri, Sep 1, 2017 at 7:54 PM, Bernardo Juanicó <span dir="ltr"><<a href="mailto:bjuanico@gmail.com" target="_blank">bjuanico@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-314005197128950364m_2052028635376288785h5"><div dir="ltr"><div>Hi everyone, </div><div><br></div><div>I installed 2 hosts on a new cluster and the servers take a really long to boot up (about 8 minutes).</div><div><br></div><div>When a host crashes or is powered off the ovirt-manager starts it via power management, since the servers takes all that time to boot up the ovirt-manager thinks it failed to start and proceeds to reboot it, several times before giving up, when the server is finally started (about 20 minutes after the failure)</div><div><br></div><div>I changed some engine variables with engine-config trying to set a higher timeout, but the problem persists.</div><div><br></div><div>Any ideas??</div><div><br></div><div><br></div><div>Regards,</div><div>Bernardo</div><div><br></div><div><br></div><div><div class="m_-314005197128950364m_2052028635376288785m_-6088616314318784740m_8425212445792749587gmail_signature"><div dir="ltr"><a href="http://pgp.mit.edu/pks/lookup?op=get&search=0x695E5BCE34263F5B" target="_blank">PGP Key</a><br><div><a>Skype: mattraken</a><br></div></div></div></div>
</div>
<br></div></div>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>