Host install common error

This is a multi-part message in MIME format. --------------B17F4A1A13CE833AC9902298 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello folks. One of the most (if not the more) annoying problems of oVirt is the known message "... installation failed. Command returned failure code 1 during SSH session ..." which happens quiet often in several situations. Scrubbing installation logs it seems that most stuff goes well, but then it stops in a message saying: "ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Setup validation': Cannot locate vdsm package, possible cause is incorrect channels" - followed by another message: "DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>, RuntimeError('Cannot locate vdsm package, possible cause is incorrect channels',), <traceback object at 0x3131ef0>)]'" I am not sure why would it complain about the repositories as this is a Minimal CentOS 7 Install and the oVirt repository is added by oVirt-Engine itself so I assumed it added the most appropriate to its own version. I even tried to copy over the same repositories used on the Hosts that are installed and working fine but that message shows up again on the Install retries. Does anyone have any other hints where to look ? For reference my engine version running is: 4.1.1.6-1.el7.centos. Fernando --------------B17F4A1A13CE833AC9902298 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> </head> <body bgcolor="#FFFFFF" text="#000000"> <font face="arial, helvetica, sans-serif">Hello folks.<br> <br> One of the most (if not the more) annoying problems of oVirt is the known message "... installation failed. Command returned failure code 1 during SSH session ..." which happens quiet often in several situations.<br> <br> Scrubbing installation logs it seems that most stuff goes well, but then it stops in a message saying: "ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Setup validation': Cannot locate vdsm package, possible cause is incorrect channels" - followed by another message: "DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>, RuntimeError('Cannot locate vdsm package, possible cause is incorrect channels',), <traceback object at 0x3131ef0>)]'"<br> <br> I am not sure why would it complain about the repositories as this is a Minimal CentOS 7 Install and the oVirt repository is added by oVirt-Engine 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 installed and working fine but that message shows up again on the Install retries.<br> <br> Does anyone have any other hints where to look ?<br> <br> For reference my engine version running is: </font><span class="version-text">4.1.1.6-1.el7.centos.<br> <br> Fernando<br> </span> </body> </html> --------------B17F4A1A13CE833AC9902298--

This is a multi-part message in MIME format. --------------4105CEF12DD4D44C63B48A2D Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 06/08/2017 04:52 PM, FERNANDO FREDIANI wrote:
Hello folks.
One of the most (if not the more) annoying problems of oVirt is the known message "... installation failed. Command returned failure code 1 during SSH session ..." which happens quiet often in several situations.
Scrubbing installation logs it seems that most stuff goes well, but then it stops in a message saying: "ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Setup validation': Cannot locate vdsm package, possible cause is incorrect channels" - followed by another message: "DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>, RuntimeError('Cannot locate vdsm package, possible cause is incorrect channels',), <traceback object at 0x3131ef0>)]'"
I am not sure why would it complain about the repositories as this is a Minimal CentOS 7 Install and the oVirt repository is added by oVirt-Engine itself so I assumed it added the most appropriate to its own version. I even tried to copy over the same repositories used on the Hosts that are installed and working fine but that message shows up again on the Install retries.
I am not sure what you mean by Minimal Centos 7 install. do you mean it's hosted engine install? can you please check if you can see the package by running yum search vdsm? Also, looking at the complete log would be good
Does anyone have any other hints where to look ?
For reference my engine version running is: 4.1.1.6-1.el7.centos.
Fernando
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------4105CEF12DD4D44C63B48A2D Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <div class="moz-cite-prefix"><br> On 06/08/2017 04:52 PM, FERNANDO FREDIANI wrote:<br> </div> <blockquote type="cite" cite="mid:341a83b9-58a0-3482-6d11-2c55532b5a13@upx.com"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <font face="arial, helvetica, sans-serif">Hello folks.<br> <br> One of the most (if not the more) annoying problems of oVirt is the known message "... installation failed. Command returned failure code 1 during SSH session ..." which happens quiet often in several situations.<br> <br> Scrubbing installation logs it seems that most stuff goes well, but then it stops in a message saying: "ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Setup validation': Cannot locate vdsm package, possible cause is incorrect channels" - followed by another message: "DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>, RuntimeError('Cannot locate vdsm package, possible cause is incorrect channels',), <traceback object at 0x3131ef0>)]'"<br> <br> I am not sure why would it complain about the repositories as this is a Minimal CentOS 7 Install and the oVirt repository is added by oVirt-Engine 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 installed and working fine but that message shows up again on the Install retries.<br> <br> </font></blockquote> <font face="arial, helvetica, sans-serif">I am not sure what you mean by Minimal Centos 7 install. do you mean it's hosted engine install? <br> can you please check if you can see the package by running yum search vdsm? <br> Also, looking at the complete log would be good <br> </font> <blockquote type="cite" cite="mid:341a83b9-58a0-3482-6d11-2c55532b5a13@upx.com"><font face="arial, helvetica, sans-serif"> Does anyone have any other hints where to look ?<br> <br> For reference my engine version running is: </font><span class="version-text">4.1.1.6-1.el7.centos.<br> <br> Fernando<br> </span> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <p><br> </p> </body> </html> --------------4105CEF12DD4D44C63B48A2D--

In my experience, the oVirt repository is NOT added by oVirt-Engine itself. I always add the repo after installing the base OS -Chris On Thu, Jun 8, 2017 at 9:06 AM, Dafna Ron <dron@redhat.com> wrote:
On 06/08/2017 04:52 PM, FERNANDO FREDIANI wrote:
Hello folks.
One of the most (if not the more) annoying problems of oVirt is the known message "... installation failed. Command returned failure code 1 during SSH session ..." which happens quiet often in several situations.
Scrubbing installation logs it seems that most stuff goes well, but then it stops in a message saying: "ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Setup validation': Cannot locate vdsm package, possible cause is incorrect channels" - followed by another message: "DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>, RuntimeError('Cannot locate vdsm package, possible cause is incorrect channels',), <traceback object at 0x3131ef0>)]'"
I am not sure why would it complain about the repositories as this is a Minimal CentOS 7 Install and the oVirt repository is added by oVirt-Engine itself so I assumed it added the most appropriate to its own version. I even tried to copy over the same repositories used on the Hosts that are installed and working fine but that message shows up again on the Install retries.
I am not sure what you mean by Minimal Centos 7 install. do you mean it's hosted engine install? can you please check if you can see the package by running yum search vdsm? Also, looking at the complete log would be good
Does anyone have any other hints where to look ?
For reference my engine version running is: 4.1.1.6-1.el7.centos.
Fernando
_______________________________________________ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Thursday, June 8, 2017 12:33:15 PM EDT Christopher Hunt wrote:
In my experience, the oVirt repository is NOT added by oVirt-Engine itself. I always add the repo after installing the base OS
-Chris
Yeah when I setup a host for testing I always do: 1. Get minimal install of centos 7. 2. yum install http://resources.ovirt.org/pub/yum-repo/ovirt-releaseXX.rpm where XX is the version I am working with. 3. Make sure sshd is up and running and my engine can connect. 4. Install the host through the UI. Haven't had that sequence fail in years.
On Thu, Jun 8, 2017 at 9:06 AM, Dafna Ron <dron@redhat.com> wrote:
On 06/08/2017 04:52 PM, FERNANDO FREDIANI wrote:
Hello folks.
One of the most (if not the more) annoying problems of oVirt is the known message "... installation failed. Command returned failure code 1 during SSH session ..." which happens quiet often in several situations.
Scrubbing installation logs it seems that most stuff goes well, but then it stops in a message saying: "ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Setup validation': Cannot locate vdsm package, possible cause is incorrect channels" - followed by another message: "DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>, RuntimeError('Cannot locate vdsm package, possible cause is incorrect channels',), <traceback object at 0x3131ef0>)]'"
I am not sure why would it complain about the repositories as this is a Minimal CentOS 7 Install and the oVirt repository is added by oVirt-Engine itself so I assumed it added the most appropriate to its own version. I even tried to copy over the same repositories used on the Hosts that are installed and working fine but that message shows up again on the Install retries.
I am not sure what you mean by Minimal Centos 7 install. do you mean it's hosted engine install? can you please check if you can see the package by running yum search vdsm? Also, looking at the complete log would be good
Does anyone have any other hints where to look ?
For reference my engine version running is: 4.1.1.6-1.el7.centos.
Fernando
_______________________________________________ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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