Bug 1317789

Summary: Template tab doesn't show all templates
Product: Red Hat Enterprise Virtualization Manager Reporter: Olimp Bockowski <obockows>
Component: ovirt-engineAssignee: Shmuel Melamud <smelamud>
Status: CLOSED ERRATA QA Contact: Eldad Marciano <emarcian>
Severity: high Docs Contact:
Priority: high    
Version: 3.5.6CC: agkesos, amarchuk, bgraveno, gklein, lsurette, mavital, mgoldboi, michal.skrivanek, mkalinin, obockows, oourfali, rbalakri, Rhev-m-bugs, rhodain, smelamud, srevivo, tjelinek, ykaul, yobshans
Target Milestone: ovirt-4.0.0-beta   
Target Release: 4.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, only the first page of results was displayed when searching for all virtual machine templates in the system. This issue has been fixed and now it is possible to see the whole list, page by page.
Story Points: ---
Clone Of:
: 1338816 (view as bug list) Environment:
Last Closed: 2016-08-23 20:33:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1338816    
Attachments:
Description Flags
Screenshot Page 1
none
Screenshot Page 2 none

Description Olimp Bockowski 2016-03-15 08:37:24 UTC
Description of problem:

There is a problem to display all templates. 
We experience such behaviour in an environment with 167 templates in three Datacenters. 
An issue is that not all templates are displayed. It is true if we display many templates (more than 100). In case of checking DC one by one (selecting DC in navigation panel), all of them are displayed.


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

RHEV-M:
rhevm 3.5.6.2-0.1.el6ev

browsers:
IE 11.0.9600.18204 but same problem with Firefox and Chrome

How reproducible:

Create more than 100 templates in more than 1 DC

Steps to Reproduce:
1. install rhevm and create more then 1 DC
2. create more than 100 templates
3. display templates for System/System

Actual results:
Not all templates are displayed.

Expected results:
All are displayed properly.

Comment 1 Yaniv Kaul 2016-03-15 21:10:16 UTC
Please provide logs.

Comment 2 Michal Skrivanek 2016-03-16 07:07:32 UTC
paging doesn't work?

Comment 4 Tomas Jelinek 2016-03-23 11:34:51 UTC
no need for the full log collector - just engine log from the relevant time period and FE logs (the browsers javascript console if it is 3.5 setup).

Thanx

Comment 7 Tomas Jelinek 2016-04-06 09:09:52 UTC
It starts to feel like an actual bug. Targeting to 4.0 and lets see if we will manage to backport.

@Shmuel: does it reproduce for you?

Comment 8 Shmuel Melamud 2016-04-07 14:37:39 UTC
Yes. I have more than 1000 templates, but Templates tab shows only 97 and paging buttons are inactive.

Comment 9 Shmuel Melamud 2016-04-07 14:42:41 UTC
And yes, paging buttons become active, when I select a particular DC in the tree.

Comment 14 Yuri Obshansky 2016-07-19 07:57:50 UTC
Bug verified on RHEVM 4.0.2-0.2.rc1.el7ev
It doesn't reproduce.
See attached screenshots.
The reproducing flow is:
- Created 5 DC, 5 Clusters 
- Created 25 templates on each DC
RHEVM shows 100 templates when you browse System/Templates.
"Next" button is enabled and allows to view next page with other Templates.
On last page "Previous" button is enabled also and allows to view previous 100 Templates.
I think, the bug could be closed.

Yuri

Comment 15 Yuri Obshansky 2016-07-19 07:58:29 UTC
Created attachment 1181469 [details]
Screenshot Page 1

Comment 16 Yuri Obshansky 2016-07-19 07:58:53 UTC
Created attachment 1181470 [details]
Screenshot Page 2

Comment 18 errata-xmlrpc 2016-08-23 20:33:25 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://rhn.redhat.com/errata/RHEA-2016-1743.html