Re: [ovirt-users] Slow booting host - restart loop

2017-09-06 Thread Martin Perina
On Wed, Sep 6, 2017 at 3:21 PM, Bernardo Juanicó wrote: > Hi, the same happens, maybe the password somehow changed, or the file is > wrong? Is there a way to reset the password? > > [root@ovirt-engine ~]# > ​​ > PGPASSWORD=CKBKMiSQrrPdq0w9RrWDXw psql -U engine -c "update

Re: [ovirt-users] Slow booting host - restart loop

2017-09-06 Thread Bernardo Juanicó
Hi, the same happens, maybe the password somehow changed, or the file is wrong? Is there a way to reset the password? [root@ovirt-engine ~]# PGPASSWORD=CKBKMiSQrrPdq0w9RrWDXw psql -U engine -c "update vdc_options set option_value = '900' where option_name =

Re: [ovirt-users] Slow booting host - restart loop

2017-09-06 Thread Eli Mesika
Hi try from shell prompt PGPASSWORD= psql -U engine -c "update vdc_options set option_value = '900' where option_name = 'FenceQuietTimeBetweenOperationsInSec';" engine On Tue, Sep 5, 2017 at 6:34 PM, Bernardo Juanicó wrote: > Hi Eli, > > I could not access the psql prompt,

Re: [ovirt-users] Slow booting host - restart loop

2017-09-06 Thread Artyom Lukianov
It can be a result of the bug https://bugzilla.redhat.com/show_bug.cgi?id=1477700. Best Regards On Tue, Sep 5, 2017 at 6:34 PM, Bernardo Juanicó wrote: > Hi Eli, > > I could not access the psql prompt, i tried with the credentials and > values on

Re: [ovirt-users] Slow booting host - restart loop

2017-09-05 Thread Bernardo Juanicó
Hi Eli, 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. I tried interactively and also with a .pgpass file containing: localhost:5432:engine:engine:PASSWORD And i get the following error: psql: FATAL: Peer

Re: [ovirt-users] Slow booting host - restart loop

2017-09-05 Thread Eli Mesika
Hi Bernardo I would like to suggest a workaround to this problem , can you please check that : We have a configuration value named FenceQuietTimeBetweenOperationsInSec. It controls the minimal timeout to wait between fence operation (stop, start), currently, it is defaulted to 180 sec , The key

Re: [ovirt-users] Slow booting host - restart loop

2017-09-05 Thread Bernardo Juanicó
Martin, thanks for your reply, i was aware of the [1] BUG and the implemented solution, changing ServerRebootTimeout to 1200 didnt change a thing... Now i know about [2] and ill test the fix once it gets released. Regards, Bernardo PGP Key

Re: [ovirt-users] Slow booting host - restart loop

2017-09-05 Thread Martin Perina
Hi Bernardo, 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: engine-config -s ServerRebootTimeout=NNN where NNN is number of seconds you want to wait until host is booted up. But be