Bug 1705965

Summary: [RHOS] Bad object count for tenants
Product: Red Hat CloudForms Management Engine Reporter: Antonin Pagac <apagac>
Component: UI - OPSAssignee: Libor Pichler <lpichler>
Status: CLOSED DUPLICATE QA Contact: Omri Hochman <ohochman>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.11.0CC: bmidwood, hkataria, lavenel, maufart, mfeifer, mpovolny, mshriver, obarenbo
Target Milestone: GAKeywords: Regression
Target Release: 5.11.0Flags: mfeifer: mirror+
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-08-16 13:57:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Embargoed:

Description Antonin Pagac 2019-05-03 10:04:20 UTC
Description of problem:
When navigating Compute -> Clouds -> Tenants and selecting a tenant, the count of object displayed is wrong for that particular tenant. It always displays count of overall Images, Instances, Cloud Networks etc, not just the ones belonging to chosen tenant.

Note that only the count seems to be wrong, otherwise it works as expected. After clicking on different links on that page, it displays correct Images, Instances etc, belonging to chosen tenant.

In 5.10.4.1 as well as 5.10.3.3, this works as expected, meaning when you choose a tenant, all objects displayed are belonging to that chosen tenant.

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

How reproducible:
Always

Steps to Reproduce:
1. Have a RHOS provider added with at least two tenants
2. Navigate Compute -> Clouds -> Tenants, select one of tenants
3. Observe count of objects displayed
4. Navigate back, choose the other tenant
5. Observe count of objects displayed; note it's the same as for the first tenant and the same as overall objects count

Actual results:
Overall object count displayed for chosen tenant

Expected results:
Only object count for chosen tenant should be displayed

Additional info:

Comment 5 Marek Aufart 2019-08-16 13:35:57 UTC
Could be duplicate of just fixed https://github.com/ManageIQ/manageiq-ui-classic/pull/5995