<div dir="ltr"><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Hi Aleksey,<br><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">the error message is raised by Host upgrade manager (more info at [1]) which checks for available package upgrades on the host.<br><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">It seems that you have somehow corrupted repository configuration of the host &#39;​<a href="http://kom-ad01-vm31.holding.com">kom-ad01-vm31.holding.com</a>&#39;:<br><br>​2016-09-12 02:00:13,300 ERROR [org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase] (VdsDeploy) [] Yum Cannot queue package iproute: Cannot find a valid baseurl for repo: base/7/x86_64<br>
2016-09-12 02:00:13,304 ERROR [org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase]
 (VdsDeploy) [] Failed to execute stage &#39;Environment packages setup&#39;: 
Cannot find a valid baseurl for repo: base/7/x86_64<br><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Could you please verify that you are able to successfully execute following commands on the host?<br><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">  yum check-update<br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">  yum update vdsm vdsm-cli<br><br><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Thanks<br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Martin Perina<br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br>[1] <a href="http://www.ovirt.org/develop/release-management/features/engine/upgrademanager/">http://www.ovirt.org/develop/release-management/features/engine/upgrademanager/</a><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 12, 2016 at 9:20 AM,  <span dir="ltr">&lt;<a target="_blank" href="mailto:aleksey.maksimov@it-kb.ru">aleksey.maksimov@it-kb.ru</a>&gt;</span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Hello oVirt guru`s!<br>
<br>
oVirt Engine Version: 4.0.1.1-1.el7.centos<br>
<br>
Every day there is a message in web UI for one of my two hosts:<br>
<br>
&quot;Failed to check for available updates on host KOM-AD01-VM31 with message &#39;Command returned failure code 1 during SSH session &#39;<a href="mailto:root@kom-ad01-vm31.holding.com">root@<div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">​​</div>kom-ad01-vm31.holding.<wbr>com</a>&#39;&#39;.<br>
<br>
In /var/log/ovirt-engine/engine.<wbr>log at this time:<br>
<br>
...<br>
2016-09-12 01:59:45,045 INFO  [org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: Initializing<br>
2016-09-12 01:59:45,055 INFO  [org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: Environment setup<br>
2016-09-12 01:59:45,070 INFO  [org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: Environment packages setup<br>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​​</div>2016-09-12 02:00:13,300 ERROR [org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase] (VdsDeploy) [] Yum Cannot queue package iproute: Cannot find a valid baseurl for repo: base/7/x86_64<br>
2016-09-12 02:00:13,304 ERROR [org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase] (VdsDeploy) [] Failed to execute stage &#39;Environment packages setup&#39;: Cannot find a valid baseurl for repo: base/7/x86_64<br>
2016-09-12 02:00:13,304 INFO  [org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase] (VdsDeploy) [] Yum Performing yum transaction rollback<br>
2016-09-12 02:00:13,368 INFO  [org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: Pre-termination<br>
2016-09-12 02:00:13,388 INFO  [org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase] (VdsDeploy) [] Retrieving installation logs to: &#39;/var/log/ovirt-engine/host-<wbr>deploy/ovirt-host-mgmt-<wbr>20160912020013-kom-ad01-vm31.<wbr>holding.com-null.l$<br>
2016-09-12 02:00:13,459 INFO  [org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: Termination<br>
2016-09-12 02:00:13,506 ERROR [org.ovirt.engine.core.uutils.<wbr>ssh.SSHDialog] (DefaultQuartzScheduler5) [] SSH error running command root@kom-ad01-vm31.holding.<wbr>com:&#39;umask 0077; MYTMP=&quot;$(TMPDIR=&quot;${OVIRT_<wbr>TMPDIR}&quot; mktemp -d -t ovirt-XXXXXXXXXX)&quot;; trap &quot;chmod -R u+rwX \&quot;${MYTMP}\&quot; &gt; /dev/null 2&gt;&amp;1; rm -fr \&quot;${MYTMP}\&quot; &gt; /dev/null 2&gt;&amp;1&quot; 0; tar --warning=no-timestamp -C &quot;${MYTMP}&quot; -x &amp;&amp;  &quot;${MYTMP}&quot;/ovirt-host-mgmt DIALOG/dialect=str:machine DIALOG/customization=bool:<wbr>True&#39;: Command returned failure code 1 during SSH session &#39;<a href="mailto:root@kom-ad01-vm31.holding.com">root@kom-ad01-vm31.holding.<wbr>com</a>&#39;<br>
<br>
2016-09-12 02:00:13,506 ERROR [org.ovirt.engine.core.uutils.<wbr>ssh.SSHDialog] (DefaultQuartzScheduler5) [] Exception: java.io.IOException: Command returned failure code 1 during SSH session &#39;<a href="mailto:root@kom-ad01-vm31.holding.com">root@kom-ad01-vm31.holding.<wbr>com</a>&#39;<br>
        at org.ovirt.engine.core.uutils.<wbr>ssh.SSHClient.executeCommand(<wbr>SSHClient.java:526) [uutils.jar:]<br>
        at org.ovirt.engine.core.uutils.<wbr>ssh.SSHDialog.executeCommand(<wbr>SSHDialog.java:317) [uutils.jar:]<br>
        at org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase.<wbr>execute(VdsDeployBase.java:<wbr>563) [bll.jar:]<br>
        at org.ovirt.engine.core.bll.<wbr>host.HostUpgradeManager.<wbr>isUpdateAvailable(<wbr>HostUpgradeManager.java:44) [bll.jar:]<br>
        at org.ovirt.engine.core.bll.<wbr>host.AvailableUpdatesFinder.<wbr>isUpdateAvailable(<wbr>AvailableUpdatesFinder.java:<wbr>26) [bll.jar:]<br>
        at org.ovirt.engine.core.bll.<wbr>VdsEventListener.<wbr>isUpdateAvailable(<wbr>VdsEventListener.java:553) [bll.jar:]<br>
        at org.ovirt.engine.core.<wbr>vdsbroker.ResourceManager.<wbr>isUpdateAvailable(<wbr>ResourceManager.java:510) [vdsbroker.jar:]<br>
        at org.ovirt.engine.core.<wbr>vdsbroker.VdsManager.<wbr>availableUpdates(VdsManager.<wbr>java:306) [vdsbroker.jar:]<br>
        at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke0(Native Method) [rt.jar:1.8.0_101]<br>
        at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke(<wbr>NativeMethodAccessorImpl.java:<wbr>62) [rt.jar:1.8.0_101]<br>
        at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43) [rt.jar:1.8.0_101]<br>
        at java.lang.reflect.Method.<wbr>invoke(Method.java:498) [rt.jar:1.8.0_101]<br>
        at org.ovirt.engine.core.utils.<wbr>timer.JobWrapper.invokeMethod(<wbr>JobWrapper.java:77) [scheduler.jar:]<br>
        at org.ovirt.engine.core.utils.<wbr>timer.JobWrapper.execute(<wbr>JobWrapper.java:51) [scheduler.jar:]<br>
        at org.quartz.core.JobRunShell.<wbr>run(JobRunShell.java:213) [quartz.jar:]<br>
        at java.util.concurrent.<wbr>Executors$RunnableAdapter.<wbr>call(Executors.java:511) [rt.jar:1.8.0_101]<br>
        at java.util.concurrent.<wbr>FutureTask.run(FutureTask.<wbr>java:266) [rt.jar:1.8.0_101]<br>
        at java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_101]<br>
        at java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:617) [rt.jar:1.8.0_101]<br>
        at java.lang.Thread.run(Thread.<wbr>java:745) [rt.jar:1.8.0_101]<br>
<br>
2016-09-12 02:00:13,507 ERROR [org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase] (DefaultQuartzScheduler5) [] Error during host <a target="_blank" rel="noreferrer" href="http://kom-ad01-vm31.holding.com">kom-ad01-vm31.holding.com</a> install: java.io.IOException: Command returned failure code 1 during SSH session &#39;<a href="mailto:root@kom-ad01-vm31.holding.com">root@kom-ad01-vm31.holding.<wbr>com</a>&#39;<br>
        at org.ovirt.engine.core.uutils.<wbr>ssh.SSHClient.executeCommand(<wbr>SSHClient.java:526) [uutils.jar:]<br>
        at org.ovirt.engine.core.uutils.<wbr>ssh.SSHDialog.executeCommand(<wbr>SSHDialog.java:317) [uutils.jar:]<br>
        at org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase.<wbr>execute(VdsDeployBase.java:<wbr>563) [bll.jar:]<br>
        at org.ovirt.engine.core.bll.<wbr>host.HostUpgradeManager.<wbr>isUpdateAvailable(<wbr>HostUpgradeManager.java:44) [bll.jar:]<br>
        at org.ovirt.engine.core.bll.<wbr>host.AvailableUpdatesFinder.<wbr>isUpdateAvailable(<wbr>AvailableUpdatesFinder.java:<wbr>26) [bll.jar:]<br>
        at org.ovirt.engine.core.bll.<wbr>VdsEventListener.<wbr>isUpdateAvailable(<wbr>VdsEventListener.java:553) [bll.jar:]<br>
        at org.ovirt.engine.core.<wbr>vdsbroker.ResourceManager.<wbr>isUpdateAvailable(<wbr>ResourceManager.java:510) [vdsbroker.jar:]<br>
        at org.ovirt.engine.core.<wbr>vdsbroker.VdsManager.<wbr>availableUpdates(VdsManager.<wbr>java:306) [vdsbroker.jar:]<br>
        at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke0(Native Method) [rt.jar:1.8.0_101]<br>
        at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke(<wbr>NativeMethodAccessorImpl.java:<wbr>62) [rt.jar:1.8.0_101]<br>
        at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43) [rt.jar:1.8.0_101]<br>
        at java.lang.reflect.Method.<wbr>invoke(Method.java:498) [rt.jar:1.8.0_101]<br>
        at org.ovirt.engine.core.utils.<wbr>timer.JobWrapper.invokeMethod(<wbr>JobWrapper.java:77) [scheduler.jar:]<br>
        at org.ovirt.engine.core.utils.<wbr>timer.JobWrapper.execute(<wbr>JobWrapper.java:51) [scheduler.jar:]<br>
        at org.quartz.core.JobRunShell.<wbr>run(JobRunShell.java:213) [quartz.jar:]<br>
        at java.util.concurrent.<wbr>Executors$RunnableAdapter.<wbr>call(Executors.java:511) [rt.jar:1.8.0_101]<br>
        at java.util.concurrent.<wbr>FutureTask.run(FutureTask.<wbr>java:266) [rt.jar:1.8.0_101]<br>
        at java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_101]<br>
        at java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:617) [rt.jar:1.8.0_101]<br>
        at java.lang.Thread.run(Thread.<wbr>java:745) [rt.jar:1.8.0_101]<br>
<br>
2016-09-12 02:00:13,512 ERROR [org.ovirt.engine.core.bll.<wbr>host.HostUpgradeManager] (DefaultQuartzScheduler5) [] Failed to refresh host &#39;KOM-AD01-VM31&#39; packages &#39;vdsm-cli, vdsm&#39; availability.<br>
2016-09-12 02:00:13,512 ERROR [org.ovirt.engine.core.bll.<wbr>host.HostUpgradeManager] (DefaultQuartzScheduler5) [] Exception: java.io.IOException: Command returned failure code 1 during SSH session &#39;<a href="mailto:root@kom-ad01-vm31.holding.com">root@kom-ad01-vm31.holding.<wbr>com</a>&#39;<br>
        at org.ovirt.engine.core.uutils.<wbr>ssh.SSHClient.executeCommand(<wbr>SSHClient.java:526) [uutils.jar:]<br>
        at org.ovirt.engine.core.uutils.<wbr>ssh.SSHDialog.executeCommand(<wbr>SSHDialog.java:317) [uutils.jar:]<br>
        at org.ovirt.engine.core.bll.<wbr>hostdeploy.VdsDeployBase.<wbr>execute(VdsDeployBase.java:<wbr>563) [bll.jar:]<br>
        at org.ovirt.engine.core.bll.<wbr>host.HostUpgradeManager.<wbr>isUpdateAvailable(<wbr>HostUpgradeManager.java:44) [bll.jar:]<br>
        at org.ovirt.engine.core.bll.<wbr>host.AvailableUpdatesFinder.<wbr>isUpdateAvailable(<wbr>AvailableUpdatesFinder.java:<wbr>26) [bll.jar:]<br>
        at org.ovirt.engine.core.bll.<wbr>VdsEventListener.<wbr>isUpdateAvailable(<wbr>VdsEventListener.java:553) [bll.jar:]<br>
        at org.ovirt.engine.core.<wbr>vdsbroker.ResourceManager.<wbr>isUpdateAvailable(<wbr>ResourceManager.java:510) [vdsbroker.jar:]<br>
        at org.ovirt.engine.core.<wbr>vdsbroker.VdsManager.<wbr>availableUpdates(VdsManager.<wbr>java:306) [vdsbroker.jar:]<br>
        at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke0(Native Method) [rt.jar:1.8.0_101]<br>
        at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke(<wbr>NativeMethodAccessorImpl.java:<wbr>62) [rt.jar:1.8.0_101]<br>
        at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43) [rt.jar:1.8.0_101]<br>
        at java.lang.reflect.Method.<wbr>invoke(Method.java:498) [rt.jar:1.8.0_101]<br>
        at org.ovirt.engine.core.utils.<wbr>timer.JobWrapper.invokeMethod(<wbr>JobWrapper.java:77) [scheduler.jar:]<br>
        at org.ovirt.engine.core.utils.<wbr>timer.JobWrapper.execute(<wbr>JobWrapper.java:51) [scheduler.jar:]<br>
        at org.quartz.core.JobRunShell.<wbr>run(JobRunShell.java:213) [quartz.jar:]<br>
        at java.util.concurrent.<wbr>Executors$RunnableAdapter.<wbr>call(Executors.java:511) [rt.jar:1.8.0_101]<br>
        at java.util.concurrent.<wbr>FutureTask.run(FutureTask.<wbr>java:266) [rt.jar:1.8.0_101]<br>
        at java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_101]<br>
        at java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:617) [rt.jar:1.8.0_101]<br>
        at java.lang.Thread.run(Thread.<wbr>java:745) [rt.jar:1.8.0_101]<br>
<br>
2016-09-12 02:00:13,513 ERROR [org.ovirt.engine.core.<wbr>vdsbroker.VdsManager] (DefaultQuartzScheduler5) [] Failed to check if updates are available for host &#39;KOM-AD01-VM31&#39;<br>
2016-09-12 02:00:13,518 ERROR [org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector] (DefaultQuartzScheduler5) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Failed to check for available updates on host KOM-AD01-VM31 with message &#39;Command returned failure code 1 during SSH session &#39;<a href="mailto:root@kom-ad01-vm31.holding.com">root@kom-ad01-vm31.holding.<wbr>com</a>&#39;&#39;.<br>
<br>
...<br>
<br>
What could be the problem?<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a target="_blank" rel="noreferrer" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
</blockquote></div><br></div></div>