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