Error in running engine-setup

Hi, I am having a issue in running engine-setup [0day@localhost ovirt-engine]$ $HOME/ovirt-engine/bin/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/0day/ovirt-engine/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /home/0day/ovirt-engine/var/log/ovirt-engine/setup/ovirt-engine-setup-20170917195313-29bb2o.log Version: otopi-1.7.1 (otopi-1.7.1-1.el7) [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432 [ INFO ] Stage: Clean up Log file is located at /home/0day/ovirt-engine/var/log/ovirt-engine/setup/ovirt-engine-setup-20170917195313-29bb2o.log [ INFO ] Generating answer file '/home/0day/ovirt-engine/var/lib/ovirt-engine/setup/answers/20170917195316-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed the log file output is here: https://paste.ubuntu.com/25557192/ Can anyone tell me what's going wrong here? Thanks, Shubham

It's a known issue [1]. A workaround is available in the bug description [1] - https://bugzilla.redhat.com/show_bug.cgi?id=1490977 On Sun, Sep 17, 2017 at 5:30 PM, shubham dubey <sdubey504@gmail.com> wrote:
Hi, I am having a issue in running engine-setup
[0day@localhost ovirt-engine]$ $HOME/ovirt-engine/bin/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/0day/ovirt-engine/etc/ ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /home/0day/ovirt-engine/var/ log/ovirt-engine/setup/ovirt-engine-setup-20170917195313-29bb2o.log Version: otopi-1.7.1 (otopi-1.7.1-1.el7) [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432 [ INFO ] Stage: Clean up Log file is located at /home/0day/ovirt-engine/var/ log/ovirt-engine/setup/ovirt-engine-setup-20170917195313-29bb2o.log [ INFO ] Generating answer file '/home/0day/ovirt-engine/var/ lib/ovirt-engine/setup/answers/20170917195316-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed
the log file output is here: https://paste.ubuntu.com/25557192/ Can anyone tell me what's going wrong here?
Thanks, Shubham
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

Thanks for the solution. I will look into that bug. Regards, Shubham On Sun, Sep 17, 2017 at 8:05 PM, Benny Zlotnik <bzlotnik@redhat.com> wrote:
It's a known issue [1]. A workaround is available in the bug description
[1] - https://bugzilla.redhat.com/show_bug.cgi?id=1490977
On Sun, Sep 17, 2017 at 5:30 PM, shubham dubey <sdubey504@gmail.com> wrote:
Hi, I am having a issue in running engine-setup
[0day@localhost ovirt-engine]$ $HOME/ovirt-engine/bin/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/0day/ovirt-engine/etc/ ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /home/0day/ovirt-engine/var/lo g/ovirt-engine/setup/ovirt-engine-setup-20170917195313-29bb2o.log Version: otopi-1.7.1 (otopi-1.7.1-1.el7) [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432 [ INFO ] Stage: Clean up Log file is located at /home/0day/ovirt-engine/var/lo g/ovirt-engine/setup/ovirt-engine-setup-20170917195313-29bb2o.log [ INFO ] Generating answer file '/home/0day/ovirt-engine/var/l ib/ovirt-engine/setup/answers/20170917195316-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed
the log file output is here: https://paste.ubuntu.com/25557192/ Can anyone tell me what's going wrong here?
Thanks, Shubham
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

On Sun, Sep 17, 2017 at 7:32 PM, shubham dubey <sdubey504@gmail.com> wrote:
Thanks for the solution. I will look into that bug.
We already fixed it, you should simply update otopi package on your devel system.
Regards, Shubham
On Sun, Sep 17, 2017 at 8:05 PM, Benny Zlotnik <bzlotnik@redhat.com> wrote:
It's a known issue [1]. A workaround is available in the bug description
[1] - https://bugzilla.redhat.com/show_bug.cgi?id=1490977
On Sun, Sep 17, 2017 at 5:30 PM, shubham dubey <sdubey504@gmail.com> wrote:
Hi, I am having a issue in running engine-setup
[0day@localhost ovirt-engine]$ $HOME/ovirt-engine/bin/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/0day/ovirt-engine/etc/ ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /home/0day/ovirt-engine/var/lo g/ovirt-engine/setup/ovirt-engine-setup-20170917195313-29bb2o.log Version: otopi-1.7.1 (otopi-1.7.1-1.el7) [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432 [ INFO ] Stage: Clean up Log file is located at /home/0day/ovirt-engine/var/lo g/ovirt-engine/setup/ovirt-engine-setup-20170917195313-29bb2o.log [ INFO ] Generating answer file '/home/0day/ovirt-engine/var/l ib/ovirt-engine/setup/answers/20170917195316-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed
the log file output is here: https://paste.ubuntu.com/25557192/ Can anyone tell me what's going wrong here?
Thanks, Shubham
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
participants (3)
-
Benny Zlotnik
-
shubham dubey
-
Simone Tiraboschi