Help to setup ovirt release 40

Hi, I have tried below steps to setup ovirt-engine on centos 6 os. Please help me to install ovirt engine on my machine. Steps: 1> Install "ovirt relase 40 rpm" Download from http://plain.resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm 2> executed command "postgresql-setup initdb" --- output --- Initializing database ... OK ------------------ 3> executed command "systemctl restart postgresql.service" 4> executed command " engine-setup --log=/tmp/engine-setup.log" --- output --- # engine-setup --log=/tmp/engine-setup.log [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /tmp/engine-setup.log Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos) [ 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 /tmp/engine-setup.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20161213080658-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed ------------------ I have attached log file to this mail. Thanks, ~Rohit

why are you still using centos 6? IIRC centos 6 is not supported anymore as vdsm related problems. you have manual here : http://www.ovirt.org/documentation/quickstart/quickstart-guide/ you can use guidance from http://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster-... to have an idea as well.. JP 2016-12-13 10:13 GMT-03:00 TranceWorldLogic . <tranceworldlogic@gmail.com>:
Hi,
I have tried below steps to setup ovirt-engine on centos 6 os. Please help me to install ovirt engine on my machine.
Steps: 1> Install "ovirt relase 40 rpm" Download from http://plain.resources.ovirt.org/pub/yum-repo/ovirt- release40.rpm
2> executed command "postgresql-setup initdb" --- output --- Initializing database ... OK ------------------
3> executed command "systemctl restart postgresql.service"
4> executed command " engine-setup --log=/tmp/engine-setup.log" --- output --- # engine-setup --log=/tmp/engine-setup.log [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup. conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /tmp/engine-setup.log Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos) [ 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 /tmp/engine-setup.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/ answers/20161213080658-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed ------------------
I have attached log file to this mail.
Thanks, ~Rohit
_______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users

Hi, only Centos/RHEL 7 is supported for oVirt 4. Please take a look at [1] for correct installation steps on EL7. Thanks Martin Perina [1] http://www.ovirt.org/release/4.0.5/ On Tue, Dec 13, 2016 at 2:30 PM, Juan Pablo <pablo.localhost@gmail.com> wrote:
why are you still using centos 6? IIRC centos 6 is not supported anymore as vdsm related problems.
you have manual here : http://www.ovirt.org/documentation/quickstart/ quickstart-guide/ you can use guidance from http://www.ovirt.org/blog/ 2016/08/up-and-running-with-ovirt-4-0-and-gluster-storage/ to have an idea as well..
JP
2016-12-13 10:13 GMT-03:00 TranceWorldLogic . <tranceworldlogic@gmail.com> :
Hi,
I have tried below steps to setup ovirt-engine on centos 6 os. Please help me to install ovirt engine on my machine.
Steps: 1> Install "ovirt relase 40 rpm" Download from http://plain.resources.ovirt.o rg/pub/yum-repo/ovirt-release40.rpm
2> executed command "postgresql-setup initdb" --- output --- Initializing database ... OK ------------------
3> executed command "systemctl restart postgresql.service"
4> executed command " engine-setup --log=/tmp/engine-setup.log" --- output --- # engine-setup --log=/tmp/engine-setup.log [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /tmp/engine-setup.log Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos) [ 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 /tmp/engine-setup.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/ 20161213080658-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed ------------------
I have attached log file to this mail.
Thanks, ~Rohit
_______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users

Thanks for information. Would I get to know setup procedure ? On Tue, Dec 13, 2016 at 7:05 PM, Martin Perina <mperina@redhat.com> wrote:
Hi,
only Centos/RHEL 7 is supported for oVirt 4. Please take a look at [1] for correct installation steps on EL7.
Thanks
Martin Perina
[1] http://www.ovirt.org/release/4.0.5/
On Tue, Dec 13, 2016 at 2:30 PM, Juan Pablo <pablo.localhost@gmail.com> wrote:
why are you still using centos 6? IIRC centos 6 is not supported anymore as vdsm related problems.
you have manual here : http://www.ovirt.org/documenta tion/quickstart/quickstart-guide/ you can use guidance from http://www.ovirt.org/blog/2016 /08/up-and-running-with-ovirt-4-0-and-gluster-storage/ to have an idea as well..
JP
2016-12-13 10:13 GMT-03:00 TranceWorldLogic . <tranceworldlogic@gmail.com
:
Hi,
I have tried below steps to setup ovirt-engine on centos 6 os. Please help me to install ovirt engine on my machine.
Steps: 1> Install "ovirt relase 40 rpm" Download from http://plain.resources.ovirt.o rg/pub/yum-repo/ovirt-release40.rpm
2> executed command "postgresql-setup initdb" --- output --- Initializing database ... OK ------------------
3> executed command "systemctl restart postgresql.service"
4> executed command " engine-setup --log=/tmp/engine-setup.log" --- output --- # engine-setup --log=/tmp/engine-setup.log [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /tmp/engine-setup.log Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos) [ 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 /tmp/engine-setup.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/ 20161213080658-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed ------------------
I have attached log file to this mail.
Thanks, ~Rohit
_______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users

Hi, for basic default installation of oVirt 4 you need to perform following steps on Centos/RHEL 7 host: # yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm # yum install ovirt-engine # engine-setup Martin Perina On Tue, Dec 13, 2016 at 2:38 PM, TranceWorldLogic . < tranceworldlogic@gmail.com> wrote:
Thanks for information.
Would I get to know setup procedure ?
On Tue, Dec 13, 2016 at 7:05 PM, Martin Perina <mperina@redhat.com> wrote:
Hi,
only Centos/RHEL 7 is supported for oVirt 4. Please take a look at [1] for correct installation steps on EL7.
Thanks
Martin Perina
[1] http://www.ovirt.org/release/4.0.5/
On Tue, Dec 13, 2016 at 2:30 PM, Juan Pablo <pablo.localhost@gmail.com> wrote:
why are you still using centos 6? IIRC centos 6 is not supported anymore as vdsm related problems.
you have manual here : http://www.ovirt.org/documenta tion/quickstart/quickstart-guide/ you can use guidance from http://www.ovirt.org/blog/2016 /08/up-and-running-with-ovirt-4-0-and-gluster-storage/ to have an idea as well..
JP
2016-12-13 10:13 GMT-03:00 TranceWorldLogic . < tranceworldlogic@gmail.com>:
Hi,
I have tried below steps to setup ovirt-engine on centos 6 os. Please help me to install ovirt engine on my machine.
Steps: 1> Install "ovirt relase 40 rpm" Download from http://plain.resources.ovirt.o rg/pub/yum-repo/ovirt-release40.rpm
2> executed command "postgresql-setup initdb" --- output --- Initializing database ... OK ------------------
3> executed command "systemctl restart postgresql.service"
4> executed command " engine-setup --log=/tmp/engine-setup.log" --- output --- # engine-setup --log=/tmp/engine-setup.log [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /tmp/engine-setup.log Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos) [ 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 /tmp/engine-setup.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/ 20161213080658-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed ------------------
I have attached log file to this mail.
Thanks, ~Rohit
_______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users

Hi, I want to confirm one doubt. I face issue with engine datatbase hence I had executed step 1 and 2. On centos 7 I need not to execute those right ? Thanks, ~Rohit On Tue, Dec 13, 2016 at 7:12 PM, Martin Perina <mperina@redhat.com> wrote:
Hi,
for basic default installation of oVirt 4 you need to perform following steps on Centos/RHEL 7 host:
# yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm # yum install ovirt-engine # engine-setup
Martin Perina
On Tue, Dec 13, 2016 at 2:38 PM, TranceWorldLogic . < tranceworldlogic@gmail.com> wrote:
Thanks for information.
Would I get to know setup procedure ?
On Tue, Dec 13, 2016 at 7:05 PM, Martin Perina <mperina@redhat.com> wrote:
Hi,
only Centos/RHEL 7 is supported for oVirt 4. Please take a look at [1] for correct installation steps on EL7.
Thanks
Martin Perina
[1] http://www.ovirt.org/release/4.0.5/
On Tue, Dec 13, 2016 at 2:30 PM, Juan Pablo <pablo.localhost@gmail.com> wrote:
why are you still using centos 6? IIRC centos 6 is not supported anymore as vdsm related problems.
you have manual here : http://www.ovirt.org/documenta tion/quickstart/quickstart-guide/ you can use guidance from http://www.ovirt.org/blog/2016 /08/up-and-running-with-ovirt-4-0-and-gluster-storage/ to have an idea as well..
JP
2016-12-13 10:13 GMT-03:00 TranceWorldLogic . < tranceworldlogic@gmail.com>:
Hi,
I have tried below steps to setup ovirt-engine on centos 6 os. Please help me to install ovirt engine on my machine.
Steps: 1> Install "ovirt relase 40 rpm" Download from http://plain.resources.ovirt.o rg/pub/yum-repo/ovirt-release40.rpm
2> executed command "postgresql-setup initdb" --- output --- Initializing database ... OK ------------------
3> executed command "systemctl restart postgresql.service"
4> executed command " engine-setup --log=/tmp/engine-setup.log" --- output --- # engine-setup --log=/tmp/engine-setup.log [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /tmp/engine-setup.log Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos) [ 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 /tmp/engine-setup.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/ 20161213080658-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed ------------------
I have attached log file to this mail.
Thanks, ~Rohit
_______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users

On Tue, Dec 13, 2016 at 3:51 PM, TranceWorldLogic . <tranceworldlogic@gmail.com> wrote:
Hi,
I want to confirm one doubt. I face issue with engine datatbase hence I had executed step 1 and 2. On centos 7 I need not to execute those right ?
Right. engine-setup can do everything for you. To start from scratch you can do something like this: service postgresql stop rm -rf /var/lib/pgsql/data Best,
Thanks, ~Rohit
On Tue, Dec 13, 2016 at 7:12 PM, Martin Perina <mperina@redhat.com> wrote:
Hi,
for basic default installation of oVirt 4 you need to perform following steps on Centos/RHEL 7 host:
# yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm # yum install ovirt-engine # engine-setup
Martin Perina
On Tue, Dec 13, 2016 at 2:38 PM, TranceWorldLogic . <tranceworldlogic@gmail.com> wrote:
Thanks for information.
Would I get to know setup procedure ?
On Tue, Dec 13, 2016 at 7:05 PM, Martin Perina <mperina@redhat.com> wrote:
Hi,
only Centos/RHEL 7 is supported for oVirt 4. Please take a look at [1] for correct installation steps on EL7.
Thanks
Martin Perina
[1] http://www.ovirt.org/release/4.0.5/
On Tue, Dec 13, 2016 at 2:30 PM, Juan Pablo <pablo.localhost@gmail.com> wrote:
why are you still using centos 6? IIRC centos 6 is not supported anymore as vdsm related problems.
you have manual here : http://www.ovirt.org/documentation/quickstart/quickstart-guide/ you can use guidance from http://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster-... to have an idea as well..
JP
2016-12-13 10:13 GMT-03:00 TranceWorldLogic . <tranceworldlogic@gmail.com>:
Hi,
I have tried below steps to setup ovirt-engine on centos 6 os. Please help me to install ovirt engine on my machine.
Steps: 1> Install "ovirt relase 40 rpm" Download from http://plain.resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm
2> executed command "postgresql-setup initdb" --- output --- Initializing database ... OK ------------------
3> executed command "systemctl restart postgresql.service"
4> executed command " engine-setup --log=/tmp/engine-setup.log" --- output --- # engine-setup --log=/tmp/engine-setup.log [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /tmp/engine-setup.log Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos) [ 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 /tmp/engine-setup.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20161213080658-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed ------------------
I have attached log file to this mail.
Thanks, ~Rohit
_______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users
-- Didi

On Tue, Dec 13, 2016 at 2:51 PM, TranceWorldLogic . < tranceworldlogic@gmail.com> wrote:
Hi,
I want to confirm one doubt. I face issue with engine datatbase hence I had executed step 1 and 2. On centos 7 I need not to execute those right ?
You need to perform exactly those steps I wrote below to install oVirt 4, all dependencies including PostgreSQL are automatically resolved either by 'yum install ovirt-engine' or by 'engine-setup'. If you still have some issues, please provide exact errors from 'yum install' steps or setup logs from 'engine-setup' step. Thanks Martin Perina
Thanks, ~Rohit
On Tue, Dec 13, 2016 at 7:12 PM, Martin Perina <mperina@redhat.com> wrote:
Hi,
for basic default installation of oVirt 4 you need to perform following steps on Centos/RHEL 7 host:
# yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm # yum install ovirt-engine # engine-setup
Martin Perina
On Tue, Dec 13, 2016 at 2:38 PM, TranceWorldLogic . < tranceworldlogic@gmail.com> wrote:
Thanks for information.
Would I get to know setup procedure ?
On Tue, Dec 13, 2016 at 7:05 PM, Martin Perina <mperina@redhat.com> wrote:
Hi,
only Centos/RHEL 7 is supported for oVirt 4. Please take a look at [1] for correct installation steps on EL7.
Thanks
Martin Perina
[1] http://www.ovirt.org/release/4.0.5/
On Tue, Dec 13, 2016 at 2:30 PM, Juan Pablo <pablo.localhost@gmail.com> wrote:
why are you still using centos 6? IIRC centos 6 is not supported anymore as vdsm related problems.
you have manual here : http://www.ovirt.org/documenta tion/quickstart/quickstart-guide/ you can use guidance from http://www.ovirt.org/blog/2016 /08/up-and-running-with-ovirt-4-0-and-gluster-storage/ to have an idea as well..
JP
2016-12-13 10:13 GMT-03:00 TranceWorldLogic . < tranceworldlogic@gmail.com>:
Hi,
I have tried below steps to setup ovirt-engine on centos 6 os. Please help me to install ovirt engine on my machine.
Steps: 1> Install "ovirt relase 40 rpm" Download from http://plain.resources.ovirt.o rg/pub/yum-repo/ovirt-release40.rpm
2> executed command "postgresql-setup initdb" --- output --- Initializing database ... OK ------------------
3> executed command "systemctl restart postgresql.service"
4> executed command " engine-setup --log=/tmp/engine-setup.log" --- output --- # engine-setup --log=/tmp/engine-setup.log [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /tmp/engine-setup.log Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos) [ 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 /tmp/engine-setup.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/a nswers/20161213080658-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed ------------------
I have attached log file to this mail.
Thanks, ~Rohit
_______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users

Hi Martin, I tried on centos 7. And got same error as mention in last mail steps: --- output --- # engine-setup [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20161213090943-kexz5t.log Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos) [ 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 /var/log/ovirt-engine/setup/ovirt-engine-setup-20161213090943-kexz5t.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20161213090944-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed ------------------ Thanks, ~Rohit On Tue, Dec 13, 2016 at 7:25 PM, Martin Perina <mperina@redhat.com> wrote:
On Tue, Dec 13, 2016 at 2:51 PM, TranceWorldLogic . < tranceworldlogic@gmail.com> wrote:
Hi,
I want to confirm one doubt. I face issue with engine datatbase hence I had executed step 1 and 2. On centos 7 I need not to execute those right ?
You need to perform exactly those steps I wrote below to install oVirt 4, all dependencies including PostgreSQL are automatically resolved either by 'yum install ovirt-engine' or by 'engine-setup'. If you still have some issues, please provide exact errors from 'yum install' steps or setup logs from 'engine-setup' step.
Thanks
Martin Perina
Thanks, ~Rohit
On Tue, Dec 13, 2016 at 7:12 PM, Martin Perina <mperina@redhat.com> wrote:
Hi,
for basic default installation of oVirt 4 you need to perform following steps on Centos/RHEL 7 host:
# yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm # yum install ovirt-engine # engine-setup
Martin Perina
On Tue, Dec 13, 2016 at 2:38 PM, TranceWorldLogic . < tranceworldlogic@gmail.com> wrote:
Thanks for information.
Would I get to know setup procedure ?
On Tue, Dec 13, 2016 at 7:05 PM, Martin Perina <mperina@redhat.com> wrote:
Hi,
only Centos/RHEL 7 is supported for oVirt 4. Please take a look at [1] for correct installation steps on EL7.
Thanks
Martin Perina
[1] http://www.ovirt.org/release/4.0.5/
On Tue, Dec 13, 2016 at 2:30 PM, Juan Pablo <pablo.localhost@gmail.com
wrote:
why are you still using centos 6? IIRC centos 6 is not supported anymore as vdsm related problems.
you have manual here : http://www.ovirt.org/documenta tion/quickstart/quickstart-guide/ you can use guidance from http://www.ovirt.org/blog/2016 /08/up-and-running-with-ovirt-4-0-and-gluster-storage/ to have an idea as well..
JP
2016-12-13 10:13 GMT-03:00 TranceWorldLogic . < tranceworldlogic@gmail.com>:
> Hi, > > I have tried below steps to setup ovirt-engine on centos 6 os. > Please help me to install ovirt engine on my machine. > > Steps: > 1> Install "ovirt relase 40 rpm" > Download from http://plain.resources.ovirt.o > rg/pub/yum-repo/ovirt-release40.rpm > > 2> executed command "postgresql-setup initdb" > --- output --- > Initializing database ... OK > ------------------ > > 3> executed command "systemctl restart postgresql.service" > > 4> executed command " engine-setup --log=/tmp/engine-setup.log" > --- output --- > # engine-setup --log=/tmp/engine-setup.log > [ INFO ] Stage: Initializing > [ INFO ] Stage: Environment setup > Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', > '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', > '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] > Log file: /tmp/engine-setup.log > Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos) > [ 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 /tmp/engine-setup.log > [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/a > nswers/20161213080658-setup.conf' > [ INFO ] Stage: Pre-termination > [ INFO ] Stage: Termination > [ ERROR ] Execution of setup failed > ------------------ > > I have attached log file to this mail. > > Thanks, > ~Rohit > > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.phx.ovirt.org/mailman/listinfo/users > >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users

On Tue, Dec 13, 2016 at 4:10 PM, TranceWorldLogic . <tranceworldlogic@gmail.com> wrote:
Hi Martin,
I tried on centos 7. And got same error as mention in last mail steps: --- output --- # engine-setup [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20161213090943-kexz5t.log Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos) [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432
Is this on a clean machine? Not having conf from previous setups/attempts?
[ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20161213090943-kexz5t.log
Please share above setup log. Thanks.
[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20161213090944-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed
------------------
Thanks, ~Rohit
On Tue, Dec 13, 2016 at 7:25 PM, Martin Perina <mperina@redhat.com> wrote:
On Tue, Dec 13, 2016 at 2:51 PM, TranceWorldLogic . <tranceworldlogic@gmail.com> wrote:
Hi,
I want to confirm one doubt. I face issue with engine datatbase hence I had executed step 1 and 2. On centos 7 I need not to execute those right ?
You need to perform exactly those steps I wrote below to install oVirt 4, all dependencies including PostgreSQL are automatically resolved either by 'yum install ovirt-engine' or by 'engine-setup'. If you still have some issues, please provide exact errors from 'yum install' steps or setup logs from 'engine-setup' step.
Thanks
Martin Perina
Thanks, ~Rohit
On Tue, Dec 13, 2016 at 7:12 PM, Martin Perina <mperina@redhat.com> wrote:
Hi,
for basic default installation of oVirt 4 you need to perform following steps on Centos/RHEL 7 host:
# yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm # yum install ovirt-engine # engine-setup
Martin Perina
On Tue, Dec 13, 2016 at 2:38 PM, TranceWorldLogic . <tranceworldlogic@gmail.com> wrote:
Thanks for information.
Would I get to know setup procedure ?
On Tue, Dec 13, 2016 at 7:05 PM, Martin Perina <mperina@redhat.com> wrote:
Hi,
only Centos/RHEL 7 is supported for oVirt 4. Please take a look at [1] for correct installation steps on EL7.
Thanks
Martin Perina
[1] http://www.ovirt.org/release/4.0.5/
On Tue, Dec 13, 2016 at 2:30 PM, Juan Pablo <pablo.localhost@gmail.com> wrote: > > why are you still using centos 6? IIRC centos 6 is not supported > anymore as vdsm related problems. > > you have manual here : > http://www.ovirt.org/documentation/quickstart/quickstart-guide/ > you can use guidance from > http://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster-... > to have an idea as well.. > > JP > > 2016-12-13 10:13 GMT-03:00 TranceWorldLogic . > <tranceworldlogic@gmail.com>: >> >> Hi, >> >> I have tried below steps to setup ovirt-engine on centos 6 os. >> Please help me to install ovirt engine on my machine. >> >> Steps: >> 1> Install "ovirt relase 40 rpm" >> Download from >> http://plain.resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm >> >> 2> executed command "postgresql-setup initdb" >> --- output --- >> Initializing database ... OK >> ------------------ >> >> 3> executed command "systemctl restart postgresql.service" >> >> 4> executed command " engine-setup --log=/tmp/engine-setup.log" >> --- output --- >> # engine-setup --log=/tmp/engine-setup.log >> [ INFO ] Stage: Initializing >> [ INFO ] Stage: Environment setup >> Configuration files: >> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', >> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', >> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] >> Log file: /tmp/engine-setup.log >> Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos) >> [ 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 /tmp/engine-setup.log >> [ INFO ] Generating answer file >> '/var/lib/ovirt-engine/setup/answers/20161213080658-setup.conf' >> [ INFO ] Stage: Pre-termination >> [ INFO ] Stage: Termination >> [ ERROR ] Execution of setup failed >> ------------------ >> >> I have attached log file to this mail. >> >> Thanks, >> ~Rohit >> >> _______________________________________________ >> Users mailing list >> Users@ovirt.org >> http://lists.phx.ovirt.org/mailman/listinfo/users >> > > > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.phx.ovirt.org/mailman/listinfo/users >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users
-- Didi

Hi Martin, I am sorry, I am trying installing ovirt on my VM OS (cntos). And here I had 2 VMs Centos 7 and 6. And I had played around some configuration in both VM and hence it was failing. I forgot what I had executed in that VM. Anyway, after fresh installation. I am able to setup ovirt-engine. Thanks for your help and sorry for wrong trial. ~Rohit On Tue, Dec 13, 2016 at 7:44 PM, Yedidyah Bar David <didi@redhat.com> wrote:
On Tue, Dec 13, 2016 at 4:10 PM, TranceWorldLogic . <tranceworldlogic@gmail.com> wrote:
Hi Martin,
I tried on centos 7. And got same error as mention in last mail steps: --- output --- # engine-setup [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20161213090943-kexz5t.log Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos) [ ERROR ] Failed to execute stage 'Environment setup': Cannot connect to Engine database using existing credentials: engine@localhost:5432
Is this on a clean machine? Not having conf from previous setups/attempts?
[ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20161213090943-kexz5t.log
Please share above setup log. Thanks.
[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20161213090944-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed
------------------
Thanks, ~Rohit
On Tue, Dec 13, 2016 at 7:25 PM, Martin Perina <mperina@redhat.com> wrote:
On Tue, Dec 13, 2016 at 2:51 PM, TranceWorldLogic . <tranceworldlogic@gmail.com> wrote:
Hi,
I want to confirm one doubt. I face issue with engine datatbase hence I had executed step 1 and 2. On centos 7 I need not to execute those right ?
You need to perform exactly those steps I wrote below to install oVirt
4,
all dependencies including PostgreSQL are automatically resolved either by 'yum install ovirt-engine' or by 'engine-setup'. If you still have some issues, please provide exact errors from 'yum install' steps or setup logs from 'engine-setup' step.
Thanks
Martin Perina
Thanks, ~Rohit
On Tue, Dec 13, 2016 at 7:12 PM, Martin Perina <mperina@redhat.com> wrote:
Hi,
for basic default installation of oVirt 4 you need to perform
following
steps on Centos/RHEL 7 host:
# yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm # yum install ovirt-engine # engine-setup
Martin Perina
On Tue, Dec 13, 2016 at 2:38 PM, TranceWorldLogic . <tranceworldlogic@gmail.com> wrote:
Thanks for information.
Would I get to know setup procedure ?
On Tue, Dec 13, 2016 at 7:05 PM, Martin Perina <mperina@redhat.com> wrote: > > Hi, > > only Centos/RHEL 7 is supported for oVirt 4. Please take a look at
[1]
> for correct installation steps on EL7. > > Thanks > > Martin Perina > > [1] http://www.ovirt.org/release/4.0.5/ > > > On Tue, Dec 13, 2016 at 2:30 PM, Juan Pablo > <pablo.localhost@gmail.com> wrote: >> >> why are you still using centos 6? IIRC centos 6 is not supported >> anymore as vdsm related problems. >> >> you have manual here : >> http://www.ovirt.org/documentation/quickstart/quickstart-guide/ >> you can use guidance from >> http://www.ovirt.org/blog/2016/08/up-and-running-with- ovirt-4-0-and-gluster-storage/ >> to have an idea as well.. >> >> JP >> >> 2016-12-13 10:13 GMT-03:00 TranceWorldLogic . >> <tranceworldlogic@gmail.com>: >>> >>> Hi, >>> >>> I have tried below steps to setup ovirt-engine on centos 6 os. >>> Please help me to install ovirt engine on my machine. >>> >>> Steps: >>> 1> Install "ovirt relase 40 rpm" >>> Download from >>> http://plain.resources.ovirt.org/pub/yum-repo/ovirt-release40.rpm >>> >>> 2> executed command "postgresql-setup initdb" >>> --- output --- >>> Initializing database ... OK >>> ------------------ >>> >>> 3> executed command "systemctl restart postgresql.service" >>> >>> 4> executed command " engine-setup --log=/tmp/engine-setup.log" >>> --- output --- >>> # engine-setup --log=/tmp/engine-setup.log >>> [ INFO ] Stage: Initializing >>> [ INFO ] Stage: Environment setup >>> Configuration files: >>> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', >>> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', >>> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] >>> Log file: /tmp/engine-setup.log >>> Version: otopi-1.5.2 (otopi-1.5.2-1.el7.centos) >>> [ 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 /tmp/engine-setup.log >>> [ INFO ] Generating answer file >>> '/var/lib/ovirt-engine/setup/answers/20161213080658-setup.conf' >>> [ INFO ] Stage: Pre-termination >>> [ INFO ] Stage: Termination >>> [ ERROR ] Execution of setup failed >>> ------------------ >>> >>> I have attached log file to this mail. >>> >>> Thanks, >>> ~Rohit >>> >>> _______________________________________________ >>> Users mailing list >>> Users@ovirt.org >>> http://lists.phx.ovirt.org/mailman/listinfo/users >>> >> >> >> _______________________________________________ >> Users mailing list >> Users@ovirt.org >> http://lists.phx.ovirt.org/mailman/listinfo/users >> >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.phx.ovirt.org/mailman/listinfo/users
-- Didi
participants (4)
-
Juan Pablo
-
Martin Perina
-
TranceWorldLogic .
-
Yedidyah Bar David