Bug 879293

Summary: RHEVM - Admin GUI: No warning pop-up on creating a direct LUN disk from a used LUN
Product: Red Hat Enterprise Virtualization Manager Reporter: Daniel Paikov <dpaikov>
Component: ovirt-engine-webadmin-portalAssignee: Ayal Baron <abaron>
Status: CLOSED DUPLICATE QA Contact: Aharon Canan <acanan>
Severity: low Docs Contact:
Priority: low    
Version: 3.1.0CC: abaron, acathrow, amureini, derez, ecohen, hateya, iheim, jkt, Rhev-m-bugs, scohen, thildred
Target Milestone: ---Keywords: Triaged
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 889053 910990 (view as bug list) Environment:
Last Closed: 2013-12-23 13:24:55 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:
Bug Depends On:    
Bug Blocks: 889053, 910990, 977679, 977681    

Description Daniel Paikov 2012-11-22 14:48:17 UTC
* Disks -> Add -> External (Direct Lun) -> create disk from a Used LUN
* No warning pop-up is presented when overwriting a used LUN with new data.
* A pop-up should be added, similar to overwriting a used LUN when creating a storage domain.

Comment 1 Ayal Baron 2012-12-17 07:11:53 UTC
In addition it should only be allowed as read-only.

Comment 2 Allon Mureinik 2013-02-13 10:24:03 UTC
Is this still relevant?

Comment 3 Vered Volansky 2013-02-14 07:30:19 UTC
This is the current situation:
Luns used as other disks are disabled.
If one tried to select the disableled Lun, a popup appears with an appropriate message, which is fine, but the following scenario is buggy:

1. Make sure there's another used Lun, this time used for YOUR storage domain.
   This Lun is enabled for choosing.
2. Choose the above Lun, do not proceed.
3. A red warning message appears above the view.
4. Try again to choose the disabled Lun.
5. The correct error message appears, this time not in a popup, but as a red
   warning as in stage 3.

Step 5 is problematic. Error message should still appear as a popup.

Comment 4 Vered Volansky 2013-02-14 07:31:09 UTC
(In reply to comment #1)
> In addition it should only be allowed as read-only.

A new bug was opened for this issue: bz910991

Comment 6 Allon Mureinik 2013-02-17 10:04:07 UTC
devel-ack+ for fixing the message so it doesn't get scrambled around when you choose different LUNs.

Comment 7 Allon Mureinik 2013-02-17 10:16:11 UTC
deferred to 3.3, misunderstanding.

Comment 11 Ayal Baron 2013-12-18 09:46:37 UTC
Daniel, is this still relevant?

Comment 12 Daniel Erez 2013-12-23 13:24:55 UTC
(In reply to Ayal Baron from comment #11)
> Daniel, is this still relevant?

According to the design, a confirmation dialog for overwriting a used LUN is displayed only when created a new domain. For direct lun disks, a warning is shown instead of the confirmation dialog (as the operation's use-case is not destructive). Closing as duplicate of bug 980162.

*** This bug has been marked as a duplicate of bug 980162 ***