[Storage] GUI should filter shared disks list and not show disk that already connected on VM it conneted to. How to repoduce: 1.Create VM (VM1) 2.Create shared disk.(disk1) 3.Attach shared disk (disk1) to this VM (VM1) Now,stay on VM1 and click on attach again. You will see the disk you already attached. If you will try to attach it again nothing will happen in the UI and engine will through an exception. Another BZ will be opened for backend to handle the exception.
(In reply to comment #0) > [Storage] GUI should filter shared disks list and not show disk that already > connected on VM it conneted to. > > How to repoduce: > 1.Create VM (VM1) > 2.Create shared disk.(disk1) > 3.Attach shared disk (disk1) to this VM (VM1) > > Now,stay on VM1 and click on attach again. You will see the disk you already > attached. If you will try to attach it again nothing will happen in the UI > and engine will through an exception. Another BZ will be opened for backend > to handle the exception. what is the other BZ?
https://bugzilla.redhat.com/show_bug.cgi?id=833077
pushed upstream (http://gerrit.ovirt.org/#/c/5680/)
changed the backend query to filter out disks that are already attached to the VM, changing component to backend.
merged upstream (http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=3cc5d4086bd9617173eea38c17925b3196b87a00)
SI9. fixed.