Bug 1628230

Summary: Virtual Machines tab: wrong page count
Product: Red Hat Satellite Reporter: Lukáš Hellebrandt <lhellebr>
Component: Compute Resources - RHEVAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4CC: inecas, mshira, orabin
Target Milestone: UnspecifiedKeywords: Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-04 14:00:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukáš Hellebrandt 2018-09-12 13:46:30 UTC
Description of problem:
In Infrastructure -> <RHEV_CR> -> Virtual Machines, when there are more than 2 pages of VMs, the number of pages is wrong: On the n-th page, it always shows n+1 total pages. So when you switch to the tab, it says "1 of 2", when you go to page 2, it says "2 of 3" etc.

Version-Release number of selected component (if applicable):
Happens on Sat 6.4 snap 21 and Sat 6.3.1 => Not a regression

How reproducible:
Deterministic

Steps to Reproduce:
1. Have a RHEV CR with enough VMs so they are listed on more than 2 pages
2. Go to the CR -> Virtual Machines tab, notice the total number of pages ("1 of 2")
3. Go to page 2, notice the total number of pages ("2 of 3")

Actual results:
Total number of pages changed, that doesn't make sense

Expected results:
The actual total number of pages should be showed on all pages

Additional info:
Tested with both APIv3 and APIv4

Comment 2 Shira Maximov 2018-10-23 08:05:39 UTC
Created redmine issue https://projects.theforeman.org/issues/25280 from this bug

Comment 3 Bryan Kearney 2019-11-04 14:00:47 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you.