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:
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.
PR posted: https://github.com/ManageIQ/manageiq-ui-classic/pull/5127
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