Created attachment 604297 [details] ## Logs vdsm, rhevm, screen-shots Description of problem: After creating Direct LUN, in “Discover Targets” UI, this LUN have status “Free” Version-Release number of selected component (if applicable): Verified on RHEVM 3.1 - SI13.3 RHEVM: rhevm-3.1.0-11.el6ev.noarch VDSM: vdsm-4.9.6-27.0.el6_3.x86_64 LIBVIRT: libvirt-0.9.10-21.el6.x86_64 QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.298.el6_3.x86_64 SANLOCK: sanlock-2.3-3.el6_3.x86_64 How reproducible: 100% Steps to Reproduce: 1. Create a new Direct LUN (in my example “dLun-32-01”) 2. Try create a new Direct LUN, select Direct LUN that was created from previous step 3. Failed create Direct LUN, and get a warning “LUN is already used by a Disk: dLun-32-01” (see attached print-screen) Actual results: I get right result, but in UI this LUN have status "Free", although this LUN already used by Direct LUN Expected results: In UI this LUN will have status "Used" Additional info:
The UI grays out LUNs that are used by DirectLUN disks. The 'In Use' column (Free/Used) represents 'status' field of VDSM's LUN object (contains a VG indicator).