Created attachment 593491 [details] log screen shot Description of problem: I created a direct lun with bootable tag. DB table shows that the disk is bootable but when I attach the disk to the vm the tag is not enforced. when I edit the disk and re-check the disk the dialogue is stuck in sand-clock forever. Version-Release number of selected component (if applicable): si6 How reproducible: 100% Steps to Reproduce: 1. create a bootable direct lun 2. attach it to a vm 3. edit the disk -> boot check box is unchecked -> check the check box Actual results: cannot create a bootable direct lun disk Expected results: we should be able to create a bootable direct lun. Additional info: logs
http://gerrit.ovirt.org/#/c/5808/
tested on si9.1 although we are able to add the bootable tag we cannot remove it. reproduction: 1. create a direct lun without the bootable tag 2. edit disk -> check the bootable tag 3. try to uncheck bootable tag we also cannot remove when the disk is created with bootable tag (create the disk as bootable and try to uncheck the tag)
When you do the change to the bootable attribute, make sure you wait some time to let the update request get and be executed in the server and for the updated disk entities get to the ui
(In reply to comment #3) > When you do the change to the bootable attribute, make sure you wait some > time to let the update request get and be executed in the server and for the > updated disk entities get to the ui Are you asking the USER to wait?! How long? 5 seconds? Coffee break? Perhaps we should block (make sync) the change, makes more sense to me (anticipating it's not a coffee break wait, but several seconds). Can it fail?
Takes about 3 seconds, there's not much reason for the user to reopen the edit disk pop up again, it's fire and forget, you set the value, click ok and go on
Verified on RHEVM 3.1 - SI11 RHEVM: rhevm-3.1.0-7.el6ev.noarch.rpm VDSM: vdsm-4.9.6-23.0.el6.x86_64 LIBVIRT: libvirt-0.9.10-21.el6.x86_64 QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.295.el6.x86_64 SANLOCK: sanlock-2.3-2.1.el6.x86_64