Bug 848060 - [RFE][UI] Mark LUNs that are used by Direct LUN as 'used' (currently a check is only done later on)
Summary: [RFE][UI] Mark LUNs that are used by Direct LUN as 'used' (currently a check...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: RFEs
Version: 3.1.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
: 3.2.0
Assignee: Miki Kenneth
QA Contact: Yaniv Kaul
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-14 13:32 UTC by vvyazmin@redhat.com
Modified: 2016-02-10 20:24 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-04 19:15:48 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
## Logs vdsm, rhevm, screen-shots (1.80 MB, application/x-gzip)
2012-08-14 13:32 UTC, vvyazmin@redhat.com
no flags Details

Description vvyazmin@redhat.com 2012-08-14 13:32:18 UTC
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:

Comment 1 Daniel Erez 2013-02-04 19:15:22 UTC
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).


Note You need to log in before you can comment on or make changes to this bug.