Description of problem: Copy of disk from any type of data domain to Managed Block Storage domain is failing. Version-Release number of selected component (if applicable): RHV Manager OS: Red Hat Enterprise Linux 8.4 RHV Manager Kernel: 4.18.0-305.10.2.el8_4.x86_64 ovirt-engine: 4.4.7.7 Hypervisor running on 'Red Hat Enterprise Linux 8.4' VDSM: vdsm-4.40.70.6-1.el8ev.x86_64 How reproducible: 100% Steps to Reproduce: 1. Create storage domain with Domain function as Managed Block Storage. 2. Copy disk from any other data domain to Managed Block Storage. 3. The task will fail. ERROR - Failure occurred when trying to run command 'create_volume': Entity '<class 'cinder.db.sqlalchemy.models.Volume'>' has no property 'glance_metadata Actual results: Task fail. Expected results: Task should complete successfully.
Hi Ifran, I was trying to reproduce your bug, but I was able to copy MBS disks: MBS <--> iscsi and MBS <--> nfs. My system has the following configurations: engine: Red Hat Enterprise Linux release 8.4 (Ootpa) ovirt-engine-4.5.0-0.0.master.20211008135633.gitf9e01afdd33.el8.noarch python3-cinder-17.2.0-1.el8.noarch python3-cinderlib-3.0.0-1.el8.noarch spm: Red Hat Enterprise Linux release 8.5 (Ootpa) vdsm-4.50.0-23.gite04eba048.el8.x86_64 python3-os-brick-4.0.4-1.el8.noarch Can you try updating your code and give it another try?
This happens when the copied disk is a template disk, to fix it we need to modify the create of the disk and only add the SD<->Disk mapping. Irfan, can you confirm the copied disk is a template disk?
Thanks, Benny, I was able to reproduce it, wip
*** Bug 2049224 has been marked as a duplicate of this bug. ***
is there any workaround we can use? 4.5 beta still not available.
Verified. Versions: ovirt-engine-4.5.0.2-0.7.el8ev.noarch vdsm-4.50.0.11-1.el8ev Steps toverify: 1. Create Managed Block Storage domain. 2. Created 3 differnt floating disks (ISCSI, NFS, Gluster) 3. Copy all the disks to the Managed Block Storage domain created. 4. Attach the disks to a VM and run it, make sure you can see the disks and the size is correct. Actual results: Works as expected.
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 (ovirt-engine) [ovirt-4.5.0] security 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-2022:4711
Due to QE capacity, we are not going to cover this issue in our automation