Description of problem: Sometimes I need to modify a not assigned disk, eg change description, change alias or extend in size. One case is when I maintain a copy of a disk with an application in a certain version of it. During life cycle of app I can have need to extend, modify alias name and/or description of that disk. Version-Release number of selected component (if applicable): 4.2.7 How reproducible: always Steps to Reproduce: 1. Go in web admin gui 2. go to Storage --> Disks 3. Select a disk line Actual results: You can only "move", "copy" or "Download" the selected disk Also, in Storage --> Domains --> Domain Name --> Disks you can only "Remove" or "Download" the selected disk Expected results: It could be nice the possibility, in the two menus above, to edit the disk, eg its Alias its Description but also Extend size by xx Gb Disk profile Additional info: In summary what you can already do when you select Compute --> Virtual Machines --> Select VMNAME --> Disks --> Select disk line click on "Edit" button
I wanted to do this many times. Daniel, do you know why editing a floating disk is not possible?
(In reply to Nir Soffer from comment #1) > I wanted to do this many times. > > Daniel, do you know why editing a floating disk is not possible? I always wanted to implement it :) But it never got priority :/ The issue is that UpdateVmDiskCommand is expecting a VM entity. I.e. we need to separate the logic for updating disk's properties, and DiskVmElement properties. So the command should be refactored to UpdateDiskCommand that supports an optional VM parameter for editing a disk that is attached to a VM.
New feature in 4.4.X. Feature is working both REST API and manually via web-admin. User can edit disks such as extend disk size, change description etc'. Checked and verified on version: 4.4.0-0.13.master.el7.
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.0 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.