Bug 1491936

Summary: Fresh installed RHV-H shows upgrade that doesn't exist.
Product: Red Hat Enterprise Virtualization Manager Reporter: Germano Veit Michel <gveitmic>
Component: rhev-hypervisor-ngAssignee: Ryan Barry <rbarry>
Status: CLOSED DUPLICATE QA Contact: Huijuan Zhao <huzhao>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.1.5CC: cshao, dfediuck, dguo, huzhao, jalviso, jiawu, qiyuan, rbarry, sbonazzo, weiwang, yaniwang, ycui, yisong, yzhao
Target Milestone: ---Flags: lsvaty: testing_plan_complete-
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-18 22:54:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Germano Veit Michel 2017-09-15 05:22:20 UTC
Description of problem:

An upgrade that does not exist is found on fresh host installation. It "upgrades" to the same version it's currently running and then the icon goes away.

1. Fresh install latest RHV-H 4.1.5

2. Subscribe and add to RHV-M

3. RHV-M shows upgrade:

2017-09-15 05:03:34,597+10 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (pool-5-thread-1) [37188b92-91f1-448b-9526-658031a8a8e6] EVENT_ID: HOST_AVAILABLE_UPDATES_FINISHED(885), Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Check for available updates on host host2.rhv.laptop was completed successfully with message 'found updates for packages redhat-virtualization-host-image-update-4.1-20170816.2.el7_4'.

But this is the exact version it's currently running: rhvh-4.1-0.20170817.0

4. Then I install this "upgrade" and the package is installed, host rebooted.
Sep 15 15:05:13 Installed: redhat-virtualization-host-image-update-4.1-20170816.2.el7_4.noarch

5. But as it's the same thing it was running, nothing new is added, we are still  on the same image. But at least the upgrade icon is gone, it's not finding any more "upgrades".

# imgbase layout
rhvh-4.1-0.20170817.0
 +- rhvh-4.1-0.20170817.0+1

Version-Release number of selected component (if applicable):
rhevm-4.1.5.2-0.1.el7.noarch
RHVH-4.1-20170817.0-RHVH-x86_64-dvd1.iso

How reproducible:
100%

Steps to Reproduce:
As above

Actual results:
Fake upgrade available

Comment 3 Ryan Barry 2017-09-18 20:13:56 UTC
This very much appears to be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1474268

Comment 4 Germano Veit Michel 2017-09-18 22:54:21 UTC
(In reply to Ryan Barry from comment #3)
> This very much appears to be a duplicate of
> https://bugzilla.redhat.com/show_bug.cgi?id=1474268

It is. Thanks for pointing it out.

*** This bug has been marked as a duplicate of bug 1474268 ***