Bug 2070132

Summary: [RFE][CNV] Ability to export and import virtual machines disks between clusters
Product: Container Native Virtualization (CNV) Reporter: Ulhas Surse <usurse>
Component: StorageAssignee: Alexander Wels <awels>
Status: CLOSED ERRATA QA Contact: Jenia Peimer <jpeimer>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.10.0CC: alitke, awels, awestbro, danken, kmajcher, maugarci, nashok, sgott, yadu
Target Milestone: ---Keywords: FutureFeature
Target Release: 4.13.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4.13.0 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-18 02:55:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ulhas Surse 2022-03-30 13:17:29 UTC
Description of problem:
Provide functionality to 

Version-Release number of selected component (if applicable):
OCP 4.10


What is the nature and description of the request?
Currently, OpenShift Virtualization does not provide a mechanism to export and import virtual machines disks between different clusters. Technically it is possible but it's a high time consuming task. The customer is very interested in having a mechanism provided by OpenShift Virtualization that allows to export and import virtual machines disks in a smooth way.


Why do you need this? (List the business requirements here)
The customer has several OpenShift clusters and need to be able to export and import VMs between them, smoothly and in a reasonable time.


How would you like to achieve this? (List the functional requirements here)
It would be OK with something like this Epic [1] of CNV.


Do you have any specific time-line dependencies?
This is a very important feature for the customer and it would be OK if it can be included in minor versions of OCP 4.10.


List any affected packages or components.
Yes. You can rely on the Red Hat Customer Success team that is working in this account if you need collaboration with the tests.


Would you be able to assist in testing this functionality if implemented?
Yes


For each functional requirement listed in the previous question, can test to confirm the requirement is successfully implemented.
Yes

Comment 12 Yan Du 2023-03-22 13:28:16 UTC
Alexander, could you please link the PR?

Comment 13 Alexander Wels 2023-03-22 13:49:39 UTC
Added links to the various export related PRs. Some of which landed in 4.12, and some of which will land in 4.13 or 4.14.

Comment 14 Dan Kenigsberg 2023-04-03 08:31:22 UTC
@alitke shouldn't this be ON_QA by now?

Comment 15 Jenia Peimer 2023-04-23 07:02:28 UTC
Verified on CNV 4.13
The feature is available since 4.12, but there are some enhancements in 4.13 and 4.14, the documentation will be updated shortly:

https://docs.openshift.com/container-platform/4.12/virt/virtual_machines/virt-exporting-vms.html
https://kubevirt.io/user-guide/operations/export_api/

Comment 18 errata-xmlrpc 2023-05-18 02:55:41 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 (Moderate: OpenShift Virtualization 4.13.0 Images security, bug fix, and enhancement update), 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-2023:3205