Bug 1528763 - WebAdmin changes the selected host
Summary: WebAdmin changes the selected host
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.2.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.1
: ---
Assignee: Alexander Wels
QA Contact: Pavel Novotny
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-23 17:49 UTC by Hesham
Modified: 2018-02-12 11:51 UTC (History)
4 users (show)

Fixed In Version: ovirt-engine-4.2.1.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-12 11:51:34 UTC
oVirt Team: UX
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 85965 0 master MERGED webadmin: failure entity selection 2018-01-09 14:55:17 UTC

Description Hesham 2017-12-23 17:49:41 UTC
Description of problem:
oVirt WebAdmin changes selected hosts itself

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


How reproducible:
Everytime

Steps to Reproduce:
1. Put one host with Gluster volumes in Maintenance (e.g. host01)
2. Click to open that host (the breadcrumbs will show Compute > Hosts > Host01  
3. Click "Remove" button to remove that host, and click "OK" without checking Force checkbox, the error message "Cannot remove Host. Server having Gluster volume" will appear the selected host will be switched to the next available host

Actual results:
oVirt should changes the selected host to other than the one user selected

Expected results:
oVirt should keep the selected host

Comment 1 Hesham 2018-01-02 12:26:58 UTC
The same behavior exists in VM list as well (maybe in all lists). This can be specially confusing and highly increases the chances of accidental data loss. To reproduce on the VM screen:

1. Mark a VM as delete protected.
2. Try to Remove that VM, it would display a message that VM has delete protection active and the selected VM will automatically shift to the next VM in the list

Comment 2 Pavel Novotny 2018-01-23 17:09:01 UTC
Verified in
ovirt-engine-4.2.1.2-0.1.el7.noarch
ovirt-engine-webadmin-portal-4.2.1.2-0.1.el7.noarch

Verified by trying to remove a delete-protected VM, as described in comment 1.

Steps:
1. Create delete-protected VM named 'vm1' and another VM 'vm2'.
2. In the Compute / Virtual Machines view, select vm1 -> Remove -> confirm.

Results:
1. 'Operation Canceled' dialog appears.
2. In the VM list, vm1 stays selected (*)
   (*) there happens a short flicker of the VM selection from vm1 to vm2 and back.
The same happens also when removing a VM from the VM detail view - the current VM stays selected.

Comment 3 Sandro Bonazzola 2018-02-12 11:51:34 UTC
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.1 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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