Bug 1906074 - [RFE] Support disks copy between regular and managed block storage domains
Summary: [RFE] Support disks copy between regular and managed block storage domains
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.4.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-4.4.6
: 4.4.6
Assignee: Benny Zlotnik
QA Contact: Shir Fishbain
URL:
Whiteboard:
Depends On: 1920150 1933974
Blocks: 1954404
TreeView+ depends on / blocked
 
Reported: 2020-12-09 16:03 UTC by Tal Nisan
Modified: 2022-07-25 16:12 UTC (History)
8 users (show)

Fixed In Version: ovirt-engine-4.4.6.6
Doc Type: Enhancement
Doc Text:
With this release, support has been added for copying disks between regular Storage Domains and Managed Block Storage Domains. It is now possible to migrate disks between Managed Block Storage Domains and regular Storage Domains.
Clone Of:
Environment:
Last Closed: 2021-06-01 13:22:11 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:
bzlotnik: needinfo-


Attachments (Terms of Use)
Screenshots (573.08 KB, application/zip)
2021-05-09 22:55 UTC, Shir Fishbain
no flags Details
engine_logs (978.10 KB, application/zip)
2021-05-09 22:56 UTC, Shir Fishbain
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 5605141 0 None None None 2020-12-09 22:09:28 UTC
Red Hat Product Errata RHSA-2021:2179 0 None None None 2021-06-01 13:22:39 UTC
oVirt gerrit 112269 0 master MERGED core: rename VmLease* to Lease* 2021-04-27 11:50:53 UTC
oVirt gerrit 112270 0 master MERGED core: use Guid.isNullOrEmpty instead of a null check 2021-04-27 11:51:19 UTC
oVirt gerrit 112513 0 master MERGED clusterlock: add set_lvb and get_lvb 2021-03-22 12:10:27 UTC
oVirt gerrit 112801 0 master MERGED api: introduce CopyDataExternalEndpoint 2021-03-22 12:10:30 UTC
oVirt gerrit 112816 0 master MERGED sd: add external lease methods 2021-03-22 12:10:33 UTC
oVirt gerrit 112825 0 master MERGED core: add public attach/detach MBS disks 2021-04-27 12:02:52 UTC
oVirt gerrit 112826 0 master MERGED core: add ManagedBlockStorageLocationInfo 2021-04-27 12:03:16 UTC
oVirt gerrit 112827 0 master MERGED core: remove childDiskWasExtended validation 2021-04-27 12:04:21 UTC
oVirt gerrit 112846 0 master MERGED core: introduce external_leases table 2021-04-27 12:05:00 UTC
oVirt gerrit 113437 0 master MERGED spec: bump sanlock version 2021-02-18 12:44:15 UTC
oVirt gerrit 113438 0 master MERGED managedvolume: move MBS in/appropriation to attach/detach 2021-04-13 12:46:59 UTC
oVirt gerrit 113574 0 master MERGED core: introduce AddExternalLeaseCommand 2021-04-28 10:32:53 UTC
oVirt gerrit 113619 0 master MERGED core: Fix size calculation for MBS volumes 2021-04-28 10:34:22 UTC
oVirt gerrit 113672 0 master MERGED storage: add LeaseMetadata to Lease.create 2021-04-25 13:02:13 UTC
oVirt gerrit 113709 0 master MERGED storage: implement CopyDataExternalEndpoint 2021-04-25 13:02:12 UTC
oVirt gerrit 113718 0 master MERGED storage: implement Lease.status 2021-04-25 13:02:18 UTC
oVirt gerrit 113719 0 master MERGED core: introduce GetLeaseStatus 2021-04-28 12:12:52 UTC
oVirt gerrit 113873 0 master MERGED core: introduce external lease job fencing 2021-04-28 13:21:37 UTC
oVirt gerrit 113874 0 master MERGED storage: implement Lease.fence 2021-04-25 13:02:17 UTC
oVirt gerrit 114063 0 master MERGED virt: add "managed" metadata key to drives 2021-04-13 12:19:23 UTC
oVirt gerrit 114064 0 master ABANDONED clientIF: skip appropriation for MBS disks 2021-04-05 07:28:46 UTC
oVirt gerrit 114065 0 master ABANDONED udev: support appropriate without thiefId 2021-04-08 12:58:30 UTC
oVirt gerrit 114066 0 master ABANDONED tests: remove test_attach_volume_ok_other 2021-04-05 07:28:16 UTC
oVirt gerrit 114067 0 master MERGED storage: move copy_data logger to module level 2021-04-13 12:46:59 UTC
oVirt gerrit 114068 0 master MERGED storage: extract _next_generation helper 2021-04-13 12:47:05 UTC
oVirt gerrit 114069 0 master ABANDONED storage: add rc to AcquireLockFailure 2021-04-13 09:34:05 UTC
oVirt gerrit 114176 0 master MERGED udev: add functions for managed devices 2021-04-13 12:46:56 UTC
oVirt gerrit 114347 0 master MERGED core: add managed field to iSCSI MBS disks 2021-04-28 13:21:40 UTC
oVirt gerrit 114348 0 master MERGED core: support custom behavior in CopyImageGroupWithDataCommand 2021-04-28 13:21:43 UTC
oVirt gerrit 114349 0 master MERGED core: introduce CopyManagedBlockDiskCommand 2021-04-28 13:21:46 UTC
oVirt gerrit 114350 0 master MERGED core: support MBS in CopyDataCommand 2021-04-28 13:21:50 UTC
oVirt gerrit 114454 0 master MERGED core: introduce RemoveExternalLease 2021-04-28 13:21:37 UTC
oVirt gerrit 114510 0 master MERGED engine: fix table and column name 2021-04-28 10:32:17 UTC

Internal Links: 1908250

Description Tal Nisan 2020-12-09 16:03:59 UTC
We should support copying of disks from to a regular storage domain to a Cinderlib based Managed Block storage domain.

Comment 4 Shir Fishbain 2021-05-09 22:55:07 UTC
Created attachment 1781433 [details]
Screenshots

Comment 5 Shir Fishbain 2021-05-09 22:56:15 UTC
Created attachment 1781434 [details]
engine_logs

Comment 7 Shir Fishbain 2021-05-10 09:01:28 UTC
To complete the operation of the copy disk with all the following variations, we need to complete the whole cinderLib integration flow on the engine & on the hosts first (running os-brick on each host).
So after completed the installation of os-brick, it solved the issues that I mentioned before, and the copy disk operation succeeded to completed the copy disk operation on:
Copy new gluster preallocated disk to MBD sd
Copy new gluster thin disk to MBD sd
Copy new iscsi preallocated disk to MBD sd
Copy new iscsi thin disk to MBD sd
Copy new gluster preallocated disk to MBD sd
Copy new gluster thin disk to MBD sd

Copy new MBD ceph disk to new iscsi SD
Copy new MBD ceph disk to new gluster SD
Copy new MBD ceph disk to new nfs SD
Copy new MBD ceph disk to new MBD ceph SD

Verified
RHV build name: rhv-4.4.6-8
ovirt-engine-4.4.6.7-0.1.el8ev.noarch
vdsm-4.40.60.6-1.el8ev.x86_64
os-brick-4.3.1

Comment 8 Eyal Shenitzky 2021-05-24 09:03:34 UTC
Benny, please add a proper doc-text.

Comment 12 errata-xmlrpc 2021-06-01 13:22:11 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: RHV Manager security update (ovirt-engine) [ovirt-4.4.6]), 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-2021:2179

Comment 13 meital avital 2022-07-25 16:12:12 UTC
Due to QE capacity, we are not going to cover this issue in our automation


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