Re: [ovirt-devel] [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432

2017-09-12 Thread Simone Tiraboschi
Il 12 Set 2017 18:34, "Jakub Niedermertl" ha scritto: Since the problem is still present on current master, I've created a bug [1] to track that. [1]: https://bugzilla.redhat.com/1490977 This afternoon we merged a couple of patches to otopi to honour system path so it should be fine now. Pleas

Re: [ovirt-devel] [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432

2017-09-12 Thread Jakub Niedermertl
Since the problem is still present on current master, I've created a bug [1] to track that. [1]: https://bugzilla.redhat.com/1490977 On Fri, Sep 8, 2017 at 5:17 PM, Simone Tiraboschi wrote: > > > On Fri, Sep 8, 2017 at 4:43 PM, Scott Dickerson > wrote: > >> >> >> On Fri, Sep 8, 2017 at 9:50 AM

Re: [ovirt-devel] [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432

2017-09-08 Thread Simone Tiraboschi
On Fri, Sep 8, 2017 at 4:43 PM, Scott Dickerson wrote: > > > On Fri, Sep 8, 2017 at 9:50 AM, Simone Tiraboschi > wrote: > >> We are now requiring Postgres 9.5 which means that you have to use SCL on >> el7 but on fedora 25 you already have Postgres 9.5.8 at system level so no >> changes are requ

Re: [ovirt-devel] [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432

2017-09-08 Thread Scott Dickerson
On Fri, Sep 8, 2017 at 9:50 AM, Simone Tiraboschi wrote: > We are now requiring Postgres 9.5 which means that you have to use SCL on > el7 but on fedora 25 you already have Postgres 9.5.8 at system level so no > changes are required there. > > I personally tried on fedora 25 and I didn't found an

Re: [ovirt-devel] [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432

2017-09-08 Thread Simone Tiraboschi
We are now requiring Postgres 9.5 which means that you have to use SCL on el7 but on fedora 25 you already have Postgres 9.5.8 at system level so no changes are required there. I personally tried on fedora 25 and I didn't found any issue using the rpms published in ovirt-master-snapshot and dev-en

Re: [ovirt-devel] [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432

2017-09-08 Thread Jakub Niedermertl
... and I can log in to db using `psql -U engine -d engine -W -h localhost` and password stored in ${TARGET}/etc/ovirt-engine/engine.conf.d/10-setup-database.conf, field "ENGINE_DB_PASSWORD". On Fri, Sep 8, 2017 at 3:14 PM, Jakub Niedermertl wrote: > It still doesn't work on commit 76ec627d23 co

Re: [ovirt-devel] [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432

2017-09-08 Thread Greg Sheremeta
Same here. Miroslava mentioned manual steps, but I only saw steps for SCL. Looks like all of us on Fedora are broken (?!), and I don't see steps to fix in the README (or, even better, emailed out with an [ACTION REQUIRED] subject line] Greg On Fri, Sep 8, 2017 at 9:14 AM, Jakub Niedermertl wrot

Re: [ovirt-devel] [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432

2017-09-08 Thread Jakub Niedermertl
It still doesn't work on commit 76ec627d23 containing earlier mentioned patch https://gerrit.ovirt.org/#/c/81536/ and Fedora 26. My pg_hba.conf: https://paste.fedoraproject.org/paste/PAkTprADCbUCOKyqgRXiMQ rpm -qa postgres* postgresql-server-9.6.4-1.fc26.x86_64 postgresql-9.6.4-1.fc26.x86_64 post

Re: [ovirt-devel] [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432

2017-09-08 Thread Martin Perina
On Fri, Sep 8, 2017 at 3:01 PM, Alexander Wels wrote: > On Thursday, September 7, 2017 10:14:16 AM EDT Simone Tiraboschi wrote: > > On Thu, Sep 7, 2017 at 3:59 PM, Miroslava Voglova > > > > wrote: > > > It's because upgrade to Postgres 9.5. There is patch that edit README > with > > > more instr

Re: [ovirt-devel] [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432

2017-09-08 Thread Alexander Wels
On Thursday, September 7, 2017 10:14:16 AM EDT Simone Tiraboschi wrote: > On Thu, Sep 7, 2017 at 3:59 PM, Miroslava Voglova > > wrote: > > It's because upgrade to Postgres 9.5. There is patch that edit README with > > more instructions how to proceed [1]. > > > > [1] https://gerrit.ovirt.org/#/c

Re: [ovirt-devel] [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432

2017-09-07 Thread Simone Tiraboschi
On Thu, Sep 7, 2017 at 3:59 PM, Miroslava Voglova wrote: > It's because upgrade to Postgres 9.5. There is patch that edit README with > more instructions how to proceed [1]. > > [1] https://gerrit.ovirt.org/#/c/81536/ > I'm trying to improve that patch to have it handled almost fully automatical

Re: [ovirt-devel] [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432

2017-09-07 Thread Miroslava Voglova
It's because upgrade to Postgres 9.5. There is patch that edit README with more instructions how to proceed [1]. [1] https://gerrit.ovirt.org/#/c/81536/ On Thu, Sep 7, 2017 at 3:12 PM, Greg Sheremeta wrote: > Just in case it helps: > greg@dauntless:/home/greg/projects/ovirt-engine(master↑1|✔) %

Re: [ovirt-devel] [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432

2017-09-07 Thread Greg Sheremeta
Just in case it helps: greg@dauntless:/home/greg/projects/ovirt-engine(master↑1|✔) % noglob rpm -qa postgres* postgresql-server-9.6.3-1.fc26.x86_64 postgresql-9.6.3-1.fc26.x86_64 postgresql-libs-9.6.3-1.fc26.x86_64 On Thu, Sep 7, 2017 at 9:10 AM, Jakub Niedermertl wrote: > I have the same issue

Re: [ovirt-devel] [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432

2017-09-07 Thread Jakub Niedermertl
I have the same issue. On Thu, Sep 7, 2017 at 2:40 PM, Greg Sheremeta wrote: > I just rebased and engine wouldn't serve the UI (404) although it looked > like it started. I tried to run engine setup, and getting: > > greg@dauntless:/home/greg/projects/ovirt-engine(master↑1|✔) % > ovirt_engine_se

[ovirt-devel] [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432

2017-09-07 Thread Greg Sheremeta
I just rebased and engine wouldn't serve the UI (404) although it looked like it started. I tried to run engine setup, and getting: greg@dauntless:/home/greg/projects/ovirt-engine(master↑1|✔) % ovirt_engine_setup [ INFO ] Stage: Initializing Setup was run under unprivileged user this wi