Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1079710

Summary: Move disk dialog gets stuck in case of a storage connectivity issue.
Product: Red Hat Enterprise Virtualization Manager Reporter: Elad <ebenahar>
Component: ovirt-engine-webadmin-portalAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: acanan, amureini, ecohen, gklein, iheim, rbalakri, Rhev-m-bugs, scohen, tnisan, yeylon
Target Milestone: ---Flags: amureini: Triaged+
Target Release: 3.5.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: vt2.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Attachments:
Description Flags
engine.log and screenshot
none
logs from browser's console and from engine none

Description Elad 2014-03-23 11:59:14 UTC
Created attachment 877777 [details]
engine.log and screenshot

Description of problem:
If VM enters to 'Paused' state, 'Move' button for its disks is not greyed-out.
When clicking on 'Move' for one of its disks, a pop-up window is opened and gets stuck. Closing that pop-up window is impossible, webadmin gets blocked by it. 

Version-Release number of selected component (if applicable):
RHEV3.4-AV4
rhevm-3.4.0-0.10.beta2.el6ev.noarch
rhevm-webadmin-portal-3.4.0-0.10.beta2.el6ev.noarch


How reproducible:
Always

Steps to Reproduce:
On a shared DC with 2 iscsi domains
1. Create and run a VM with attached disk(s)
2. Block connectivity from host to the storage server where the storage domain with the VM's disks are located on. Wait for VM to become 'Paused'
3. Try to move one of the VM's disks (while the VM is paused). Try both from the 'Virtual-machines' main tab and also from the 'Disks' main tab


Actual results:
'Move' button is not greyed-out when the VM which the disk is attached to is in 'Paused' state due to EIO.
Clicking on 'Move' will open a pop-up window which will get stuck - the command is not passed to the backend so we don't blocked by a CDA failure.


****ALSO - closing the pop-up window is impossible, the 'X' button doesn't function.****


Expected results:
If VM is paused on EIO - 'Move' button for its disks should be greyed-out. 

Additional info: engine.log and screenshot

Comment 1 Allon Mureinik 2014-03-26 09:29:44 UTC
A VM can get paused on EIO due to disk X, which has no implication on the ability to move disk Y, especially now since we have single disk snapshots.

The only issue that should be solved here is the dialog getting stuck - it shoul display properly, and at the worst case, fail the LSM if there is a real underlying storage issue.

Comment 2 Daniel Erez 2014-07-06 13:37:48 UTC
Seems like an exception in client code while invoking the move dialog. Various changes been made in dialog's logic since 3.4; couldn't reproduce using described scenario on latest build. Moving to MODIFIED.

Comment 3 Elad 2014-08-27 11:21:55 UTC
Created attachment 931401 [details]
logs from browser's console and from engine

Still happens in 3.5 RC1.1 
While VM is in pause state due to EIO, clicked on 'move' disk. The pop-up gets stuck and user cannot close it.

Attaching the logs from browser's console and from engine

Moving to ASSIGNED

Comment 5 Elad 2014-09-15 11:50:21 UTC
Move disk dialog functions in case the VM is paused due to EIO.

Verified using rhev3.5 vt3.1

Comment 6 Allon Mureinik 2015-02-16 19:12:11 UTC
RHEV-M 3.5.0 has been released, closing this bug.

Comment 7 Allon Mureinik 2015-02-16 19:12:14 UTC
RHEV-M 3.5.0 has been released, closing this bug.