Bug 2024157
Summary: | engine-setup should prevent upgrade to an engine that does not match its own version | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Yedidyah Bar David <didi> |
Component: | Setup.Engine | Assignee: | Yedidyah Bar David <didi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Guilherme Santos <gdeolive> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.4.0 | CC: | bugs |
Target Milestone: | ovirt-4.5.0 | Flags: | sbonazzo:
ovirt-4.5?
|
Target Release: | 4.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-4.5.0 | Doc Type: | Enhancement |
Doc Text: |
engine-setup now requires the version of the setup package to be the same as the version of the engine package.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2022-04-28 09:26:34 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Yedidyah Bar David
2021-11-17 12:50:55 UTC
QE: With all pending patches, engine-setup requires the version of the setup package to be the same as the version of the engine package. If the engine package is going to be updated, it checks the updated version. Comment 0 is the most relevant flow. Another one, relevant if/when we'll have more than one version (internal or released) of the engine that includes these changes: 1. Install and set up an engine with this bug fixed (e.g. 4.5.0, when it's available) 2. Add a repo with a later version (e.g. 4.5.1, when it's available) 3. Update setup packages 4. Remove the repo you added in (2.) 5. engine-setup Another one (which is slightly different) is the same, but with '--offline' in step 5. Another flow, identical to above until step 3: 4. Add yet another repo with another later version (say, 4.5.2, when it's available), but filter out from it (with excludepkgs) the ovirt-engine-setup package(s) (you might need/want to add nobest). If you do not filter out, engine-setup will also fail, but earlier, in a code location unrelated to current bug. 5. engine-setup In all of these, engine-setup should fail, with something like: Setup version: 4.5.0-0.2.master.20220110125022.git53f58a659a.el8 Engine version: 4.5.0-0.2.master.20211220192954.git3326bfea06.el8 [ ERROR ] Failed to execute stage 'Setup validation': Setup and (updated) Engine versions must match This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022. Since the problem described in this bug report should be resolved in oVirt 4.5.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |