Cannot use cinderclient with keystone v3 and OS_TENANT_NAME unset
Bug #1472636 reported by
Ian Cordasco
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
Fix Released
|
Medium
|
Ian Cordasco | ||
Bug Description
Cinderclient will error early if no environment variable is set for OS_TENANT_NAME. With it set, you can use Keystone v3 for authentication but the environment variable is meaningless for Keystone v3.
Changed in python-cinderclient: | |
importance: | Undecided → Medium |
status: | New → In Progress |
assignee: | nobody → Ian Cordasco (icordasc) |
Changed in python-cinderclient: | |
milestone: | none → 1.4.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/199595 /git.openstack. org/cgit/ openstack/ python- cinderclient/ commit/ ?id=8afc06c562a c8c189fae6ded7c c50f1b579f06c4
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8afc06c562ac8c1 89fae6ded7cc50f 1b579f06c4
Author: Ian Cordasco <email address hidden>
Date: Wed Jul 8 09:37:07 2015 -0500
Remove unnecessary check for tenant information
Keystone v3 has changed the name of tenants to projects which means that
OS_TENANT_NAME is meaningless in a cloud where v3 is the default
authentication version. As such, if a user does not have OS_TENANT_NAME
enabled, cinderclient will not work even though it has checks for v3
immediately below this check (and the same check replicated further
below that). Removing this allows cinderclient to work with Keystone v3
without setting OS_TENANT_NAME unnecessarily.
Further, the check for project information was incorrectly referring to domain_ name and project_domain_id instead of project_ domain_ name and os_project_ domain_ id.
project_
os_
Closes-bug: 1472636 00349e794364a71 394feea99f1
Change-Id: Ifabb4a2aec070c