Bug 1786450

Summary: webadmin - cluster tab under data center can't be shown properly - can't see any attached cluster to DC
Product: [oVirt] ovirt-engine Reporter: Daniel <dmaaravi>
Component: Frontend.WebAdminAssignee: Ahmad Khiet <akhiet>
Status: CLOSED CURRENTRELEASE QA Contact: Daniel <dmaaravi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4.0CC: akhiet, bugs, dholler, tnisan
Target Milestone: ovirt-4.4.0Flags: pm-rhel: ovirt-4.4+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine 4.4.0-27 22b6f82 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-20 19:57:49 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
screenshot none

Description Daniel 2019-12-25 09:45:08 UTC
Created attachment 1647601 [details]
screenshot

Description of problem:
Via web-admin, user can't see attached cluster to a DC through the cluster tab under a specific DC. Instead, an infinite 'progress bar' is shown. 


Version-Release number of selected component (if applicable):
4.4.0-0.13.master.el7


How reproducible:
100%


Steps to Reproduce:
1.Go to <data center name>
2.Press on the cluster tab


Actual results:
Attached DC clusters not shown.

Expected results:
Attached DC clusters should be shown. If none clusters attached exist, appropriate note should be shown.

Additional info:
screenshot attached

Comment 1 Ahmad Khiet 2020-01-08 13:44:30 UTC
After reverting https://gerrit.ovirt.org/c/105196/ 
the list is shown and does not hang on loading.

Comment 2 Ahmad Khiet 2020-01-09 08:22:12 UTC
this bug has been fixed by Dominik Holler https://gerrit.ovirt.org/c/106181/
there's another issue in the search as Dominik mentioned in the email thread 
for example when using REST-API: 

GET
http://localhost:8080/ovirt-engine/api/clusters?search=datacenter.name=Default


engine log produces:
2020-01-08 15:51:33,434+01 INFO  [org.ovirt.engine.core.bll.SearchQuery] (default task-17) [09acad16-a073-409a-9cc6-48a78ef64624] 
ResourceManager::searchBusinessObjects - erroneous search text - ''clusters: datacenter.name=Default'' error - ''clusters: datacenter$n$ame=Default''

Comment 3 Ahmad Khiet 2020-01-09 08:46:23 UTC
A bug has been opened regarding the Search Bug mentioned in Comment (By Eli)
https://bugzilla.redhat.com/show_bug.cgi?id=1789262

Comment 4 Sandro Bonazzola 2020-03-20 14:52:55 UTC
This bug is targeted to 4.4.3 and in modified state. can we re-target to 4.4.0 and move to QA?

Comment 5 Daniel 2020-04-01 09:35:23 UTC
Bug verified via web-admin.
Correct attached clusters is shown in appropriate time and all logs are clean as expected.

worked on:
rhvm-4.4.0-0.29.master.el8ev.noarch
vdsm-jsonrpc-java-1.5.4-1.el8ev.noarch
qemu-kvm-4.2.0-16.module+el8.2.0+6092+4f2391c1.x86_64
libvirt-client-6.0.0-15.module+el8.2.0+6106+b6345808.x86_64

Comment 6 Sandro Bonazzola 2020-05-20 19:57:49 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

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