<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 8, 2017 at 9:14 PM, Alexander Wels <span dir="ltr"><<a href="mailto:awels@redhat.com" target="_blank">awels@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thursday, June 8, 2017 12:33:15 PM EDT Christopher Hunt wrote:<br>
> In my experience, the oVirt repository is NOT added by oVirt-Engine<br>
> itself. I always add the repo after installing the base OS<br>
><br>
> -Chris<br>
><br>
<br>
Yeah when I setup a host for testing I always do:<br>
<br>
1. Get minimal install of centos 7.<br>
2. yum install <a href="http://resources.ovirt.org/pub/yum-repo/ovirt-releaseXX.rpm" rel="noreferrer" target="_blank">http://resources.ovirt.org/<wbr>pub/yum-repo/ovirt-releaseXX.<wbr>rpm</a><br>
where XX is the version I am working with.<br>
3. Make sure sshd is up and running and my engine can connect.<br>
4. Install the host through the UI.<br>
<br>
Haven't had that sequence fail in years.<br></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">Yes, this is right, you need to add oVirt repositories by installing relevant ovirt-release package to the host manually before you try to add a host in webadmin. The only exception is NGN node, which already contains all required packages by default in installation image.<br></div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> On Thu, Jun 8, 2017 at 9:06 AM, Dafna Ron <<a href="mailto:dron@redhat.com">dron@redhat.com</a>> wrote:<br>
> > On 06/08/2017 04:52 PM, FERNANDO FREDIANI wrote:<br>
> ><br>
> > Hello folks.<br>
> ><br>
> > One of the most (if not the more) annoying problems of oVirt is the known<br>
> > message "... installation failed. Command returned failure code 1 during<br>
> > SSH session ..." which happens quiet often in several situations.<br>
> ><br>
> > Scrubbing installation logs it seems that most stuff goes well, but then<br>
> > it stops in a message saying: "ERROR otopi.context<br>
> > context._executeMethod:151 Failed to execute stage 'Setup validation':<br>
> > Cannot locate vdsm package, possible cause is incorrect channels" -<br>
> > followed by another message: "DEBUG otopi.context<br>
> > context.dumpEnvironment:770 ENV BASE/exceptionInfo=list:'[(<<wbr>type<br>
> > 'exceptions.RuntimeError'>, RuntimeError('Cannot locate vdsm package,<br>
> > possible cause is incorrect channels',), <traceback object at<br>
> > 0x3131ef0>)]'"<br>
> ><br>
> > I am not sure why would it complain about the repositories as this is a<br>
> > Minimal CentOS 7 Install and the oVirt repository is added by oVirt-Engine<br>
> > itself so I assumed it added the most appropriate to its own version.<br>
> > I even tried to copy over the same repositories used on the Hosts that are<br>
> > installed and working fine but that message shows up again on the Install<br>
> > retries.<br>
> ><br>
> > I am not sure what you mean by Minimal Centos 7 install. do you mean it's<br>
> > hosted engine install?<br>
> > can you please check if you can see the package by running yum search<br>
> > vdsm?<br>
> > Also, looking at the complete log would be good<br>
> ><br>
> > Does anyone have any other hints where to look ?<br>
> ><br>
> > For reference my engine version running is: 4.1.1.6-1.el7.centos.<br>
> ><br>
> > Fernando<br>
> ><br>
> ><br>
> > ______________________________<wbr>_________________<br>
> > Users mailing<br>
> > listUsers@ovirt.orghttp://<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">list<wbr>s.ovirt.org/mailman/listinfo/<wbr>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.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
</blockquote></div><br></div></div>