Bug 1273392

Summary: [RFE] When adding the same provider under multiple CFME tenants, it does not work properly
Product: Red Hat CloudForms Management Engine Reporter: Pavol Kotvan <pakotvan>
Component: ApplianceAssignee: John Hardy <jhardy>
Status: CLOSED WONTFIX QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: high    
Version: 5.5.0CC: abellott, jfrey, jhardy, obarenbo, pakotvan
Target Milestone: GAKeywords: FutureFeature
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: tenant_cfme:rbac
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-28 15:01:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavol Kotvan 2015-10-20 11:08:20 UTC
Description of problem:
When multiple tenants are configured and each tenant has the same provider configured, super admin can see the same provider multiple times. Number of hosts per provider is changing over time in the providers' quadicons.

Version-Release number of selected component (if applicable):
5.5.0.5-beta1.1.20151007163855_ed40d96


How reproducible:
always

Steps to Reproduce:
1. As super admin add child tenant1
2. Copy EvmRole-tenant_administrator role into new one -> tenant1-tenant_administrator
3. Add new group tenant1group -> choose role tenant1-tenant_administrator and assign it to tenant1.
4. create tenant1admin user and assign him into tenant1 group
5. Create tenant2 and repeat steps 2-4 and create another tenant administrator
6. logout and login as tenant1admin
7. Add new provider 
8. Logout and login as tenant2admin and add same provider as in step 7
9. logout and login as super admin and navigate to Infrastructure -> Providers
10. You will see the same provider multiple times

It seems that the refresh workers are in conflict. Number of hosts per provider are changing every few minutes (2 screenshots attached).

Actual results:
Super admin can see the same provider multiple times.

Expected results:
Super admin user should see aggregated view when same providers are configured under different tenants.

Additional info:

Comment 4 Dave Johnson 2015-10-26 16:31:12 UTC
Pavol, please open a new BZ against the UI allowing the same host to be added twice, this is not supported and the UI needs to catch it.   THX

Comment 6 Pavol Kotvan 2015-10-29 15:34:20 UTC
*** Bug 1276261 has been marked as a duplicate of this bug. ***

Comment 7 Pavol Kotvan 2015-10-29 15:53:34 UTC
Please ignore Comment 5 . BZ#1276405 has been opened for Web UI component.

Comment 9 Chris Pelland 2017-08-28 15:01:30 UTC
This bug has been open for more than a year and is assigned to an older release of CloudForms. 
If you would like to keep this Bugzilla open and if the issue is still present in the latest version of the product, please file a new Bugzilla which will be added and assigned to the latest release of CloudForms.