Downloaded openstack RC should contain either of tenant name or tenant ID

Bug #1370174 reported by Akihiro Motoki
This bug report is a duplicate of:  Bug #1460150: no way to get v3 openrc file. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Wishlist
Unassigned

Bug Description

At now OpenStack RC file downloaded from access_and_security panel contains both tenant ID and tenant name.
It sometimes leads to confusions when a tenant with the same name is recreated.
It usually happens especially in development/test deployments.

I believe either of tenant ID or tenant name is enough.
My preference is "tenant name" because it is easier to understand.

It works with keystone v2.

If I understand correctly, Keystone v3 API introduced "domain" and
"tenant" is unique inside "domain", so just removing tenant ID does not work.
domain_name and tenant name?
I hope input from someone familiar with Keystone v3.

Tags: keystone
tags: added: keystone
Revision history for this message
Lin Hua Cheng (lin-hua-cheng) wrote :

you are correct, if the RC file is for keystone v3, both the domain and project name must be provided because the project name uniqueness only applies within the scope of the projects domain.

Support for Keystone V3 RC file is being added here: https://review.openstack.org/#/c/186846/

Changed in horizon:
status: New → Confirmed
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.