Bug 1650484 - [Regression] Multiple cloud provider shown while adding new cloud tenant
Summary: [Regression] Multiple cloud provider shown while adding new cloud tenant
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.10.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: GA
: 5.11.0
Assignee: Scott Seago
QA Contact: Md Nadeem
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-16 10:13 UTC by Neha Chugh
Modified: 2020-06-16 15:49 UTC (History)
13 users (show)

Fixed In Version: 5.11.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-12 13:34:23 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Multiple provider shown while adding cloud tenant (19.92 KB, image/png)
2018-11-16 10:13 UTC, Neha Chugh
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:4199 0 None None None 2019-12-12 13:34:38 UTC

Description Neha Chugh 2018-11-16 10:13:15 UTC
Created attachment 1506379 [details]
Multiple provider shown while adding cloud tenant

Description of problem:

Multiple cloud providers shown while adding new cloud tenant

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

How reproducible:
Always

Steps to Reproduce:
1. Navigate to compute -> Cloud -> Tenants
2. Go to Configuration -> Create cloud tenant
3. Under cloud provider section, it shows two cloud provider i.e.
   Openstack ( provider name) and 
   Openstack (admin) 

Actual results:
It is shwoing multiple provider ( please see attached screenshot) 

Expected results:
It should show only one provider name.

Additional info:

Comment 2 Scott Seago 2019-01-04 16:48:50 UTC
So in investigating, a couple things came up:
1) I don't think this is a regression. This seems to have been the behavior for Keystone V3 since Cloud Tenant CRUD was implemented in 2016.
2) There is a UI labeling bug here, but the functionality seems to be working as designed. Basically, with Keystone v3, tenants are hierarchical in nature. When adding a new tenant to the provider "OpenStack" (to use the example in the attachment), it can be added as a child of the provider itself or as a child of the default "admin" tenant. That's the difference between choosing "OpenStack" and choosing "OpenStack (admin)" in the dropdown.

The UI is confusing, though, as it gives the impression that the dropdown should contain merely a list of providers. I would propose to fix this by changing the label from "Cloud Provider" to "Cloud Provider/Parent Cloud Tenant" -- this would allow for both the keystone v2 case where we only list providers, and for the v3 case where we list both bare providers and provider/tenant combinations.

Comment 3 Scott Seago 2019-01-07 15:37:20 UTC
PR posted: https://github.com/ManageIQ/manageiq-ui-classic/pull/5127

Comment 6 errata-xmlrpc 2019-12-12 13:34:23 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-2019:4199


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