Bug 834240

Summary: webadmin [Direct Lun]: we can select more than one lun when creating a direct lun
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engine-webadmin-portalAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: high    
Version: 3.1.0CC: abaron, amureini, derez, dyasny, ecohen, hateya, iheim, lpeer, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.1.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: SI14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 20:08:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dafna Ron 2012-06-21 10:01:58 UTC
Description of problem:

direct lun should consist of one lun only. 
I was able to select and sent to vdsm create from 2 luns. 


Version-Release number of selected component (if applicable):

si6

How reproducible:

100%

Steps to Reproduce:
1. create several targets 
2. login to the targets
3. select one in the target screen
4. move to the lun screen -> we can select two -> press OK
  
Actual results:

we create a disk consisting of more than one lun

Expected results:

we currently allow only one lun per disk

Additional info:

Comment 1 Itamar Heim 2012-06-21 11:50:06 UTC
ayal - could a direct lun disk consit of more than a single LUN (I assume it can)
if we block it, should be in engine as well, not UI level.

Comment 2 Ayal Baron 2012-06-24 10:05:26 UTC
(In reply to comment #1)
> ayal - could a direct lun disk consit of more than a single LUN (I assume it
> can)
> if we block it, should be in engine as well, not UI level.

I cannot think right now how it would be possible to use more than 1.
Should be blocked (each lun is a separate disk)

Comment 6 Daniel Erez 2012-08-05 18:02:56 UTC
commit 1ef1c400f32f5eb088e6ee91c28aade9950c3fc7

webadmin: fixed
core: it's not possible to pass more than one LUN when creating a DirectLUN disk