Bug 2072881

Summary: Allow upgrade via backup and restore from 4.4 to 4.5
Product: [oVirt] ovirt-engine Reporter: Nikolai Sednev <nsednev>
Component: Backup-Restore.EngineAssignee: Yedidyah Bar David <didi>
Status: CLOSED CURRENTRELEASE QA Contact: Nikolai Sednev <nsednev>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.5.0.1CC: bugs
Target Milestone: ovirt-4.5.0Keywords: Triaged
Target Release: 4.5.0.2Flags: pm-rhel: ovirt-4.5?
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-engine-4.5.0.2 Doc Type: Enhancement
Doc Text:
Usually oVirt Engine can restore backups taken only from the same version. For oVirt 4.5 it has been made possible to restore a backup taken from oVirt 4.4 into an oVirt 4.5 Engine.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-20 06:33:59 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:
Bug Depends On:    
Bug Blocks: 1932149    

Description Nikolai Sednev 2022-04-07 08:04:07 UTC
Description of problem:
Following https://bugzilla.redhat.com/show_bug.cgi?id=1932149#c18 and same as it was for https://bugzilla.redhat.com/show_bug.cgi?id=1812906, we don't have currently an ability to upgrade via backup and restore from 4.4 to 4.5 is blocked

Engine components on 4.4 from where backup is made:
ovirt-engine-setup-4.4.10.8-548.g6b5767a.2.el8ev.noarch
Linux 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 8 13:30:15 EST 2021 x86_64 x86_64 x86_64 GNU/Linux

Version-Release number of selected component (if applicable):
ovirt-hosted-engine-ha-2.4.10-1.el8ev.noarch
ovirt-hosted-engine-setup-2.5.4-2.el8ev.noarch
ovirt-ansible-collection-2.0.0-0.4.BETA.el8ev.noarch
ansible-2.9.27-1.el8ae.noarch
Red Hat Enterprise Linux release 8.5 (Ootpa)
Linux 4.18.0-348.21.1.el8_5.x86_64 #1 SMP Tue Mar 22 10:35:22 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux



How reproducible:
100%

Steps to Reproduce:
1. Deploy 4.4 HE
2. Create new DC/Cluster with compatibility version 4.2 and note their names
3. Backup with engine-backup
4. Try restoring on 4.5 new clean host host with 'hosted-engine --deploy --restore-from-file', supplying the names of the DC/cluster created above when prompted.


Actual results:
Not possible following https://bugzilla.redhat.com/show_bug.cgi?id=1932149#c18.

Expected results:
Restore on 4.5 from 4.4 should be enabled.

Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=1932149#c18
https://bugzilla.redhat.com/show_bug.cgi?id=1812906

Comment 1 Nikolai Sednev 2022-04-11 17:55:53 UTC
Moving to verified based on https://bugzilla.redhat.com/show_bug.cgi?id=1932149#c20.

Comment 2 Sandro Bonazzola 2022-04-20 06:33:59 UTC
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.