Bug 2143077 - Try harder to not let one upgrade to 8.7
Summary: Try harder to not let one upgrade to 8.7
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.5.2
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-16 01:52 UTC by Germano Veit Michel
Modified: 2022-11-22 13:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-22 04:06:29 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-48052 0 None None None 2022-11-16 02:07:27 UTC
Red Hat Knowledge Base (Solution) 6985540 0 None None None 2022-11-16 01:55:19 UTC

Internal Links: 2108985 2132386

Description Germano Veit Michel 2022-11-16 01:52:39 UTC
Description of problem:

While improvements are being tracked in other BZs (i.e. BZ 2132386), nothing already in place prevents one from just "yum update" on RHV-M or RHEL hosts running older versions (i.e. non SP1 or lower than upcoming 4.5.3) that are not yet tied to 8.6.

Indeed, it's probably user error by not following the docs or simply upgrading the system without upgrading RHV, but it can happen and was already seen. It puts the environment in a bad situation where things randomly fail, may be hard to troubleshoot.

To also cover cases where one may not see the documentation updates, can we please try to add some conflict/dependency on the rhvm (and maybe vdsm too?) rpms so that such yum updates would fail with dependency resolutions? Not necessarily this, but better ideas on how to effectively give some dnf/yum error when one tries to go to 8.7 also welcome.

Version-Release number of selected component (if applicable):
4.5.2 on 8.6

How reproducible:
Always

Steps to Reproduce:
1. Install RHV 4.4 and don't follow the steps in the newer version of the docs to tie the system to 8.6
2. yum update

Actual results:
* RHV-M on 8.7, with incompatible ansible/python versions.

Expected results:
* Try to make harder to prevent people to incorrectly upgrade to 8.7.

Comment 2 Germano Veit Michel 2022-11-16 02:06:09 UTC
Latest version we are fine. The problem is actually if one is on lower versions where we did not have the conflict. Nothing we can do? 

HOST

# dnf update
Updating Subscription Management repositories.
Fast Datapath for RHEL 8 x86_64 (RPMs)                                                                                                                                           530 kB/s | 504 kB     00:00    
Red Hat OpenStack Platform 16.2 Cinderlib for RHEL 8 x86_64 (RPMs)                                                                                                               277 kB/s | 261 kB     00:00    
Red Hat Virtualization 4 Management Agents for RHEL 8 x86_64 (RPMs)                                                                                                              1.1 MB/s | 1.0 MB     00:00    
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                                                                                                                            4.4 MB/s |  55 MB     00:12    
Advanced Virtualization for RHEL 8 x86_64 (RPMs)                                                                                                                                 508 kB/s | 1.7 MB     00:03    
Error: 
 Problem: package ovirt-host-4.5.0-3.1.el8ev.x86_64 conflicts with redhat-release >= 8.7 provided by redhat-release-8.7-0.3.el8.x86_64

MANAGER

# yum update
Updating Subscription Management repositories.
Red Hat OpenStack Platform 16.2 Cinderlib for RHEL 8 x86_64 (RPMs)                                                                                                               135 kB/s | 261 kB     00:01    
Red Hat Virtualization Manager 4.4 for RHEL 8 x86_64 (RPMs)                                                                                                                      1.6 MB/s | 2.3 MB     00:01    
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                                                                                                                            5.2 MB/s |  55 MB     00:10    
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)                                                                                                                         5.9 MB/s |  51 MB     00:08    
JBoss Enterprise Application Platform 7.4 (RHEL 8) (RPMs)                                                                                                                        4.3 MB/s | 9.3 MB     00:02    
Error: 
 Problem: package ovirt-engine-4.5.2.5-0.1.el8ev.noarch conflicts with redhat-release >= 8.7 provided by redhat-release-8.7-0.3.el8.x86_64


Or maybe add a conflict/dependency with the latest ovirt-engine-setup (which would be upgraded by the yum update and hopefully trigger an error)

Comment 8 Peter Lauterbach 2022-11-17 14:50:03 UTC
This is an issue for both RHV-M and RHEL hypervisors. We see a 50/50 split between RHV-H and RHEL hypervisors, so we should expect the frequency to go up.

Comment 9 Peter Lauterbach 2022-11-17 14:55:08 UTC
There is probably something in Red Hat Insight we can give customers to alert them that they should not upgrade if they are running RHV 4.4 SP.x with RHEL hypervisors.


Note You need to log in before you can comment on or make changes to this bug.