Description of problem: deactivate button in virtual disks sub tab (under vm's) is greyed out for IDE drives. this should not be greyed out - only hot plug of IDE is not supported. Version-Release number of selected component (if applicable): si4 How reproducible: 100% Steps to Reproduce: 1. create an IDE disk and try to detach it 2. 3. Actual results: button is greyed out Expected results: we should be ablet to deactivate the drive as long as the vm is down. Additional info:
It works like this (considering the VM is down): - create a new IDE disk - the disk gets in LOCKED state => can not be deactivated yet (button grayed out) - after a while, it gets to OK state => can be deactivated (button is available) @Dafna: if you wait a while, is the deactivate button still grayed out? If not, it should mean that something went wrong and the disk stayed in LOCKED state. Could you please have a look at the engine/vdsm logs if there are some exceptions?
this is not an image status or refresh issue. I spoke to Daniel and this was done on propose since kvm will not support hot-plug for IDE disks. since this is not hot plug but a simple db update operation while the vm is down there should be no problem allowing this while the vm is down.
Just to be sure: This is how it works for you: - add a new disk - first the deactivate button is grayed out (as it is in LOCKED state) - after a while, the button gets available (as the disk is in OK state) The intended behavior is: - add a new disk - the deactivate button gets immediately available (ignoring if it is locked or not) Do I understand it well?
no. It is correct to lock the deactivate button while the vm is in image locked you have two interface disk types: IDE and VirtIo. when you create IDE disk the deactivate button will always remain greyed out (even after the disk status is OK and not Locked). do the following: 1) create a new vm -> create a disk with interface type IDE 2) once the disk is created and status is no longer on image lock the deactivate tab will still not be available. the reason for that is that it was grayed out intentionally by the UI team because kvm does not support hot plug for IDE interface.
Now I understand the source of confusion. You are talking about the si4, where the behavior was indeed that for the IDE interface the deactivate button is always grayed out. I'm looking at the current head of oVirt which contains the fix (git: 28b3bd7516eba85ad6b4737bba5a733db50de1ee) which changes the behavior like I have described in my previous comment: - add a new disk - first the deactivate button is grayed out (as it is in LOCKED state) - after a while, the button gets available (as the disk is in OK state)
already fixed in upstream, git: 28b3bd7516eba85ad6b4737bba5a733db50de1ee
(In reply to comment #7) > already fixed in upstream, > git: 28b3bd7516eba85ad6b4737bba5a733db50de1ee Tomas, setting bug in modified, please state the official version where bug is fixed.
(In reply to comment #9) > (In reply to comment #7) > > already fixed in upstream, > > git: 28b3bd7516eba85ad6b4737bba5a733db50de1ee > > Tomas, setting bug in modified, please state the official version where bug > is fixed. - Moving bug to POST, as downstream bugs that their fix was merged in upstream repo (but not in downstream repo) shouldn't move to MODIFIED. - Shouldn't official version be filled when BZ moves to ON_QA?
verified on si6