Created attachment 1690094 [details] engine.log Description of problem: When trying to edit a LUN disk attached to a VM from the VM->Disks screen, and after pressing 'OK', an error is being shown and the operation fails. Editing the disk from Storage->Disks screen works fine. The error: 2020-05-20 11:20:24,422+03 ERROR [org.ovirt.engine.core.bll.storage.disk.UpdateDiskCommand] (default task-57) [0fb02096-bed8-4a4b-b812-b182330ebd7d] Exception: java.lang.ClassCastException: class org.ovirt.engine.core.common.businessentities.storage.LunDisk cannot be cast to class org.ovirt.engine.core.common.businessentities.storage.DiskImage (org.ovirt.engine.core.common.businessentities.storage.LunDisk and org.ovirt.engine.core.common.businessentities.storage.DiskImage are in unnamed module of loader 'org.ovirt.engine.core.common' @2d954882) at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.storage.disk.UpdateDiskCommand.lockImageInDb(UpdateDiskCommand.java:1050) ... [see full log] Version-Release number of selected component (if applicable): 4.4.0.4_master-gitc5b6568e0cf How reproducible: 100% Steps to Reproduce: Try Editing a LUN disk attached to a VM from VM->Disk screen. Actual results: The operation fails. Expected results: The operation should work. Additional info: engine.log
*** Bug 1838505 has been marked as a duplicate of this bug. ***
Adding Regression and TestBlocker from duplicate bug.
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
Verified on engine-4.4.1.5-0.17.el8ev
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.1 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.