Created attachment 1312460 [details] Screenshot demonstrating perpetual Loading screen for admin users of VM portal Description of problem: When logging in as a user with administrative permissions, the portal just says "Loading ..." and never displays any VMs. Normal users do not have this issue, but all users with admin permissions do. Version-Release number of selected component (if applicable): RHV 4.1 How reproducible: Very Steps to Reproduce: 1. Create VMs 2. Create user with admin permissions 3. log in as user with admin permissions Actual results: Perpetual "Loading...." screen Expected results: Display of available VMs
VM portal was introduced as a tech preview in 4.1.4, you have 4.1.2?
This is caused by the fact that the admin user does not have any filtering so the response is much bigger and the parsing/getting the response from api takes long time. This is fixed by pagination. The patch is merged upstream and will get to ovirt-web-ui 1.2.1 which will go out with ovirt 4.1.6
In VM portal is loaded only few first rows of VMs and when scrolling down new VMs are loaded. So the VM grid is quickly displayed even if 1000 VMs should be loaded. verified in ovirt-engine-4.1.6-0.1.el7.noarch with ovirt-web-ui-1.2.1-1.el7ev.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2744
Tomas, is this being looked at?
Should be fixed by upstream patch: https://github.com/oVirt/ovirt-web-ui/pull/430
Created attachment 1357753 [details] requested API output
Hi Allan, does it reproduce for you? Can you try out the fix posted in comment #20?
(In reply to Michal Skrivanek from comment #22) > Hi Allan, does it reproduce for you? Can you try out the fix posted in > comment #20? fix is in ovirt-web-ui-1.3.3-1, so the current oVirt 4.2.0 GA should have it, but we do not have any reproducer yet, so verification might not be possible. Deferring this tough call to QE
For SuperUser the VMs are displayed correctly, but I can't now verify VMs under UserRole because backend api doesn't work correctly. See blocking Bug 1534607.
Getting VMs for UserRole in backend api should work now. The VMs are displayed with pagination correctly, also VMs from pool. verified in ovirt-engine-4.2.2.1-0.1.el7.noarch with ovirt-web-ui-1.3.4-1.el7ev.noarch
BZ<2>Jira Resync
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days