Created attachment 1690575 [details] rhv-4.4.0-36_rep_engine_log Description of problem: Updating direct LUN disk via webadmin "Edit Virtual Disk" window on any checkboxes(sharable/readonly/passthrough/...) fails with "engine server error" in webadmin and the following errors in engine log: Attached video and print screen. Engine log: 2020-05-21 12:40:45,370+03 INFO [org.ovirt.engine.core.bll.storage.disk.UpdateDiskCommand] (default task-10) [ae51a687-d456-424d-9b74-7ee7acf5edbb] Running command: UpdateDiskCommand internal: false. Entities affected : ID: dbd8b989-e007-4d3c-8439-a6db6d79f44b Type: DiskAction group EDIT_DISK_PROPERTIES with role type USER, ID: dbd8b989-e007-4d3c-8439-a6db6d79f44b Type: DiskAction group CONFIGURE_SCSI_GENERIC_IO with role type ADMIN 2020-05-21 12:40:45,370+03 ERROR [org.ovirt.engine.core.bll.storage.disk.UpdateDiskCommand] (default task-10) [ae51a687-d456-424d-9b74-7ee7acf5edbb] Command 'org.ovirt.engine.core.bll.storage.disk.UpdateDiskCommand' failed: 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' @5a7003ca) 2020-05-21 12:40:45,370+03 ERROR [org.ovirt.engine.core.bll.storage.disk.UpdateDiskCommand] (default task-10) [ae51a687-d456-424d-9b74-7ee7acf5edbb] 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' @5a7003ca) at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.storage.disk.UpdateDiskCommand.lockImageInDb(UpdateDiskCommand.java:1050) at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.storage.disk.UpdateDiskCommand.executeVmCommand(UpdateDiskCommand.java:217) Version-Release number of selected component (if applicable): ovirt engine 4.4.0.2-0.1.el8ev vdsm-4.40.16-1.el8ev.x86_64 How reproducible: 100% Steps to Reproduce(manually via webadmin): 1. Create VM from template 2. Create direct LUN disk 3. Attach disk to VM 4. Try to update the VM Via Edit Virtual Disk-> by checking checkboxes(sharable/readonly/passthrough/...) and press 'OK' Actual results: Operation fails with "engine server error" in webamdin. Expected results: Additional info: Issue occurs when VM is up/down. Only occurs on direct LUN disk, regular disk works fine.
Regression as this works without issues in 4.3.
Created attachment 1690688 [details] video_capture of the issue
*** This bug has been marked as a duplicate of bug 1837911 ***