Bug 1839511

Summary: WebAdmin UI - remove unregistered entities from attached storage domain - entities list not refreshed after removal
Product: [oVirt] ovirt-engine Reporter: Ilan Zuckerman <izuckerm>
Component: BLL.StorageAssignee: Ahmad Khiet <akhiet>
Status: CLOSED CURRENTRELEASE QA Contact: Ilan Zuckerman <izuckerm>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4.1CC: bugs, eshenitz, sfishbai, tnisan
Target Milestone: ovirt-4.4.1Flags: pm-rhel: ovirt-4.4+
Target Release: 4.4.1.5   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-engine-4.4.1.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-08 08:27:20 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:
Attachments:
Description Flags
video of the issue none

Description Ilan Zuckerman 2020-05-24 13:14:17 UTC
Created attachment 1691560 [details]
video of the issue

Description of problem:

The following RFE added an option to remove unregistered entities from SD:
https://bugzilla.redhat.com/show_bug.cgi?id=1733932
But when confirming the removal, the entity doesnt disappear from the list. In other words, the table content isnt getting refreshed. The entity is being removed only when you navigate away and return back.
This is causing the end user false feeling that the entity wasnt removed, causing him to push the 'remove' button again. This time of course the functionality will fail because the entity isnt there.
See video attached.

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

How reproducible:
100%

Steps to Reproduce:
1. Create a DC with 2 storage domains (sd1, sd2)
2. Create a VM with disks on SD1
3. Create a template from the VM in step 2
4. Create a floating disk based on SD1
5. Deactivate SD1
6. Detach SD1 without format it
7. Import SD1 back to the DC
8. Under Storage -> Domains -> SD1 -> import VM/Template/Disk select to remove the unregistered entities.
9. in the dialog box, confirm the action.
10. observe the list of entities.

Actual results:
The entity remains in the list as if it wasnt removed, until you refresh the page or navigate away

Expected results:
The entity should be removed from the table.

Comment 1 Ilan Zuckerman 2020-07-02 10:46:42 UTC
Verified on rhv-release-4.4.1-5-001.noarch according steps from Description.

Comment 2 Sandro Bonazzola 2020-07-08 08:27:20 UTC
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.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.