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

Alexander Wels awels at redhat.com
Fri Sep 8 13:01:13 UTC 2017


On Thursday, September 7, 2017 10:14:16 AM EDT Simone Tiraboschi wrote:
> On Thu, Sep 7, 2017 at 3:59 PM, Miroslava Voglova <mvoglova at redhat.com>
> 
> 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
> automatically by make install-dev
> 

Can you hurry up, my environment is basically dead in the water right now 
because I run F25 and there are no instructions on how to make this work. Even 
reverting the patch won't allow me to run engine-setup.

> > On Thu, Sep 7, 2017 at 3:12 PM, Greg Sheremeta <gshereme at redhat.com>
> > 
> > wrote:
> >> Just in case it helps:
> >> greg at 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 <jniederm at redhat.com>
> >> 
> >> wrote:
> >>> I have the same issue.
> >>> 
> >>> On Thu, Sep 7, 2017 at 2:40 PM, Greg Sheremeta <gshereme at redhat.com>
> >>> 
> >>> 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 at dauntless:/home/greg/projects/ovirt-engine(master↑1|✔) %
> >>>> ovirt_engine_setup
> >>>> [ INFO  ] Stage: Initializing
> >>>> 
> >>>>           Setup was run under unprivileged user this will produce
> >>>> 
> >>>> development installation do you wish to proceed? (Yes, No) [No]: yes
> >>>> [ INFO  ] Stage: Environment setup
> >>>> 
> >>>>           Configuration files: ['/home/greg/ovirt-engine/etc/
> >>>> 
> >>>> ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
> >>>> 
> >>>>           Log file: /home/greg/ovirt-engine/var/lo
> >>>> 
> >>>> g/ovirt-engine/setup/ovirt-engine-setup-20170907083125-5vnlyd.log
> >>>> 
> >>>>           Version: otopi-1.7.2_master (otopi-1.7.2-0.0.master.201707
> >>>> 
> >>>> 25101901.git770a428.fc25)
> >>>> [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect
> >>>> to Engine database using existing credentials: engine at localhost:5432
> >>>> [ INFO  ] Stage: Clean up
> >>>> 
> >>>>           Log file is located at /home/greg/ovirt-engine/var/lo
> >>>> 
> >>>> g/ovirt-engine/setup/ovirt-engine-setup-20170907083125-5vnlyd.log
> >>>> [ INFO  ] Generating answer file '/home/greg/ovirt-engine/var/l
> >>>> ib/ovirt-engine/setup/answers/20170907083128-setup.conf'
> >>>> [ INFO  ] Stage: Pre-termination
> >>>> [ INFO  ] Stage: Termination
> >>>> [ ERROR ] Execution of setup failed
> >>>> 
> >>>> 
> >>>> Anyone else seen this or know a fix?
> >>>> 
> >>>> Best wishes,
> >>>> Greg
> >>>> 
> >>>> 
> >>>> --
> >>>> 
> >>>> GREG SHEREMETA
> >>>> 
> >>>> SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
> >>>> 
> >>>> Red Hat
> >>>> 
> >>>> <https://www.redhat.com/>
> >>>> 
> >>>> gshereme at redhat.com    IRC: gshereme
> >>>> <https://red.ht/sig>
> >>>> 
> >>>> _______________________________________________
> >>>> Devel mailing list
> >>>> Devel at ovirt.org
> >>>> http://lists.ovirt.org/mailman/listinfo/devel
> >> 
> >> _______________________________________________
> >> Devel mailing list
> >> Devel at ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/devel
> > 
> > _______________________________________________
> > Devel mailing list
> > Devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/devel




More information about the Devel mailing list