Bug 2103984

Summary: when upgrade RHVH from 4.5.0 to 4.5.1 via engine, "no updates found" is shown when checking for updates
Product: Red Hat Enterprise Virtualization Manager Reporter: cshao <cshao>
Component: redhat-virtualization-hostAssignee: Asaf Rachmani <arachman>
Status: CLOSED ERRATA QA Contact: cshao <cshao>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.5.1CC: arachman, bugs, cshao, didi, lsvaty, lveyde, mavital, mperina, peyu, sbonazzo, weiwang, yaniwang
Target Milestone: ovirt-4.5.1-1Keywords: TestBlocker
Target Release: 4.5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-21 12:32:01 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:
Attachments:
Description Flags
engine logs
none
no upgrade found none

Description cshao 2022-07-05 13:28:41 UTC
Created attachment 1894688 [details]
engine logs

Description of problem:
when upgrade RHVH from 4.5.0 to 4.5.1 via engine, "no updates found" is shown when checking for updates

===============================
2022-07-06 04:04:52,843+08 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedExecutorService-hostUpdatesChecker-Thread-2) [] EVENT_ID: HOST_AVAILABLE_UPDATES_FINISHED(885), Check for available updates on host cshao0704 was completed successfully with message 'no updates found.'
===============================

Version-Release number of selected component (if applicable):
RHVH:
upgrade from redhat-virtualization-host-4.5.0-202205291010_8.6 to 
redhat-virtualization-host-4.5.1-202207050133_8.6

Engine: Software Version:4.5.1.2-0.11.el8ev


How reproducible:
100%

Steps to Reproduce:
1. Install RHVH 4.5.0 GA version redhat-virtualization-host-4.5.0-202205291010_8.6
2. Register RHVH to engine
3. Add upgrade repo to RHVH
4. Check for upgrade from engine UI.


Actual results:
when upgrade RHVH from 4.5.0 to 4.5.1 via engine, "no updates found" is shown when checking for updates

Expected results:
Can detected upgrade from engine UI.

Additional info:
upgrade by run "yum install edhat-virtualization-host-image-update-4.5.1-202207050133_8.6.x86_64.rpm" can succeed.

Comment 1 cshao 2022-07-05 13:30:09 UTC
Created attachment 1894689 [details]
no upgrade found

Comment 2 cshao 2022-07-05 13:34:53 UTC
RHVH upgrade testing via engine is blocked by this bug.

Comment 3 Martin Perina 2022-07-07 06:48:42 UTC
*** Bug 2103983 has been marked as a duplicate of this bug. ***

Comment 4 Martin Perina 2022-07-07 06:50:46 UTC
Does "dnf check-update" show that there is a RHVH image to upgrade?

Comment 8 RHEL Program Management 2022-07-07 08:39:49 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 9 cshao 2022-07-07 11:41:23 UTC
Test version:
upgrade from redhat-virtualization-host-4.5.0-202205291010_8.6 to
redhat-virtualization-host-4.5.1-202207070835_8.6

redhat-virtualization-host-image-update-4.5.1-202207070835_8.6.x86_64.rpm

Engine: Software Version:4.5.1.2-0.11.el8ev


Test steps:
1. Install RHVH 4.5.0 GA version redhat-virtualization-host-4.5.0-202205291010_8.6
2. Register RHVH to engine
3. Add upgrade repo to RHVH
4. Check for upgrade from engine UI.

Test result:
Can detected upgrade from engine UI, and upgrade process successful.

# imgbase w 
You are on rhvh-4.5.1.1-0.20220707.0+1
# imgbase layout
rhvh-4.5.0.5-0.20220529.0
 +- rhvh-4.5.0.5-0.20220529.0+1
rhvh-4.5.1.1-0.20220707.0
 +- rhvh-4.5.1.1-0.20220707.0+1

Comment 13 cshao 2022-07-18 07:48:05 UTC
Test version:
upgrade from redhat-virtualization-host-4.5.0-202205291010_8.6 to
redhat-virtualization-host-4.5.1-202207170705_8.6

Engine: Software Version:4.5.1.2-0.11.el8ev

Test steps:
1. Install RHVH 4.5.0 GA version redhat-virtualization-host-4.5.0-202205291010_8.6
2. Register RHVH to engine
3. Add upgrade repo to RHVH
4. Check for upgrade from engine UI.

Test result:
Can detected upgrade from engine UI, and upgrade process successful.

# imgbase w 
rhvh-4.5.1.1-0.20220717.0+1
# imgbase layout
rhvh-4.5.0.5-0.20220529.0
 +- rhvh-4.5.0.5-0.20220529.0+1
rhvh-4.5.1.1-0.20220717.0
 +- rhvh-4.5.1.1-0.20220717.0+1

So the bug is fixed, change bug status to VERIFIED.

Comment 15 errata-xmlrpc 2022-07-21 12:32:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Red Hat Virtualization security, bug fix, and enhancement update [ovirt-4.5.1]), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5678