Bug 1117393

Summary: Keep validation/event message if there is an iso update to ovirt node host.
Product: [Retired] oVirt Reporter: Douglas Schilling Landgraf <dougsland>
Component: ovirt-engine-coreAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kubica <pkubica>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5CC: bazulay, bugs, dougsland, fdeutsch, gklein, iheim, oourfali, rbalakri, rnori, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: ovirt-3.5.0_rc1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 12:35:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1149655, 1149658    
Bug Blocks:    

Description Douglas Schilling Landgraf 2014-07-08 14:57:56 UTC
Description of problem:

I have noticed that the code that we used to check if there is an iso update to ovirt-node host got removed. Although shouldAlertUpgrade() is still available in HostGeneralModel.java [1].

<snip>
-   VDS vds = hostGeneralModel.getEntity();
-                                String [] hostOsInfo =
-vds.getHostOs().split("-"); //$NON-NLS-1$ //$NON-NLS-2$
-                                for (int counter = 0; counter <
- hostOsInfo.length; counter++) {
-                                    hostOsInfo[counter] =
- hostOsInfo[counter].trim();
-                                }
- hostGeneralModel.setHasUpgradeAlert(
-                                    shouldAlertUpgrade(
-                                        isos,
-                                        hostOsInfo
-                                        )
-                                );
</snip>

From my investigation this happened when the code got split.
commit c20ebaee3f771ef7893f0be16f47e915d84cca80
Date:   Fri Mar 7 12:06:12 2014 -0500
    webadmin: host right click menu is missing 'reinstall' option 


[1] https://github.com/oVirt/ovirt-engine/blob/master/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostGeneralModel.java#L651

Comment 1 Petr Beňas 2014-09-10 17:32:50 UTC
Please provde steps to reproduce/verify.

Comment 2 Douglas Schilling Landgraf 2014-09-10 17:44:44 UTC
(In reply to Petr Beňas from comment #1)
> Please provde steps to reproduce/verify.

- Install a higher version of ovirt-node (RPM) in ovirt-engine machine

After that, users should see a message sharing that there is a higher version of ovirt-node available for upgrade. Ravi, please correct me if the steps changed in the current source code.

Thanks!

Comment 3 Ravi Nori 2014-09-10 18:39:27 UTC
Douglas is right

Comment 4 Sandro Bonazzola 2014-10-17 12:35:19 UTC
oVirt 3.5 has been released and should include the fix for this issue.