[ovirt-users] Help to setup ovirt release 40

Yedidyah Bar David didi at redhat.com
Tue Dec 13 14:14:43 UTC 2016


On Tue, Dec 13, 2016 at 4:10 PM, TranceWorldLogic .
<tranceworldlogic at 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 at 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 at redhat.com> wrote:
>>
>>
>>
>> On Tue, Dec 13, 2016 at 2:51 PM, TranceWorldLogic .
>> <tranceworldlogic at 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 at 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 at 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 at 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 at 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 at 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 at 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 at ovirt.org
>>>>>>>> http://lists.phx.ovirt.org/mailman/listinfo/users
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Users mailing list
>>>>>>> Users at ovirt.org
>>>>>>> http://lists.phx.ovirt.org/mailman/listinfo/users
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.phx.ovirt.org/mailman/listinfo/users
>



-- 
Didi



More information about the Users mailing list