Hide Forgot
Description of problem: ----------------------- After adding RHGS 3.1.3 node to 3.6 cluster in RHV 4.0.2-7, there was the event mentioning that - "Failed to check for available updates on host RHGS-Node-1 with message 'Command returned failure code 1 during SSH session 'root.eng.blr.redhat.com''. Version-Release number of selected component (if applicable): ------------------------------------------------------------- RHV 4.0.2-7 How reproducible: ----------------- Always Steps to Reproduce: ------------------- 1. Add RHGS/Gluster node to 3.6 cluster in RHV 4.0 2. Check for events tab for that node after sometime Actual results: --------------- The event - "Failed to check for available updates on host RHGS-Node-1 with message 'Command returned failure code 1 during SSH session 'root.eng.blr.redhat.com''." was seen Expected results: ----------------- Upgrade manager should look for updates and there shouldn't be any failure messages on RHGS/Gluster node
I see the exception in engine.log <snip> 2016-08-19 18:37:12,281 ERROR [org.ovirt.engine.core.bll.host.HostUpgradeManager] (DefaultQuartzScheduler7) [] Failed to refresh host 'RHGS-Node-2' packages 'ovirt-imageio-daemon, ioprocess, mom, python-ioproces s, libvirt, qemu-kvm, ovirt-vmconsole-host, qemu-img, ovirt-imageio-common, ovirt-vmconsole, vdsm-cli, sanlock, lvm2, vdsm' availability. 2016-08-19 18:37:12,281 ERROR [org.ovirt.engine.core.bll.host.HostUpgradeManager] (DefaultQuartzScheduler7) [] Exception: java.io.IOException: Command returned failure code 1 during SSH session 'root@dhcp37-162. lab.eng.blr.redhat.com' at org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SSHClient.java:526) [uutils.jar:] at org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SSHDialog.java:317) [uutils.jar:] at org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.execute(VdsDeployBase.java:563) [bll.jar:] at org.ovirt.engine.core.bll.host.HostUpgradeManager.isUpdateAvailable(HostUpgradeManager.java:44) [bll.jar:] at org.ovirt.engine.core.bll.host.AvailableUpdatesFinder.isUpdateAvailable(AvailableUpdatesFinder.java:26) [bll.jar:] at org.ovirt.engine.core.bll.VdsEventListener.isUpdateAvailable(VdsEventListener.java:558) [bll.jar:] at org.ovirt.engine.core.vdsbroker.ResourceManager.isUpdateAvailable(ResourceManager.java:510) [vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.VdsManager.availableUpdates(VdsManager.java:307) [vdsbroker.jar:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_101] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_101] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_101] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_101] at org.ovirt.engine.core.utils.timer.JobWrapper.invokeMethod(JobWrapper.java:77) [scheduler.jar:] at org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:51) [scheduler.jar:] at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [quartz.jar:] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_101] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_101] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_101] 2016-08-19 18:37:12,281 ERROR [org.ovirt.engine.core.vdsbroker.VdsManager] (DefaultQuartzScheduler7) [] Failed to check if updates are available for host 'RHGS-Node-2' </snip>
The changes in 4.2 around upgrade ensures that host is updated via ovirt-host package, and not individual packages. Given this change, moving this to ON_QA
Tested with RHV 4.2.3 Update manager finds out when the update is available. Events as generated when checking for update on RHGS Node: <snip> "Host RHGS_Node1 has available updates: tzdata, redhat-release-server, subscription-manager-rhsm-certificates, subscription-manager-rhsm, krb5-libs, subscription-manager, selinux-policy, selinux-policy-targeted." </snip> 'redhat-release-server' update will in turn update all the gluster packages.
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.