Bug 1480877 - VM Portal never never displays VMs for users with administrative permissions
Summary: VM Portal never never displays VMs for users with administrative permissions
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-web-ui
Version: 4.1.4
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ovirt-4.2.2
: ---
Assignee: Marek Libra
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On: 1481212 1534607
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-12 16:05 UTC by Allie DeVolder
Modified: 2023-09-15 00:03 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-10 11:40:38 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot demonstrating perpetual Loading screen for admin users of VM portal (38.72 KB, image/png)
2017-08-12 16:05 UTC, Allie DeVolder
no flags Details
requested API output (8.49 KB, application/xml)
2017-11-22 19:02 UTC, Allie DeVolder
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2744 0 normal SHIPPED_LIVE ovirt-web-ui bug fix and enhancement update 2017-09-19 11:11:51 UTC

Description Allie DeVolder 2017-08-12 16:05:38 UTC
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

Comment 1 Michal Skrivanek 2017-08-13 07:03:43 UTC
VM portal was introduced as a tech preview in 4.1.4, you have 4.1.2?

Comment 2 Tomas Jelinek 2017-08-14 08:01:50 UTC
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

Comment 4 Lucie Leistnerova 2017-08-28 12:42:19 UTC
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

Comment 10 errata-xmlrpc 2017-09-19 07:16:38 UTC
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

Comment 12 Yaniv Kaul 2017-10-26 13:40:04 UTC
Tomas, is this being looked at?

Comment 20 Marek Libra 2017-11-21 10:50:52 UTC
Should be fixed by upstream patch: https://github.com/oVirt/ovirt-web-ui/pull/430

Comment 21 Allie DeVolder 2017-11-22 19:02:07 UTC
Created attachment 1357753 [details]
requested API output

Comment 22 Michal Skrivanek 2017-11-23 08:32:46 UTC
Hi Allan, does it reproduce for you? Can you try out the fix posted in comment #20?

Comment 24 Michal Skrivanek 2017-12-21 15:44:10 UTC
(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

Comment 25 Lucie Leistnerova 2018-01-19 09:54:52 UTC
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.

Comment 26 Lucie Leistnerova 2018-02-23 12:06:04 UTC
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

Comment 28 Franta Kust 2019-05-16 13:03:27 UTC
BZ<2>Jira Resync

Comment 29 Red Hat Bugzilla 2023-09-15 00:03:25 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


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